新增退货流程

This commit is contained in:
唐明明
2023-08-28 17:51:33 +08:00
parent d9f7a0e1ef
commit 308aeeafb5
24 changed files with 380 additions and 21 deletions

35
pages/refund/refund.wxml Normal file
View File

@@ -0,0 +1,35 @@
<block wx:if="{{listsArr.length > 0}}">
<view class="orders">
<view class="order-item" wx:for="{{listsArr}}" wx:key="arrayIndex">
<view class="order-flex" wx:for="{{item.items}}" wx:key="index" wx:for-item="items">
<image class="order-cover" src="{{items.cover}}" mode="aspectFill"></image>
<view class="order-content">
<view class="order-title nowrap">{{items.goods_name}}</view>
<view class="order-text">金额:<text>{{items.price}}</text></view>
<view class="order-text">数量:{{items.qty}}</view>
</view>
</view>
<view class="order-state">
{{item.state.text}}
<view class="order-des">{{item.state.remark}}</view>
</view>
<view class="order-btns">
<view class="item item-cancle" bind:tap="onAftersale">售后详情</view>
</view>
</view>
<view class="pagesLoding" wx:if="{{lodingStats}}">
<block wx:if="{{page.has_more}}">
<image class="pagesLoding-icon" src="/static/icons/refresh_loding.gif" mode="widthFix"></image>加载中...
</block>
<block wx:else>没有更多了~</block>
</view>
</view>
</block>
<block wx:else>
<view class="pack-center pages-hint">
<image src="/static/imgs/text_null.png"></image>
<view>暂无可售后服务订单</view>
</view>
</block>