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) + }, } }