Commit 223f5084 by 冷斌

fix bug

parent 9ca0a428
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
<img src="__PUBLIC__/appapi/pay/img/zhib.png"> <img src="__PUBLIC__/appapi/pay/img/zhib.png">
<div class="menutile">直播魅力</div> <div class="menutile">直播魅力</div>
</div> </div>
<div class="menuBd"> <div class="menuBd" @click="withdraw(1)">
<p @click="withdraw(1)">点击去提现申请页面</p> <p>提现</p>
<img src="__PUBLIC__/appapi/pay/img/more.png"> <img src="__PUBLIC__/appapi/pay/img/more.png">
</div> </div>
</div> </div>
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<img src="__PUBLIC__/appapi/pay/img/yaoq.png"> <img src="__PUBLIC__/appapi/pay/img/yaoq.png">
<div class="menutile">邀请魅力</div> <div class="menutile">邀请魅力</div>
</div> </div>
<div class="menuBd"> <div class="menuBd" @click="withdraw(2)">
<p @click="withdraw(0)">点击去提现页面</p> <p>提现</p>
<img src="__PUBLIC__/appapi/pay/img/more.png"> <img src="__PUBLIC__/appapi/pay/img/more.png">
</div> </div>
</div> </div>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<img src="__PUBLIC__/appapi/pay/img/jiazu.png"> <img src="__PUBLIC__/appapi/pay/img/jiazu.png">
<div class="menutile">家族魅力</div> <div class="menutile">家族魅力</div>
</div> </div>
<div class="menuBd"> <div class="menuBd" @click="withdraw(3)">
<p>提现</p> <p>提现</p>
<img src="__PUBLIC__/appapi/pay/img/more.png"> <img src="__PUBLIC__/appapi/pay/img/more.png">
</div> </div>
...@@ -53,22 +53,11 @@ ...@@ -53,22 +53,11 @@
var vm = new Vue({ var vm = new Vue({
el: '#app', el: '#app',
data: { data: {
//数据集
phone: '', // 手机号
yzm: '', // 验证码
is_Submit: 1, // 1信息不全 2可以提交
identity: 0, identity: 0,
certification: 0, certification: 0,
}, },
methods: { methods: {
//事件 //事件
checked() {
if (this.phone && this.yzm) {
this.is_Submit = 2
} else {
this.is_Submit = 1
}
},
subMit() { subMit() {
}, },
...@@ -83,12 +72,14 @@ ...@@ -83,12 +72,14 @@
let info = this.info(); let info = this.info();
return url + '&uid=' + info.id + '&token=' + info.token; return url + '&uid=' + info.id + '&token=' + info.token;
}, },
rechange() { withdraw(source) {
window.location.href = this.url('/index.php?g=Appapi&m=Profit&a=rechange'); if (this.identity != 1) {
}, layer.msg('认证主播才可提现');
withdraw(type) { return;
let url = type ? '/index.php?g=Appapi&m=Profit&a=auth' : '/index.php?g=Appapi&m=Profit&a=withdraw'; }
window.location.href = this.url(url); layer.msg('are you ok?');
//let url = type ? '/index.php?g=Appapi&m=Profit&a=auth' : '/index.php?g=Appapi&m=Profit&a=withdraw';
//window.location.href = this.url(url);
} }
}, },
watch: { watch: {
......
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