Commit 01af5b54 by 胡悦

refactor(common): Update message handling and UI components

- Enabled the opening of the kfRef in LeftSide.vue for better message interaction.
- Added handleMoreScript method in messageDetail.vue to facilitate navigation to the message list.
- Changed the title in messageList.vue from "消息中心" to "优秀话术" for improved clarity.
1 parent cc83f432
......@@ -338,7 +338,7 @@ export default {
if (res.total) {
this.messageData = res
this.messageType = 'attendance'
// this.$refs.kfRef.open()
this.$refs.kfRef.open()
}
},
// 消息中心未读总数
......
......@@ -162,6 +162,14 @@ export default {
this.backPage(scriptId)
}
}
},
handleMoreScript() {
uni.redirectTo({
url: '/pages/common/messageList?type=more',
fail: (err) => {
console.error('页面跳转失败:', err);
}
});
}
}
}
......
......@@ -4,7 +4,7 @@
<view class="back" @click="back">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">消息中心</view>
<view class="title">优秀话术</view>
</view>
<view class="message-body">
<view class="data-container">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!