luyisha 2 years ago
parent
commit
f018d9c7cb
  1. 11
      layout/vCode.vue
  2. 19
      pages/base/home.vue
  3. 8
      pages/safe/forget-password.vue
  4. 2
      pages/safe/login-password.vue

11
layout/vCode.vue

@ -76,15 +76,12 @@ export default {
if (this.load) return; if (this.load) return;
this.inSend = true; this.inSend = true;
serve.post(this.url, this.data) serve.post(this.url, this.data)
.then(() => { .then((res) => {
if(res.code!='200'){//4001|1004 if(res.code!=200){//4001|1004
this.inSend = false this.inSend = false
// //
if(this.url=='/register/sendEmailCode'){
//
//
this.$emit('reGetGraphChe') this.$emit('reGetGraphChe')
}
}else{ }else{
this.inSend = false; this.inSend = false;
this.load = true; this.load = true;

19
pages/base/home.vue

@ -349,9 +349,9 @@
<view class="fn-12" style="color: #999;">{{ $t("homeNewText.cc8") }}</view> <view class="fn-12" style="color: #999;">{{ $t("homeNewText.cc8") }}</view>
</view> </view>
<view class="zhanshi"></view> <view class="zhanshi"></view>
<view class="btn"><image src="../../assets/img/home/antFill-apple@2x.png" mode=""></image>App Store</view> <view class="btn" @click="toDwon()"><image src="../../assets/img/home/antFill-apple@2x.png" mode=""></image>App Store</view>
<view class="btn"><image src="../../assets/img/home/md-android@2x.png" mode=""></image>Android</view> <view class="btn" @click="toDwon()"><image src="../../assets/img/home/md-android@2x.png" mode=""></image>Android</view>
<view class="btn"><image src="../../assets/img/home/riFill-google-play-fill@2x.png" mode="">Google Play</image></view> <view class="btn" @click="toDwon()"><image src="../../assets/img/home/riFill-google-play-fill@2x.png" mode="">Google Play</image></view>
</view> </view>
<!-- 帮助中心 --> <!-- 帮助中心 -->
<view style="width: 700rpx;margin: 120rpx auto 40rpx;" v-if="0"> <view style="width: 700rpx;margin: 120rpx auto 40rpx;" v-if="0">
@ -390,7 +390,7 @@
<view v-if="!isLogin" class="jump_btn" @click="goReg"> <view v-if="!isLogin" class="jump_btn" @click="goReg">
{{ $t("homeNewText.aa3") }} {{ $t("homeNewText.aa3") }}
</view> </view>
<view v-else class="jump_btn" @click="goExchange"> <view v-else class="jump_btn" @click="goMine">
{{ $t("homeNewText.aa4") }} {{ $t("homeNewText.aa4") }}
</view> </view>
</view> </view>
@ -734,8 +734,7 @@ export default {
}, },
goExchange() { goExchange() {
this.show = false; this.show = false;
// this.tabChange('exchange-operation') this.tabChange('exchange-operation')
this.tabChange('mine')
}, },
goReg(){ goReg(){
uni.navigateTo({ uni.navigateTo({
@ -1005,6 +1004,14 @@ export default {
this.detail = res.data this.detail = res.data
}) })
}, },
toDwon(){
// #ifdef APP
// plus.
// #endif
// #ifdef H5
window.open('https://app.ajcoins.com/download/index.html', '_blank')//
// #endif
}
}, },
mounted() { mounted() {
this.onRefresh(); this.onRefresh();

8
pages/safe/forget-password.vue

@ -24,7 +24,7 @@
<!--图形验证码--> <!--图形验证码-->
<view class="form-item border-b p-md"> <view class="form-item border-b p-md">
<view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view> <view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view>
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')"> <v-input class="color-light" v-model="form.gc_code" :placeholder="$t('common.GraphicValidation')">
<template #right> <template #right>
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg"> <img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg">
</template> </template>
@ -44,11 +44,11 @@
</view> </view>
</view> </view>
<view class="form-item border-b p-md" v-if="checkData.email_status==1"> <view class="form-item border-b p-md" v-if="checkData.email_status==1">
<view class="label m-b-xs">{{$t('safe.a5')}}AA</view> <view class="label m-b-xs">{{$t('safe.a5')}}</view>
<view class="input color-light"> <view class="input color-light">
<v-input v-model="form.email_code" :placeholder="$t('safe.a6')"> <v-input v-model="form.email_code" :placeholder="$t('safe.a6')">
<template #right> <template #right>
<v-code url="/user/sendEmailCodeForgetPassword" :data="{email:form.account}"></v-code> <v-code url="/user/sendEmailCodeForgetPassword" :data="{email:form.account,gc_code: form.gc_code}"></v-code>
</template> </template>
</v-input> </v-input>
</view> </view>
@ -82,7 +82,7 @@ export default {
password: "", password: "",
password_confirmation: "", password_confirmation: "",
show:false, show:false,
gr_code: '' gc_code: ''
}, },
checkData: {}, checkData: {},
Graph_che:'', Graph_che:'',

2
pages/safe/login-password.vue

@ -21,7 +21,7 @@
</view> </view>
</view> </view>
<view class="form-item border-b p-md"> <view class="form-item border-b p-md" v-if="0">
<view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view> <view class="label m-b-xs">{{$t('common.GraphicValidation')}}</view>
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')"> <v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')">
<template #right> <template #right>

Loading…
Cancel
Save