订单and设备图片显示调整
This commit is contained in:
parent
08ff8a4634
commit
20e733e060
@ -6,7 +6,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="device-item" v-for="(item, index) in deviceList" :key="index">
|
<view class="device-item" v-for="(item, index) in deviceList" :key="index">
|
||||||
<u-image class="device-image" :src="item.deviceImg||(ordFileUrl+defaultIcon)"
|
<u-image class="device-image" :src="item.deviceImg||(ordFileUrl+defaultIcon)"
|
||||||
mode="widthFix" @click="preview(item.image||(ordFileUrl+defaultIcon))" />
|
mode="widthFix" @click="preview(item.deviceImg||(ordFileUrl+defaultIcon))" />
|
||||||
<view class="device-info">
|
<view class="device-info">
|
||||||
<text class="device-name">{{ item.name }}</text>
|
<text class="device-name">{{ item.name }}</text>
|
||||||
<text class="device-model">{{ item.model }}</text>
|
<text class="device-model">{{ item.model }}</text>
|
||||||
@ -135,6 +135,7 @@
|
|||||||
background: #f3f3f3;
|
background: #f3f3f3;
|
||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
border: 2rpx solid #cccccc;
|
border: 2rpx solid #cccccc;
|
||||||
|
overflow: hidden;
|
||||||
&::v-deep .u-image__image{
|
&::v-deep .u-image__image{
|
||||||
border-radius: 12rpx !important;
|
border-radius: 12rpx !important;
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
:key="index"
|
:key="index"
|
||||||
>
|
>
|
||||||
<view class="record-image">
|
<view class="record-image">
|
||||||
<image :src="record.image" mode="aspectFill" class="thumbnail" />
|
<image :src="ordFileUrl+defaultIcon" mode="aspectFill" class="thumbnail" />
|
||||||
</view>
|
</view>
|
||||||
<view class="record-info">
|
<view class="record-info">
|
||||||
<view class="info-top">
|
<view class="info-top">
|
||||||
@ -173,6 +173,8 @@ export default {
|
|||||||
fileUrl: configService.fileUrl + 'aerocraft/equipment/', //静态资源基础路径
|
fileUrl: configService.fileUrl + 'aerocraft/equipment/', //静态资源基础路径
|
||||||
// 订单页图标基础路径
|
// 订单页图标基础路径
|
||||||
ordFileUrl: configService.fileUrl + "aerocraft/order/",
|
ordFileUrl: configService.fileUrl + "aerocraft/order/",
|
||||||
|
// 飞行任务默认图片
|
||||||
|
defaultIcon: 'default.png',
|
||||||
// 设备图片列表
|
// 设备图片列表
|
||||||
equipmentImages: [{
|
equipmentImages: [{
|
||||||
image: this.fileUrl + "drone.png",
|
image: this.fileUrl + "drone.png",
|
||||||
|
@ -87,9 +87,9 @@
|
|||||||
<view class="fly-message-content" :style="{backgroundImage: `url(${fileUrl+mask})`}"
|
<view class="fly-message-content" :style="{backgroundImage: `url(${fileUrl+mask})`}"
|
||||||
v-for="(item, index) in orderDetail.orderTaskDetailList" :key="index">
|
v-for="(item, index) in orderDetail.orderTaskDetailList" :key="index">
|
||||||
<view class="action-detail">
|
<view class="action-detail">
|
||||||
<u-image @click="preview(orderDetail.attachmentMaterialList[0].fileFullPath||(fileUrl+defaultIcon))"
|
<u-image @click="preview(item.attachmentMaterialList[0].fileFullPath||(fileUrl+defaultIcon))"
|
||||||
border-radius="20" width="140" height="140" class="action-detail-photo"
|
border-radius="20" width="140" height="140" class="action-detail-photo"
|
||||||
:src="orderDetail.attachmentMaterialList[0].fileFullPath||(fileUrl+defaultIcon)" />
|
:src="item.attachmentMaterialList[0].fileFullPath||(fileUrl+defaultIcon)" />
|
||||||
<view class="action-detail-content">
|
<view class="action-detail-content">
|
||||||
<view class="action-device">{{ item.deviceName }}</view>
|
<view class="action-device">{{ item.deviceName }}</view>
|
||||||
<view>重量: {{ item.cargoWeight }}KG</view>
|
<view>重量: {{ item.cargoWeight }}KG</view>
|
||||||
|
Loading…
Reference in New Issue
Block a user