From dc0f485c192c412b011e6d9c09be3278882f7ef8 Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Thu, 29 Nov 2018 19:56:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.js | 6 ------ pages/login/login.wxml | 9 +++------ pages/login/login.wxss | 18 +++++++++++++----- .../statementOfAccount/statementOfAccount.wxml | 2 +- .../statementOfAccount/statementOfAccount.wxss | 8 ++++---- utils/net.js | 13 +------------ 6 files changed, 22 insertions(+), 34 deletions(-) diff --git a/pages/login/login.js b/pages/login/login.js index e31849e..6e0b1a6 100644 --- a/pages/login/login.js +++ b/pages/login/login.js @@ -66,9 +66,7 @@ function IsBindWeixinMP(phone) { Page({ data: { - //用户信息 userInfo: "", - //新增选择客户 array: [{ ID: 0, Name: "请选择所属客户" @@ -163,10 +161,6 @@ Page({ CustomerId: that.data.array[that.data.index].ID, }]; var storageCustomerID = that.data.array[that.data.index].ID; - // wx.setStorage({ - // key: 'CustomerId', - // data: storageCustomerID, - // }) app.globalData.CustomerId = storageCustomerID; // 先绑定客户服务器 diff --git a/pages/login/login.wxml b/pages/login/login.wxml index 8c11ae2..9f096c4 100644 --- a/pages/login/login.wxml +++ b/pages/login/login.wxml @@ -1,19 +1,16 @@ - - + + {{array[index].Name}} - + - - - \ No newline at end of file diff --git a/pages/login/login.wxss b/pages/login/login.wxss index 6fdf1ed..b5950ef 100644 --- a/pages/login/login.wxss +++ b/pages/login/login.wxss @@ -9,12 +9,20 @@ page { margin-top: 20%; } -.customerPicker { - width: 100%; +.pickerPlaceHolder { + text-align: center; height: 40px; + background: #EAF1F8; line-height: 40px; + color: #999; +} + +.pickerSelected { text-align: center; - background: #fafafa; + height: 40px; + line-height: 40px; + background: #EAF1F8; + color: black; } .view2 { @@ -33,7 +41,7 @@ page { .input { text-align: center; height: 40px; - background: #fafafa; + background: #EAF1F8; } .denglu { @@ -41,7 +49,7 @@ page { margin-top: 10%; width: 90%; margin-right: 5%; - background: #2e8cf5; + background: #f98b29; color: #fff; } diff --git a/pages/statementOfAccount/statementOfAccount.wxml b/pages/statementOfAccount/statementOfAccount.wxml index cc97261..8d92eeb 100644 --- a/pages/statementOfAccount/statementOfAccount.wxml +++ b/pages/statementOfAccount/statementOfAccount.wxml @@ -7,7 +7,7 @@ - +