123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <navbar parameter='{{parameter}}' id="navbar"></navbar>
- <view class='order-details'>
- <!-- 给header上与data上加on为退款订单-->
- <view class='header bg-color acea-row row-middle {{isGoodsReturn ? "on":""}}'>
- <view class='pictrue' wx:if="{{isGoodsReturn==false}}"><image src='{{orderInfo.status_pic}}'></image></view>
- <view class='data {{isGoodsReturn ? "on":""}}'>
- <view class='state'>{{orderInfo._status._msg}}</view>
- <view>{{orderInfo.add_time_y}}<text class='time'>{{orderInfo.add_time_h}}</text></view>
- </view>
- </view>
- <view wx:if="{{isGoodsReturn==false}}">
- <view class='nav'>
- <view class='navCon acea-row row-between-wrapper'>
- <view class="{{status.type == 0 || status.type == -9 ? 'on':''}}">待付款</view>
- <view class="{{status.type == 1 ? 'on':''}}">{{orderInfo.shipping_type==1 ? '待发货':'待核销'}}</view>
- <view class="{{status.type == 2 ? 'on':''}}" wx:if="{{orderInfo.shipping_type == 1}}">待收货</view>
- <view class="{{status.type == 3 ? 'on':''}}">待评价</view>
- <view class="{{status.type == 4 ? 'on':''}}">已完成</view>
- </view>
- <view class='progress acea-row row-between-wrapper'>
- <view class='iconfont {{status.type == 0 || status.type == -9 ? "icon-webicon318":"icon-yuandianxiao"}} {{status.type >= 0 ? "font-color":""}}'></view>
- <view class='line {{status.type > 0 ? "bg-color":""}}'></view>
- <view class='iconfont {{status.type == 1 ? "icon-webicon318":"icon-yuandianxiao"}} {{status.type >= 1 ? "font-color":""}}'></view>
- <view class='line {{status.type > 1 ? "bg-color":""}}' wx:if="{{orderInfo.shipping_type == 1}}"></view>
- <view class='iconfont {{status.type == 2 ? "icon-webicon318":"icon-yuandianxiao"}} {{status.type >= 2 ? "font-color":""}}' wx:if="{{orderInfo.shipping_type == 1}}"></view>
- <view class='line {{status.type > 2 ? "bg-color":""}}'></view>
- <view class='iconfont {{status.type == 3 ? "icon-webicon318":"icon-yuandianxiao"}} {{status.type >= 3 ? "font-color":""}}'></view>
- <view class='line {{status.type > 3 ? "bg-color":""}}'></view>
- <view class='iconfont {{status.type == 4 ? "icon-webicon318":"icon-yuandianxiao"}} {{status.type >= 4 ? "font-color":""}}'></view>
- </view>
- </view>
- <view class="writeOff" wx:if="{{orderInfo.shipping_type == 2 && orderInfo.paid}}">
- <view class="title">核销信息</view>
- <view class="grayBg">
- <view class="pictrue"><image src="{{orderInfo.code}}"></image></view>
- </view>
- <view class="gear"><image src="/images/writeOff.jpg"></image></view>
- <view class="num">{{orderInfo._verify_code}}</view>
- <view class="rules">
- <view class="item">
- <view class="rulesTitle acea-row row-middle">
- <text class="iconfont icon-shijian"></text>核销时间
- </view>
- <view class="info">
- 每日:<text class="time">{{orderInfo.system_store.day_time}}</text>
- </view>
- </view>
- <view class="item">
- <view class="rulesTitle acea-row row-middle">
- <text class="iconfont icon-shuoming1"></text>使用说明
- </view>
- <view class="info">可将二维码出示给店员扫描或提供数字核销码</view>
- </view>
- </view>
- </view>
- <view class="map acea-row row-between-wrapper" wx:if="{{orderInfo.shipping_type == 2}}">
- <view>自提地址信息</view>
- <view class="place cart-color acea-row row-center-wrapper" bindtap="showMaoLocation">
- <text class="iconfont icon-weizhi"></text>查看位置
- </view>
- </view>
- <view class='address' wx:if="{{orderInfo.shipping_type === 1 }}">
- <view class='name'>{{orderInfo.real_name}}<text class='phone'>{{orderInfo.user_phone}}</text></view>
- <view>{{orderInfo.user_address}}</view>
- </view>
- <view class='address' wx:else style="margin-top:0;">
- <view class='name' bindtap="makePhone">{{orderInfo.system_store.name}}<text class='phone'>{{orderInfo.system_store.phone}}</text><text class="iconfont icon-tonghua font-color"></text></view>
- <view>{{orderInfo.system_store._detailed_address}}</view>
- </view>
- <view class='line' wx:if="{{orderInfo.shipping_type === 1}}"><image src='/images/line.jpg'></image></view>
- </view>
- <orderGoods evaluate='{{evaluate}}' orderId="{{order_id}}" cartInfo="{{cartInfo}}"></orderGoods>
- <view class='wrapper'>
- <view class='item acea-row row-between'>
- <view>订单编号:</view>
- <view class='conter acea-row row-middle row-right'>{{orderInfo.order_id}}<text class='copy' bindtap='copy'>复制</text></view>
- </view>
- <view class='item acea-row row-between'>
- <view>下单时间:</view>
- <view class='conter'>{{(orderInfo.add_time_y || '') +' '+(orderInfo.add_time_h || 0)}}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>支付状态:</view>
- <view class='conter' wx:if="{{orderInfo.paid}}">已支付</view>
- <view class='conter' wx:else>未支付</view>
- </view>
- <view class='item acea-row row-between'>
- <view>支付方式:</view>
- <view class='conter'>{{orderInfo._status._payType}}</view>
- </view>
- <view class='item acea-row row-between' wx:if="{{orderInfo.mark}}">
- <view>买家留言:</view>
- <view class='conter'>{{orderInfo.mark}}</view>
- </view>
- </view>
- <!-- 退款订单详情 -->
- <view class='wrapper' wx:if="{{isGoodsReturn}}">
- <view class='item acea-row row-between'>
- <view>收货人:</view>
- <view class='conter'>{{orderInfo.real_name}}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>联系电话:</view>
- <view class='conter'>{{orderInfo.user_phone}}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>收货地址:</view>
- <view class='conter'>{{orderInfo.user_address}}</view>
- </view>
- </view>
- <view wx:if="{{orderInfo.status!=0}}">
- <view class='wrapper' wx:if='{{orderInfo.delivery_type=="express" }}'>
- <view class='item acea-row row-between'>
- <view>配送方式:</view>
- <view class='conter'>发货</view>
- </view>
- <view class='item acea-row row-between'>
- <view>快递公司:</view>
- <view class='conter'>{{orderInfo.delivery_name || ''}}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>快递号:</view>
- <view class='conter'>{{orderInfo.delivery_id || ''}}</view>
- </view>
- </view>
- <view class='wrapper' wx:elif='{{orderInfo.delivery_type=="send"}}'>
- <view class='item acea-row row-between'>
- <view>配送方式::</view>
- <view class='conter'>送货</view>
- </view>
- <view class='item acea-row row-between'>
- <view>配送人姓名:</view>
- <view class='conter'>{{orderInfo.delivery_name || ''}}</view>
- </view>
- <view class='item acea-row row-between'>
- <view>联系电话:</view>
- <view class='conter acea-row row-middle row-right'>{{orderInfo.delivery_id || ''}}<text class='copy' bindtap='goTel'>拨打</text></view>
- </view>
- </view>
- <view class='wrapper' wx:elif='{{orderInfo.delivery_type=="fictitious"}}'>
- <view class='item acea-row row-between'>
- <view>虚拟发货:</view>
- <view class='conter'>已发货,请注意查收</view>
- </view>
- </view>
- </view>
- <view class='wrapper'>
- <view class='item acea-row row-between'>
- <view>支付金额:</view>
- <view class='conter'>¥{{orderInfo.total_price}}</view>
- </view>
- <view class='item acea-row row-between' wx:if='{{orderInfo.coupon_id}}'>
- <view>优惠券抵扣:</view>
- <view class='conter'>-¥{{orderInfo.coupon_price}}</view>
- </view>
- <view class='item acea-row row-between' wx:if='{{orderInfo.use_integral > 0}}'>
- <view>积分抵扣:</view>
- <view class='conter'>-¥{{orderInfo.deduction_price}}</view>
- </view>
- <view class='item acea-row row-between' wx:if="{{orderInfo.pay_postage > 0}}">
- <view>运费:</view>
- <view class='conter'>¥{{orderInfo.pay_postage}}</view>
- </view>
- <view class='actualPay acea-row row-right'>实付款:<text class='money font-color'>¥{{orderInfo.pay_price}}</text></view>
- </view>
- <view style='height:120rpx;'></view>
- <view class='footer acea-row row-right row-middle' wx:if="{{isGoodsReturn==false || status.type == 9}}">
- <view class='bnt bg-color' wx:if="{{status.type==0}}" data-order_id='{{orderInfo.order_id}}' bindtap='pay_open'>立即付款</view>
- <view bindtap="openSubcribe" class='bnt cancel' wx:elif="{{orderInfo.paid === 1 && orderInfo.refund_status === 0}}" hover-class='none' data-url='/pages/goods_return/index?orderId={{orderInfo.order_id}}'>申请退款</view>
- <view class='bnt bg-color' wx:if="{{status.class_status==1}}" bindtap='goJoinPink'>查看拼团</view>
- <navigator class='bnt cancel' wx:if="{{orderInfo.delivery_type == 'express' && status.type!=0}}" hover-class='none' url='/pages/goods_logistics/index?orderId={{orderInfo.order_id}}'>查看物流</navigator>
- <view class='bnt bg-color' wx:if="{{status.class_status==3}}" bindtap='confirmOrder'>确认收货</view>
- <view class='bnt cancel' wx:if="{{status.type==4}}" bindtap='delOrder'>删除订单</view>
- <view class='bnt bg-color' wx:if="{{status.class_status==5}}" bindtap='goOrderConfirm'>再次购买</view>
- </view>
- </view>
- <home></home>
- <authorize bind:onLoadFun='onLoadFun'></authorize>
- <payment payMode='{{payMode}}' pay_close="{{pay_close}}" bind:onChangeFun='onChangeFun' order_id="{{pay_order_id}}" totalPrice='{{totalPrice}}'></payment>
- <generalWindow
- generalActive='{{generalActive}}'
- generalContent='{{generalContent}}'
- bind:generalWindow='generalWindow'
- wx:if='{{generalContent}}'
- ></generalWindow>
|