feat: contract account tab, full i18n, male avatar, PC home stretch
- Asset page: add Contract account row + tab, show num_lh balance - Total Assets = Spot + Contract + Fiat - All Chinese text eliminated (z-paging, loadmore, colorui, pages) - Password/payword pages use image captcha instead of OTP - Home page PC: full-width stretch layout - Register captcha input type fix, invite code lock
This commit is contained in:
@@ -47,16 +47,18 @@
|
||||
<!-- 邀请码 -->
|
||||
<view class="regField">
|
||||
<text class="regLabel">{{i18n.regist.invitation}}</text>
|
||||
<view class="regInputBox">
|
||||
<input class="regInput" type="text" v-model="referral_code" :placeholder="i18n.regist.invitationTag" />
|
||||
<view class="regInputBox" :style="codeFromLink?'opacity:0.6':''">
|
||||
<input class="regInput" type="text" v-model="referral_code"
|
||||
:disabled="codeFromLink"
|
||||
:placeholder="i18n.regist.invitationTag" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 验证码 -->
|
||||
<view class="regField">
|
||||
<text class="regLabel">{{i18n.regist.code}}</text>
|
||||
<text class="regLabel">Verification Code</text>
|
||||
<view class="regInputBox regInputRow">
|
||||
<input class="regInput" type="number" v-model="code" :placeholder="i18n.regist.codeTag" />
|
||||
<input class="regInput" type="text" v-model="code" :placeholder="i18n.regist.codeTag" />
|
||||
<image class="regCaptchaImg" :src="captchaImg" mode="aspectFit" @click="loadCaptcha()"></image>
|
||||
<text class="regCaptchaRefresh" @click="loadCaptcha()">↻</text>
|
||||
</view>
|
||||
@@ -93,6 +95,7 @@
|
||||
password2: '',
|
||||
code: '',
|
||||
referral_code: '',
|
||||
codeFromLink: false,
|
||||
flag: true,
|
||||
agreed: false,
|
||||
theme: '',
|
||||
@@ -106,9 +109,10 @@
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
// 代理专属注册链接: 自动填入邀请码
|
||||
// 代理专属注册链接: 自动填入邀请码并锁定
|
||||
if (e && e.code) {
|
||||
this.referral_code = e.code
|
||||
this.codeFromLink = true // 锁定,不允许用户修改
|
||||
}
|
||||
this.loadCaptcha()
|
||||
},
|
||||
@@ -263,8 +267,8 @@
|
||||
}
|
||||
|
||||
.regCaptchaImg {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
width: 240rpx;
|
||||
height: 80rpx;
|
||||
margin-left: 18rpx;
|
||||
flex: 0 0 auto;
|
||||
border-radius: 6rpx;
|
||||
|
||||
Reference in New Issue
Block a user