diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 61ff4002..42acb857 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -66,7 +66,6 @@ :colConfigs="tabIndex==0? colConfigs0 : colConfigs1" v-if="tableData.length"> - @@ -120,6 +119,7 @@ export default { onLoad(o) { this.id = o.id; this.createTime = o.time; + this.firstClickTime = uni.getStorageSync('firstClick') }, methods: { tabClick(index) { @@ -140,7 +140,8 @@ export default { }, // 提醒发送 remindSend() { - this.firstClickTime = this.firstClickTime || +new Date(); + this.firstClickTime = this.firstClickTime || +new Date() + uni.setStorageSync('firstClick',this.firstClickTime) this.currentClickTime = +new Date(); let time = this.currentClickTime - this.firstClickTime; if (time >= 60 * 60 * 1000 && this.flag) { @@ -159,7 +160,6 @@ export default { .catch(() => { }); } else { - console.log(111); time = 60 * 60 * 1000 - time; const min = Math.floor(time / 1000 / 60); // 分钟 let second = Math.floor(time / 1000); // 秒