From 613034ce8f3586af4e5a364237edc967408761b0 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Tue, 19 Dec 2023 18:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B3=A8=E5=86=8C=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/popup/popup.vue | 69 +- components/wh-popup/index.vue | 1364 ++++++++++++++++++++++++++++++ pages/reg/components/WhPopup.vue | 174 ++++ pages/reg/reg.vue | 43 +- 4 files changed, 1601 insertions(+), 49 deletions(-) create mode 100644 components/wh-popup/index.vue create mode 100644 pages/reg/components/WhPopup.vue diff --git a/components/popup/popup.vue b/components/popup/popup.vue index 97091ab..c410241 100644 --- a/components/popup/popup.vue +++ b/components/popup/popup.vue @@ -8,41 +8,48 @@ diff --git a/components/wh-popup/index.vue b/components/wh-popup/index.vue new file mode 100644 index 0000000..2a05713 --- /dev/null +++ b/components/wh-popup/index.vue @@ -0,0 +1,1364 @@ + + + + + diff --git a/pages/reg/components/WhPopup.vue b/pages/reg/components/WhPopup.vue new file mode 100644 index 0000000..4c2cad9 --- /dev/null +++ b/pages/reg/components/WhPopup.vue @@ -0,0 +1,174 @@ + + + + + diff --git a/pages/reg/reg.vue b/pages/reg/reg.vue index 0a6782c..8de9fc6 100644 --- a/pages/reg/reg.vue +++ b/pages/reg/reg.vue @@ -9,6 +9,7 @@ +
@@ -31,8 +32,8 @@ - 我已阅读并同意网站的 《隐私政策》和 - 《用户注册协议》 + 我已阅读并同意网站的 《隐私政策》和 + 《用户注册协议》 @@ -40,11 +41,18 @@ +
+ 已拥有账户?登录 + + + + +
@@ -53,24 +61,14 @@ import store from '@/store' import * as LoginApi from '@/api/login' import * as Verify from '@/utils/verify' - import Popup from '@/components/popup/popup' + // import Popup from '@/components/popup/popup' + import whpop from './components/WhPopup' export default { components: { // nothing - "popup":Popup - }, - - props: { - // 是否存在第三方用户信息 - isParty: { - type: Boolean, - default: () => false - }, - // 第三方用户信息数据 - partyData: { - type: Object - } + // "popup":Popup + whpop }, data() { @@ -225,11 +223,20 @@ }, // 阅读了政策协议 viewdoc(e){ + this.$toast(e) // 弹框显示 - let xurl="pages/help/"+e - this.$navTo(xurl) + // let xurl="pages/help/"+e + // this.$navTo(xurl) + // console.log(xurl) + // this.murl= xurl; + // this.$emit("open") + // this.$navTo("pages/"); }, + // + openPop(e){ + console.log(e) + }, } }