Commit 2d85702d authored by 刘用法's avatar 刘用法

提现页面文案修改

parent 40f6c11e
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
return ['settlement','statement'] return ['settlement','statement']
} }
}, },
onLoad() { onShow() {
// 未登录,先跳转登录 // 未登录,先跳转登录
if(!this.vuex_token) { if(!this.vuex_token) {
this.$u.route({url: 'pages/login/index'}) this.$u.route({url: 'pages/login/index'})
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<u-navbar back-icon-color="#333333" background="#F4F5F7" title="提现" titleColor="#333333" :border-bottom="false" title-bold> <u-navbar back-icon-color="#333333" background="#F4F5F7" title="提现" titleColor="#333333" :border-bottom="false" title-bold>
</u-navbar> </u-navbar>
<view class="withdraw-content"> <view class="withdraw-content">
<view v-if="!submit">
<view class="withdraw-content-main"> <view class="withdraw-content-main">
<view class="amount-title">可提现金额</view> <view class="amount-title">可提现金额</view>
<view class="amount-text"><text class="amount-symbol">¥</text>{{amount}}</view> <view class="amount-text"><text class="amount-symbol">¥</text>{{amount}}</view>
...@@ -13,6 +14,14 @@ ...@@ -13,6 +14,14 @@
<view class="rule-content">1.提现金额:提现金额是指已完工订单通过平台审核后且达到合同账期的订单费用之总和。</view> <view class="rule-content">1.提现金额:提现金额是指已完工订单通过平台审核后且达到合同账期的订单费用之总和。</view>
<view class="rule-content">2.提现到账时间具体以银行结果为准</view> <view class="rule-content">2.提现到账时间具体以银行结果为准</view>
</view> </view>
<view v-else class="submited-view">
<image class="success-image" :src="imageUrl"></image>
<view>您已提交提现申请</view>
<view class="submited-button">
<u-button type="primary" shape="circle" :custom-style="buttonStyle" @click="handleClickSure">我知道了</u-button>
</view>
</view>
</view>
</view> </view>
</template> </template>
...@@ -21,6 +30,7 @@ ...@@ -21,6 +30,7 @@
data() { data() {
return { return {
amount: 0, amount: 0,
submit: false
} }
}, },
computed: { computed: {
...@@ -32,6 +42,9 @@ ...@@ -32,6 +42,9 @@
"font-weight": "bold", "font-weight": "bold",
}; };
}, },
imageUrl() {
return process.uniEnv.qn_base_url + 'chenggong.png'
},
}, },
onLoad() { onLoad() {
this.loadAssets() this.loadAssets()
...@@ -42,7 +55,7 @@ ...@@ -42,7 +55,7 @@
if(self.amount) { if(self.amount) {
let res = await self.$u.api.workerApplyPay() let res = await self.$u.api.workerApplyPay()
if(res && res.code == 200) { if(res && res.code == 200) {
self.$u.route({type: 'redirect', url: 'pages/mine/wallet/index'}) self.submit = true
} else { } else {
self.$u.toast(res.message || '系统异常,提现失败!'); self.$u.toast(res.message || '系统异常,提现失败!');
} }
...@@ -55,6 +68,9 @@ ...@@ -55,6 +68,9 @@
self.amount = res.data && res.data.canApplyAmount self.amount = res.data && res.data.canApplyAmount
} }
}, },
handleClickSure() {
this.$u.route({type: 'back'})
}
} }
} }
</script> </script>
...@@ -111,6 +127,22 @@ ...@@ -111,6 +127,22 @@
margin-bottom: 20rpx; margin-bottom: 20rpx;
line-height: 40rpx; line-height: 40rpx;
} }
.submited-view {
text-align: center;
color: #2272FF;
font-size: 40rpx;
font-weight: bold;
.success-image {
width: 224rpx;
height: 224rpx;
margin-top: 80rpx;
}
}
.submited-button {
margin-top: 100rpx;
margin-bottom: 100rpx;
}
} }
} }
......
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