123456789101112131415161718 |
- <import src="../../public/page/order-item.wxml" />
- <scroll-view scroll-y="{{scroll}}" class="bg-scroll-view" style="background-color:{{(data.length == 0 && !isLoading) ? 'white' : '#F5F5F5'}};">
- <view style="width:100%;height:24rpx;"></view>
- <template is="order-item" wx:for="{{data}}" wx:key="" data="{{...item, id: index}}"/>
- <view class="no-data" wx:if="{{data.length == 0 && !isLoading}}">
- <image src="../../../../icon/public/order_empty.png"></image>
- <text>暂无待付款订单</text>
- </view>
- </scroll-view>
- <template is="order-details-view" data="{{...detailsView, discountData: discount.data, chose: discount.chose}}" />
|