定损图片预览
This commit is contained in:
parent
c5b11554b4
commit
d7dcdabeeb
|
|
@ -66,6 +66,7 @@
|
|||
<div class="image-preview" v-for="(img, index) in imgList2" :key="index">
|
||||
<image :src="img.url" mode="aspectFill"></image>
|
||||
<view class="delete-btn" @click.stop="deleteImage2(index)">×</view>
|
||||
<PreviewImg :imgUrl="img.url" />
|
||||
</div>
|
||||
</div>
|
||||
</uni-forms-item>
|
||||
|
|
@ -137,6 +138,7 @@ import {
|
|||
import { baseURL } from '@/utils/http'
|
||||
import treeSelect from '../tree-select/tselectTwo.vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import PreviewImg from '@/components/PreviewImg/index.vue'
|
||||
const queryParams = ref({})
|
||||
const rowIndex = ref(-1)
|
||||
// 计算属性:将选中的编码用逗号拼接显示
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
<div class="image-preview" v-for="(img, index) in imgList2" :key="index">
|
||||
<image :src="img.url" mode="aspectFill"></image>
|
||||
<view class="delete-btn" @click.stop="deleteImage2(index)">×</view>
|
||||
<PreviewImg :imgUrl="img.url" />
|
||||
</div>
|
||||
</div>
|
||||
</uni-forms-item>
|
||||
|
|
@ -219,6 +220,7 @@ import {
|
|||
import { baseURL } from '@/utils/http'
|
||||
import treeSelect from '../tree-select/tselectTwo.vue';
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import PreviewImg from '@/components/PreviewImg/index.vue'
|
||||
// const query = defineProps() // 获取上级页面传递的路由参数
|
||||
// const queryParams = JSON.parse(query.queryParams)
|
||||
const queryParams = ref({})
|
||||
|
|
|
|||
Loading…
Reference in New Issue