Files
sphc/pages/my/shops/shops.wxml

65 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

2024-05-06 15:34:15 +08:00
<!--pages/my/my_order/my_order.wxml-->
<view class="top" style="background: url({{bgImg}}shops-top.png) no-repeat;background-size: 100%;">
<!-- <view class="title">
<image src="/icon/back-w.png" catchtap="back"></image>商家核销
</view> -->
<view class="top-c display_J_B">
<view class="top-c__l">
<view class="l-1 GStitleOne">{{userData.wisdStores.storesName}}</view>
<view class="l-2 display_J_S">
<view class="display_A_C" style="height:55rpx;"><image src="/icon/index-address.png"></image></view>
<view class="GStitleTwo" style="width:550rpx;height:110rpx;">
{{userData.wisdStores.storesProvince + userData.wisdStores.storesCity + userData.wisdStores.storesArea + userData.wisdStores.storesDetailed}}
</view>
</view>
</view>
<view class="top-c__r" ><image src='/icon/code.png' catchtap="scancode"></image></view>
</view>
</view>
<view class="typeAll display_J_B">
<view class="type {{type==1?'type_xz':''}}" catchtap="type" data-type="1">待核销</view>
<view class="type {{type==2?'type_xz':''}}" catchtap="type" data-type="2">已核销</view>
<view class="typeXz" style="position: absolute;bottom: 2rpx;left:{{typeXz}}rpx;"></view>
</view>
<view class="orderAll">
<view class="order" wx:for="{{orderList}}" wx:key='index' data-num="{{item.orderNumber}}" catchtap="toOrderDetail">
<view class="state">{{item.status==4?'已核销':'待核销'}}</view>
<view class="number">订单编号:<text>{{item.orderNumber}}</text></view>
<view class="number" wx:if="{{item.orderPick==1}}" style="margin-top:20rpx;">
提货时间:<text>{{item.orderPickTime==null?'暂无':item.orderPickTime}}</text>
</view>
<view class="number" style="margin-top:20rpx;">
联系方式:<text>{{item.userPhone}}</text>
</view>
<view class="goods display_J_B" style="margin-top:50rpx;" wx:for="{{item.goodsList}}" wx:for-item="goods" wx:key='index'>
<view class="goodsL">
<image src="{{goods.goodsPhoto}}"></image>
</view>
<view class="goodsM">
<view class="goodsTitle GStitleTwo">{{goods.goodsName}}</view>
<view class="spec">规格:{{goods.wisdGoodsSpec.specName}}</view>
<view class="goodsPrice" wx:if='{{item.orderPayWay!=3}}'>¥{{goods.wisdGoodsSpec.specBulyPrice==null?goods.wisdGoodsSpec.specPrice:goods.wisdGoodsSpec.specBulyPrice}}</view>
<view class="goodsPrice" wx:if='{{item.orderPayWay==3}}'>¥0</view>
</view>
<view class="goodsR display_A_E">x <text>{{goods.goodsNum}}</text></view>
</view>
<view class="total display_J_E">
<view class="total1">免运费</view>
<view class="total3">合计<text>¥{{item.orderActualPay}}</text></view>
</view>
<!-- <view class="btn display_J_E">
<view class="btn1 btn2" wx:if="{{item.status==2}}" data-id='{{item.id}}' catchtap="confirm">确认提货</view>
<view class="btn1" wx:if="{{item.status==4}}" catchtap="del" data-id='{{item.id}}' data-index="{{index}}">已提货</view>
</view> -->
</view>
</view>
<view class="empty" wx:if="{{orderList.length==0}}">
<view class="emptyImg">
<image src="/icon/order_none.png"></image>
</view>
<view class="emptyTitle">暂无订单~</view>
</view>