|
@@ -125,7 +125,8 @@ Page({
|
|
|
//没有该充电桩信息
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: res && res.data && res.data.msg ? res.data.msg :'无效的终端编号'
|
|
|
+ content: res && res.data && res.data.msg ? res.data.msg :'无效的终端编号',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
} else {
|
|
|
res.data = res.data.result
|
|
@@ -135,12 +136,14 @@ Page({
|
|
|
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: '终端故障,维修中'
|
|
|
+ content: '终端故障,维修中',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
} else if (res.data.chargstatus == 3 || res.data.chargstatus == 8 || res.data.chargstatus == 10) {
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: '正在充电中'
|
|
|
+ content: '正在充电中',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
} else if (res.data.chargstatus == 2 || res.data.chargstatus == 11) {
|
|
|
wx.setStorage({
|
|
@@ -187,6 +190,7 @@ Page({
|
|
|
wx.showModal({
|
|
|
title: '请求失败',
|
|
|
content: obj.errMsg,
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
}
|
|
|
})
|
|
@@ -650,6 +654,7 @@ Page({
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
content: '你有未支付的订单,请先支付',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
success: function (res) {
|
|
|
//console.log(res);
|
|
|
if (!res.cancel) {
|
|
@@ -699,7 +704,8 @@ Page({
|
|
|
//没有该充电桩信息
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: res && res.data && res.data.msg ? res.data.msg :'无效的终端编号'
|
|
|
+ content: res && res.data && res.data.msg ? res.data.msg :'无效的终端编号',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
} else {
|
|
|
res.data = res.data.result
|
|
@@ -708,12 +714,14 @@ Page({
|
|
|
//充电桩故障
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: '终端故障,维修中'
|
|
|
+ content: '终端故障,维修中',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
} else if (res.data.chargstatus == 3 || res.data.chargstatus == 8 || res.data.chargstatus == 10) {
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: '正在充电中'
|
|
|
+ content: '正在充电中',
|
|
|
+ confirmColor:'#00AADD',
|
|
|
});
|
|
|
} else if (res.data.chargstatus == 2 || res.data.chargstatus == 11) {
|
|
|
wx.setStorage({
|