From 9388b43290d9334d3cb8585867d39931e634e1ba Mon Sep 17 00:00:00 2001 From: hbao Date: Wed, 4 Aug 2021 18:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homestead/index.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/homestead/index.vue b/src/views/homestead/index.vue index 0ba2c127..334bdfc1 100644 --- a/src/views/homestead/index.vue +++ b/src/views/homestead/index.vue @@ -52,9 +52,12 @@ :class="[ items.xzqk == '已盘活' ? 'yph' : '', items.xzqk == '待流转待盘活' ? 'dlzdph' : '', - items.xzqk == '已流转' ? 'ylz' : '', - items.xzqk == '待流转' ? 'dlz' : '', + //items.xzqk == '已流转' ? 'ylz' : '', + //items.xzqk == '待流转' ? 'dlz' : '', items.xzqk == '已流转待盘活' ? 'ylzdph' : '', + items.xzqk == '自用' ? 'zy' : '', + items.xzqk == '闲置' ? 'xz' : '', + items.xzqk == '残垣断壁' ? 'chdb' : '', ]" > {{ items.xzqk }} @@ -1503,7 +1506,7 @@ export default { this.coordinateList = ""; this.$toast("新建农地信息成功"); //查询图层 - // if(landInfoList.id !=null){ + // if(landInfoList.id !=null && landInfoList.id != ""){ // console.log(landInfoList.id ); // getLand(landInfoList.id).then((res) => { // console.log(res); @@ -3286,6 +3289,15 @@ export default { &.ylzdph { background: rgb(228, 30, 100); } + &.zy { + background: rgb(100, 30, 100); + } + &.xz { + background: rgb(60, 100, 180); + } + &.chdb { + background: rgb(288, 90, 600); + } } } }