liuminjian пре 3 година
родитељ
комит
8b9e29a8f5
1 измењених фајлова са 40 додато и 21 уклоњено
  1. +40
    -21
      src/views/homestead/index.vue

+ 40
- 21
src/views/homestead/index.vue Прегледај датотеку

@@ -435,14 +435,14 @@
<div class="statusQuo"> <div class="statusQuo">
<div class="picture" v-if="landInfoLookList.behindland == ''"></div> <div class="picture" v-if="landInfoLookList.behindland == ''"></div>
<div class="picture" v-if="landInfoLookList.behindland != ''"> <div class="picture" v-if="landInfoLookList.behindland != ''">
<img :src="landInfoLookList.behindland" />
<img :src="landInfoLookList.behindland" class="describe"/>
</div> </div>
<div class="describe">现<br />状<br />图<br />片</div> <div class="describe">现<br />状<br />图<br />片</div>
</div> </div>
<div class="statusQuo"> <div class="statusQuo">
<div class="picture" v-if="landInfoLookList.frontland == ''"></div> <div class="picture" v-if="landInfoLookList.frontland == ''"></div>
<div class="picture" v-if="landInfoLookList.frontland != ''"> <div class="picture" v-if="landInfoLookList.frontland != ''">
<img :src="landInfoLookList.frontland" />
<img :src="landInfoLookList.frontland" class="describe"/>
</div> </div>
<div class="describe">历<br />史<br />图<br />片</div> <div class="describe">历<br />史<br />图<br />片</div>
</div> </div>
@@ -726,25 +726,33 @@
</div> </div>
<!--2--> <!--2-->
<div class="uploadPicturesFlex_block"> <div class="uploadPicturesFlex_block">
<div class="title_m">上传历史图片</div>
<div class="title_m">上传现状图片</div>
<div class="main_m"> <div class="main_m">
<van-uploader <van-uploader
v-model="nfAddfileListHistory"
:after-read="nfAddimgonReadHistory"
v-model="nfAddfileListNow"
:after-read="nfAddimgonReadNow"
:max-count="1" :max-count="1"
accept="image/gif, image/jpeg, image/png" accept="image/gif, image/jpeg, image/png"
/>
>
<div v-if="houseInfoList.behindHouse !=null">
<img :src=houseInfoList.behindHouse alt="等待传图">
</div>
</van-uploader>
</div> </div>
</div> </div>
<div class="uploadPicturesFlex_block"> <div class="uploadPicturesFlex_block">
<div class="title_m">上传现状图片</div>
<div class="title_m">上传历史图片</div>
<div class="main_m"> <div class="main_m">
<van-uploader <van-uploader
v-model="nfAddfileListNow"
:after-read="nfAddimgonReadNow"
v-model="nfAddfileListHistory"
:after-read="nfAddimgonReadHistory"
:max-count="1" :max-count="1"
accept="image/gif, image/jpeg, image/png" accept="image/gif, image/jpeg, image/png"
/>
>
<div v-if="houseInfoList.frontHouse != null">
<img :src=houseInfoList.frontHouse alt="等待传图">
</div>
</van-uploader>
</div> </div>
</div> </div>
</div> </div>
@@ -915,25 +923,33 @@


<!--2--> <!--2-->
<div class="uploadPicturesFlex_block"> <div class="uploadPicturesFlex_block">
<div class="title_m">上传历史图片</div>
<div class="title_m">上传现状图片</div>
<div class="main_m"> <div class="main_m">
<van-uploader <van-uploader
v-model="ndAddfileListHistory"
:after-read="ndAddimgonReadHistory"
v-model="ndAddfileListNow"
:after-read="ndAddimgonReadNow"
:max-count="1" :max-count="1"
accept="image/gif, image/jpeg, image/png" accept="image/gif, image/jpeg, image/png"
/>
>
<div v-if="landInfoList.behindland !=null">
<img :src=landInfoList.behindland alt="等待传图">
</div>
</van-uploader>
</div> </div>
</div> </div>
<div class="uploadPicturesFlex_block"> <div class="uploadPicturesFlex_block">
<div class="title_m">上传现状图片</div>
<div class="title_m">上传历史图片</div>
<div class="main_m"> <div class="main_m">
<van-uploader <van-uploader
v-model="ndAddfileListNow"
:after-read="ndAddimgonReadNow"
v-model="ndAddfileListHistory"
:after-read="ndAddimgonReadHistory"
:max-count="1" :max-count="1"
accept="image/gif, image/jpeg, image/png" accept="image/gif, image/jpeg, image/png"
/>
>
<div v-if="landInfoList.frontland !=null">
<img :src=landInfoList.frontland alt="等待传图">
</div>
</van-uploader>
</div> </div>
</div> </div>
</div> </div>
@@ -1244,11 +1260,14 @@ export default {
addNewPlot(type) { addNewPlot(type) {
this.farmlandEditSwitchVisbuleFun("hide"); this.farmlandEditSwitchVisbuleFun("hide");
this.landHomesteadEditVisbileFun("show"); this.landHomesteadEditVisbileFun("show");

//farmhouse农房 land农地 //farmhouse农房 land农地
if (type == "farmhouse") { if (type == "farmhouse") {
this.farmhouseStatus = 0; this.farmhouseStatus = 0;
this.houseInfoList.behindHouse =null;
this.houseInfoList.frontHouse =null;
} else if (type == "land") { } else if (type == "land") {
this.landInfoList.frontland =null;
this.landInfoList.behindland =null;
this.farmhouseStatus = 1; this.farmhouseStatus = 1;
} }
}, },
@@ -4119,8 +4138,8 @@ export default {
center no-repeat; center no-repeat;
background-size: 90% auto; background-size: 90% auto;
img { img {
width: 100%;
height: 100%;
width: 98%;
height: 90%;
} }
} }
.describe { .describe {


Loading…
Откажи
Сачувај