|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view class="notice-list-card">
|
|
|
+ <view class="notice-list-card" @click="mesDetail(data)">
|
|
|
<view class="notice-list-title">
|
|
|
<text v-if="!data.wait" class="notice-list-read">已读</text>
|
|
|
<text v-if="data.wait" class="notice-list-unread">未读</text>
|
|
@@ -18,4 +18,10 @@
|
|
|
},
|
|
|
});
|
|
|
const {data} = toRefs(props);
|
|
|
+
|
|
|
+ function mesDetail(data){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:`/pages/my/mesPage?noticeId=${data.noticeId}`
|
|
|
+ })
|
|
|
+ }
|
|
|
</script>
|