From 1f3eb30cda4db58dd84f10976347e36dbdd4cd2f Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Wed, 21 Nov 2018 21:14:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=98=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- .../goodaNameChooseTemplate.js | 11 ++- .../goodaNameChooseTemplate.wxml | 17 ++--- .../goodaNameChooseTemplate.wxss | 69 +++++++++++++------ pages/homePage/homePage.js | 3 +- pages/saleForecastList/newBill/newBill.js | 6 -- pages/saleForecastList/newBill/newBill.wxml | 2 +- 7 files changed, 69 insertions(+), 41 deletions(-) diff --git a/app.js b/app.js index bbd4a73..51fd058 100644 --- a/app.js +++ b/app.js @@ -13,7 +13,7 @@ App({ DecryptCookie: '', UserInfo: null, BaseUrl: "https://miniprogram.food988.com/Rest.aspx", - TransferUrl: 'https://miniprogram.food988.com/RequestTransfer.aspx', + TranferBaseUrl: 'https://miniprogram.food988.com/RequestTransfer.aspx', globalCustomerID: 0, SelectCustomer_ID: null, SelectStartDate: null, diff --git a/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.js b/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.js index 74e5255..5c71778 100644 --- a/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.js +++ b/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.js @@ -8,6 +8,7 @@ Page({ currentTab: 0, winHeight: 0, winWidth: 0, + unCheckDataArr:[1,2,3,4,5,6,7,8,9,1], }, /** * 滑动切换tab @@ -36,7 +37,15 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - + var that = this; + wx.getSystemInfo({ + success: function (res) { + that.setData({ + winWidth: res.windowWidth, + winHeight: res.windowHeight + }); + } + }); }, /** diff --git a/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.wxml b/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.wxml index ffc4a84..eea9bc2 100644 --- a/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.wxml +++ b/pages/goodaNameChooseTemplate/goodaNameChooseTemplate.wxml @@ -5,20 +5,20 @@ 收藏夹 - - - 收藏 - - - - + + + + 收藏 +