feat: 完成服务页面新增定金凭证,订单详情新增定金凭证。

This commit is contained in:
gcd 2025-06-22 22:40:17 +08:00
parent c81dd8d017
commit 447b30100b

View File

@ -179,15 +179,7 @@
<text>¥{{ data.total > 0 ? data.total : data.online_total }}</text> <text>¥{{ data.total > 0 ? data.total : data.online_total }}</text>
</view> </view>
</view> </view>
<view class="images line-after"> <view class="images line-after" v-if="data.order_info.off_images.length > 0">
<view class="title flex-l">收款凭证</view>
<view class="imgs-ctr">
<view @click="helpers.previewImage(data.image)" :key="index" class="img-ctr">
<image class="img" mode="aspectFit" :src="data.image"></image>
</view>
</view>
</view>
<view class="images">
<view class="title flex-l">定金核销凭证</view> <view class="title flex-l">定金核销凭证</view>
<view class="imgs-ctr"> <view class="imgs-ctr">
<view @click="helpers.previewImage(imgUrl)" v-for="(imgUrl, index) in data.order_info.off_images" :key="index" class="img-ctr" :style="{marginRight: (index+1) % 5 === 0 ? '0' : '36rpx'}"> <view @click="helpers.previewImage(imgUrl)" v-for="(imgUrl, index) in data.order_info.off_images" :key="index" class="img-ctr" :style="{marginRight: (index+1) % 5 === 0 ? '0' : '36rpx'}">
@ -195,6 +187,14 @@
</view> </view>
</view> </view>
</view> </view>
<view class="images">
<view class="title flex-l">收款凭证</view>
<view class="imgs-ctr">
<view @click="helpers.previewImage(data.image)" :key="index" class="img-ctr">
<image class="img" mode="aspectFit" :src="data.image"></image>
</view>
</view>
</view>
</template> </template>
</view> </view>