Pārlūkot izejas kodu

图片优化

wulanhaote
hbao pirms 3 gadiem
vecāks
revīzija
d44d32384b
1 mainītis faili ar 13 papildinājumiem un 12 dzēšanām
  1. +13
    -12
      src/views/homestead/index.vue

+ 13
- 12
src/views/homestead/index.vue Parādīt failu

@@ -346,20 +346,20 @@
<div class="statusQuo">
<div
class="picture"
v-if="houseInfoLookList.frontHouse == ''"
v-if="houseInfoLookList.behindHouse == ''"
></div>
<div class="picture" v-if="houseInfoLookList.frontHouse != ''">
<img :src="houseInfoLookList.frontHouse" />
<div class="picture" v-if="houseInfoLookList.behindHouse != ''">
<img :src="houseInfoLookList.behindHouse" />
</div>
<div class="describe">现<br />状<br />图<br />片</div>
</div>
<div class="statusQuo">
<div
class="picture"
v-if="houseInfoLookList.behindHouse == ''"
v-if="houseInfoLookList.frontHouse == ''"
></div>
<div class="picture" v-if="houseInfoLookList.behindHouse != ''">
<img :src="houseInfoLookList.behindHouse" />
<div class="picture" v-if="houseInfoLookList.frontHouse != ''">
<img :src="houseInfoLookList.frontHouse" />
</div>
<div class="describe">历<br />史<br />图<br />片</div>
</div>
@@ -429,16 +429,16 @@
<!--上传图片-->
<div class="uploadPictures_block">
<div class="statusQuo">
<div class="picture" v-if="landInfoLookList.frontland == ''"></div>
<div class="picture" v-if="landInfoLookList.frontland != ''">
<img :src="landInfoLookList.frontland" />
<div class="picture" v-if="landInfoLookList.behindland == ''"></div>
<div class="picture" v-if="landInfoLookList.behindland != ''">
<img :src="landInfoLookList.behindland" />
</div>
<div class="describe">现<br />状<br />图<br />片</div>
</div>
<div class="statusQuo">
<div class="picture" v-if="landInfoLookList.behindland == ''"></div>
<div class="picture" v-if="landInfoLookList.behindland != ''">
<img :src="landInfoLookList.behindland" />
<div class="picture" v-if="landInfoLookList.frontland == ''"></div>
<div class="picture" v-if="landInfoLookList.frontland != ''">
<img :src="landInfoLookList.frontland" />
</div>
<div class="describe">历<br />史<br />图<br />片</div>
</div>
@@ -2142,6 +2142,7 @@ export default {
obj.cdm = trs.find("td").eq(11).text(); //村代码
obj.orgCode = trs.find("td").eq(15).text(); //行政区化代码
obj.frontland = trs.find("td").eq(18).text(); //图片前
console.log(obj.frontland);
obj.behindland = trs.find("td").eq(19).text(); //图片后
_this.nydlxOptionsValue = trs.find("td").eq(5).text(); //农用地类型
let cloneObj = JSON.parse(JSON.stringify(obj));


Notiek ielāde…
Atcelt
Saglabāt