From 0d21fcdecb7636745be284475480380b2b52aa66 Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Fri, 31 Mar 2023 11:12:38 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20alarmDetails=20=20=20=20=20-=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E8=AF=A6=E6=83=85=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E8=BD=AC=E5=8C=96=E6=96=B9=E5=BC=8F=20-=20packageList=20=20=20?= =?UTF-8?q?=20=20-=20=E4=BF=AE=E6=94=B9=20=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++++-- src/config/models.js | 2 +- src/views/alarm/alarm-details.vue | 2 +- src/views/package-list/index.vue | 24 +++++++++++++++++++----- 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 51a1c16..6736ff6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -310,4 +310,13 @@ update ## v1.0.36 `2023.3.30` update -- 增加 debug按钮 \ No newline at end of file +- 增加 debug按钮 + + +## v1.0.37 +`2023.3.31` +update +- alarmDetails + - 修改 详情地址转化方式 +- packageList + - 修改 微信支付方式 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index 1a4a506..cdd30b0 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -5,7 +5,7 @@ * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.35F'; //版本号 +export const VERSION_MODEL = '1.0.37F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/alarm/alarm-details.vue b/src/views/alarm/alarm-details.vue index fe798f5..685528c 100644 --- a/src/views/alarm/alarm-details.vue +++ b/src/views/alarm/alarm-details.vue @@ -10,7 +10,7 @@
-

{{ alarm.address }}(附近)

+

{{ params.address }}(附近)

{{ params.time }} diff --git a/src/views/package-list/index.vue b/src/views/package-list/index.vue index bbdc404..ff67244 100644 --- a/src/views/package-list/index.vue +++ b/src/views/package-list/index.vue @@ -1,7 +1,7 @@ @@ -415,7 +415,6 @@ export default { }, onWxPay(data) { let that = this; - console.log("微信支付开启", data); function onBridgeReady() { WeixinJSBridge.invoke( "getBrandWCPayRequest", @@ -445,14 +444,29 @@ export default { }); } else { that.$dialog.confirm({ - title: "温馨提示", - message: "您取消了支付", - showCancelButton: false + content: "您取消了支付" }); } } ); } + if (typeof WeixinJSBridge == "undefined") { + if (document.addEventListener) { + document.addEventListener( + "WeixinJSBridgeReady", + onBridgeReady, + false + ); + } else if (document.attachEvent) { + document.attachEvent("WeixinJSBridgeReady", onBridgeReady); + document.attachEvent( + "onWeixinJSBridgeReady", + onBridgeReady + ); + } + } else { + onBridgeReady(); + } }, // 跳转到支付宝花呗外部链接 aliPay(data) {