Browse Source

更新提币、注册

master
luyisha 3 years ago
parent
commit
71e646d005
  1. 19
      pages/assets/draw.vue
  2. 18
      pages/reg/index.vue

19
pages/assets/draw.vue

@ -15,7 +15,7 @@
{{$t('recharge.a0')}}<van-icon name="arrow" /> {{$t('recharge.a0')}}<van-icon name="arrow" />
</view> </view>
</view> </view>
<view class="bg-panel-3" style="height: 100%;"> <view class="bg-panel-3" style="min-height: 100%; padding-bottom: 220rpx;">
<view class=""> <view class="">
<view <view
class="d-flex flex-wrap justify-between align-center p-x-lg p-y-ms color-light" class="d-flex flex-wrap justify-between align-center p-x-lg p-y-ms color-light"
@ -92,6 +92,16 @@
</template> </template>
</v-input> </v-input>
</view> </view>
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
<span>{{ $t("reg.a8") }}</span>
<!-- <span class="color-light">{{ withdrawFee.withdrawal_fee }} {{coin}}</span> -->
</view>
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
<v-input type="password" v-model="form.password" class="p-x-ms color-light w-max fn-13 rounded-xs" :placeholder="$t('reg.a9')">
</v-input>
</view>
</view> </view>
<view class="form bg-panel-3 p-x-lg p-y-md"> <view class="form bg-panel-3 p-x-lg p-y-md">
<ul class="fn-md rounded-md m-y-xs line-height-2"> <ul class="fn-md rounded-md m-y-xs line-height-2">
@ -194,7 +204,8 @@ export default {
address: "", address: "",
addressType: "", addressType: "",
code_type: 1, code_type: 1,
code: '' code: '',
password: ''
}, },
withdrawFee: {}, withdrawFee: {},
list: [], list: [],
@ -269,6 +280,10 @@ export default {
this.$toast(this.$t('assets.c2')) this.$toast(this.$t('assets.c2'))
return return
} }
if(!this.form.password){
this.$toast(this.$t('reg.a9'))
return
}
let data = this.withdrawFee let data = this.withdrawFee
if (data.withdraw_switch == 1) { if (data.withdraw_switch == 1) {
this.secondaryShow = true this.secondaryShow = true

18
pages/reg/index.vue

@ -113,7 +113,7 @@
<view class="label m-b-xs">{{$t('reg.c6')}}</view> <view class="label m-b-xs">{{$t('reg.c6')}}</view>
<v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input> <v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input>
</view> --> </view> -->
<view class="form-item border-b m-b-md p-b-xs" v-if="0"> <view class="form-item border-b m-b-md p-b-xs" v-if="showInvite_code">
<view class="label m-b-xs">{{$t('reg.c6')}}</view> <view class="label m-b-xs">{{$t('reg.c6')}}</view>
<!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> --> <!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> -->
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input> <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input>
@ -162,7 +162,8 @@ export default {
}, },
check: false, check: false,
agreement: {}, agreement: {},
country_code:'' country_code:'',
showInvite_code: true,
}; };
}, },
@ -187,10 +188,10 @@ export default {
} }
return; return;
} }
// if (!this.form.invite_code) { if (!this.form.invite_code) {
// this.$toast(this.$t('reg.c7')); this.$toast(this.$t('reg.c7'));
// return; return;
// } }
this.form.type=this.form.type this.form.type=this.form.type
this.form.country_code = this.country_code || 86; this.form.country_code = this.country_code || 86;
@ -259,7 +260,10 @@ export default {
}, },
onLoad(query){ onLoad(query){
this.query = query this.query = query
this.form.invite_code = this.query.invite_code||this.form.invite_code this.form.invite_code = this.query.invite_code||this.form.invite_code;
if(this.query.invite_code){
this.showInvite_code = false;
}
}, },
created() { created() {
this.clause(); this.clause();

Loading…
Cancel
Save