定损图片预览

This commit is contained in:
hongchao 2025-08-04 10:25:59 +08:00
parent c5b11554b4
commit d7dcdabeeb
2 changed files with 4 additions and 0 deletions

View File

@ -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)
//

View File

@ -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({})