Commit 4a108636 authored by 胡占生's avatar 胡占生 🇨🇳

消息中心修改

parent 0ada2345
......@@ -213,10 +213,10 @@ export default {
touchstart(index, item) {
this.read(item);
this.$router.push({
path: item.appUrl,
query: {},
});
// this.$router.push({
// path: item.appUrl,
// query: {},
// });
},
//清除所有未读
......
......@@ -208,12 +208,12 @@ export default {
},
touchstart(index, item) {
this.read(item);
this.$router.push({
name: "message-details",
params: {
id: JSON.stringify(item),
},
});
// this.$router.push({
// name: "message-details",
// params: {
// id: JSON.stringify(item),
// },
// });
},
//清除未读
clearNo() {
......
......@@ -41,8 +41,9 @@
inset
v-for="(item, index) in waitList"
:key="index"
@click="touchstart(index, item)"
>
<!-- @click="touchstart(index, item)" -->
<van-badge :dot="item.status == 0 ? true : false">
<div style="padding: 10px; min-width: calc(100vw - 1.6rem)">
<div class="messgae-title">
......@@ -99,6 +100,10 @@ export default {
activeIndex: 0,
searchVal: "",
waitList: [], // 待办列表
params:{
page:1,
num:10,
}
// refreshing: false, // 下拉刷新开关
// loading: false, // 列表滚动到底部会触发load事件
// finished: false // 列表数据全部加载完成
......@@ -174,12 +179,15 @@ export default {
},
touchstart(index, item) {
this.$router.push({
if(item.appUrl){
this.$router.push({
name: item.appUrl,
params: {
id: item.id,
id: item.pid,
},
});
}
},
// // 加载完成后将loading改成 false
// this.loading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment