fix: 取消支付宝支付

pull/16/head
TianYu 2023-06-02 15:27:23 +08:00
parent fbb6972846
commit 5adf5115eb
5 changed files with 35 additions and 20 deletions

View File

@ -75,13 +75,13 @@
icon: "icon-weixinzhifu", icon: "icon-weixinzhifu",
value: 'WXPAY', value: 'WXPAY',
title: '微信快捷支付' title: '微信快捷支付'
},
{
name: "支付宝",
icon: "icon-zhifubao",
value: 'ALIPAY',
title: '支付宝快捷支付'
} }
// {
// name: "",
// icon: "icon-zhifubao",
// value: 'ALIPAY',
// title: ''
// }
], ],
pay_close: false, pay_close: false,
activeIndex: [], activeIndex: [],

View File

@ -56,7 +56,7 @@
</view> </view>
<view class="money-box money-time"> <view class="money-box money-time">
<text>返费结束时间</text> <text>返费结束时间</text>
<text class="money-text">{{item.endTime}}</text> <text class="money-text">{{dateConvert(item.startTime)}}</text>
</view> </view>
</view> </view>
</view> </view>
@ -136,6 +136,18 @@
this.equityData = equity.data this.equityData = equity.data
}, },
methods: { methods: {
dateConvert(date){
const _date = new Date(date)
_date.setFullYear(_date.getFullYear() + 1)
_date.setDate(_date.getDate() - 30)
const Y = _date.getFullYear() + "-"
const M =
(_date.getMonth() + 1 < 10
? "0" + (_date.getMonth() + 1)
: _date.getMonth() + 1) + "-";
const D = (_date.getDate() < 10 ? "0" + _date.getDate() : _date.getDate())
return Y + M + D
},
handleDetailed(reportId){ handleDetailed(reportId){
uni.navigateTo({ uni.navigateTo({
url:`/pages/member_detail/index?reportId=${reportId}`, url:`/pages/member_detail/index?reportId=${reportId}`,

View File

@ -88,13 +88,13 @@
icon: "icon-weixinzhifu", icon: "icon-weixinzhifu",
value: 'WXPAY', value: 'WXPAY',
title: '微信快捷支付' title: '微信快捷支付'
},
{
name: "支付宝",
icon: "icon-zhifubao",
value: 'ALIPAY',
title: '支付宝快捷支付'
} }
// {
// name: "",
// icon: "icon-zhifubao",
// value: 'ALIPAY',
// title: ''
// }
], ],
pay_close: false, pay_close: false,
activeIndex: [], activeIndex: [],

View File

@ -83,13 +83,13 @@ import store from '@/store/index';
icon: "icon-weixinzhifu", icon: "icon-weixinzhifu",
value: 'WXPAY', value: 'WXPAY',
title: '微信快捷支付' title: '微信快捷支付'
},
{
name: "支付宝",
icon: "icon-zhifubao",
value: 'ALIPAY',
title: '支付宝快捷支付'
} }
// {
// name: "",
// icon: "icon-zhifubao",
// value: 'ALIPAY',
// title: ''
// }
], ],
pay_close: false, pay_close: false,
activeIndex:[], activeIndex:[],

View File

@ -71,7 +71,10 @@
<view>{{ item.grade }}</view> <view>{{ item.grade }}</view>
</text> </text>
</view> </view>
<text>{{item.payPrice | currency}}</text> <view class="price-wrap">
<text style="display:block; margin-bottom: 6rpx;">{{item.payPrice | currency}}</text>
<u-tag v-if="item.refundStatus === 2" plain text="已退款" type="error"></u-tag>
</view>
</view> </view>
</u-list-item> </u-list-item>
</u-list> </u-list>