代码优化
This commit is contained in:
parent
3a36987c6b
commit
3a0fc4e226
|
|
@ -9,8 +9,8 @@ VITE_API_URL = '/proxyApi'
|
||||||
|
|
||||||
# VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅
|
# VITE_proxyTarget = 'http://192.168.2.246:28080' # 马帅
|
||||||
# VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超
|
# VITE_proxyTarget = 'http://192.168.2.127:28080' # 梁超
|
||||||
# VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务
|
VITE_proxyTarget = 'http://36.33.26.201:17788/proxyApi' # 测试服务
|
||||||
VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
|
# VITE_proxyTarget = 'http://192.168.0.244:28580' # 测试服务
|
||||||
# VITE_proxyTarget = 'http://192.168.2.72:28080' # 盛旭
|
# VITE_proxyTarget = 'http://192.168.2.72:28080' # 盛旭
|
||||||
|
|
||||||
# VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型)
|
# VITE_proxyTarget = 'http://10.40.92.185:9206' # 赵福海 ( 设备类型)
|
||||||
|
|
|
||||||
|
|
@ -56,8 +56,8 @@
|
||||||
<div class="viewNnum">
|
<div class="viewNnum">
|
||||||
<div>浏览 {{ pageData.searchNum }}</div>
|
<div>浏览 {{ pageData.searchNum }}</div>
|
||||||
<div style="color: #00a288; display: flex; align-items: center">
|
<div style="color: #00a288; display: flex; align-items: center">
|
||||||
<Location style="width: 1em; height: 1em; margin-right: 8px" />
|
<!-- <Location style="width: 1em; height: 1em; margin-right: 8px" />
|
||||||
安徽省合肥市蜀山区
|
安徽省合肥市蜀山区 -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="infoBox">
|
<div class="infoBox">
|
||||||
|
|
@ -174,8 +174,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="item" v-for="(v, i) in propertyNames" :key="i">
|
<div class="item" v-for="(v, i) in propertyNames" :key="i">
|
||||||
<div class="label">{{ v.propertyName }}:</div>
|
<div class="label">{{ v.propertyName }}:</div>
|
||||||
<div
|
<div>
|
||||||
>
|
|
||||||
{{ v.propertyValue }}
|
{{ v.propertyValue }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -197,7 +196,19 @@
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<div class="prove-container">
|
<div class="prove-container">
|
||||||
<div v-for="item in pageData.insurancePdf" :key="item.id">
|
<div v-for="item in pageData.insurancePdf" :key="item.id">
|
||||||
<img :src="item.fileUrl" alt="" />
|
<!-- <img :src="item.fileUrl" alt="" /> -->
|
||||||
|
<el-image
|
||||||
|
style="width: 100%; height: 100%"
|
||||||
|
:src="item.fileUrl"
|
||||||
|
:zoom-rate="1.2"
|
||||||
|
:max-scale="7"
|
||||||
|
:min-scale="0.2"
|
||||||
|
:preview-src-list="[item.fileUrl]"
|
||||||
|
:initial-index="0"
|
||||||
|
fit="cover"
|
||||||
|
z-index="9999999999"
|
||||||
|
:preview-teleported="true"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -209,7 +220,19 @@
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<div class="prove-container">
|
<div class="prove-container">
|
||||||
<div v-for="item in pageData.examinationPdf" :key="item.id">
|
<div v-for="item in pageData.examinationPdf" :key="item.id">
|
||||||
<img :src="item.fileUrl" alt="" />
|
<!-- <img :src="item.fileUrl" alt="" /> -->
|
||||||
|
<el-image
|
||||||
|
style="width: 100%; height: 100%"
|
||||||
|
:src="item.fileUrl"
|
||||||
|
:zoom-rate="1.2"
|
||||||
|
:max-scale="7"
|
||||||
|
:min-scale="0.2"
|
||||||
|
:preview-src-list="[item.fileUrl]"
|
||||||
|
:initial-index="0"
|
||||||
|
fit="cover"
|
||||||
|
z-index="9999999999"
|
||||||
|
:preview-teleported="true"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -664,8 +687,6 @@ const equipDetailKeyList = reactive([
|
||||||
|
|
||||||
const propertyNames = ref([])
|
const propertyNames = ref([])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
const dialogPhone = ref(false)
|
const dialogPhone = ref(false)
|
||||||
|
|
||||||
|
|
@ -864,9 +885,9 @@ const getData = async () => {
|
||||||
|
|
||||||
console.log('res详情数据', res)
|
console.log('res详情数据', res)
|
||||||
pageData.value = res.data
|
pageData.value = res.data
|
||||||
if(res.data.devInfoProperties.length > 0 && res.data.devInfoProperties !=null) {
|
if (res.data.devInfoProperties.length > 0 && res.data.devInfoProperties != null) {
|
||||||
propertyNames.value = [];
|
propertyNames.value = []
|
||||||
propertyNames.value = res.data.devInfoProperties
|
propertyNames.value = res.data.devInfoProperties
|
||||||
// res.data.devInfoProperties.forEach((item:any) => {
|
// res.data.devInfoProperties.forEach((item:any) => {
|
||||||
// propertyNames.value.push({label:any:item.propertyName,keya:any:item.propertyValue})
|
// propertyNames.value.push({label:any:item.propertyName,keya:any:item.propertyValue})
|
||||||
// })
|
// })
|
||||||
|
|
@ -1396,10 +1417,10 @@ const onAddCart = async () => {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
// img {
|
||||||
width: 100%;
|
// width: 100%;
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue