123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <view class="container">
- <view class="sec-wrap">
- <view class="order-status">
- <view class="icon-box">
- <image wx:if="{{orderDetail.orderInfo.status==-1}}" class="icon" src="/images/order-details/icon-ddgb.png"></image>
- <image wx:elif="{{orderDetail.orderInfo.status==0}}" class="icon" src="/images/order-details/icon-ddfk.png"></image>
- <image wx:elif="{{orderDetail.orderInfo.status==1}}" class="icon" src="/images/order-details/icon-ddfh.png"></image>
- <image wx:elif="{{orderDetail.orderInfo.status==2}}" class="icon" src="/images/order-details/icon-ddsh.png"></image>
- <image wx:elif="{{orderDetail.orderInfo.status==3 || orderDetail.orderInfo.status==4}}" class="icon" src="/images/order-details/icon-jycg.png"></image>
- </view>
- <view class="right-text">
- <view class="status red">{{orderDetail.orderInfo.statusStr}}</view>
- <view class="des" hidden="true">请于11时59分59秒内付款,超时订单将自动关闭</view>
- </view>
- </view>
- <block wx:if="{{orderDetail.logistics}}">
- <view wx:if="{{orderDetail.logisticsTraces}}" class="wuliu-box">
- <view class="icon-box">
- <image class="icon" src="/images/order-details/icon-wuliu.png"></image>
- </view>
- <view class="right-text" bindtap="wuliuDetailsTap" data-id="{{orderDetail.orderInfo.id}}">
- <view class="order-number">快递单号:{{orderDetail.logistics.trackingNumber}}</view>
- <block wx:if="{{orderDetail.logisticsTraces}}">
- <view class="wuliu-text">{{orderDetail.logisticsTraces[orderDetail.logisticsTraces.length-1].AcceptStation}}</view>
- <view class="wuliu-date">{{orderDetail.logisticsTraces[orderDetail.logisticsTraces.length-1].AcceptTime}}</view>
- </block>
- </view>
- <view class="arrow-right">
- <van-icon name="arrow" />
- </view>
- </view>
- <view wx:else class="wuliu-box">
- <view class="icon-box">
- <image class="icon" src="/images/order-details/icon-wuliu.png"></image>
- </view>
- <view class="right-text">
- <view class="order-number">快递单号:{{orderDetail.logistics.trackingNumber}}</view>
- <view class="wuliu-text">暂无物流信息</view>
- </view>
- </view>
- <view class="address-sec">
- <view class="icon-box">
- <image class="icon" src="/images/order-details/icon-address.png"></image>
- </view>
- <view class="right-box">
- <view class="name-tel">{{orderDetail.logistics.linkMan}} {{orderDetail.logistics.mobile}}</view>
- <view class="text">
- {{orderDetail.logistics.provinceStr}} {{orderDetail.logistics.cityStr}} {{orderDetail.logistics.areaStr}} {{orderDetail.logistics.address}}
- </view>
- </view>
- </view>
- </block>
- </view>
- <view wx:if="{{orderDetail.orderInfo.hxNumber && orderDetail.orderInfo.status > 0}}" class="goods-list">
- <view class="list-title hx-title">核销码</view>
- <canvas class="hx-canvas" canvas-id="qrcode" />
- </view>
- <view class="goods-list">
- <view class="list-title">商品信息</view>
- <form bindsubmit="submitReputation">
- <block wx:for="{{orderDetail.goods}}" wx:key="id">
- <van-card
- num="{{item.number}}"
- price="{{item.amount}}"
- desc="{{item.property}}"
- title="{{item.goodsName}}"
- thumb="{{item.pic}}"
- thumb-link="/pages/goods-details/index?id={{item.goodsId}}"
- centered
- lazy-load
- />
- <van-cell-group wx:if="{{orderDetail.orderInfo.status==3}}" title="评价">
- <input name="orderGoodsId{{index}}" value="{{item.id}}" style="display:none;" />
- <van-cell title="满意度">
- <van-rate name="goodReputation{{index}}" value="{{ 5 }}" />
- </van-cell>
- <van-field
- name="goodReputationRemark{{index}}"
- value="{{ message }}"
- type="textarea"
- placeholder="从多个角度评价宝贝,可以帮助更多想买对人"
- autosize
- />
- <view style="margin-top:16rpx;padding-left:16rpx;">
- <van-uploader
- accept="image"
- multiple
- upload-text="买家秀"
- image-fit="aspectFill"
- file-list="{{ picsList[index] }}"
- data-idx="{{ index }}"
- bind:after-read="afterPicRead"
- bind:delete="afterPicDel"
- />
- </view>
- </van-cell-group>
- </block>
- <view class="btn-row" wx:if="{{orderDetail.orderInfo.status==3}}">
- <button style="float:right;" class="confirm-btn" formType="submit">提交评价</button>
- </view>
- </form>
- <form bindsubmit="confirmBtnTap" report-submit="true">
- <view class="btn-row" wx:if="{{orderDetail.orderInfo.status==2}}">
- <button class="confirm-btn" formType="submit">确认收货</button>
- </view>
- </form>
- </view>
- <view class="peisong-way" hidden="true">
- <view class="row-box">
- <view class="row-label">配送方式</view>
- <view class="right-text">顺丰快递</view>
- </view>
- <view class="row-box">
- <view class="row-label">留言</view>
- <view class="right-text">
- <input name="remark" type="text" class="liuyan" placeholder="如需留言请输入" />
- </view>
- </view>
- </view>
- <view wx:if="{{orderDetail.goodsCoupons}}" class="goods-info" style="margin-bottom:32rpx;">
- <view wx:for="{{orderDetail.goodsCoupons}}" wx:key="{{item.id}}" class="row-box">
- <view wx:if="{{item.type == 0}}" class="row-label">优惠券</view>
- <view wx:if="{{item.type == 0}}" class="right-text">{{item.coupon}}</view>
- <image mode="widthFix" wx:if="{{item.type == 1}}" src="{{item.coupon}}" style="max-width:100%;"></image>
- </view>
- </view>
- <view class="goods-info">
- <view class="row-box">
- <view class="row-label">商品金额</view>
- <view class="right-text">¥ {{orderDetail.orderInfo.amount}}</view>
- </view>
- <view class="row-box">
- <view class="row-label">运费</view>
- <view class="right-text">+ ¥ {{orderDetail.orderInfo.amountLogistics}}</view>
- </view>
- <view class="row-box">
- <view class="row-label">应付总额</view>
- <view class="right-text">¥ {{orderDetail.orderInfo.amountReal}}</view>
- </view>
- </view>
- </view>
|