feat(订单): 添加退款功能及相关页面

- 新增退款申请功能,用户可申请订单内所有商品退款
- 更新订单状态显示,增加“已退款”和“退款中”状态
- 新增退款去向页面,展示退款信息
- 更新依赖版本至v1.0.13
- 提升用户体验,优化多个页面的文本提示和样式
- 更新应用版本至2.0.49
This commit is contained in:
2026-05-09 11:12:34 +08:00
parent a38187c13f
commit 6274ac6cd6
15 changed files with 339 additions and 49 deletions

View File

@@ -790,8 +790,13 @@ export default {
this.$refs.commonSelectGoods.open();
},
//点击下单按钮
onHandleClickBuy() {
if(this.buttonType==0){ //如果是加入购物车
onHandleClickBuy(e) {
if (e && e.content && e.content.text === "购物车") {
this.onHandleClick();
return;
}
const clickType = typeof (e && e.index) === "number" ? e.index : this.buttonType;
if(clickType==0){ //如果是加入购物车
console.log('剩余', this.selectGoodsData.productStock)
if(this.selectGoodsData.productStock==0){
uni.showToast({