Commit 0cc6aeeb by 冷斌

update

parent d7b0838e
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="zhuboXieyi">认证即同意<a href="{$xieyi}" style="color: #C45EFF;">主播协议</a></div> <div class="zhuboXieyi">认证即同意<a href="{$xieyi}" style="color: #C45EFF;">主播协议</a></div>
<!-- 输入家族id部分 --> <!-- 输入家族id部分 -->
<div class="jiazuBg" v-show="isNew == '1'"> <div class="jiazuBg" v-show="ff">
<div class="jiazurzBox"> <div class="jiazurzBox">
<div class="jiazurzTitle">家族ID</div> <div class="jiazurzTitle">家族ID</div>
<div style="width: 100%; padding: 0 .85rem;"> <div style="width: 100%; padding: 0 .85rem;">
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
<img src="__PUBLIC__/appapi/img/Group.png" > <img src="__PUBLIC__/appapi/img/Group.png" >
</div> </div>
</div> </div>
<div class="surejiazuId" @click="auth">确定</div> <div class="surejiazuId" @click="auth2">确定</div>
<div class="passjiazuId" @click="auth">跳过</div> <div class="passjiazuId" @click="auth2">跳过</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -95,10 +95,11 @@ ...@@ -95,10 +95,11 @@
mobile: '', mobile: '',
front_view: '', front_view: '',
back_view: '', back_view: '',
fid: -1, fid: '',
handset_view: '' handset_view: ''
}, },
next: false, next: false,
ff: false,
isNew: '{$isNew}', isNew: '{$isNew}',
uploadName: '', uploadName: '',
isSubmit: true, isSubmit: true,
...@@ -108,12 +109,22 @@ ...@@ -108,12 +109,22 @@
}, },
methods: { methods: {
//事件 //事件
auth: function () { auth2: function () {
this.next = true; this.next = true;
}, },
auth: function () {
if (this.isNew > 0) {
this.ff = true;
} else {
this.auth2();
}
},
checkSubmit: function () { checkSubmit: function () {
let status = false; let status = false;
for (let i in this.form) { for (let i in this.form) {
if (i == 'fid'){
continue;
}
if (this.form[i] === '') { if (this.form[i] === '') {
status = true; status = true;
break; break;
......
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