From c498177185391b997c9f9c76e0c7ce7a472da542 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期五, 03 一月 2025 11:41:29 +0800
Subject: [PATCH] feat(地理位置检测): 开启位置检测
---
pay/scanpay.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pay/scanpay.vue b/pay/scanpay.vue
index fcf8f4c..1322081 100644
--- a/pay/scanpay.vue
+++ b/pay/scanpay.vue
@@ -178,7 +178,7 @@
buyerNote: '',
showRemark: false,
UNIONID: null,
- payWay: this.$utils.getPlat(), //2 寰俊 5鏀粯瀹� 15浜戦棯浠�
+ payWay: this.$utils.getPlat(), //2 寰俊鍏紬鍙� 3寰俊灏忕▼搴� 5鏀粯瀹� 15浜戦棯浠�
cid: '', //鐮佺墝id C鎵獴闈欐�佺爜鏃舵湁
activityQrcodeId: '', //鍔ㄦ�佹敹娆剧爜 C鎵獴鍔ㄦ�佺爜鏃舵湁
shopId: '', //鍟嗘埛id C鎵獴鍔ㄦ�佺爜鏃舵湁
@@ -464,7 +464,7 @@
})
})
}
- if(this.payWay == 5){
+ if(this.payWay == 5&&CHECK_LOCATION){
ap.hideOptionButton();
this.apGetLocation(null)
}
@@ -479,7 +479,7 @@
}else{
uni.showModal({
title: '鎻愮ず',
- content: "鑾峰彇鍦扮悊浣嶇疆澶辫触锛屾棤娉曡繘琛屾敮浠橈紒",
+ content: "鑾峰彇鍦扮悊浣嶇疆澶辫触锛屾棤娉曡繘琛屾敮浠橈紒璇锋墦寮�鎵嬫満瀹氫綅鏉冮檺骞跺悓鎰忚幏鍙栦綅缃悗閲嶈瘯!",
confirmText: '閲嶆柊鎺堟潈',
cancelText: '閫�鍑�',
success: ret=>{
@@ -504,7 +504,7 @@
}else{
uni.showModal({
title: '鎻愮ず',
- content: "鑾峰彇鍦扮悊浣嶇疆澶辫触锛屾棤娉曡繘琛屾敮浠橈紒",
+ content: "鑾峰彇鍦扮悊浣嶇疆澶辫触锛屾棤娉曡繘琛屾敮浠橈紒璇锋墦寮�鎵嬫満瀹氫綅鏉冮檺骞跺悓鎰忚幏鍙栦綅缃悗閲嶈瘯!",
confirmText: '閲嶆柊鎺堟潈',
cancelText: '閫�鍑�',
success: ret=>{
--
Gitblit v1.9.1