lion 8 months ago
parent c68902e238
commit 4046af51b6

@ -73,10 +73,27 @@
</view>
<view class="info-item info-item-reason">
<text class="label">修改原因</text>
<text class="value reason">{{orderInfo.update_price_reason}}</text>
<text class="value reason">{{orderInfo.update_price_reason?orderInfo.update_price_reason:''}}</text>
</view>
</view>
<!-- 服务记录 -->
<!-- <view class="order-info" v-if="orderInfo.accompany_order_log && orderInfo.accompany_order_log.length>0">
<view class="info-item info-item-reason">
<text class="label">服务记录</text>
<view class="value">
<view class="">
<view v-for="item in orderInfo.accompany_order_log">
<view>备注{{item.remark}}</view>
<view class="order-item-img">
<image v-for="(i,index) in item.files" :src="i.url"
@click="imgPreviewList(item.files,index)"></image>
</view>
</view>
</view>
</view>
</view>
</view> -->
<!-- 支付二维码 -->
<view class="payment-popup" v-if="orderInfo.status===3">
<view class="title">付款二维码</view>
@ -102,6 +119,7 @@
@click="isPayCode">我已支付</u-button>
</view>
</view>
</view>
</template>
@ -238,6 +256,7 @@
width: 100%
}
}
.order-item-img {
display: flex;
flex-wrap: wrap;
@ -308,6 +327,7 @@
font-size: 24rpx;
}
}
.close-btn {
width: 80%;
margin: 0 auto;

File diff suppressed because one or more lines are too long

@ -1 +1 @@
<view class="detail-page data-v-6fd8f918"><u-navbar vue-id="e972aa24-1" title="查看详情" is-back="{{true}}" back-icon-color="#fff" background="{{$root.a0}}" title-color="#fff" border-bottom="{{false}}" class="data-v-6fd8f918" bind:__l="__l"></u-navbar><view class="b-border data-v-6fd8f918"></view><view class="order-info data-v-6fd8f918"><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">订单号</text><text class="value data-v-6fd8f918">{{orderInfo.no}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">服务项目</text><text class="value data-v-6fd8f918">{{orderInfo.accompany_product?orderInfo.accompany_product.name:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">服务时间</text><text class="value data-v-6fd8f918">{{orderInfo.time}}</text></view><block wx:if="{{orderInfo.type===2}}"><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">服务地址</text><text class="value data-v-6fd8f918">{{item.city?item.city:''}}</text></view></block><block wx:else><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">就诊医院</text><text class="value data-v-6fd8f918">{{orderInfo.hospital?orderInfo.hospital.name:''}}</text></view></block><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">联系人</text><text class="value data-v-6fd8f918">{{orderInfo.appoint_name?orderInfo.appoint_name:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">联系方式</text><text class="value data-v-6fd8f918">{{orderInfo.appoint_mobile?orderInfo.appoint_mobile:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">被服务人</text><text class="value data-v-6fd8f918">{{orderInfo.user_archive?orderInfo.user_archive.name:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">是否可以自理</text><text class="value data-v-6fd8f918">{{orderInfo.my_provide===1?'可以自理':'不能自理'}}</text></view><view class="info-item info-item-reason data-v-6fd8f918"><text class="label data-v-6fd8f918">就诊资料</text><view class="value data-v-6fd8f918"><view class="order-item-img data-v-6fd8f918"><block wx:for="{{imgs}}" wx:for-item="item" wx:for-index="index"><image src="{{item}}" data-event-opts="{{[['tap',[['imgPreview',[index]]]]]}}" bindtap="__e" class="data-v-6fd8f918"></image></block></view></view></view><view class="info-item info-item-reason data-v-6fd8f918"><text class="label data-v-6fd8f918">其他需求</text><text class="value data-v-6fd8f918">{{orderInfo.content?orderInfo.content:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">订单金额</text><text class="value data-v-6fd8f918">{{"¥"+orderInfo.price}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">原始金额</text><text class="value data-v-6fd8f918">{{"¥"+orderInfo.from_price}}</text></view><block wx:if="{{orderInfo.status===3||orderInfo.status===4}}"><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">待付金额</text><text class="value price data-v-6fd8f918">{{"¥"+orderInfo.diff_price}}</text></view></block><view class="info-item info-item-reason data-v-6fd8f918"><text class="label data-v-6fd8f918">修改原因</text><text class="value reason data-v-6fd8f918">{{orderInfo.update_price_reason}}</text></view></view><block wx:if="{{orderInfo.status===3}}"><view class="payment-popup data-v-6fd8f918"><view class="title data-v-6fd8f918">付款二维码</view><view class="amount data-v-6fd8f918"><text class="symbol data-v-6fd8f918">¥</text><text class="number data-v-6fd8f918">{{orderInfo.diff_price}}</text></view><view class="qr-code data-v-6fd8f918"><block wx:if="{{myQrcode}}"><uqrcode vue-id="e972aa24-2" canvas-id="qrcode" value="{{myQrcode}}" sizeUnit="rpx" size="{{200}}" options="{{({margin:10})}}" data-ref="uqrcode" class="data-v-6fd8f918 vue-ref" bind:__l="__l"></uqrcode></block></view><view class="tips data-v-6fd8f918"><text class="data-v-6fd8f918">请扫码支付差额</text><text class="sub-tips data-v-6fd8f918">支付完成后订单将自动完成</text></view><view class="close-btn data-v-6fd8f918"><u-button vue-id="e972aa24-3" size="mini" shape="circle" type="default" custom-style="{{parStyle}}" data-event-opts="{{[['^click',[['isPayCode']]]]}}" bind:click="__e" class="data-v-6fd8f918" bind:__l="__l" vue-slots="{{['default']}}">我已支付</u-button></view></view></block></view>
<view class="detail-page data-v-6fd8f918"><u-navbar vue-id="e972aa24-1" title="查看详情" is-back="{{true}}" back-icon-color="#fff" background="{{$root.a0}}" title-color="#fff" border-bottom="{{false}}" class="data-v-6fd8f918" bind:__l="__l"></u-navbar><view class="b-border data-v-6fd8f918"></view><view class="order-info data-v-6fd8f918"><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">订单号</text><text class="value data-v-6fd8f918">{{orderInfo.no}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">服务项目</text><text class="value data-v-6fd8f918">{{orderInfo.accompany_product?orderInfo.accompany_product.name:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">服务时间</text><text class="value data-v-6fd8f918">{{orderInfo.time}}</text></view><block wx:if="{{orderInfo.type===2}}"><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">服务地址</text><text class="value data-v-6fd8f918">{{item.city?item.city:''}}</text></view></block><block wx:else><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">就诊医院</text><text class="value data-v-6fd8f918">{{orderInfo.hospital?orderInfo.hospital.name:''}}</text></view></block><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">联系人</text><text class="value data-v-6fd8f918">{{orderInfo.appoint_name?orderInfo.appoint_name:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">联系方式</text><text class="value data-v-6fd8f918">{{orderInfo.appoint_mobile?orderInfo.appoint_mobile:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">被服务人</text><text class="value data-v-6fd8f918">{{orderInfo.user_archive?orderInfo.user_archive.name:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">是否可以自理</text><text class="value data-v-6fd8f918">{{orderInfo.my_provide===1?'可以自理':'不能自理'}}</text></view><view class="info-item info-item-reason data-v-6fd8f918"><text class="label data-v-6fd8f918">就诊资料</text><view class="value data-v-6fd8f918"><view class="order-item-img data-v-6fd8f918"><block wx:for="{{imgs}}" wx:for-item="item" wx:for-index="index"><image src="{{item}}" data-event-opts="{{[['tap',[['imgPreview',[index]]]]]}}" bindtap="__e" class="data-v-6fd8f918"></image></block></view></view></view><view class="info-item info-item-reason data-v-6fd8f918"><text class="label data-v-6fd8f918">其他需求</text><text class="value data-v-6fd8f918">{{orderInfo.content?orderInfo.content:''}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">订单金额</text><text class="value data-v-6fd8f918">{{"¥"+orderInfo.price}}</text></view><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">原始金额</text><text class="value data-v-6fd8f918">{{"¥"+orderInfo.from_price}}</text></view><block wx:if="{{orderInfo.status===3||orderInfo.status===4}}"><view class="info-item data-v-6fd8f918"><text class="label data-v-6fd8f918">待付金额</text><text class="value price data-v-6fd8f918">{{"¥"+orderInfo.diff_price}}</text></view></block><view class="info-item info-item-reason data-v-6fd8f918"><text class="label data-v-6fd8f918">修改原因</text><text class="value reason data-v-6fd8f918">{{orderInfo.update_price_reason?orderInfo.update_price_reason:''}}</text></view></view><block wx:if="{{orderInfo.status===3}}"><view class="payment-popup data-v-6fd8f918"><view class="title data-v-6fd8f918">付款二维码</view><view class="amount data-v-6fd8f918"><text class="symbol data-v-6fd8f918">¥</text><text class="number data-v-6fd8f918">{{orderInfo.diff_price}}</text></view><view class="qr-code data-v-6fd8f918"><block wx:if="{{myQrcode}}"><uqrcode vue-id="e972aa24-2" canvas-id="qrcode" value="{{myQrcode}}" sizeUnit="rpx" size="{{200}}" options="{{({margin:10})}}" data-ref="uqrcode" class="data-v-6fd8f918 vue-ref" bind:__l="__l"></uqrcode></block></view><view class="tips data-v-6fd8f918"><text class="data-v-6fd8f918">请扫码支付差额</text><text class="sub-tips data-v-6fd8f918">支付完成后订单将自动完成</text></view><view class="close-btn data-v-6fd8f918"><u-button vue-id="e972aa24-3" size="mini" shape="circle" type="default" custom-style="{{parStyle}}" data-event-opts="{{[['^click',[['isPayCode']]]]}}" bind:click="__e" class="data-v-6fd8f918" bind:__l="__l" vue-slots="{{['default']}}">我已支付</u-button></view></view></block></view>
Loading…
Cancel
Save