|
@@ -12,8 +12,8 @@
|
|
|
<v-icon v-if="isAgree" size="18" color="primary" class="mr-2" @click="isAgree = !isAgree">mdi-check-circle</v-icon>
|
|
|
<v-icon v-else size="18" color="grey" class="mr-2" @click="isAgree = !isAgree">mdi-check-circle-outline</v-icon>
|
|
|
点击注册即代表您同意
|
|
|
- <span class="color-primary" style="cursor: pointer;" @click="router.push('/userAgreement')"> [{{ $t('login.userAgreement') }}] </span>和
|
|
|
- <span class="color-primary" style="cursor: pointer;" @click="router.push('/privacyPolicy')">[{{ $t('login.privacyPolicy') }}]</span>
|
|
|
+ <span class="color" style="cursor: pointer;" @click="windowOpen('/userAgreement')"> [{{ $t('login.userAgreement') }}] </span>和
|
|
|
+ <span class="color" style="cursor: pointer;" @click="windowOpen('/privacyPolicy')">[{{ $t('login.privacyPolicy') }}]</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -76,9 +76,17 @@ const handleRegister = async () => {
|
|
|
loading.value = false
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+const windowOpen = (url) => {
|
|
|
+ // router.push(url)
|
|
|
+ if (url) window.open(url)
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+.color {
|
|
|
+ color: var(--v-primary-base);
|
|
|
+}
|
|
|
.navBar {
|
|
|
position: absolute;
|
|
|
top: 0;
|