|
@@ -6,7 +6,8 @@ style:
|
|
|
import { testLogin, weixinMiniAppLogin } from '../../core/libs/requests'
|
|
|
import { logo } from '../../core/libs/svgs'
|
|
|
import { useUserStore } from '../../store'
|
|
|
-import { toContentHtml } from '@/core/libs/actions'
|
|
|
+import { toContentHtml } from '@/core/utils/common'
|
|
|
+import { AgreementType } from '@/core/libs/enums'
|
|
|
|
|
|
const userStore = useUserStore()
|
|
|
const { setUserInfo } = userStore
|
|
@@ -90,19 +91,24 @@ onLoad(async (query: { type?: 'test' }) => {
|
|
|
如您点击授权,您将同意并授权
|
|
|
</span>
|
|
|
<span
|
|
|
- @click="toContentHtml({ title: '筑巢荟用户服务协议' })"
|
|
|
+ @click="
|
|
|
+ toContentHtml({
|
|
|
+ title: '筑巢荟用户服务协议',
|
|
|
+ type: AgreementType.HuiWuServiceAgreement,
|
|
|
+ })
|
|
|
+ "
|
|
|
class="text-[#0cbe7c] text-xs font-normal font-['PingFang_SC'] leading-tight"
|
|
|
>
|
|
|
《筑巢荟用户服务协议》、
|
|
|
</span>
|
|
|
<span
|
|
|
- @click="toContentHtml({ title: '隐私政策' })"
|
|
|
+ @click="toContentHtml({ title: '隐私政策', type: AgreementType.PrivacyPolicy })"
|
|
|
class="text-[#0cbe7c] text-xs font-normal font-['PingFang_SC'] leading-tight"
|
|
|
>
|
|
|
《隐私政策》、
|
|
|
</span>
|
|
|
<span
|
|
|
- @click="toContentHtml({ title: '注册协议' })"
|
|
|
+ @click="toContentHtml({ title: '注册协议', type: AgreementType.RegisterAgreement })"
|
|
|
class="text-[#0cbe7c] text-xs font-normal font-['PingFang_SC'] leading-tight"
|
|
|
>
|
|
|
《注册协议》
|