备份改首页

This commit is contained in:
lym
2026-03-27 22:27:00 +08:00
parent c91a4c5462
commit c93c946f13
13 changed files with 667 additions and 34 deletions

View File

@@ -1,8 +1,8 @@
<view class="container">
<view class="myorder-menu">
<view class='{{nav==0?"hover":""}}' bindtap="onnav" data-id="0">全部</view>
<view class='{{nav==1?"hover":""}}' bindtap="onnav" data-id="1">待发货</view>
<view class='{{nav==2?"hover":""}}' bindtap="onnav" data-id="2">待收货</view>
<view class='{{nav==1?"hover":""}}' bindtap="onnav" data-id="1">待核销</view>
<!-- <view class='{{nav==2?"hover":""}}' bindtap="onnav" data-id="2">待收货</view> -->
<view class='{{nav==3?"hover":""}}' bindtap="onnav" data-id="3">已完成</view>
</view>
<view class="myorder-box" wx:for="{{myorder}}" wx:for-index="index" hidden="{{orderHidden}}">
@@ -20,8 +20,9 @@
<text>状态:</text>{{item.status0}}
</view>
<view class="cz_box">
<view wx:if="{{t==0&&(item.Payed=='2'||item.Payed=='8')}}" bindtap="onqysh" data-id="{{item.O_Id}}">确认收货</view> <view wx:if="{{(item.Payed=='2'||item.Payed=='3')}}" bindtap="onckwl" data-id="{{item.kdgs}}|{{item.kdgsmc}}|{{item.ydh}}">查看物流</view> <view bindtap="onorderdetail" data-id="{{item.O_Id}}">查看详情</view>
<view wx:if="{{t==3&&(item.Payed=='1')}}" bindtap="onhxdd" data-id="{{item.O_Id}}">核销订单</view>
<!-- <view wx:if="{{t==0&&(item.Payed=='2'||item.Payed=='8')}}" bindtap="onqysh" data-id="{{item.O_Id}}">确认收货</view> <view wx:if="{{(item.Payed=='2'||item.Payed=='3')}}" bindtap="onckwl" data-id="{{item.kdgs}}|{{item.kdgsmc}}|{{item.ydh}}">查看物流</view> -->
<view bindtap="onorderdetail" data-id="{{item.O_Id}}">查看详情</view>
</view>
<view class="products" wx:for="{{item.pics}}" wx:for-item="pitem">
<view bindtap="ondetail" data-id="{{pitem.prodid}}">
@@ -92,4 +93,20 @@
</view>
<loading hidden="{{loadingHidden}}">
加载中...
</loading>
</loading>
<view class="Hidden_box" hidden="{{hxddHidden}}" bindtap="closehxdd">
<view class="Hidden_box_to" catchtap="inhxdd">
<view class="Hidden_box_title">
<text>输入核销码</text>
<view class="close" bindtap="closehxdd"><image src="../../images/close.png" /></view>
</view>
<view class="frombody">
<view>
<text>核销码:</text><input name="hxm" type="text" value="{{hxm}}" placeholder="请输入核销码" bindinput='gethxmValue' />
</view>
</view>
<view class="button">
<button bindtap="qxhxdd">确认</button>
</view>
</view>
</view>