diff --git a/src/assets/styles/style.css b/src/assets/styles/style.css index 295bbd7..559179f 100644 --- a/src/assets/styles/style.css +++ b/src/assets/styles/style.css @@ -688,11 +688,11 @@ html,body { margin-top: 1.8rem; } .service-evaluation-status .evaluation-status-box span { - font-size:0.28rem; + font-size:0.36rem; font-family:PingFang-SC-Medium; color:rgba(0,186,134,1); display: block; margin: auto; - margin-top: 0.25rem; + margin-top: 0.3rem; text-align: center; } \ No newline at end of file diff --git a/src/view/put-money.vue b/src/view/put-money.vue index fa872a0..2a7ed3c 100644 --- a/src/view/put-money.vue +++ b/src/view/put-money.vue @@ -78,10 +78,11 @@ if(this.isActive) { //判断是否在微信环境下操作 - var ua = navigator.userAgent.toLowerCase(); - if(!ua.match(/MicroMessenger/i) == "micromessenger") { - this.$vux.toast.text("请登录微信进行操作", "middle"); - return; + var ua = window.navigator.userAgent.toLowerCase(); + //通过正则表达式匹配ua中是否含有MicroMessenger字符串 + if(ua.match(/MicroMessenger/i) !== 'micromessenger'){ + this.$vux.toast.text("请登录微信进行操作", "middle"); + return; } putMoney.putMoney({ amount: this.inputVal * 100 diff --git a/src/view/service-evaluation-status.vue b/src/view/service-evaluation-status.vue index 3833a1a..4e74013 100644 --- a/src/view/service-evaluation-status.vue +++ b/src/view/service-evaluation-status.vue @@ -26,7 +26,7 @@ 不可重复评价 已过期 账号不一致 - 订单不存在· + 服务单号不存在· diff --git a/src/view/service-evaluation.vue b/src/view/service-evaluation.vue index af9f20f..21de1a5 100644 --- a/src/view/service-evaluation.vue +++ b/src/view/service-evaluation.vue @@ -96,7 +96,7 @@ export default { content: "", alertShow: false, code: 4, - statusShow: false, + statusShow: true, //提示信息 alertTip: "请完整填写评价", //用于判断是否可进行提交评论 @@ -222,7 +222,7 @@ export default { //账号不一致 this.code = 4; this.statusShow = true; - } else if (res.msg == "订单不存在") { + } else if (res.msg == "服务单号不存在") { //订单不存在 this.code = 5; this.statusShow = true;