mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/order/userorder-detail.wxml

1 line
14 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="detail-page data-v-4f227d55"><custom-navbar vue-id="d5a4a35e-1" title="订单详情" show-back="{{true}}" title-color="#333333" backgroundColor="{{backgroundColor}}" class="data-v-4f227d55" bind:__l="__l"></custom-navbar><view class="content-part data-v-4f227d55"><view class="status-section data-v-4f227d55"><image class="status-section-image data-v-4f227d55" mode="widthFix" src="{{stateItem.icon}}"></image><text class="status-text data-v-4f227d55">{{stateItem.text+''}}<block wx:if="{{orderInfo.team_buy_order_state}}"><text class="data-v-4f227d55">{{'('+getGroupType+')'}}</text></block></text></view><block wx:if="{{orderInfo.state!=1&&orderInfo.team_buy_id&&(orderInfo.team_buy_order_state==1||orderInfo.team_buy_order_state==2)}}"><view class="group-invite data-v-4f227d55"><block wx:if="{{orderInfo.team_buy_order_state==1}}"><view class="invite-text data-v-4f227d55">参团成功,需邀请<text style="color:#E8101E;" class="data-v-4f227d55">{{orderInfo.team_buy.person_num-orderInfo.team_buy.pay_person_num}}</text>人才可完成拼团 </view></block><block wx:if="{{orderInfo.team_buy_order_state==2}}"><view class="invite-text data-v-4f227d55">参团成功,已拼团成功!</view></block><block wx:if="{{orderInfo.team_buy_order_state==1}}"><view class="invite-time data-v-4f227d55"><label class="invite-time-line1 _span data-v-4f227d55"></label>剩余 <uv-count-down vue-id="d5a4a35e-2" time="{{orderInfo.team_buy.remain_time*1000}}" format="HH:mm:ss" autoStart="{{true}}" millisecond="{{true}}" data-event-opts="{{[['^change',[['onChange']]],['^finish',[['onFinish']]]]}}" bind:change="__e" bind:finish="__e" class="data-v-4f227d55" bind:__l="__l" vue-slots="{{['default']}}"><view class="time data-v-4f227d55"><text class="time__item data-v-4f227d55">{{timeData.hours>=10?timeData.hours:'0'+timeData.hours}}</text>: <text class="time__item data-v-4f227d55">{{timeData.minutes>=10?timeData.minutes:'0'+timeData.minutes}}</text>: <text class="time__item data-v-4f227d55">{{timeData.seconds>=10?timeData.seconds:'0'+timeData.seconds}}</text></view></uv-count-down> 时间<label class="invite-time-line2 _span data-v-4f227d55"></label></view></block><view class="invite-time-items data-v-4f227d55"><block wx:for="{{orderInfo.team_buy.person_num}}" wx:for-item="item" wx:for-index="__i0__"><view class="invite-time-item data-v-4f227d55"><block wx:if="{{orderInfo.team_buy.head_photos[item-1]}}"><image class="invite-time-item-img data-v-4f227d55" src="{{orderInfo.team_buy.head_photos[item-1]}}" mode="aspectFill"></image></block><block wx:else><image class="invite-time-item-img data-v-4f227d55" src="/static/images/shop/pintuan/add.png"></image></block></view></block></view><view data-event-opts="{{[['tap',[['goInvite',['$event']]]]]}}" class="invite-btn data-v-4f227d55" bindtap="__e"><block wx:if="{{orderInfo.team_buy_order_state==1}}"><view class="invite-btn-wx data-v-4f227d55"><image class="invite-btn-wx-img data-v-4f227d55" src="/static/images/shop/pintuan/wx.png"></image>{{'再邀请'+(orderInfo.team_buy.person_num-orderInfo.team_buy.pay_person_num)+'位好友拼单'}}</view></block><block wx:else><view class="invite-btn-wx data-v-4f227d55"> 快邀您的好友,来享优惠 </view></block></view></view></block><block wx:if="{{orderInfo.order_kind==1||orderInfo.order_kind==3}}"><view class="service-card data-v-4f227d55"><view class="location-info data-v-4f227d55"><image class="location-icon data-v-4f227d55" src="/static/images/gohome_location.png"></image><view class="address-info data-v-4f227d55"><view class="name-phone data-v-4f227d55"><text class="name data-v-4f227d55">{{reservation_address_arr.name}}</text><text class="phone data-v-4f227d55">{{reservation_address_arr.call_phone}}</text></view><text class="address data-v-4f227d55">{{reservation_address_arr.server_address}}</text></view></view><image class="divider data-v-4f227d55" src="/static/images/boder_icon.png" mode="aspectFill"></image><view class="staff-info data-v-4f227d55"><image class="staff-avatar data-v-4f227d55" src="{{user_syr.head_photo}}" mode="aspectFill"></image><view class="staff-detail data-v-4f227d55"><text class="staff-name data-v-4f227d55">{{user_syr.name}}</text><view class="rating data-v-4f227d55"></view></view></view></view></block><block wx:if="{{orderInfo.order_kind==2}}"><view class="service-shop data-v-4f227d55"><view class="shop-info data-v-4f227d55"><view class="shop-info1 data-v-4f227d55"><view class="shop-info1-left data-v-4f227d55"><image class="shop-logo data-v-4f227d55" src="{{user_sj.head_photo}}" mode="aspectFill"></image><view class="shop-info-right data-v-4f227d55"><text class="shop-name data-v-4f227d55">{{user_sj.name}}</text><view class="shop-distance data-v-4f227d55"><image class="distance-icon data-v-4f227d55" src="/static/images/position_hui.png" mode="aspectFit"></image><text class="distance-text data-v-4f227d55">{{distance+"km"}}</text></view></view></view><view class="shop-info1-right data-v-4f227d55"><view class="shop-info1-right-item data-v-4f227d55"><image class="btn-map data-v-4f227d55" src="/static/images/evaluate/map.png" mode="aspectFit" data-event-opts="{{[['tap',[['openMap',['$event']]]]]}}" bindtap="__e"></image><view class="shop-info1-right-item-text data-v-4f227d55">地址</view></view><view class="shop-info1-right-item data-v-4f227d55"><image class="btn-phone data-v-4f227d55" src="/static/images/evaluate/phone.png" mode="aspectFit" data-event-opts="{{[['tap',[['contactService',['$0'],['user_sj.account']]]]]}}" bindtap="__e"></image><view class="shop-info1-right-item-text data-v-4f227d55">电话</view></view></view></view><view class="shop-info2 data-v-4f227d55"><text class="shop-time data-v-4f227d55">{{"营业时间:"+user_sj.business_time}}</text><text class="shop-address data-v-4f227d55">{{"商家电话:"+user_sj.account}}</text><text class="shop-address mt-10 data-v-4f227d55">{{"地址:"+user_sj.address}}</text></view></view></view></block><view class="booking-card data-v-4f227d55"><view class="card-header data-v-4f227d55"><text class="card-title data-v-4f227d55">预约信息</text><view class="data-v-4f227d55"><block wx:if="{{orderInfo.order_kind==1||orderInfo.order_kind==3}}"><text class="update-time data-v-4f227d55">{{orderInfo.reservation_time}}</text></block></view></view><view class="service-item data-v-4f227d55"><block wx:if="{{$root.g0}}"><image class="service-image data-v-4f227d55" src="{{orderInfo.server_photo[0]}}" mode="aspectFill"></image></block><view class="service-info data-v-4f227d55"><view class="service-name data-v-4f227d55">{{orderInfo.server_title+''}}<view class="service-name-num data-v-4f227d55">×1</view></view><block wx:if="{{orderInfo.team_buy_id}}"><view class="group-price data-v-4f227d55"><text class="service-price data-v-4f227d55"><text style="font-size:20rpx;" class="data-v-4f227d55">¥</text>{{orderInfo.order_money}}</text><text class="service-price2 data-v-4f227d55">{{"原价"+orderInfo.line_money}}</text><image class="service-tuanGou data-v-4f227d55" src="/static/images/icons/tuanGou.png"></image></view></block><block wx:else><view class="group-price data-v-4f227d55"><text class="service-price data-v-4f227d55"><text style="font-size:20rpx;" class="data-v-4f227d55">¥</text>{{orderInfo.order_money}}</text><text class="service-price2 data-v-4f227d55">{{"原价"+orderInfo.line_money}}</text></view></block></view></view><view class="service-real data-v-4f227d55"><text class="real-lable data-v-4f227d55">实付金额:</text><text class="real-price data-v-4f227d55">{{"¥"+(orderInfo.pay_money||0)}}</text></view></view><view class="order-card data-v-4f227d55"><text class="card-title data-v-4f227d55">订单信息</text><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">订单类型</text><text class="value data-v-4f227d55">{{orderInfo.team_buy_id?'拼团订单':'普通订单'}}</text></view><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">服务码</text><text class="value data-v-4f227d55">{{orderInfo.server_code}}</text></view><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">订单编号</text><text class="value data-v-4f227d55">{{orderInfo.number}}</text></view><block wx:if="{{orderInfo.add_time}}"><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">下单时间</text><text class="value data-v-4f227d55">{{orderInfo.add_time}}</text></view></block><block wx:if="{{orderInfo.pay_kind}}"><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">支付方式</text><text class="value data-v-4f227d55">{{orderInfo.pay_kind==1?'账户余额':orderInfo.pay_kind==2?'微信支付':orderInfo.pay_kind==3?'支付宝支付':''}}</text></view></block><block wx:if="{{orderInfo.pay_time}}"><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">支付时间</text><text class="value data-v-4f227d55">{{orderInfo.pay_time}}</text></view></block><block wx:if="{{orderInfo.state!=1&&orderInfo.state!=2&&orderInfo.state!=3&&orderInfo.server_start_time}}"><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">开始服务时间</text><text class="value data-v-4f227d55">{{orderInfo.server_start_time}}</text></view></block><block wx:if="{{orderInfo.state!=1&&orderInfo.state!=2&&orderInfo.state!=3&&orderInfo.state!=4&&orderInfo.server_end_time}}"><view class="info-item data-v-4f227d55"><text class="label data-v-4f227d55">服务完成时间</text><text class="value data-v-4f227d55">{{orderInfo.server_end_time}}</text></view></block></view></view><view class="bottom-buttons data-v-4f227d55"><view class="contact-button data-v-4f227d55"></view><block wx:if="{{orderInfo.state==1}}"><view data-event-opts="{{[['tap',[['cancelService',['$event']]]]]}}" class="handel-button btn-border data-v-4f227d55" bindtap="__e"><text class="button-text data-v-4f227d55">取消订单</text></view></block><block wx:if="{{orderInfo.state==2||orderInfo.state==3}}"><view data-event-opts="{{[['tap',[['refoundService',['$event']]]]]}}" class="handel-button btn-border data-v-4f227d55" bindtap="__e"><text class="button-text data-v-4f227d55">申请退款</text></view></block><block wx:if="{{orderInfo.state==1}}"><view data-event-opts="{{[['tap',[['payOrder',['$event']]]]]}}" class="handel-button btn-bg data-v-4f227d55" bindtap="__e"><text class="button-text data-v-4f227d55">立即支付</text></view></block><block wx:if="{{orderInfo.state==5&&orderInfo.evaluate==2}}"><view data-event-opts="{{[['tap',[['reviewOrder',['$event']]]]]}}" class="handel-button btn-border data-v-4f227d55" bindtap="__e"><text class="button-text data-v-4f227d55">立即评价</text></view></block><block wx:if="{{orderInfo.state==5&&orderInfo.evaluate==1}}"><view data-event-opts="{{[['tap',[['goEvaluateDetail',['$event']]]]]}}" class="handel-button btn-border data-v-4f227d55" bindtap="__e"><text class="button-text data-v-4f227d55">已评论</text></view></block><block wx:if="{{orderInfo.state==5||orderInfo.state==6}}"><view data-event-opts="{{[['tap',[['orderAgain',['$event']]]]]}}" class="handel-button btn-bg data-v-4f227d55" bindtap="__e"><text class="button-text data-v-4f227d55">再来一单</text></view></block></view><view class="{{['permission','data-v-4f227d55',(isShowPer)?'transform':'']}}"><view class="per-tit data-v-4f227d55">美融融plus 对拨打电话权限申请说明</view><view class="per-cont data-v-4f227d55">当您需要联系商家或平台客服的时候,需要获取拨打电话权限。</view></view><block wx:if="{{orderInfo.team_buy_id}}"><l-painter vue-id="d5a4a35e-3" hidden="{{true}}" css=" width: 420rpx; height: 336rpx;position: relative;background-image:url(https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/8b8dd83f-ccde-406a-b236-2cf27db682e0)" data-ref="painter" class="data-v-4f227d55 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-image vue-id="{{('d5a4a35e-4')+','+('d5a4a35e-3')}}" src="{{orderInfo.server_photo[0]}}" css=" width: 205rpx; height: 205rpx; position: absolute;left:34rpx;top:108rpx;z-index:2;border-radius:20rpx;object-fit:cover" class="data-v-4f227d55" bind:__l="__l"></l-painter-image><l-painter-view vue-id="{{('d5a4a35e-5')+','+('d5a4a35e-3')}}" css="display: inline-block;z-index:2;position: absolute;left:255rpx;top:108rpx;" class="data-v-4f227d55" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-view vue-id="{{('d5a4a35e-6')+','+('d5a4a35e-5')}}" css="display: inline-block;background:rgba(253, 218, 226, 1);border-radius: 17rpx 17rpx 17rpx 0rpx;padding: 6rpx 10rpx;" class="data-v-4f227d55" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-image vue-id="{{('d5a4a35e-7')+','+('d5a4a35e-6')}}" src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/8406740b-0448-447e-8d61-df91f1339bd4" css=" width: 14rpx;height: 19rpx;" class="data-v-4f227d55" bind:__l="__l"></l-painter-image><l-painter-text vue-id="{{('d5a4a35e-8')+','+('d5a4a35e-6')}}" text="{{'立省'+$root.m0+'元'}}" css="{{'font-weight: 500;font-size: '+$root.m1+'rpx;color: #E8101E;line-height: 25rpx;text-align: left;font-style: normal;'}}" class="data-v-4f227d55" bind:__l="__l"></l-painter-text></l-painter-view><l-painter-view vue-id="{{('d5a4a35e-9')+','+('d5a4a35e-5')}}" css="margin-top:44rpx;" class="data-v-4f227d55" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-text vue-id="{{('d5a4a35e-10')+','+('d5a4a35e-9')}}" text="¥" css="font-weight: 500;font-size: 26rpx;color: #E8101E;line-height: 48rpx;text-align: left;font-style: normal;" class="data-v-4f227d55" bind:__l="__l"></l-painter-text><l-painter-text vue-id="{{('d5a4a35e-11')+','+('d5a4a35e-9')}}" text="{{$root.m2}}" css="{{'font-weight: 500;font-size:'+$root.m3+'rpx;color: #E8101E;line-height: 34rpx;text-align: left;font-style: normal;'}}" class="data-v-4f227d55" bind:__l="__l"></l-painter-text></l-painter-view><l-painter-view vue-id="{{('d5a4a35e-12')+','+('d5a4a35e-5')}}" css="margin-top:0rpx;" class="data-v-4f227d55" bind:__l="__l" vue-slots="{{['default']}}"><l-painter-text vue-id="{{('d5a4a35e-13')+','+('d5a4a35e-12')}}" text="{{'原价¥'+$root.m4}}" css="{{'text-decoration: line-through;font-weight: 400;font-size:'+$root.m5+'rpx;color: #CACCCC;line-height: 33rpx;text-align: left;font-style: normal;'}}" class="data-v-4f227d55" bind:__l="__l"></l-painter-text></l-painter-view><l-painter-view vue-id="{{('d5a4a35e-14')+','+('d5a4a35e-5')}}" css="width: 143rpx; height: 50rpx;background-image:url(https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/c4f3c552-67f2-4b1e-9aeb-ab8c4cf1c97e);display: inline-block;border-radius: 25rpx;" class="data-v-4f227d55" bind:__l="__l"></l-painter-view></l-painter-view></l-painter></block></view>