Ver código fonte

Merge remote-tracking branch 'origin/master'

wulanhaote
yujk 3 anos atrás
pai
commit
c843a01869
3 arquivos alterados com 38 adições e 21 exclusões
  1. BIN
      src/assets/images/homestead/no_img.png
  2. +38
    -20
      src/views/homestead/index.vue
  3. +0
    -1
      src/views/homestead/login.vue

BIN
src/assets/images/homestead/no_img.png Ver arquivo

Antes Depois
Largura: 208  |  Altura: 162  |  Tamanho: 7.1 KiB

+ 38
- 20
src/views/homestead/index.vue Ver arquivo

@@ -1,6 +1,5 @@
<template> <template>
<div class="app-container">
<!-- <div style="position: relative; z-index: 999999"> -->
<div class="app-container" :style="{ height: windowHeight + 'px' }">
<div style="display: none"> <div style="display: none">
<select id="zhen"></select> <select id="zhen"></select>
<select id="cun" autofocus></select> <select id="cun" autofocus></select>
@@ -207,7 +206,10 @@
</div> </div>
<div class="others"> <div class="others">
<div class="information"> <div class="information">
<div class="location"></div>
<div
class="location"
@click="landHomeSerial('house', houseInfoList)"
></div>
<div class="status_text">{{ houseInfoList.xzqk }}</div> <div class="status_text">{{ houseInfoList.xzqk }}</div>
</div> </div>
<div class="editor"> <div class="editor">
@@ -228,7 +230,10 @@
</div> </div>
<div class="others"> <div class="others">
<div class="information"> <div class="information">
<div class="location"></div>
<div
class="location"
@click="landHomeSerial('land', landInfoList)"
></div>
<div class="status_text">{{ landInfoList.xzqk }}</div> <div class="status_text">{{ landInfoList.xzqk }}</div>
</div> </div>
<div class="editor"> <div class="editor">
@@ -915,9 +920,6 @@
<script> <script>
import $ from "jquery"; import $ from "jquery";
import { import {
bigDataHcAreaInfo,
bigDataHcCountyInfo,
bigDataHcVillageInfo,
hcBottomSearch, hcBottomSearch,
commonUpload, commonUpload,
houseAdd, houseAdd,
@@ -940,7 +942,7 @@ export default {
villageValue: "", villageValue: "",
//选中村相关信息 //选中村相关信息
villageDataObj: { villageDataObj: {
deptName: "", //村名
deptName: " ", //村名
}, },
hcAreaInfoFieldName: { hcAreaInfoFieldName: {
text: "label", text: "label",
@@ -1072,10 +1074,14 @@ export default {
hasTable: false, hasTable: false,
//查看农地\农房 显隐 //查看农地\农房 显隐
landHomesteadDetailsVisibile: false, landHomesteadDetailsVisibile: false,

windowHeight:0,
}; };
}, },
mounted() { mounted() {
this.initAxios(); this.initAxios();
let windowHeight = document.documentElement.clientHeight;
this.windowHeight = windowHeight;
}, },
methods: { methods: {
//编辑农地信息 //编辑农地信息
@@ -1593,7 +1599,9 @@ export default {
let currDeptId = "169"; let currDeptId = "169";
// if(content[0].children && content[0].children.length!=0){ // if(content[0].children && content[0].children.length!=0){
// if(content[0].children[0].children && content[0].children[0].children.length!=0){ // if(content[0].children[0].children && content[0].children[0].children.length!=0){
// currDeptId = content[0].children[0].children[0].value;
// if(content[0].children[0].children[0].children && content[0].children[0].children[0].children.length!=0){
// currDeptId = content[0].children[0].children[0].children[0].value;
// }
// }else{ // }else{
// currDeptId = content[0].children[0].value // currDeptId = content[0].children[0].value
// } // }
@@ -2630,6 +2638,17 @@ export default {
this.landInfoList.frontland = res.url; this.landInfoList.frontland = res.url;
}); });
}, },
landHomeSerial(type, data) {
console.log(type);
console.log(data);
if (type == "house") {
$("#texiao_fang").val(data.fwsyrmc);
$("#texiao_fang").trigger("click");
} else {
$("#texiao_di").val(data.syrmc);
$("#texiao_di").trigger("click");
}
},
}, },
}; };
</script> </script>
@@ -2839,8 +2858,7 @@ export default {
position: fixed; position: fixed;
z-index: 9; z-index: 9;
top: 24px; top: 24px;
left: 8px;
// left: -80px;
left: 16px;
display: flex; display: flex;
.address_item { .address_item {
display: flex; display: flex;
@@ -2850,11 +2868,11 @@ export default {
align-items: center; /* 子元素相对父元素垂直居中 */ align-items: center; /* 子元素相对父元素垂直居中 */
position: relative; position: relative;
.portrait { .portrait {
width: 76px;
height: 76px;
width: 86px;
height: 86px;
background: #000; background: #000;
border-radius: 50%; border-radius: 50%;
margin-bottom: 20px;
margin-bottom: 18px;
font-size: 30px; font-size: 30px;
color: #fff; color: #fff;
text-align: center; text-align: center;
@@ -2876,12 +2894,10 @@ export default {
} }
} }
.name { .name {
font-size: 14px;
font-size: 22px;
background: #fff; background: #fff;
padding: 2px 6px;
padding: 4px 6px;
border-radius: 8px; border-radius: 8px;
min-height: 42px;
min-width: 100px;
} }
&.more { &.more {
.portrait { .portrait {
@@ -3203,7 +3219,7 @@ export default {
border-radius: 20px; border-radius: 20px;
padding: 8px 15px; padding: 8px 15px;
float: right; float: right;
width: calc(100% - 56px);
max-width: calc(100% - 56px);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@@ -3296,7 +3312,9 @@ export default {
} }
.picture { .picture {
flex: 1; flex: 1;
background: #000;
background: url("../../assets/images/homestead/no_img.png") center
center no-repeat;
background-size: 90% auto;
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;


+ 0
- 1
src/views/homestead/login.vue Ver arquivo

@@ -61,7 +61,6 @@
<script> <script>
import { getCodeImg } from "@/api/login"; import { getCodeImg } from "@/api/login";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import $ from "jquery";
export default { export default {
name: "homesteadLogin", name: "homesteadLogin",
data() { data() {


Carregando…
Cancelar
Salvar