feat(订单): 添加退款功能及相关页面
- 新增退款申请功能,用户可申请订单内所有商品退款 - 更新订单状态显示,增加“已退款”和“退款中”状态 - 新增退款去向页面,展示退款信息 - 更新依赖版本至v1.0.13 - 提升用户体验,优化多个页面的文本提示和样式 - 更新应用版本至2.0.49
This commit is contained in:
@@ -71,17 +71,19 @@
|
||||
>
|
||||
<template slot="labelSlot" slot-scope="slotProps">
|
||||
<view class="label_content AC_List">
|
||||
<view class="left">
|
||||
<view class="title" v-if="slotProps.row.productName">{{ slotProps.row.productName }}</view>
|
||||
<view class="title" v-else>{{ slotProps.row.orderType }}</view>
|
||||
</view>
|
||||
<view
|
||||
:class="`right ${
|
||||
slotProps.row.changeAmount > 0 ? 'Hot' : ''
|
||||
}`"
|
||||
>
|
||||
<text v-if="slotProps.row.changeAmount > 0">+</text>
|
||||
<text>{{ slotProps.row.changeAmount }}</text> </view>
|
||||
<view style=" display: flex; align-items: center; justify-content: space-between;">
|
||||
<view class="left">
|
||||
<view class="title">{{ slotProps.row.productName || slotProps.row.orderType}}</view>
|
||||
</view>
|
||||
<view
|
||||
:class="`right ${
|
||||
slotProps.row.changeAmount > 0 ? 'Hot' : ''
|
||||
}`"
|
||||
>
|
||||
<text v-if="slotProps.row.changeAmount > 0">+</text>
|
||||
<text>{{ slotProps.row.changeAmount }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="AC_mark" v-if="slotProps.row.remark">{{slotProps.row.remark}}</view>
|
||||
<view class="AC_note" v-if="slotProps.row.note&&slotProps.row.note!='null'">说明:{{slotProps.row.note}}</view>
|
||||
<view class="AC_time">{{ slotProps.row.createTime }}</view>
|
||||
@@ -339,6 +341,12 @@ export default {
|
||||
|
||||
.AC_List {
|
||||
overflow: hidden;
|
||||
.title,
|
||||
.AC_note,
|
||||
.AC_mark {
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.left {
|
||||
width: calc(100% - 120rpx) !important;
|
||||
font-weight: 700;
|
||||
@@ -355,6 +363,19 @@ export default {
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
}
|
||||
> view:first-child {
|
||||
.left {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
width: auto !important;
|
||||
float: none;
|
||||
}
|
||||
.right {
|
||||
flex-shrink: 0;
|
||||
float: none;
|
||||
width: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.AC_title {
|
||||
|
||||
Reference in New Issue
Block a user