123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <!--pages/my/service/service.wxml-->
- <view class="service-detail-container">
- <view class="header">
- <block wx:if="{{detail.groupWay == 1}}">
- <view class="title">
- <text class="label">拼团方式:<text class="text">拼团</text></text>
- <text class="label">拼团人数:<text class="text">{{groupList.length}}/{{detail.groupNumberPeople}}</text></text>
- </view>
- <view class="photo">
- <view class="img-box" wx:for="{{groupList}}" wx:key="{{item.memberId}}">
- <image class="img {{index == 0 ? 'first-img' : ''}}" src="{{item.headPortrait}}"></image>
- </view>
- </view>
- </block>
- <text wx:else class=" groupWay">拼团方式:<text class="text">1v1</text></text>
- </view>
- <view class="gary"></view>
- <view class="detail">
- <view class="title">请教流程</view>
- <view class="label tip">
- <text class="label-text">预约话题:</text>
- <text>#{{detail.topicName}}</text>
- </view>
- <view class="label">
- <text class="label-text">原价:</text>
- <text class="price">¥<text class="num">{{detail.meetPrice}}</text>元</text>
- </view>
- <view class="label">
- <text class="label-text">预约方式:</text>
- <text>{{detail.type == 0 ? '线下请教' : ''}}</text>
- </view>
- <view class="label">
- <text class="label-text">约见场地:</text>
- <text>{{detail.storeEntity.locationDescription}}</text>
- </view>
- <view class="label">
- <text class="label-text">预约时间:</text>
- <text>{{detail.meetTime}}</text>
- </view>
- <view class="label">
- <text class="label-text">预约内容:</text>
- <text>{{detail.content}}</text>
- </view>
- <view class="label">
- <text class="label-text">订单编号:</text>
- <text>{{detail.orderNumber}}</text>
- </view>
- <view class="label">
- <text class="label-text">订单时间:</text>
- <text>{{detail.payTime}}</text>
- </view>
- <view class="label">
- <text class="label-text">订单状态:</text>
- <text wx:if="{{detail.process == 0 || detail.process == 1}}">待处理</text>
- <text wx:if="{{detail.process == -1}}">已拒绝</text>
- <text wx:if="{{detail.process == 2}}">处理中</text>
- <text wx:if="{{detail.process == 3 || detail.process == 4}}">已完成</text>
- </view>
- <view class="label" wx:if="{{detail.process == 3 || detail.process == 4}}">
- <text class="label-text">支付时间:</text>
- <text>{{detail.payTime}}</text>
- </view>
- <block wx:if="{{detail.process == 2 || detail.process == 3 || detail.process == 4}}">
- <view class="label">
- <text class="label-text">确认时间:</text>
- <text>{{detail.verifyTime}}</text>
- </view>
- <view class="label">
- <text class="label-text">完成时间:</text>
- <text>{{detail.completeTime}}</text>
- </view>
- </block>
- <block wx:if="{{detail.process == -1}}">
- <view class="label">
- <text class="label-text">拒绝原因</text>
- <text>{{detail.denialReason}}</text>
- </view>
- <view class="label">
- <text class="label-text">拒绝时间:</text>
- <text>{{detail.denialTime}}</text>
- </view>
- </block>
- </view>
- <block wx:if="{{detail.groupWay == 1 && (detail.process == 3 || detail.process == 4)}}">
- <view class="gary"></view>
- <view class="share">
- <view class="title">心得分享</view>
- <view wx:for="{{lsit}}" wx:key="{{item.id}}">
- <view class="share-people">
- <image class="avater" src="{{item.memberphoto}}"></image>
- <text>{{item.vipName}}</text>
- <text class="time">{{item.createTime}}</text>
- </view>
- <view class="share-text">
- {{item.content}}
- </view>
- </view>
- </view>
- </block>
- <view class="footer">
- <view class="btn-box" wx:if="{{detail.process == 0 || detail.process == 1 || detail.process == 2}}">
- <block wx:if="{{detail.process == 0 || detail.process == 1}}">
- <button class="btn" bindtap="agreeHandle">同意请教</button>
- <button class="btn other-btn" bindtap="refuseHandle">拒绝请教</button>
- </block>
- <block wx:if="{{detail.process == 2}}">
- <button class="btn" bindtap="contactUser">联系用户</button>
- <button class="btn other-btn" bindtap="toCustomer">联系客服</button>
- </block>
- </view>
- <view class="text" wx:if="{{detail.process == -1 || detail.process == 3 || detail.process == 4}}">
- <text wx:if="{{detail.process == -1}}">服务已拒绝</text>
- <text wx:if="{{detail.process == 3 || detail.process == 4}}">感谢您,服务已完成</text>
- </view>
- </view>
- <view class="contactBox" wx:if="{{isShowContact}}">
- <view class="box">
- <view class="contactItem" wx:for="{{groupList}}" wx:key="{{item.memberId}}" data-phone="{{item.phone}}" bindtap="contactPhone">
- <text>{{item.name || '未知用户'}}</text>
- <text>{{item.phone}}</text>
- </view>
- <view class="gary"></view>
- <view class="cancel" bindtap="cancelContact">取消</view>
- </view>
- </view>
- <popup2 id='popup2' title='拒绝原因' content="{{['']}}" btn_no='返回' btn_ok='确定' bind:error="_error" bind:success="_success" data-name="popup">
- <view slot="content" style="width: 85%;padding: 44rpx 0 38rpx 0;">
- <textarea class="textarea" model:value="{{refuseContent}}" maxlength="50" name="" id="" cols="30" rows="10" placeholder="请输入拒绝原因,50字以内。"></textarea>
- </view>
- </popup2>
- </view>
|