45 lines
2.9 KiB
Plaintext
45 lines
2.9 KiB
Plaintext
<view class="page-container">
|
|
<view class="search-box">
|
|
<view class="search-container">
|
|
<input class="search-input" value="{{keywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" type="text" confirm-type="search" placeholder="请输入商品名称" />
|
|
<view wx:if="{{keywords !=''}}" bind:tap="clearSearch" class="icon-clear icon-position"></view>
|
|
</view>
|
|
</view>
|
|
<container-loading loadingState="{{loadingState}}" style="height: 85vh;margin-top: 80rpx;" bindrefresh="doRefreshList">
|
|
<scroll-view scroll-y="{{true}}" style="height: 85vh;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='50'>
|
|
<view class="order-box">
|
|
<block wx:for="{{orderList}}" wx:key="index">
|
|
<view class="order-item">
|
|
<view class="order-title">
|
|
<view class="order-no">订单号:{{item.orderNo}}</view>
|
|
<view class="order-status">{{tools.orderStatus(item.orderStatus)}}</view>
|
|
</view>
|
|
<block wx:for="{{item.orderDetails}}" wx:for-item="detail" wx:for-index="dIndex" wx:key="dIndex">
|
|
<view class="order-content">
|
|
<view class="order-caption">{{detail.productName}}</view>
|
|
<view class="order-types">
|
|
<view class="or-type">{{tools.proType(detail.productType)}}</view>
|
|
<view class="or-count">数量:{{detail.quantity}}</view>
|
|
<rich-text class="or-total" nodes="{{tools.moneyTxt(10,detail.unitPrice/100)}}"></rich-text>
|
|
</view>
|
|
<view class="order-remark-box">
|
|
<view class="order-remark-title">订单备注</view>
|
|
<view class="order-remark-content">{{detail.notes}}</view>
|
|
</view>
|
|
<view class="order-remark-box">
|
|
<view class="order-remark-title">商品描述</view>
|
|
<view class="order-remark-content">{{detail.productDescription}}</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</block>
|
|
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
|
<view wx:if="{{!hasMore}}" class="no-more">
|
|
<view class="no-more-dot"></view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</container-loading>
|
|
</view>
|
|
<wxs src="../../../../utils/comm.wxs" module="tools"></wxs> |