|
|
@@ -42,6 +42,7 @@ import { ref, computed } from 'vue';
|
|
|
import BasicModal from '@/components/Modal/BasicModal.vue';
|
|
|
import { DiningUserWechatLogin, GetUserInfo } from '@/api/dining.js';
|
|
|
import { useUserStore } from '@/store/user.js';
|
|
|
+import { go } from '@/utils/utils.js';
|
|
|
|
|
|
const props = defineProps({
|
|
|
open: {
|
|
|
@@ -144,13 +145,10 @@ const handleGetPhoneNumber = async (e) => {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
-// 处理隐私协议
|
|
|
+// 处理隐私协议:跳转 webview 打开
|
|
|
+const PRIVACY_URL = 'https://ossfile.ailien.shop/privacy/U店在哪-隐私协议946827.htm';
|
|
|
const handlePrivacy = () => {
|
|
|
- // TODO: 跳转到隐私协议页面
|
|
|
- uni.showToast({
|
|
|
- title: '隐私协议',
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
+ go(`/pages/webview/index?url=${encodeURIComponent(PRIVACY_URL)}`);
|
|
|
};
|
|
|
|
|
|
// 处理用户协议
|