From b43f3c90fc93aae06d2500dcbe076605f1fc5789 Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Thu, 29 Nov 2018 18:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E8=B4=A6=E5=8D=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.js | 14 --- .../statementOfAccount/statementOfAccount.js | 4 - .../statementOfAccount.wxml | 50 +++++----- .../statementOfAccount.wxss | 94 ++++++++----------- 4 files changed, 65 insertions(+), 97 deletions(-) diff --git a/pages/login/login.js b/pages/login/login.js index 9462865..e31849e 100644 --- a/pages/login/login.js +++ b/pages/login/login.js @@ -209,20 +209,6 @@ Page({ // 页面初始化 静默登录相关判断 onShow: function() { var that = this; - // wx.getStorage({ - // key: 'CustomerId', - // success: function(res) { - // app.globalData.CustomerId = res.data; - // if (app.globalData.CustomerId) { - // that.setData({ - // showCustomerChoise: false, - // }) - // } - // }, - // fail: function(res) { - // that.choiceCustomer(); - // } - // }) that.choiceCustomer(); getOpenId(function(res) { openid = res; diff --git a/pages/statementOfAccount/statementOfAccount.js b/pages/statementOfAccount/statementOfAccount.js index 3f79ed6..b4c7638 100644 --- a/pages/statementOfAccount/statementOfAccount.js +++ b/pages/statementOfAccount/statementOfAccount.js @@ -11,8 +11,6 @@ Page({ data: { dates: new Date().getFullYear() + '-' + (new Date().getMonth() + 1), list:[], - delBtnWidth: 90, - startX: "" }, bindDateChange: function (e) { @@ -57,7 +55,6 @@ Page({ getBalanceList : function (that,params) { var reslut = []; network.requestLoading(method, params, function (res) { - console.log(res); var array = JSON.parse(res.result); if (array.length <= 0) { wx.showToast({ @@ -71,7 +68,6 @@ Page({ for (var i = 0; i < array.length; i++) { array[i].Date = timechage.formatTimeTwo(array[i].Date.substring(6, 19), "Y/M/D"); } - console.log(array); let arrLast = that.data.list.concat(array); that.setData({ list: arrLast diff --git a/pages/statementOfAccount/statementOfAccount.wxml b/pages/statementOfAccount/statementOfAccount.wxml index ef2a35f..cc97261 100644 --- a/pages/statementOfAccount/statementOfAccount.wxml +++ b/pages/statementOfAccount/statementOfAccount.wxml @@ -7,35 +7,33 @@ - - -