From fdefb42253d7fa9e561a248d49dc6390d3595a39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=9F=E5=B8=85?= <133814250@qq.com>
Date: Mon, 15 May 2023 11:39:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E5=86=8C=E5=8D=8F?=
=?UTF-8?q?=E8=AE=AE=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
web/src/views/login/register/agreement.vue | 14 +++++++++-----
web/src/views/login/register/index.vue | 18 +++++++++++++-----
3 files changed, 23 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 3a439fa..b493358 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
-
+
diff --git a/web/src/views/login/register/agreement.vue b/web/src/views/login/register/agreement.vue
index 069e858..840c7b1 100644
--- a/web/src/views/login/register/agreement.vue
+++ b/web/src/views/login/register/agreement.vue
@@ -1,8 +1,12 @@
- 我已阅读并接受
- 《用户协议》
- 《隐私权政策》
+ 我已阅读并接受
+
+ 《用户协议》
+
+
+ 《隐私权政策》
+
@@ -44,7 +48,7 @@
diff --git a/web/src/views/login/register/index.vue b/web/src/views/login/register/index.vue
index cde5fa6..eab868a 100644
--- a/web/src/views/login/register/index.vue
+++ b/web/src/views/login/register/index.vue
@@ -118,13 +118,16 @@
:mask-closable="false"
preset="dialog"
:closable="false"
- :title="modalTitle"
:style="{
width: dialogWidth,
position: 'top',
bottom: '15vw',
}"
>
+
+ 《{{ agreeTitle }}》
+
+
@@ -168,7 +171,7 @@
const userStore = useUserStore();
const loading = ref(false);
const showModal = ref(false);
- const modalTitle = ref('');
+ const agreeTitle = ref('');
const modalContent = ref('');
const { sendLabel, isCounting, loading: sendLoading, activateSend } = useSendCode();
const agreement = ref(false);
@@ -260,13 +263,13 @@
function handleClickProtocol() {
showModal.value = true;
- modalTitle.value = '用户协议';
+ agreeTitle.value = '用户协议';
modalContent.value = userStore.loginConfig?.loginProtocol as string;
}
function handleClickPolicy() {
showModal.value = true;
- modalTitle.value = '隐私权政策';
+ agreeTitle.value = '隐私权政策';
modalContent.value = userStore.loginConfig?.loginPolicy as string;
}
@@ -276,4 +279,9 @@
}
-
+