【新增】(登录弹框模块):添加协议链接

This commit is contained in:
15093570141
2024-10-13 13:26:07 +08:00
parent 836827feee
commit 55a4f3d87f

View File

@@ -20,7 +20,10 @@
<uv-checkbox :checked="state.agreement" @change="handleCheckboxChange"></uv-checkbox>
</uv-checkbox-group>
<view class="agreement-tit">
同意 <text class="tit">服务协议</text> <text class="tit">隐私协议</text>
同意 <text class="tit"
@click="handleRouteNavigateTo(`/pages/subpackage/article/detail/detail?idType=1&id=${shopConfigStore.config?.userAgreementId}`)">服务协议</text>
<text class="tit"
@click="handleRouteNavigateTo(`/pages/subpackage/article/detail/detail?idType=1&id=${shopConfigStore.config?.privacyPolicyId}`)">隐私协议</text>
</view>
</view>
<view class="btn-box">
@@ -44,7 +47,7 @@
import { Response } from '@/core/models';
import { Invitecode, UserToken } from '@/core/consts';
import { queryLoginPhoneNumber, queryLogin, queryAliPayAppAuthTokenBYCode } from '@/core/api';
import { loginGetCode, handleShowToast } from '@/core/utils';
import { loginGetCode, handleShowToast, handleRouteNavigateTo } from '@/core/utils';
// 获取项目配置
const shopConfigStore = useShopConfigStore();