开发消息页弹窗,创建考试排行榜页面
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
{{ item.noticeContent }}
|
||||
</view>
|
||||
<!-- <view class="num_div"></view> -->
|
||||
<view class="read_div" v-if="item.isRead"></view>
|
||||
<view class="read_div" v-if="item?.isRead === '01'"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -174,9 +174,14 @@
|
||||
};
|
||||
|
||||
const readMessage = () => {
|
||||
readNotice({ noticeId: popup_info.id }).then(() => {
|
||||
// todo
|
||||
readNotice({ noticeId: popup_info.id }).then((res) => {
|
||||
popup.value.close();
|
||||
data_list.forEach((item) => {
|
||||
if (item.noticeId === popup_info.id) {
|
||||
item.isRead = res.body.isRead;
|
||||
return;
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
// 读取消息
|
||||
|
||||
Reference in New Issue
Block a user