Commit cde17a46 authored by zhangjianguo's avatar zhangjianguo

1

parent ff4aa76d
......@@ -3,9 +3,9 @@
<view class="balance_top" >
<Text style='margin-top:50rpx ;color: #fff;;font-size: 24rpx;'>账户余额(元)</Text>
<Text style='margin-top:50rpx ;color: #fff;;font-size: 36px;'>{{balance}}</Text>
<view class="recharge" @click="goUrl()">
<!-- <view class="recharge" @click="goUrl()">
<Text style='color: #fff;;font-size: 28rpx;'>充值</Text>
</view>
</view> -->
<!-- TODO 暂无余额说明 -->
<u-icon name="question-o" color="#fff" class='explain' size="36" @click="goUrl('/pages/balance/rules')"></u-icon>
</view>
......
......@@ -19,11 +19,11 @@
<!-- TODO 充值金额的列表-->
</View>
<view class='button'
<!-- <view class='button'
:style="{'background':mainColor}"
@click="btn_recharge">
<Text>立即充值</Text>
</view>
</view> -->
<view class="title" style="margin-top: 30rpx;">
<view class="title_l" :style="{'background':mainColor}"></view>
<Text style='margin-left: 20rpx;font-size: 26rpx;'>充值说明</Text>
......
......@@ -17,9 +17,9 @@
<Text style='font-size: 10px;'>账号余额</Text>
<Text style='font-size: 22px;'>¥0.5</Text>
</view>
<view class='balance_r' @click="gobalance()">
<!-- <view class='balance_r' @click="gobalance()">
<Text>去充值</Text>
</view>
</view> -->
</view>
<view style="width: 100%;height: 200px;border-radius: 10px;overflow: hidden;margin-top: 10px;">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/user_cardmember-0.png" mode='aspectFill' style="width: 100%;height: 100%;"></image>
......
......@@ -59,20 +59,26 @@
);
},
getWeiXinQRCode(){
let that = this
uni.showNavigationBarLoading();
this.request2(
that.request2(
{
url: '/api/AppletUser/GetWeiXinQRCodeForApplet',
data: {
Path:'pages/index/index?pid=' + this.UserInfo.UserId,
With:this.qrcode.QrCodeSize,
Path:'pages/index/index?pid=' + that.UserInfo.UserId,
With:that.qrcode.QrCodeSize,
}
},
(res) => {
uni.hideNavigationBarLoading()
this.fenxqrcode = this.host2+res.data;
console.log(this.fenxqrcode)
this.drawCtx();
// that.fenxqrcode = that.host2+res.data;
that.fenxqrcode = 'https://mallapi.oytour.com/upfile/temporary/864369a3-8da8-4735-bcc8-a2dfe5c6f357.jpg'
console.log(that.fenxqrcode)
let tmpTimeout = setTimeout(()=>{
that.drawCtx();
clearTimeout(tmpTimeout)
},100)
}
);
},
......
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