|
|
@ -6,7 +6,7 @@ |
|
|
<view class="text-black1 text-price1" style="font-size: 72rpx;">{{walletBalance}}</view> |
|
|
<view class="text-black1 text-price1" style="font-size: 72rpx;">{{walletBalance}}</view> |
|
|
<view class="text-gray lf-font-24 lf-m-b-20">佣金(元)</view> |
|
|
<view class="text-gray lf-font-24 lf-m-b-20">佣金(元)</view> |
|
|
<view> |
|
|
<view> |
|
|
<button class="btn" @click="$url('/pages/center/widthdraw')">提取佣金</button> |
|
|
|
|
|
|
|
|
<button class="btn" @click="getWidthdraw()">提取佣金</button> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -66,6 +66,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</block> |
|
|
</block> |
|
|
|
|
|
|
|
|
|
|
|
<view class='imagePathBox' v-if="maskHidden == true" @click="maskHidden = false "> |
|
|
|
|
|
<image :src="widthdrawImg" mode="aspectFill" class='shengcheng'></image> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
@ -92,7 +96,9 @@ |
|
|
loadingText: '正在加载中' |
|
|
loadingText: '正在加载中' |
|
|
}], |
|
|
}], |
|
|
windowHeight: 0, |
|
|
windowHeight: 0, |
|
|
walletBalance: 0 |
|
|
|
|
|
|
|
|
walletBalance: 0, |
|
|
|
|
|
widthdrawImg: '', |
|
|
|
|
|
maskHidden: false |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad(){ |
|
|
onLoad(){ |
|
|
@ -100,6 +106,18 @@ |
|
|
this.getIncomeList() |
|
|
this.getIncomeList() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
getWidthdraw() { |
|
|
|
|
|
let userInfo = uni.getStorageSync('userinfo') || {}; |
|
|
|
|
|
this.$http(this.API.API_WIDTHDRAWIMG, { |
|
|
|
|
|
token: userInfo.token |
|
|
|
|
|
}).then(res => { |
|
|
|
|
|
this.widthdrawImg = res.data.img.url |
|
|
|
|
|
console.log(this.widthdrawImg) |
|
|
|
|
|
if(this.widthdrawImg) { |
|
|
|
|
|
this.maskHidden = true |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
changeTab(index) { |
|
|
changeTab(index) { |
|
|
if(this.current == index) { |
|
|
if(this.current == index) { |
|
|
return |
|
|
return |
|
|
@ -179,6 +197,47 @@ |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style scoped lang="scss"> |
|
|
<style scoped lang="scss"> |
|
|
|
|
|
.imagePathBox { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.7); |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
top: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
right: 0; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
z-index: 10; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.shengcheng { |
|
|
|
|
|
width: 80%; |
|
|
|
|
|
height: 80%; |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
top: 136rpx; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
margin-left: -40%; |
|
|
|
|
|
z-index: 10; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.baocun { |
|
|
|
|
|
display: block; |
|
|
|
|
|
width: 80%; |
|
|
|
|
|
height: 80rpx; |
|
|
|
|
|
padding: 0; |
|
|
|
|
|
line-height: 80rpx; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
position: fixed; |
|
|
|
|
|
bottom: 50rpx; |
|
|
|
|
|
left: 10%; |
|
|
|
|
|
background: #ffe200; |
|
|
|
|
|
color: #333; |
|
|
|
|
|
font-size: 32rpx; |
|
|
|
|
|
border-radius: 44rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
button[class="baocun"]::after { |
|
|
|
|
|
border: 0; |
|
|
|
|
|
} |
|
|
.tab-item{ |
|
|
.tab-item{ |
|
|
font-size: 32rpx; |
|
|
font-size: 32rpx; |
|
|
width: 50%; |
|
|
width: 50%; |
|
|
|