|
@@ -59,15 +59,19 @@
|
|
|
<view class="slot-content">
|
|
|
<rich-text :nodes="content2"></rich-text>
|
|
|
</view>
|
|
|
+ </u-modal>
|
|
|
+ <u-modal v-model="showtip3" :title="title" :show-confirm-button="true" confirm-text="知道了" confirm-color="#00B962">
|
|
|
+ <view class="slot-content">
|
|
|
+ <rich-text :nodes="content3"></rich-text>
|
|
|
+ </view>
|
|
|
</u-modal>
|
|
|
</view>
|
|
|
|
|
|
<view style="bottom:0;position:absolute;width: 100%;padding: 40rpx;" v-show="account.availableAmount>0">
|
|
|
|
|
|
- <u-button shape="circle" v-if="account.availableAmountIncome"
|
|
|
+ <u-button shape="circle"
|
|
|
style="background-color:#00b962;color:white" @click="gotoRefundInfo()">申请退款</u-button>
|
|
|
|
|
|
- <u-button shape="circle" v-else style="background-color:#00b962;color:white" @click="show=true">申请退款</u-button>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
@@ -79,7 +83,9 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- elderMode:false,
|
|
|
+ elderMode:false,
|
|
|
+ content3:`当前金额不可退,原因:活动充值金额未清空`,
|
|
|
+
|
|
|
content2:`首次申请现金分红退费需填写收款人账户信息,申请成功后工作人员将在5~10个工作日内完成转账打款。`,
|
|
|
|
|
|
content1:`本平台仅支持充值金额全额退费,申请成功后退费金额将于5个工作日内退还至您的充值账户.在本平台,三个月内的支付宝充值,微信支付可申请退费.<br />退费成功后,您可以在退费记录查看退费信息和审核进度.`,
|
|
@@ -87,7 +93,8 @@
|
|
|
content:'是否确定提交退费申请?申请成功后退费金额将于5个工作日内退还至您的充值账户',
|
|
|
show:false,
|
|
|
showtip:false,
|
|
|
- showtip2:false,
|
|
|
+ showtip2:false,
|
|
|
+ showtip3:false,
|
|
|
userId:'',
|
|
|
account:{},
|
|
|
items:[],
|
|
@@ -158,10 +165,27 @@
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
- gotoRefundInfo(){
|
|
|
- uni.redirectTo({
|
|
|
- url:'/pages/user/finance/refundInfo'
|
|
|
- })
|
|
|
+ gotoRefundInfo(){
|
|
|
+ if(this.account.availableAmount<=0){
|
|
|
+ uni.showToast({
|
|
|
+ title: "当前可退金额为0",
|
|
|
+ icon: "none"
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!this.account.canRefund){
|
|
|
+ this.showtip3=true
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ if(this.account.availableAmountIncome){
|
|
|
+ uni.redirectTo({
|
|
|
+ url:'/pages/user/finance/refundInfo'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.show=true
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
theme(type) {
|
|
|
if(type == 'elder')
|