XWookey hai 1 ano
pai
achega
1aaf9af12b

+ 4 - 2
pages/bindPhone/bindPhone.js

@@ -23,6 +23,7 @@ Page({
     wx.showModal({
       title: '温馨提示',
       content: '当前网络环境较差,无法连接服务器,请稍后重试。有问题请联系客服电话4009608068,接听时段08:30-17:00。',
+      confirmColor:'#00AADD',
       showCancel: false
     });
   },
@@ -137,7 +138,7 @@ Page({
             title: '提示',
             content:res.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD'
           });
         }else if (res.data.code == 2) {
           // 跳转
@@ -145,6 +146,7 @@ Page({
             title: '提示',
             content: '手机已绑定账户,请检查手机号是否填写正确或联系客服',
             showCancel:false,
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 200) {
           wx.showToast({
@@ -196,7 +198,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
           log.info('[绑定手机号]', '[绑定手机号]', '[失败code==1]', res.data);
         } else {

+ 5 - 2
pages/chargemoney/chargemoney.js

@@ -29,6 +29,7 @@ Page({
     wx.showModal({
       title: '',
       content: '每日退款最大额度为500元,您是否确认本次充值为' + this.data.chargemoney_select + '元?',
+      confirmColor:'#00AADD',
       success(res) {
        if (res.confirm) {
         that.beginChargemoneySuccess(e);
@@ -140,7 +141,8 @@ Page({
                         if (data && data.code == 200) {
                           wx.showModal({
                             showCancel: false,
-                            content: '微信扣款成功,平台入账稍有延迟,请您确认余额更新后再启动充电。'
+                            content: '微信扣款成功,平台入账稍有延迟,请您确认余额更新后再启动充电。',
+                            confirmColor:'#00AADD',
                           });
                           let url = `/pages/chargemoneyresult/chargemoneyresult?timeStamp=${res1.data.timeStamp}&money=${that.data.chargemoney_select}`;
                           wx.redirectTo({
@@ -150,7 +152,8 @@ Page({
                         } else {
                           wx.showModal({
                             showCancel: false,
-                            content: '充值失败'
+                            content: '充值失败',
+                            confirmColor:'#00AADD',
                           });
                           log.info('[充值]', '[微信支付回调]', '[失败data null||data.code<>200]', data);
                         }

+ 6 - 2
pages/charginfo/charginfo.js

@@ -192,6 +192,7 @@ Page({
             wx.showModal({
               showCancel: false,
               content: '你有未支付的订单,请先支付',
+              confirmColor:'#00AADD',
               success: function (res) {
                 //console.log(res);
                 if (!res.cancel) {
@@ -225,6 +226,7 @@ Page({
                   //没有该充电桩信息
                   wx.showModal({
                     showCancel: false,
+                    confirmColor:'#00AADD',
                     content: res && res.data && res.data.msg ? res.data.msg :'无效的终端编号'
                   });
                 } else {
@@ -234,12 +236,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({

+ 8 - 4
pages/charging/charging.js

@@ -127,7 +127,8 @@ Page({
           log.info('[充电中]', '[结束充电]', '[失败data null||data.code<>200]', data);
           wx.showModal({
             showCancel: false,
-            content: '结束充电失败'
+            content: '结束充电失败',
+            confirmColor:'#00AADD',
           });
 
         }
@@ -136,7 +137,8 @@ Page({
        wx.hideLoading();
        wx.showModal({
          showCancel: false,
-         content: '结束充电失败'
+         content: '结束充电失败',
+         confirmColor:'#00AADD',
        });
       log.info('[充电中]', '[结束充电]', '[fail]', err );
       }
@@ -299,7 +301,8 @@ Page({
             log.info('[充电中]', '[初次订单状态判定]', '[chargPileStatus状态4启动异常删除订单]', data);
             wx.showModal({
               showCancel: false,
-              content: '开启充电失败'
+              content: '开启充电失败',
+              confirmColor:'#00AADD',
             });
             that.delOrder(orderid_r);
             console.log(orderid_r);
@@ -451,7 +454,8 @@ Page({
               log.info('[充电中]', '[充电轮训]', '[chargPileStatus状态4启动异常删除订单]', data);
               wx.showModal({
                 showCancel: false,
-                content: '开启充电失败'
+                content: '开启充电失败',
+                confirmColor:'#00AADD',
               });
               console.log(orderid_r);
               that.delOrder(orderid_r);

+ 3 - 3
pages/forget/forget.js

@@ -43,8 +43,8 @@ Page({
             title: '提示',
             content: res.data.msg,
             showCancel: false,
-            confirmColor: '#4359b5'
-          });1
+            confirmColor:'#00AADD',
+          });
         } else {
           //跳转到下一步
           let url = `/pages/reset_password/reset_password?phone=`+phone;
@@ -164,7 +164,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 2) {
           // 跳转

+ 14 - 6
pages/index/index.js

@@ -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({

+ 4 - 3
pages/login/phone_login/phone_login.js

@@ -24,7 +24,8 @@ Page({
     wx.showModal({
       title: '温馨提示',
       content: '当前网络环境较差,无法连接服务器,请稍后重试。有问题请联系客服电话4009608068,接听时段08:30-17:00。',
-      showCancel: false
+      showCancel: false,
+      confirmColor:'#00AADD',
     });
   },
   inputPhone(e) {
@@ -138,7 +139,7 @@ Page({
             title: '提示',
             content:res.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 2) {
           // 跳转
@@ -210,7 +211,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
           log.info('[登录]', '[登录]', '[失败code==1]', res.data);
         } else {

+ 3 - 2
pages/login/username_login/username_login.js

@@ -17,7 +17,8 @@ Page({
     wx.showModal({
       title: '温馨提示',
       content: '当前网络环境较差,无法连接服务器,请稍后重试。有问题请联系客服电话4009608068,接听时段08:30-17:00。',
-      showCancel: false
+      showCancel: false,
+      confirmColor:'#00AADD',
     });
   },
   inputAccount(e) {
@@ -76,7 +77,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
           log.info('[登录]', '[登录]', '[失败code==1]', res.data);
         } else {

+ 12 - 6
pages/order/order.js

@@ -106,13 +106,15 @@ Page({
                             });
                             wx.showModal({
                               showCancel: false,
-                              content: '支付订单成功'
+                              content: '支付订单成功',
+                              confirmColor:'#00AADD',
                             });
                             log.info('[订单支付]', '[微信支付成功回调服务端]', '[成功]');
                           } else {
                             wx.showModal({
                               showCancel: false,
-                              content: '支付订单失败'
+                              content: '支付订单失败',
+                              confirmColor:'#00AADD',
                             });
                             log.info('[订单支付]', '[微信支付成功回调服务端]', '[失败data null||data.code<>200]', data);
                           }
@@ -132,7 +134,8 @@ Page({
                   });
                   wx.showModal({
                     showCancel: false,
-                    content: data.msg
+                    content: data.msg,
+                    confirmColor:'#00AADD',
                   });
                 }
                 log.info('[订单支付]', '[服务端订单支付]', '[余额支付成功]', data);
@@ -140,7 +143,8 @@ Page({
                 wx.hideLoading();
                 wx.showModal({
                   showCancel: false,
-                  content: data.msg
+                  content: data.msg,
+                  confirmColor:'#00AADD',
                 });
                 log.info('[订单支付]', '[服务端订单支付]', '[失败data null||data.code<>200]', data);
               }
@@ -253,7 +257,8 @@ Page({
                 log.info('[订单支付]', '[轮训获取订单]', '[60S超时]', data);
                 wx.showModal({
                   showCancel: false,
-                  content: '获取订单失败'
+                  content: '获取订单失败',
+                  confirmColor:'#00AADD',
                 });
               }
             }
@@ -264,7 +269,8 @@ Page({
             log.info('[订单支付]', '[轮训获取订单]', '[fail]', err);
             wx.showModal({
               showCancel: false,
-              content: '获取订单失败'
+              content: '获取订单失败',
+              confirmColor:'#00AADD',
             });
           }
         });

+ 6 - 3
pages/outmoney/outmoney.js

@@ -76,7 +76,8 @@ Page({
     if (this.data.msg) {
       wx.showModal({
         showCancel: false,
-        content: this.data.msg
+        content: this.data.msg,
+        confirmColor:'#00AADD',
       });
       return;
     }
@@ -127,13 +128,15 @@ Page({
                 wx.navigateBack();
                 wx.showModal({
                   showCancel: false,
-                  content: '提现成功'
+                  content: '提现成功',
+                  confirmColor:'#00AADD',
                 });
                 log.info('[提现]', '[服务端提现]', '[提现成功]', data);
               } else {
                 wx.showModal({
                   showCancel: false,
-                  content: data.msg
+                  content: data.msg,
+                  confirmColor:'#00AADD',
                 });
                 log.info('[提现]', '[服务端提现]', '[提现失败data null||data.code<>200]', data);
               }

+ 1 - 1
pages/register/register.js

@@ -295,7 +295,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 2) {
           that.setData({

+ 1 - 1
pages/reset_password/reset_password.js

@@ -30,7 +30,7 @@ Page({
             title: '提示',
             content: res.data.msg,
             showCancel: false,
-            confirmColor: '#4359b5'
+            confirmColor:'#00AADD',
           });
         } else {
           wx.navigateBack();

+ 9 - 4
pages/scan_result/scan_result.js

@@ -138,6 +138,7 @@ Page({
             wx.showModal({
               showCancel: false,
               content: '余额不足,请充值!',
+              confirmColor:'#00AADD',
               success: function (res) {
                 if (res.confirm) {
                   let url = "/pages/chargemoney/chargemoney";
@@ -234,7 +235,8 @@ Page({
         //开启充电失败,提示用户
         wx.showModal({
           showCancel: false,
-          content: '开启充电失败'
+          content: '开启充电失败',
+          confirmColor:'#00AADD',
         });
         log.info('[扫码]', '[开始充电]', '[fail]', e);
       },
@@ -260,21 +262,24 @@ Page({
           //开启充电失败,提示用户
           wx.showModal({
             showCancel: false,
-            content: '余额不足,请充值!'
+            content: '余额不足,请充值!',
+            confirmColor:'#00AADD',
           });
           log.info('[扫码]', '[开始充电]', '[失败data.code=501余额不足]', data);
         } else if (data && data.code == 502) {
           //开启充电失败,提示用户
           wx.showModal({
             showCancel: false,
-            content: data.message
+            content: data.message,
+            confirmColor:'#00AADD',
           });
           log.info('[扫码]', '[开始充电]', '[失败data.code=502' + data.message + ']', data);
         } else {
           //开启充电失败,提示用户
           wx.showModal({
             showCancel: false,
-            content: '开启充电失败'
+            content: '开启充电失败',
+            confirmColor:'#00AADD',
           });
           log.info('[扫码]', '[开始充电]', '[失败]', data);
         }

+ 4 - 3
pages/ucenter/accountsecurity/checkphonesecuirty/checkphonesecruity.js

@@ -24,7 +24,8 @@ Page({
     wx.showModal({
       title: '温馨提示',
       content: '当前网络环境较差,无法连接服务器,请稍后重试。有问题请联系客服电话4009608068,接听时段08:30-17:00。',
-      showCancel: false
+      showCancel: false,
+      confirmColor:'#00AADD',
     });
   },
   
@@ -119,7 +120,7 @@ Page({
             title: '提示',
             content: res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
         }
       }
@@ -146,7 +147,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
         } else {
           if(that.data.scene==that.data.reviserPasswordScene){

+ 1 - 1
pages/ucenter/accountsecurity/mdfpassword/mdfpassword.js

@@ -31,7 +31,7 @@ Page({
             title: '提示',
             content: res.data.msg,
             showCancel: false,
-            confirmColor: '#4359b5'
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 2) {
           wx.showModal({

+ 5 - 3
pages/ucenter/accountsecurity/unbindphone/unbindphone.js

@@ -24,7 +24,8 @@ Page({
     wx.showModal({
       title: '温馨提示',
       content: '当前网络环境较差,无法连接服务器,请稍后重试。有问题请联系客服电话4009608068,接听时段08:30-17:00。',
-      showCancel: false
+      showCancel: false,
+      confirmColor:'#00AADD',
     });
   },
 
@@ -138,7 +139,7 @@ Page({
             title: '提示',
             content:res.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 2) {
           // 跳转
@@ -146,6 +147,7 @@ Page({
             title: '提示',
             content: '手机已绑定账户,请检查手机号是否填写正确或联系客服',
             showCancel:false,
+            confirmColor:'#00AADD',
           });
         }else if (res.data.code == 200) {
           wx.showToast({
@@ -197,7 +199,7 @@ Page({
             title: '提示',
             content:res.data.msg,
             showCancel:false,
-            confirmColor:'#4359b5'
+            confirmColor:'#00AADD',
           });
           log.info('[绑定手机号]', '[绑定手机号]', '[失败code==1]', res.data);
         }else if (res.data.code == 2) {

+ 0 - 2
pages/ucenter/center/center.js

@@ -44,7 +44,6 @@ Page({
       showCancel:true,
       editable: true,
       confirmColor:'#00AADD',
-      cancelColor:'#00AADD',
       success: function (res1) {
         if (res1.confirm) {
           let carNum = res1.content;
@@ -84,7 +83,6 @@ Page({
       showCancel:true,
       editable: true,
       confirmColor:'#00AADD',
-      cancelColor:'#00AADD',
       success: function (res1) {
         if (res1.confirm) {
           let email = res1.content;

+ 8 - 4
pages/worksheetinfo/addworksheetinfo.js

@@ -245,7 +245,8 @@ Page({
             if (result.code == 500) {
               wx.showModal({
                 showCancel: false,
-                content: result.msg
+                content: result.msg,
+                confirmColor:'#00AADD',
               });
             } else {
               signString.push(result.msg);
@@ -275,7 +276,8 @@ Page({
               if (res.data.code == 500) {
                 wx.showModal({
                   showCancel: false,
-                  content: res.data.msg
+                  content: res.data.msg,
+                  confirmColor:'#00AADD',
                 });
               } else {
                 wx.navigateBack();
@@ -294,7 +296,8 @@ Page({
                 if (result.code == 500) {
                   wx.showModal({
                     showCancel: false,
-                    content: result.msg
+                    content: result.msg,
+                    confirmColor:'#00AADD',
                   });
                 } else {
                   imgString.push(result.msg);
@@ -315,7 +318,8 @@ Page({
                             if (res.data.code == 500) {
                               wx.showModal({
                                 showCancel: false,
-                                content: res.data.msg
+                                content: res.data.msg,
+                                confirmColor:'#00AADD',
                               });
                             } else {
                               wx.navigateBack();

+ 1 - 1
pages/worksheetinfo/addworksheetinfo.json

@@ -1,5 +1,5 @@
 {
-  "navigationBarTitleText": "添加工单",
+  "navigationBarTitleText": "新增工单",
   "navigationBarBackgroundColor": "#2483c0",
   "usingComponents": {}
 }