|
|
@@ -21,13 +21,13 @@
|
|
|
<view class="login_img"><image src="/static/icon/img07.png"></image></view>
|
|
|
<view class="login_name"><input class="uni-input" type="text" v-model="invitation" focus placeholder="请输入邀请码" /></view>
|
|
|
</view>
|
|
|
- <!-- <view class="login_input flex">
|
|
|
+ <view class="login_input flex">
|
|
|
<view class="login_img"><image src="/static/icon/img06.png"></image></view>
|
|
|
<view class="login_name flex">
|
|
|
<input class="uni-input width" v-model="code" focus placeholder="请输入验证码" />
|
|
|
<view class="code" @click="verification">{{ countDown == 0 ? '验证码' : countDown }}</view>
|
|
|
</view>
|
|
|
- </view> -->
|
|
|
+ </view>
|
|
|
<view><button type="green" @click="register" class="uni-button uni-button-green">注册账号</button></view>
|
|
|
<view><button class="uni-button uni-button-green uni-button-green-plain" type="green" plain="true" hover-class="none" @click="login">返回登录</button></view>
|
|
|
</view>
|
|
|
@@ -93,7 +93,7 @@ export default {
|
|
|
// }
|
|
|
register({
|
|
|
account: obj.phone, //账号
|
|
|
- // captcha: obj.code, //验证码
|
|
|
+ captcha: obj.code, //验证码
|
|
|
password: obj.password ,//密码
|
|
|
spread:this.invitation//上级推广人
|
|
|
}).then(function(e) {
|