|
@@ -36,7 +36,13 @@
|
|
|
.list-title{
|
|
.list-title{
|
|
|
height: 60rpx;
|
|
height: 60rpx;
|
|
|
padding-bottom: 20rpx;
|
|
padding-bottom: 20rpx;
|
|
|
-
|
|
|
|
|
|
|
+ .product-name{
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow:ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ width:310rpx;
|
|
|
|
|
+ margin-right:20rpx;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.list-val{
|
|
.list-val{
|
|
|
input{
|
|
input{
|
|
@@ -88,7 +94,7 @@
|
|
|
<view class="refund-label">退款方式:</view>
|
|
<view class="refund-label">退款方式:</view>
|
|
|
<view class="flex list">
|
|
<view class="flex list">
|
|
|
<view class="flex" @tap="refundType=1" ><view class="flex-center radioBtn" :class="refundType==1?'active':''"></view>退货并退款</view>
|
|
<view class="flex" @tap="refundType=1" ><view class="flex-center radioBtn" :class="refundType==1?'active':''"></view>退货并退款</view>
|
|
|
- <view style="margin-left: 20rpx" class="flex" @tap="refundType=2"><view class="flex-center radioBtn" :class="refundType==1?'':'active'"></view>仅退款</view>
|
|
|
|
|
|
|
+ <view style="margin-left: 20rpx" class="flex" @tap="refundType=2"><view class="flex-center radioBtn" :class="refundType==1?'':'active'"></view>仅退款</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="refund-item-list" v-if="refundType==1">
|
|
<view class="refund-item-list" v-if="refundType==1">
|
|
@@ -96,7 +102,7 @@
|
|
|
<view>
|
|
<view>
|
|
|
<view class="list" v-for="(res,i) in product" :key="i">
|
|
<view class="list" v-for="(res,i) in product" :key="i">
|
|
|
<view class="flex list-title" >
|
|
<view class="flex list-title" >
|
|
|
- {{res.name}} {{ `${res.bigNum}/${res.smallNum}` }} {{`¥${res.price}`}}
|
|
|
|
|
|
|
+ <text class="product-name">{{res.name}}</text> {{ `${parseFloat(res.num)}` }}扎 {{`¥${parseFloat(res.price)}`}}
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex list-val">
|
|
<view class="flex list-val">
|
|
|
<input type="number" @blur="inputFun" v-model="res.big"><text>扎</text>
|
|
<input type="number" @blur="inputFun" v-model="res.big"><text>扎</text>
|
|
@@ -107,18 +113,18 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex refund-item">
|
|
<view class="flex refund-item">
|
|
|
<view class="refund-label">订单原价:</view>
|
|
<view class="refund-label">订单原价:</view>
|
|
|
- <view class="list">{{parseFloat(orderInfo.prePrice)||0}}</view>
|
|
|
|
|
|
|
+ <view class="list">¥{{parseFloat(orderInfo.prePrice)||0}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex refund-item" v-if="orderInfo.discountType == 4">
|
|
<view class="flex refund-item" v-if="orderInfo.discountType == 4">
|
|
|
<view class="refund-label">红包优惠:</view>
|
|
<view class="refund-label">红包优惠:</view>
|
|
|
<view class="list">
|
|
<view class="list">
|
|
|
- <text style="color:red;margin-right:20rpx;">-{{parseFloat(orderInfo.discountAmount) || 0}}</text>
|
|
|
|
|
|
|
+ <text style="color:red;margin-right:20rpx;">-¥{{parseFloat(orderInfo.discountAmount) || 0}}</text>
|
|
|
<text v-if="parseFloat(orderInfo.realPrice) == parseFloat(refundMoney)" style="color:red;">红包将退还客户</text>
|
|
<text v-if="parseFloat(orderInfo.realPrice) == parseFloat(refundMoney)" style="color:red;">红包将退还客户</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex refund-item">
|
|
<view class="flex refund-item">
|
|
|
<view class="refund-label">实付金额:</view>
|
|
<view class="refund-label">实付金额:</view>
|
|
|
- <view class="list">{{parseFloat(orderInfo.realPrice)||0}}</view>
|
|
|
|
|
|
|
+ <view class="list">¥{{parseFloat(orderInfo.realPrice)||0}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex refund-item">
|
|
<view class="flex refund-item">
|
|
|
<view class="refund-label"><text></text>退款金额:</view>
|
|
<view class="refund-label"><text></text>退款金额:</view>
|