From 31d1dae59515fc88226cdb8ba75e3a3e9021065f Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 12 四月 2024 11:07:43 +0800 Subject: [PATCH] 修改 --- packageBookService/pages/bookServices/detail/index.js | 6 +++--- pages/home/home.wxss | 2 +- packagePersonal/pages/userSetting/index.js | 6 ------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/index.js b/packageBookService/pages/bookServices/detail/index.js index cb319a8..d9f8618 100644 --- a/packageBookService/pages/bookServices/detail/index.js +++ b/packageBookService/pages/bookServices/detail/index.js @@ -190,16 +190,16 @@ onShow() { if (wx.getStorageSync("paperBookList")) { this.setData({ - paperBookList: wx.getStorageSync("paperBookList"), + paperBookList: JSON.parse(wx.getStorageSync("paperBookList")), }); } if (wx.getStorageSync("electronicBookList")) { this.setData({ - electronicBookList: wx.getStorageSync("electronicBookList"), + electronicBookList: JSON.parse(wx.getStorageSync("electronicBookList")), }); } this.setData({ - num: this.data.paperBookList.length + this.data.electronicBookList.length, + num: Number(this.data.paperBookList.length) + Number(this.data.electronicBookList.length), }); }, diff --git a/packagePersonal/pages/userSetting/index.js b/packagePersonal/pages/userSetting/index.js index c09c9fa..97ccde3 100644 --- a/packagePersonal/pages/userSetting/index.js +++ b/packagePersonal/pages/userSetting/index.js @@ -413,18 +413,12 @@ icon: 'none', duration: 1000 }) - this.setData({ - countDown: 0, - }); } else if (res == '姝ゆ墜鏈哄彿鐮佸凡琚叾瀹冭处鍙风粦瀹�') { wx.showToast({ title: res + ',璇锋洿鎹㈠叾浠栨墜鏈哄彿銆�', icon: 'none', duration: 1000 }) - this.setData({ - countDown: 0, - }); } else { wx.showToast({ title: res, diff --git a/pages/home/home.wxss b/pages/home/home.wxss index c4dc56e..b7a1c52 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -265,7 +265,7 @@ background-repeat: no-repeat; background-size: 40% 64%; background-position: right; - background-image: url(http://jsysf.bnuic.com/website/image/click-icon.png); + background-image: url(https://jsek.bnuic.com/website/image/click-icon.png); } .t-tabs .t-tabs__track { -- Gitblit v1.9.1