Commit 65738513 authored by lizhan's avatar lizhan

📝 【TASK-20240812-05】TASK:注册推荐码增加

parent bb9bb136
......@@ -72,6 +72,20 @@
/>
</view>
</view>
<view class="login-v">
<view class="login-vs">
<image src="../../static/img/recommend.png" mode=""></image>
</view>
<view class="login-vp">
<input
class="vp-input"
v-model="referralCode"
type="text"
placeholder-style="color: #ffffff"
:placeholder="$lang.lang.notices.recommend"
/>
</view>
</view>
</view>
<view class="login-btns">
<view class="" @click="register">{{ $lang.lang.login.register }}</view>
......@@ -106,7 +120,8 @@ export default {
agree: false,
areaData: [],
areaName: [],
leftTime: 60
leftTime: 60,
referralCode: ''
}
},
onLoad() {
......@@ -188,7 +203,8 @@ export default {
code: this.code,
englishName: '',
mobile: this.mobile,
password: this.password
password: this.password,
referralCode: this.referralCode
}
if (this.mobile == '') {
return uni.showToast({
......
......@@ -135,7 +135,8 @@ export default {
city: 'Please select a city',
fullAddress: 'Please enter the detailed address',
fullAddressLength: 'Enter up to 100 words',
delAddress: 'Are you sure you want to delete the address?'
delAddress: 'Are you sure you want to delete the address?',
recommend: 'Please enter referral code (optional)'
},
auth: {
auth: 'Real-name certification',
......
......@@ -134,7 +134,8 @@ export default {
city: '请选择城市',
fullAddress: '请输入详细地址',
fullAddressLength: '最多输入100字',
delAddress: '确定删除地址吗?'
delAddress: '确定删除地址吗?',
recommend: '请输入推荐码(非必填)'
},
auth: {
auth: '实名认证',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment