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 || '- -'}}
立即续费