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 @@ - +