Commit b49e5905 by 杨明

Merge branch 'SAAS+V4.52.1' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.52.1

2 parents 1c4c58ac cf58a97f
......@@ -2,7 +2,7 @@
<view class="left-side">
<view class="user-box">
<view class="user-info flex" @click="jumpPersonCenter">
<view class="user-avatar sprite-icon icon-avatar"></view>
<view :class="['user-avatar', 'sprite-icon', 'icon-avatar', tabIndex == 99 ? 'user-active': '']"></view>
<view class="user-name">{{ userInfo.name }}
<view v-if="hasPerson" class="sprite-icon icon-arrow-next"></view>
</view>
......@@ -159,7 +159,6 @@ export default {
},
jumpPersonCenter() {
if(this.hasPerson) {
console.log('跳转个人个人中心')
this.$emit('update:tabIndex', 99)
}
}
......@@ -285,6 +284,9 @@ export default {
border: toRpx(2) solid #ffffff;
box-shadow: 0 toRpx(4) toRpx(8) 0 #0000001a;
border-radius: 100%;
&.user-active {
border: toRpx(2) solid rgb(55, 115, 248);
}
}
.user-name {
......
......@@ -117,27 +117,27 @@ export default {
console.log(this.countFlag)
let scriptId = null
if (this.countFlag) {
try {
this.isProcessing = true;
let idList
let idList
idList = [this.messageInfo.id];
scriptId = [this.messageInfo.scriptId]
try {
this.isProcessing = true;
// this.back(idList)
// 接口调用
const res = await uni.$api.commonApi.updateMessageStatus({
idList
})
// if (res) {
this.backPage(scriptId, idList)
// this.backPage(scriptId, idList)
// } else {
// console.log('接口返回结果为空,可能存在问题')
// }
} catch (error) {
this.backPage()
// this.backPage(scriptId, idList)
console.error('更新消息状态时出现错误:', error)
} finally {
this.isProcessing = false; // 处理完成,将标志位设为 false
this.backPage(scriptId, idList)
}
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!