|
|
|
@ -9,18 +9,18 @@ |
|
|
|
<view class="flex justify-between align-start padding-top-sm padding-lr"> |
|
|
|
<image v-if="orderDetails.goods.cover" :src="orderDetails.goods.cover" mode="aspectFill" style="width: 150rpx; height: 150rpx;"></image> |
|
|
|
<view class="flex-sub padding-left-sm"> |
|
|
|
<view class="bref-box margin-top-xs" v-if="orderDetails.goods.name"> |
|
|
|
<view class="bref-box margin-top-xs lf-font-32 lf-font-bold" v-if="orderDetails.goods.name"> |
|
|
|
{{orderDetails.goods.name}} |
|
|
|
</view> |
|
|
|
<text class="block margin-top-sm text-gray text-sm">数量 <text class="margin-left margin-right-xs text-gray">x</text>{{orderDetails.number}}</text> |
|
|
|
<text class="block margin-top-sm text-gray lf-font-28">数量 <text class="margin-left margin-right-xs text-gray">x</text>{{orderDetails.number}}</text> |
|
|
|
|
|
|
|
<view class="flex justify-between margin-top-sm"> |
|
|
|
<view class="text-red text-price text-lg"> |
|
|
|
<view class="text-red text-price lf-font-42 lf-font-bold"> |
|
|
|
{{Number(orderDetails.selling_price || 0)}} |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<button v-if="orderDetails.state == 2" class="cu-btn line-orange round margin-left-sm text-sm" @tap="$routerGo('/pages/order/apply-refund?orderId='+orderDetails.id)">申请退款</button> |
|
|
|
<button v-else class="cu-btn line-gray bg-white border round margin-left-sm text-sm">{{orderDetails.state_text.text}}</button> |
|
|
|
<button v-if="orderDetails.state == 2" class="cu-btn line-orange text-orange round margin-left-sm lf-font-28" @tap="$routerGo('/pages/order/apply-refund?orderId='+orderDetails.id)">申请退款</button> |
|
|
|
<button v-else class="cu-btn line-gray bg-white border round margin-left-sm lf-font-28">{{orderDetails.state_text.text}}</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -33,31 +33,31 @@ |
|
|
|
<skeleton :loading="skeletonLoading" :row="16" :showAvatar="false" :showTitle="true"> |
|
|
|
<view class="bg-white"> |
|
|
|
<view class="cu-bar padding-lr solid-bottom flex justify-between align-center text-center"> |
|
|
|
<text class="text-gray">订单编号</text> |
|
|
|
<text class="text-gray lf-font-32">订单编号</text> |
|
|
|
<view> |
|
|
|
<text class="margin-right">{{orderDetails.order_sn}}</text> |
|
|
|
<text class="text-orange text-sm" @click="copy(orderDetails.order_sn)">复制</text> |
|
|
|
<text class="margin-right lf-font-32 text-black1">{{orderDetails.order_sn}}</text> |
|
|
|
<text class="text-orange lf-font-32" @click="copy(orderDetails.order_sn)">复制</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="cu-bar padding-lr solid-bottom"> |
|
|
|
<text class="text-gray">下单时间</text> |
|
|
|
<text>{{orderDetails.created_at_text}}</text> |
|
|
|
<text class="text-gray lf-font-32">下单时间</text> |
|
|
|
<text class="lf-font-32 text-black1">{{orderDetails.created_at_text}}</text> |
|
|
|
</view> |
|
|
|
<view class="cu-bar padding-lr solid-bottom" v-if="orderDetails.payment_at_text != ''"> |
|
|
|
<text class="text-gray">付款时间</text> |
|
|
|
<text>{{orderDetails.payment_at_text}}</text> |
|
|
|
<text class="text-gray lf-font-32">付款时间</text> |
|
|
|
<text class="lf-font-32 text-black1">{{orderDetails.payment_at_text}}</text> |
|
|
|
</view> |
|
|
|
<view class="cu-bar padding-lr solid-bottom" v-if="orderDetails.payment_type != ''"> |
|
|
|
<text class="text-gray">支付方式</text> |
|
|
|
<text>{{orderDetails.payment_type}}</text> |
|
|
|
<text class="text-gray lf-font-32">支付方式</text> |
|
|
|
<text class="lf-font-32 text-black1">{{orderDetails.payment_type}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<self-line/> |
|
|
|
<view class="bg-white"> |
|
|
|
<view class="cu-bar padding-lr solid-bottom"> |
|
|
|
<text class="text-gray">优惠</text> |
|
|
|
<text v-if="orderDetails.coupons == null">暂无优惠</text> |
|
|
|
<text class="text-gray lf-font-32">优惠</text> |
|
|
|
<text class="lf-font-32 text-black1" v-if="orderDetails.coupons == null">暂无优惠</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ |
|
|
|
<self-line/> |
|
|
|
<view class="bg-white flex flex-direction justify-around align-center text-center padding-tb"> |
|
|
|
<view> |
|
|
|
<tki-qrcode ref="qrcode" @result="qrR" :val="checkArea" :size="140" unit="px" background="#fff" foreground="#000" |
|
|
|
<tki-qrcode ref="qrcode" @result="qrR" :val="checkArea" :size="115" unit="px" background="#fff" foreground="#000" |
|
|
|
pdground="#000" :onval="true" :loadMake="true" /> |
|
|
|
<!-- :icon="require('@/static/images/system/user-default.jpg')" --> |
|
|
|
</view> |
|
|
|
@ -73,24 +73,24 @@ |
|
|
|
<view @tap="refreshCode()" v-if="orderDetails.state==2"> |
|
|
|
<image class="margin-right" src="@/static/images/system/refresh.png" mode="widthFix" style="width: 20px;height: 20px;"></image> |
|
|
|
</view> |
|
|
|
<view class="text-lg">{{checkArea}}</view> |
|
|
|
<view class="text-orange text-sm margin-left" @tap="copy('SP738644872')">复制</view> |
|
|
|
<view class="lf-font-32 text-black1">{{checkArea}}</view> |
|
|
|
<view class="text-orange lf-font-28 margin-left" @tap="copy(checkArea)">复制</view> |
|
|
|
</view> |
|
|
|
<view class="margin-top-sm text-gray text-sm" v-if="orderDetails.refund_text"> |
|
|
|
<view class="margin-top-sm text-gray lf-font-28" v-if="orderDetails.refund_text"> |
|
|
|
{{orderDetails.refund_text}} |
|
|
|
</view> |
|
|
|
<view class="margin-top-sm text-green text-sm" v-if="orderDetails.state == 2"> |
|
|
|
<view class="margin-top-sm text-green lf-font-32" v-if="orderDetails.state == 2"> |
|
|
|
{{orderDetails.confirm_code_text}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="padding-lr padding-tb-sm bg-white flex justify-between align-center solid-top"> |
|
|
|
<view class="flex align-center"> |
|
|
|
<text class="text-gray text-sm">实付款:</text> |
|
|
|
<view class="text-lg text-price text-red"> |
|
|
|
<text class="text-gray lf-font-28">实付款:</text> |
|
|
|
<view class="text-red text-price lf-font-42 lf-font-bold"> |
|
|
|
{{Number(orderDetails.amount || 0)}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view class="lf-font-32 text-black1"> |
|
|
|
{{orderDetails.state_text.text}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|