diff --git a/components/PrivacyPopup.vue b/components/PrivacyPopup.vue
new file mode 100644
index 0000000..8a3669c
--- /dev/null
+++ b/components/PrivacyPopup.vue
@@ -0,0 +1,190 @@
+
+
+
+
+
+
+
diff --git a/pages.json b/pages.json
index 06a1c33..e156f7c 100755
--- a/pages.json
+++ b/pages.json
@@ -279,5 +279,8 @@
"^BlessingAnimation": "@/components/BlessingAnimation.vue"
}
},
+ "mp-weixin": {
+ "__usePrivacyCheck__": true
+ },
"uniIdRouter": {}
}
\ No newline at end of file
diff --git a/pages/cabinet/index.vue b/pages/cabinet/index.vue
index c18de05..fa3bef8 100755
--- a/pages/cabinet/index.vue
+++ b/pages/cabinet/index.vue
@@ -3,10 +3,7 @@
-
-
-
-
+
@@ -256,11 +253,7 @@ import { onShow, onReachBottom, onShareAppMessage, onPullDownRefresh } from '@dc
import { getInventory, getProductDetail, redeemInventory, requestShipping, cancelShipping, listAddresses, getShipments, createAddressShare, createShippingFeeOrder } from '@/api/appUser'
import { getSynthesisRecipes, doSynthesis } from '@/api/synthesis.js'
import { vibrateShort } from '@/utils/vibrate.js'
-import { checkPhoneBound, checkPhoneBoundSync } from '@/utils/checkPhone.js'
import { executePaymentFlow } from '@/utils/payment.js'
-// #ifdef MP-WEIXIN
-import customTabBar from '@/components/app-tab-bar.vue'
-// #endif
// #ifdef MP-TOUTIAO
import customTabBarToutiao from '@/components/app-tab-bar-toutiao.vue'
// #endif
@@ -318,9 +311,6 @@ async function fetchProductMeta(productId) {
}
onShow(() => {
- // 检查手机号绑定状态(快速检查本地缓存)
- if (!checkPhoneBoundSync()) return
-
// Check for external tab switch request
try {
const targetTab = uni.getStorageSync('cabinet_target_tab')
@@ -334,7 +324,9 @@ onShow(() => {
if (!token) {
uni.showModal({
title: '提示',
- content: '请先登录',
+ content: '请先登录后查看盒柜内容',
+ showCancel: true,
+ cancelText: '稍后再说',
confirmText: '去登录',
success: (res) => {
if (res.confirm) {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 6501eb8..f8afb6f 100755
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -6,10 +6,7 @@
-
-
-
-
+
@@ -144,10 +141,6 @@