import{_ as De,r as p,A as O,V as ze,U as Me,X as Ie,d as k,o as d,c as v,l as i,m as P,g as D,e as z,w as C,L as G,N as Q,f as I,k as U,F as Ee,x as N,y as Pe,p as Ne,q as Ae}from"./index.9172db1d.js";import de from"./downloads.e955445d.js";import{_ as ue}from"./close1.45635d81.js";import{_ as We,a as Be,b as Xe,c as Fe,d as Ze,e as Oe}from"./linesGL.90f708a5.js";import{i as ie,L as se}from"./index.c9f5bd8b.js";import{T as Re}from"./TimeLine.6ff87a01.js";import{u as ce}from"./useEcharts.963c5809.js";import{a as je,b as qe,c as Ve,g as Je}from"./classify.7a190974.js";const f=A=>(Ne("data-v-722f0c81"),A=A(),Ae(),A),Ge={class:"center"},Qe=f(()=>i("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Ue={class:"rightWra"},$e={class:"rightTop"},Ye={class:"title"},He=f(()=>i("span",null,"\u6482\u8352\u8015\u5730\u7C7B\u578B\u7EDF\u8BA1",-1)),Ke=f(()=>i("img",{src:de,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),et={class:"rightbottom"},tt={class:"title"},at=f(()=>i("span",null,"\u6482\u8352\u8015\u5730\u9762\u79EF\u7EDF\u8BA1",-1)),ot=f(()=>i("img",{src:de,style:{width:"14px",height:"14px",cursor:"pointer"}},null,-1)),rt={key:0,src:ue,alt:""},lt={key:0,class:"imgrotate",src:ue,alt:""},nt={class:"mt-4"},it={class:"bottom_center"},st=Pe('
',1),ct={id:"popup1"},dt={class:"rowWra"},ut=f(()=>i("span",null,"\u4F5C\u7269\uFF1A",-1)),pt={class:"rowWra"},ft=f(()=>i("span",null,"\u9762\u79EF\uFF1A",-1)),mt={class:"rowWra"},gt=f(()=>i("span",null,"\u9547\u540D\uFF1A",-1)),bt={key:0,class:"rowWra"},yt=f(()=>i("span",null,"\u6751\u540D\uFF1A",-1)),ht={key:1,class:"rowWra"},vt=f(()=>i("span",null,"\u571F\u5730\u6240\u6709\u4EBA\uFF1A",-1)),_t={__name:"index",setup(A){let s=p(null);const $=p(null);p(null);const Y=p(null);let S=O({arr:[],brr:[],crr:[]});const _=p("370211"),L=p({info:[]}),R=p(!1);p(!0);let T=p(!0);const H=e=>{pe(e)},pe=e=>{let t=document.createElement("a");t.style.display="none",t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)};let j={\u5C0F\u9EA6:[],\u7389\u7C73:[],\u5927\u8C46:[],\u5730\u74DC:[],\u82B1\u751F:[],\u84DD\u8393:[],\u8336\u53F6:[],\u9A6C\u94C3\u85AF:[],\u767D\u83DC\u548C\u841D\u535C:[],\u5176\u4ED6:[]},K={\u5C0F\u9EA6:{color:"rgba(255, 141, 26, 1)",disabled:!1},\u7389\u7C73:{color:"rgba(255, 255, 26, 1)",disabled:!0},\u5927\u8C46:{color:"rgba(255, 201, 148, 1)",disabled:!1},\u5730\u74DC:{color:"rgba(255, 84, 84, 1)",disabled:!1},\u82B1\u751F:{color:"rgba(255, 140, 255, 1)",disabled:!1},\u84DD\u8393:{color:"rgba(26, 255, 255, 1)",disabled:!1},\u8336\u53F6:{color:"rgba(26, 255, 140, 1)",disabled:!1},\u9A6C\u94C3\u85AF:{color:"rgba(255, 171, 87, 1)",disabled:!0},\u767D\u83DC\u548C\u841D\u535C:{color:"rgba(140, 255, 26, 1)",disabled:!0},\u5176\u4ED6:{color:"rgba(140, 26, 255, 1)",disabled:!1}},W={\u5C0F\u9EA6:"shuzisannong:xiaomai",\u5927\u8C46:"shuzisannong:dadou",\u5730\u74DC:"shuzisannong:digua",\u82B1\u751F:"shuzisannong:huasheng",\u84DD\u8393:"shuzisannong:lanmei",\u8336\u53F6:"shuzisannong:chaye",\u5176\u4ED6:"shuzisannong:other"};O({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.8,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.8,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.8,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:156,itemStyle:{opacity:.8,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u84DD\u8393",value:56,itemStyle:{opacity:.8,color:"rgba(72, 102, 211, 0.9)"},label:{show:!0}}]});var q={title:["\u533A\u57DF\u4E00","\u533A\u57DF\u4E8C","\u533A\u57DF\u4E09","\u533A\u57DF\u56DB","\u533A\u57DF\u4E94","\u533A\u57DF\u516D","\u533A\u57DF\u4E03","\u533A\u57DF\u516B"],corn:[333.3,null,500,500,333.3,null,333.3,500],soybean:[333.3,null,null,null,333.3,null,333.3,null],peanut:[333.3,500,500,null,333.3,500,333.3,null],wheat:[null,500,null,500,null,500,null,null],Blueberries:[null,null,null,null,null,null,null,500]};ze(()=>{fe()});function fe(){Ce(),le(),ke(),ge(),Se(),Z(),re(),_e(),B.value=Object.keys(K)}const me={url:"http://{s}.tianditu.gov.cn/img_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=31091965e263284a501a723b8909f405",layer:"tdtCva",style:"default",format:"tiles",tileMatrixSetID:"c",subdomains:["t0","t1","t2","t3","t4","t5","t6","t7"],tilingScheme:new Cesium.GeographicTilingScheme,tileMatrixLabels:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],maximumLevel:18};Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiYzcwZmJmNi02MzQ5LTQ1MGEtODgzMy0yZTZiZGExY2MzMGMiLCJpZCI6MTAxOTgsInNjb3BlcyI6WyJhc2wiLCJhc3IiLCJnYyJdLCJpYXQiOjE1ODEzMDgxNTR9.NeJU4yfUi-SnLrNDOBYsQgmiSh3B4axCTi1m84Qw99c";function ge(){s=new Cesium.Viewer("cesiumContainer",{baseLayerPicker:!1,shouldAnimate:!0,infoBox:!1,animation:!1,timeline:!1,geocoder:!1,homeButton:!1,navigationHelpButton:!1,selectionIndicator:!1,fullscreenButton:!1,terrainProvider:new Cesium.EllipsoidTerrainProvider({}),sceneModePicker:!1,contextOptions:{webgl:{alpha:!0}},imageryProvider:new Cesium.WebMapTileServiceImageryProvider({...me})}),s.cesiumWidget.creditContainer.style.display="none",s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:0}),he(),X("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town")}const B=p([]);function be(e){return e>48e6?0:e>24e6?1:e>12e6?2:e>6e6?3:e>3e6?4:e>15e5?5:e>75e4?6:e>375e3?7:e>187500?8:e>93750?9:e>46875?10:e>23437.5?11:e>11718.75?12:e>5859.38?13:e>2929.69?14:e>1464.84?15:e>732.42?16:e>366.21?17:18}function ye(e,t){}Me(()=>B.value,(e,t)=>{e.length>t.length?e.filter(a=>{if(t.findIndex(l=>l===a)<0)return a}).forEach(a=>{W[a]&&X(W[a],a+"zuowu")}):e.length{if(e.findIndex(l=>l===a)<0)return a}).forEach(a=>{W[a]&&m([a+"zuowu"])})});function X(e,t,o){let a=new Cesium.WebMapServiceImageryProvider({url:serverAPI.geoserverUrl+"/shuzisannong/wms?",layers:e,parameters:{service:"WMS",format:"image/png",transparent:!0}});a.customName=t;let r=s.imageryLayers.addImageryProvider(a);o&&(s.imageryLayers.lowerToBottom(r),s.imageryLayers.raise(r))}let V="";function he(){var e=new Cesium.ScreenSpaceEventHandler(s.canvas);e.setInputAction(async function(t){var o=s.camera.getPickRay(t.position),a=s.scene.globe.pick(o,s.scene);if(a){let r=Cesium.Cartographic.fromCartesian(a);if(r){let l=new Cesium.Cartesian2,x=s.camera.positionCartographic.height,g=be(x);const b=s.imageryLayers._layers,u=b.findIndex(n=>n._imageryProvider._layers&&n._imageryProvider._layers==="shuzisannong:huangdaoqu_town");if(u>-1){const n=b[u];let c=n._imageryProvider;if(c&&c.ready&&c._layers&&n.show===!0){l=c.tilingScheme.positionToTileXY(r,g,l);let y=c.pickFeatures(l.x,l.y,g,r.longitude,r.latitude);y&&y.then(async w=>{if(w.length>0){let h=w[0];if(h.properties&&h.properties.XZDM)if(V!==h.properties.XZDM){V=h.properties.XZDM,_.value=V,F();let M=h.data;s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(M.bbox[0],M.bbox[1],M.bbox[2],M.bbox[3]),duration:2}),E("townLine"),te(M.geometry.coordinates,"townLine","red"),m(["village_CQL"]),addvillage(`XZDM=${h.properties.XZDM}`,"village_CQL"),J()}else ee(b,r,g,l,t);else m(["village_CQL"])}})}}else ee(b,r,g,l,t)}}},Cesium.ScreenSpaceEventType.LEFT_CLICK)}async function ee(e,t,o,a,r){let l=[],x=e.map(async u=>{if(u._imageryProvider._layers&&Object.values(W).findIndex(n=>n===u._imageryProvider._layers)>-1){const n=u;let c=n._imageryProvider;if(c&&c.ready&&c._layers&&n.show===!0){a=c.tilingScheme.positionToTileXY(t,o,a);let y=c.pickFeatures(a.x,a.y,o,t.longitude,t.latitude);y&&await y.then(w=>{if(w.length>0){E("landtype"),te(w[0].data.geometry.coordinates,"landtype","red");let h=w[0].properties;l.findIndex(ne=>ne&&ne.crop===h.crop)<0&&l.push(h)}})}}});if(await Promise.all(x),l.length>0){const u=r.position;var g=s.scene.globe.ellipsoid,b=s.camera.pickEllipsoid(u,g);if(b){let n=g.cartesianToCartographic(b),c=Cesium.Math.toDegrees(n.longitude).toFixed(6),y=Cesium.Math.toDegrees(n.latitude).toFixed(6);L.value={info:l,lon:c,lat:y}}ve(u),s.scene.postRender.addEventListener(ae)}else J()}function te(e,t,o){e.forEach(a=>{let r=[];a[0].forEach(l=>{r.push(l[0]),r.push(l[1])}),s.entities.add({name:t,polyline:{positions:Cesium.Cartesian3.fromDegreesArray(r),width:6,material:new Cesium.PolylineGlowMaterialProperty({glowPower:.2,color:o?Cesium.Color.fromCssColorString(o):Cesium.Color.fromBytes(250,128,114)}),clampToGround:!0}})})}function m(e,t){if(s){const o=s.imageryLayers._layers;for(let a=o.length-1;a>=0;a--)e.forEach(r=>{o[a]&&o[a]._imageryProvider&&o[a]._imageryProvider.customName&&(t?o[a]._imageryProvider.customName.indexOf(r)>-1&&s.imageryLayers.remove(o[a]):o[a]._imageryProvider.customName===r&&s.imageryLayers.remove(o[a]))})}}function E(e){if(s){let o=s.entities._entities._array;for(var t=o.length-1;t>=0;t--)o[t]._name&&o[t]._name===e&&s.entities.remove(o[t])}}function ae(){if(L.value&&L.value.lon&&L.value.lat){const t=Cesium.Cartesian3.fromDegrees(Number(L.value.lon),Number(L.value.lat),0);var e=Cesium.SceneTransforms.wgs84ToWindowCoordinates(s.scene,t);if(Cesium.defined(e)){const o=document.getElementById("popup1");o.style.top=e.y-10+"px",o.style.left=e.x+10+"px"}}}function J(){const e=document.getElementById("popup1");e.style.display="none",s.scene.postRender.removeEventListener(ae),E("landtype")}function ve(e){const t=document.getElementById("popup1");t.style.display="block",t.style.position="absolute",t.style.top=e.y-10+"px",t.style.left=e.x+10+"px",t.style.zIndex=99}const oe=p([]);function _e(){Ie({url:serverAPI.geoserverUrl+"/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Afarmland&maxFeatures=50&outputFormat=application%2Fjson",method:"get"}).then(e=>{console.log("\u519C\u7530\uFF1A",e),oe.value=e.data.features}).catch(e=>{})}function xe(){m(["huangdaoqu_town"],!0),m(["shuzisannong:farmlandgbzn"],!0),X("shuzisannong:huangdaoqu_town","shuzisannong:huangdaoqu_town"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(119.5091,35.5671,120.3285,36.1455),duration:2}),R.value=!1}function we(){if(T.value=!T.value,T.value){let e=document.querySelector(".rightWra");e.style.transform="translate(0,0)"}else{let e=document.querySelector(".rightWra");e.style.transform="translate(107%,0)"}}const re=(e,t)=>je({time:"2023-04-19",subregion:t,parent:e}).then(o=>o.data),le=()=>{qe().then(e=>{S.arr=e.features,S.arr.unshift({bbox:[119.5091,35.5671,120.3285,36.1455],properties:{XZDM:"370211",XZMC:"\u5168\u90E8"}});let t=[...e.features],o=[];t.splice(0,1),t.forEach(a=>{o.push(a.properties.XZMC)}),q.title=[...Object.values(o)],Z()})},ke=()=>{Ve().then(e=>{S.brr=e.features})},Ce=()=>{Je().then(e=>{console.log("res:",e),S.crr=e.features,q.title.forEach((t,o)=>{let a=e.features.map(r=>{if(t===r.properties.town)return r.properties});Object.keys(j).forEach(r=>{a.findIndex(x=>x&&x.crop===r)>-1?j[r].push(1):j[r].push(null)})}),Z(),F()})},F=()=>{_.value=="370211"?(le(),E("townLine"),m(["village_CQL"]),O({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.8,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.8,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.8,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:156,itemStyle:{opacity:.8,color:"rgba(27, 85, 222, 1)"},label:{show:!0}},{name:"\u84DD\u8393",value:56,itemStyle:{opacity:.8,color:"rgba(72, 102, 211, 0.9)"},label:{show:!0}}]})):_.value&&O({arr:[{name:"\u5C0F\u9EA6",value:101,itemStyle:{opacity:.8,color:"rgba(110, 209, 84, 0.9)"}},{name:"\u82B1\u751F",value:156,itemStyle:{opacity:.8,color:"rgba(251, 201, 3, 1)"},label:{show:!0}},{name:"\u5927\u8C46",value:156,itemStyle:{opacity:.8,color:"rgba(240, 129, 31, 0.9)"},label:{show:!0}},{name:"\u5730\u74DC",value:0,itemStyle:{opacity:.8,color:"rgba(27, 85, 222, 1)"},label:{show:!1}},{name:"\u84DD\u8393",value:156,itemStyle:{opacity:.8,color:"rgba(72, 102, 211, 0.9)"},label:{show:!1}}]}),[...S.arr].forEach(t=>{t.properties.XZDM==_.value&&(re(t.properties.XZMC,"2"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(t.bbox[0],t.bbox[1],t.bbox[2],t.bbox[3]),duration:2}));let o=[...S.brr],a=[];o.forEach(r=>{r.properties.XZDM==_.value&&a.push(r.properties.XZQMC)}),q.title=[...Object.values(a)],Z()}),m(["village_CQL"]),E("townLine"),addvillage(`XZDM=${_.value}`,"village_CQL")};function Se(){const e=ie($.value);let t={color:["#1C86F1"],legend:{show:!0,top:"10",left:"center",textStyle:{color:"rgba(255,255,255,.9)"},itemWidth:20,itemHeight:12.5,icon:"rect",backgroundColor:"transparent",x:"right"},tooltip:{},grid:{left:"5%",right:"5%",bottom:"9%",top:"15%",containLabel:!0},xAxis:{type:"category",data:["\u6C34\u7530","\u65F1\u5730","\u6C34\u6D47\u5730","\u5176\u4ED6","\u5176\u4ED6"],axisLine:{lineStyle:{color:"#657CA8"}},axisTick:{show:!1},axisLabel:{color:"#eeeeee",rotate:0}},yAxis:{nameTextStyle:{color:"#c0c3cd",padding:[0,0,0,0],fontSize:14},axisLabel:{color:"#c0c3cd",fontSize:14},axisTick:{lineStyle:{color:"#668092",width:1},show:!1},splitLine:{show:!0,lineStyle:{color:"rgba(255, 255, 255, 0.7)",type:"solid"}},axisLine:{lineStyle:{color:"rgba(255, 255, 255, 0.7)",width:1},show:!1},name:"\u9762\u79EF(\u4EA9)"},series:[{type:"bar",barWidth:20,data:[100,78,56,124,67],label:{show:!0,position:"top",textStyle:{color:"#ffffff"}},itemStyle:{normal:{color:function(o){var a=[["rgba(12, 141, 211, 1)","transparent"],["rgba(67, 189, 178, 1)","transparent"],["rgba(254, 201, 107, 1)","transparent"],["rgba(255, 107, 107, 1)","transparent"],["rgba(107, 107, 255, 1)","transparent"]],r=o.dataIndex;return o.dataIndex>=a.length&&(r=o.dataIndex-a.length),new se(0,0,0,1,[{offset:0,color:a[r][0]},{offset:.5,color:a[r][0]},{offset:1,color:a[r][1]}])}}}}]};e.on("click",o=>Le(o)),ce(e,t)}function Le(e){console.log("item:",e),m(["huangdaoqu_town"],!0),m(["shuzisannong:huangdaoqu_town"]),F();let t="shuzisannong:farmland",o=!1;const a=s.imageryLayers._layers;for(let l=a.length-1;l>=0;l--)a[l]&&a[l]._imageryProvider.customName&&a[l]._imageryProvider.customName===t+"gbznt"&&(o=!0);o||X(t,t+"gbznt",!0),oe.value.forEach(l=>{console.log("it.properties.name:",l.properties.name),console.log("item.name:",e.name),l.properties.name===e.name&&(console.log("dingwei"),s.camera.flyTo({destination:Cesium.Rectangle.fromDegrees(l.bbox[0],l.bbox[1],l.bbox[2],l.bbox[3]),duration:2}))}),R.value=!0}function Z(){const e=ie(Y.value);var t=[{areaName:"\u533A\u57DF\u4E00",rate:"3598"},{areaName:"\u533A\u57DF\u4E8C",rate:"1235"},{areaName:"\u533A\u57DF\u4E09",rate:"2354"},{areaName:"\u533A\u57DF\u56DB",rate:"3251"},{areaName:"\u533A\u57DF\u4E94",rate:"1652"}],o=[],a=[];t.forEach(l=>{o.push(l.areaName),a.push(parseInt(l.rate).toFixed(0))});var r={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,top:"10",right:"5%",textStyle:{color:"rgba(255,255,255,.9)"},itemWidth:20,itemHeight:12.5,icon:"rect",backgroundColor:"transparent"},grid:{left:"5%",right:"5%",bottom:"9%",top:"10%",containLabel:!0},xAxis:{data:o,triggerEvent:!0,axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#70F5FE"}},axisLabel:{show:!0,rotate:0,interval:0,textStyle:{padding:[8,0,0,0],fontSize:14,color:"rgba(21, 222, 255, 0.8)"}}},yAxis:{name:"",triggerEvent:!0,nameTextStyle:{color:"rgba(255,255,255,1)",fontSize:16,padding:[0,0,10,-20]},splitLine:{show:!0,lineStyle:{color:"#A6D9F6",type:"dashed"}},axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!0,textStyle:{color:"rgba(24, 255, 255, 0.8)",fontSize:14}}},series:[{name:"\u9762\u79EF",barMinHeight:10,type:"pictorialBar",barCategoryGap:"60%",symbolOffset:[1,-5],symbol:"path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",itemStyle:{normal:{color:new se(0,0,0,1,[{offset:0,color:"rgba(161, 222, 147, 1)"},{offset:1,color:"rgba(161, 222, 147, 0.08)"}])}},label:{show:!0,position:"top",textStyle:{color:"#ffffff"}},data:a,z:0}]};e.on("click",l=>Te(l)),ce(e,r)}function Te(e){console.log("\u53F3\u4E0B\u70B9\u51FB",e)}return(e,t)=>{const o=k("el-option"),a=k("el-select"),r=k("el-tooltip"),l=k("el-checkbox"),x=k("el-checkbox-group"),g=k("el-collapse-item"),b=k("el-collapse"),u=k("el-button");return d(),v("div",Ge,[Qe,i("div",Ue,[i("div",$e,[i("div",Ye,[He,i("p",{onClick:t[0]||(t[0]=n=>H("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[P(" \u4E0B\u8F7D \xA0 "),Ke])]),i("div",{ref_key:"farmlandDiv",ref:$,class:"farmlandDiv"},null,512),D('
')]),i("div",et,[i("div",tt,[at,i("p",{onClick:t[1]||(t[1]=n=>H("https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx"))},[P(" \u4E0B\u8F7D \xA0 "),ot])]),z(a,{"popper-class":"select_city",onChange:t[2]||(t[2]=n=>F(e.item)),modelValue:_.value,"onUpdate:modelValue":t[3]||(t[3]=n=>_.value=n),clearable:"",placeholder:"\u5168\u90E8"},{default:C(()=>[(d(!0),v(G,null,Q(I(S).arr,n=>(d(),U(o,{key:n.properties.XZDM,label:n.properties.XZMC,value:n.properties.XZDM},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),i("div",{ref_key:"ASdivisionDiv",ref:Y,class:"ASdivision"},null,512)]),i("div",{class:"rightFoldDiv",onClick:t[4]||(t[4]=n=>we())},[z(r,{disabled:!I(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u6536\u8D77",placement:"top"},{default:C(()=>[I(T)?(d(),v("img",rt)):D("v-if",!0)]),_:1},8,["disabled"]),z(r,{disabled:I(T),"hide-after":"0","show-arrow":!1,"show-after":"200",class:"box-item",effect:"dark",content:"\u5C55\u5F00",placement:"top"},{default:C(()=>[I(T)?D("v-if",!0):(d(),v("img",lt))]),_:1},8,["disabled"])])]),z(b,{class:"legend",accordion:""},{default:C(()=>[z(g,{name:"1"},{title:C(()=>[P("\u56FE\u4F8B")]),default:C(()=>[i("div",nt,[z(x,{modelValue:B.value,"onUpdate:modelValue":t[6]||(t[6]=n=>B.value=n),onChange:ye},{default:C(()=>[(d(!0),v(G,null,Q(I(K),(n,c,y)=>(d(),U(l,{key:y,style:Ee({background:n.color,border:`1px solid ${n.color}`,width:"100%"}),modelValue:e.checked3,"onUpdate:modelValue":t[5]||(t[5]=w=>e.checked3=w),disabled:n.disabled,label:c},null,8,["style","modelValue","disabled","label"]))),128)),D(` ')]),_:1},8,["modelValue"])])]),_:1})]),_:1}),i("div",it,[z(Re)]),st,i("div",ct,[(d(!0),v(G,null,Q(L.value.info,(n,c)=>(d(),v("div",{key:c},[i("div",dt,[ut,i("span",null,N(n.crop),1)]),i("div",pt,[ft,i("span",null,N((n.Shape_Area/666.67).toFixed(2))+" \u4EA9",1)]),i("div",mt,[gt,i("span",null,N(n.town),1)]),n.village?(d(),v("div",bt,[yt,i("span",null,N(n.village),1)])):D("v-if",!0),n.people?(d(),v("div",ht,[vt,i("span",null,N(n.people),1)])):D("v-if",!0)]))),128)),i("div",{class:"cancel",onClick:J},"X")]),R.value?(d(),U(u,{key:0,class:"back_button",onClick:t[7]||(t[7]=n=>xe())},{default:C(()=>[P("\u8FD4\u56DE")]),_:1})):D("v-if",!0)])}}},zt=De(_t,[["__scopeId","data-v-722f0c81"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/plough/abandonedLand/index.vue"]]);export{zt as default};