|
@@ -43,7 +43,8 @@ Page({
|
|
title: '修改车牌号',
|
|
title: '修改车牌号',
|
|
showCancel:true,
|
|
showCancel:true,
|
|
editable: true,
|
|
editable: true,
|
|
- confirmColor:'#36a9a6',
|
|
|
|
|
|
+ confirmColor:'#00AADD',
|
|
|
|
+ cancelColor:'#00AADD',
|
|
success: function (res1) {
|
|
success: function (res1) {
|
|
if (res1.confirm) {
|
|
if (res1.confirm) {
|
|
let carNum = res1.content;
|
|
let carNum = res1.content;
|
|
@@ -59,7 +60,7 @@ Page({
|
|
title: '提示',
|
|
title: '提示',
|
|
showCancel:false,
|
|
showCancel:false,
|
|
content: '车牌号输入有误,请重新输入',
|
|
content: '车牌号输入有误,请重新输入',
|
|
- confirmColor:'#36a9a6',
|
|
|
|
|
|
+ confirmColor:'#00AADD',
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
} else {
|
|
} else {
|
|
@@ -82,7 +83,8 @@ Page({
|
|
title: '修改邮箱',
|
|
title: '修改邮箱',
|
|
showCancel:true,
|
|
showCancel:true,
|
|
editable: true,
|
|
editable: true,
|
|
- confirmColor:'#36a9a6',
|
|
|
|
|
|
+ confirmColor:'#00AADD',
|
|
|
|
+ cancelColor:'#00AADD',
|
|
success: function (res1) {
|
|
success: function (res1) {
|
|
if (res1.confirm) {
|
|
if (res1.confirm) {
|
|
let email = res1.content;
|
|
let email = res1.content;
|
|
@@ -98,7 +100,7 @@ Page({
|
|
title: '提示',
|
|
title: '提示',
|
|
showCancel:false,
|
|
showCancel:false,
|
|
content: '邮箱输入有误,请重新输入',
|
|
content: '邮箱输入有误,请重新输入',
|
|
- confirmColor:'#36a9a6',
|
|
|
|
|
|
+ confirmColor:'#00AADD',
|
|
});
|
|
});
|
|
return;
|
|
return;
|
|
} else {
|
|
} else {
|
|
@@ -209,7 +211,6 @@ Page({
|
|
onShow: function() {
|
|
onShow: function() {
|
|
let userInfo = wx.getStorageSync('userInfo');
|
|
let userInfo = wx.getStorageSync('userInfo');
|
|
let isLogin = wx.getStorageSync('isLogin');
|
|
let isLogin = wx.getStorageSync('isLogin');
|
|
- let isBindPhone = wx.getStorageSync('isBindPhone');
|
|
|
|
|
|
|
|
// 页面显示
|
|
// 页面显示
|
|
if (userInfo && isLogin) {
|
|
if (userInfo && isLogin) {
|
|
@@ -218,7 +219,7 @@ Page({
|
|
this.setData({
|
|
this.setData({
|
|
userInfo: userInfo,
|
|
userInfo: userInfo,
|
|
isLogin: isLogin,
|
|
isLogin: isLogin,
|
|
- isBindPhone:isBindPhone,
|
|
|
|
|
|
+ isBindPhone: userInfo.bindingPhone,
|
|
carNum: userInfo.license_number,
|
|
carNum: userInfo.license_number,
|
|
email:userInfo.email,
|
|
email:userInfo.email,
|
|
sexIndex:userInfo.sex
|
|
sexIndex:userInfo.sex
|