浏览代码

沟通发送按钮

Xiao_123 7 月之前
父节点
当前提交
54db9aec21
共有 1 个文件被更改,包括 14 次插入5 次删除
  1. 14 5
      pagesA/chart/index.vue

+ 14 - 5
pagesA/chart/index.vue

@@ -41,7 +41,7 @@
         <view class="box-main-more" v-if="hasMore">
           <text @click="handleMore">查看更多</text>
         </view>
-        <view v-for="val in items" :key="val.id" :id="'s'+val.id+index">
+        <view v-for="(val, index) in items" :key="val.id" :id="'s'+val.id+index">
           <view class="box-main-time">{{ timesTampChange(+(val.timestamp.padEnd(13, '0'))) }}</view>
           <template v-if="val.payload?.type === 102">
             <view class="jobCard">
@@ -150,10 +150,13 @@
         <uni-tag :text="isSendResume ? '简历已投递' : '发送简历'" :disabled="isSendResume" type="success" @tap="handleFindResume"/>
       </view>
       
-      <textarea
+      <uni-easyinput
         v-model="inputValue"
-        auto-height
-        confirm-type="send"
+        type="text"
+        class="ss-m-b-60"
+        trim
+        confirmType="send"
+        placeholder="请输入内容"
         @confirm="handleSend"
       />
     </view>
@@ -234,7 +237,7 @@ const pageSize = ref(1)
 const interview = ref([])
 // 求职端-获取求职者与当前邀请人的面试记录
 const statusList = ref([])
-const inputValue = ref('')
+const inputValue = ref('当用户打开小程序时,微信服务器将向开发者服务器(上面配置的数据下载地址)发起一个 HTTP GET 请求,其中包含的 query 参数如下,数据获取到后会将整个 HTTP body 缓存到本地。')
 
 const isAgree = ref(false)
 const confirm = ref()
@@ -339,6 +342,12 @@ function handleSend () {
   send(inputValue.value, channelItem.value)
 }
 
+function handleToCenter () {
+  uni.navigateTo({
+    url: '/pagesA/interview/index'
+  })
+}
+
 // 预览简历
 function handlePreview (payload) {
   if (!payload?.content?.query?.src) {