From bac011e38648337bdea9dbd7e354acfca8dfecc7 Mon Sep 17 00:00:00 2001 From: luyisha Date: Thu, 19 Oct 2023 18:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=B8=81=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E3=80=81=E6=B3=A8=E5=86=8C=E5=9B=BE=E5=BD=A2=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/serve/index.js | 2 +- layout/vCode.vue | 16 +-------- layout/vDropdwon.vue | 4 +-- pages/assets/draw.vue | 76 +++++++++++++++++++++++++++++++++++++------ pages/reg/index.vue | 28 +--------------- 5 files changed, 71 insertions(+), 55 deletions(-) diff --git a/api/serve/index.js b/api/serve/index.js index a07d797..e4dd52a 100644 --- a/api/serve/index.js +++ b/api/serve/index.js @@ -90,7 +90,7 @@ x.fn = x.prototype = { && newMsg!='_user_wdcode' && newMsg!='_register_Graph_che' && newMsg!='_register_sendEmailCode' && newMsg!='_user_subscribeRecords' && newMsg!='_user_subscribeNow' && newMsg!='_exchange_getMarketInfo' && newMsg!='_indexList'&& newMsg!='_user_subscribe'&& newMsg!='_contract_getSymbolDetail' && newMsg!='_user_withdrawalRecord'){ - resolve(Cache.get(newMsg).data); + // resolve(Cache.get(newMsg).data);//获取缓存中的数据 } uni.request({ diff --git a/layout/vCode.vue b/layout/vCode.vue index 545f461..25c673e 100644 --- a/layout/vCode.vue +++ b/layout/vCode.vue @@ -45,16 +45,9 @@ export default { type: String, require: false, }, - sendAAA: { - type: Boolean - } }, watch: { - sendAAA(n,o){ - if(n){ - this.send(); - } - } + }, components:{ vButton @@ -75,7 +68,6 @@ export default { methods: { // 发送验证码 send() { - // console.log(this.sendAAA, '-------this.sendAAA'); if(this.data.phone==''){ this.$toast(this.$t('reg.a3')) return @@ -86,11 +78,6 @@ export default { } if (this.load) return; this.inSend = true; - // if(this.url==="/register/sendEmailCode" && !this.sendAAA){ - // this.$emit('changeSLider', true); - // return; - // } - // serve.post(this.url, this.data) Member.sendEmailCode(this.data) .then((res) => { if(res.code=='4001'){ @@ -103,7 +90,6 @@ export default { this.load = true; this.countDown(); this.$toast(this.$t('common.sendSuccess')); - // this.$emit('changeSendAAA', false) } }) .catch(() => { diff --git a/layout/vDropdwon.vue b/layout/vDropdwon.vue index 7d3a49a..47b1253 100644 --- a/layout/vDropdwon.vue +++ b/layout/vDropdwon.vue @@ -58,7 +58,7 @@ export default { leverShow:{ deep: true, handler:function(newVal,oldVal) { - console.log(newVal, '下拉组件leverShow更新'); + // console.log(newVal, '下拉组件leverShow更新'); this.$nextTick(() => { this.text=this.list[newVal].label; }) @@ -67,7 +67,7 @@ export default { list:{ deep: true, handler:function(newVal,oldVal) { - console.log(newVal, '下拉组件list更新'); + // console.log(newVal, '下拉组件list更新'); if(this.contract==1&&this.list){ this.text=this.list[1].label }else if(this.contract==0&&this.list){ diff --git a/pages/assets/draw.vue b/pages/assets/draw.vue index f2107b3..1149891 100644 --- a/pages/assets/draw.vue +++ b/pages/assets/draw.vue @@ -116,16 +116,30 @@ - - {{ $t("reg.a8") }}: - - - + + {{ $t("reg.a8") }}: + + + - + - - + + + + + {{ $t("safe.a5") }}: + + + + + + {{ $t("common.getCode") }} + {{ daojishi }} + + +