Commit 223f5084 by 冷斌

fix bug

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