From 8224711ae05d55c2325b1761b6854b30a2c402d5 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 4 Aug 2021 14:20:19 +0800 Subject: [PATCH] no message --- components/add-tips/index.js | 6 ++++-- pages/home/customer-list/index.wxml | 4 +--- pages/home/index/index.js | 3 +++ pages/login/index.js | 19 +++++++------------ pages/ztbvip/member/index.js | 6 ++++++ pages/ztbvip/member/index.wxml | 3 +-- 6 files changed, 22 insertions(+), 19 deletions(-) diff --git a/components/add-tips/index.js b/components/add-tips/index.js index c044222..50c03ec 100644 --- a/components/add-tips/index.js +++ b/components/add-tips/index.js @@ -29,7 +29,9 @@ Component({ }, lifetimes: { attached: function() { - if (wx.getStorageSync(STORAGE_KEY)) return; + if (wx.getStorageSync(STORAGE_KEY)) { + return + } let rect = wx.getMenuButtonBoundingClientRect ? wx.getMenuButtonBoundingClientRect() : null let {screenWidth} = wx.getSystemInfoSync() this.setData({ @@ -41,7 +43,7 @@ Component({ this.setData({ SHOW_TOP: true }) }, 500) this.duraTimer = setTimeout(() => { - this.hidden(); + this.hidden() }, (this.data.duration + this.data.delay) * 1000) }, detached: function() { diff --git a/pages/home/customer-list/index.wxml b/pages/home/customer-list/index.wxml index 4a26c87..5be4fd2 100644 --- a/pages/home/customer-list/index.wxml +++ b/pages/home/customer-list/index.wxml @@ -107,9 +107,7 @@ catchtouchstart="touchStart" catchtouchmove="touchMove" catchtouchend="touchEnd" catchtouchcancel="touchEnd"> {{item.sign}} - - {{orderList[touchmoveIndex].sign}} - +{{orderList[touchmoveIndex].sign}} - 到期时间:{{expirationTime}} + 到期时间:{{expirationTime || '- -'}} 立即续费