11 lines
16 KiB
JavaScript
11 lines
16 KiB
JavaScript
|
import{_ as j,r as c,H as Y,z as q,d as x,o as k,c as T,l as o,e as s,w as I,F,A as $,f as H,k as K,g as ee,y as ae,p as te,q as oe,m as z}from"./index.b3c890dc.js";import B from"./downloads.e955445d.js";import{g as re,a as le,b as se,c as ie,_ as ne,d as de,e as ce,f as ue,h as me,i as pe}from"./classify.0fc28e56.js";import{i as g,L as b}from"./index.b2678f26.js";import{u as f,T as ge}from"./useEcharts.5be8131e.js";const p=h=>(te("data-v-85d900c0"),h=h(),oe(),h),be={class:"center"},fe=p(()=>o("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),he={class:"leftWra"},ve={class:"leftTop"},ye=p(()=>o("div",{class:"title"},[o("span",null,"\u4F5C\u7269\u5206\u7C7B\u9762\u79EF\u7EDF\u8BA1")],-1)),xe={class:"leftbottom"},we=p(()=>o("div",{class:"title"},[o("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1")],-1)),ke={class:"rightWra"},Se={class:"rightTop"},_e=p(()=>o("div",{class:"title"},[o("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530"),o("p",null,[z(" \u4E0B\u8F7D \xA0 "),o("img",{src:B,style:{width:"14px",height:"14px",cursor:"pointer"}})])],-1)),Le={class:"rightbottom"},Ce=p(()=>o("div",{class:"title"},[o("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212"),o("p",null,[z(" \u4E0B\u8F7D \xA0 "),o("img",{src:B,style:{width:"14px",height:"14px",cursor:"pointer"}})])],-1)),Ve={class:"legend"},Me=p(()=>o("p",null,"\u56FE\u4F8B",-1)),De={class:"mt-4"},Te={class:"bottom_center"},Ie=ae('<div class="tool" data-v-85d900c0><span data-v-85d900c0><img src="'+ne+'" alt="" data-v-85d900c0></span><span data-v-85d900c0><img src="'+de+'" alt="" data-v-85d900c0></span><span data-v-85d900c0><img src="'+ce+'" alt="" data-v-85d900c0></span><span data-v-85d900c0><img src="'+ue+'" alt="" data-v-85d900c0></span><span data-v-85d900c0><img src="'+me+'" alt="" data-v-85d900c0></span><span data-v-85d900c0><img src="'+pe+'" alt="" data-v-85d900c0></span></div>',1),ze={__name:"index",setup(h){let n=c(null);const S=c(null),_=c(null),L=c(null),C=c(null),V=c(null);let u=Y({arr:[],brr:[],crr:[]});const m=c("");let W={\u5C0F\u9EA6:"rgba(102, 142, 214, 0.8)",\u7389\u7C73:"rgba(255, 225, 104, 0.8)",\u5927\u8C46:"rgba(156, 220, 130, 0.8)",\u5730\u74DC:"rgba(156, 220, 130, 0.8)",\u82B1\u751F:"rgba(212, 236, 89, 0.8)",\u84DD\u8393:"rgba(50, 211, 235, 0.8)",\u8336\u53F6:"rgba(91, 196, 159, 0.8)",\u9A6C\u94C3\u85AF:"rgba(254, 182, 77, 0.8)",\u767D\u83DC\u548C\u841D\u535C:"rgba(250, 129, 109, 0.8)",\u5176\u4ED6:"rgba(250, 129, 109, 0.8)"};var d={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]};q(()=>{J(),D(),E(),P(),R(),X(),G(),Q(),w(),U()});const A={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 P(){n=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:{a
|
||
|
v-for="(value, item) in dic"
|
||
|
:key="value"
|
||
|
:label="item"
|
||
|
style="
|
||
|
background: \`\${}\`;
|
||
|
border: 1px solid rgba(102, 142, 214, 1);
|
||
|
width: 100%;
|
||
|
"
|
||
|
></el-checkbox> `),s(i,{style:{background:"rgba(102, 142, 214, 0.8)",border:"1px solid rgba(102, 142, 214, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[2]||(e[2]=t=>a.checked3=t),label:"\u5C0F\u9EA6"},null,8,["modelValue"]),s(i,{style:{background:"rgba(255, 225, 104, 0.8)",border:"1px solid rgba(255, 225, 104, 1)",width:"100%"},modelValue:a.checked4,"onUpdate:modelValue":e[3]||(e[3]=t=>a.checked4=t),label:"\u7389\u7C73"},null,8,["modelValue"]),s(i,{style:{background:"rgba(156, 220, 130, 0.8)",border:"1px solid rgba(156, 220, 130, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[4]||(e[4]=t=>a.checked3=t),label:"\u5927\u8C46"},null,8,["modelValue"]),s(i,{style:{background:"rgba(209, 91, 127, 0.8)",border:"1px solid rgba(209, 91, 127, 1)",width:"100%"},modelValue:a.checked4,"onUpdate:modelValue":e[5]||(e[5]=t=>a.checked4=t),label:"\u5730\u74DC"},null,8,["modelValue"]),s(i,{style:{background:"rgba(212, 236, 89, 0.8)",border:"1px solid rgba(212, 236, 89, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[6]||(e[6]=t=>a.checked3=t),label:"\u82B1\u751F"},null,8,["modelValue"]),s(i,{style:{background:"rgba(50, 211, 235, 0.8)",border:"1px solid rgba(50, 211, 235, 1)",width:"100%"},modelValue:a.checked4,"onUpdate:modelValue":e[7]||(e[7]=t=>a.checked4=t),label:"\u84DD\u8393"},null,8,["modelValue"]),s(i,{style:{background:"rgba(91, 196, 159, 0.8)",border:"1px solid rgba(91, 196, 159, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[8]||(e[8]=t=>a.checked3=t),label:"\u8336\u53F6"},null,8,["modelValue"]),s(i,{style:{background:"rgba(254, 182, 77, 0.8)",border:"1px solid rgba(254, 182, 77, 1)",width:"100%"},modelValue:a.checked4,"onUpdate:modelValue":e[9]||(e[9]=t=>a.checked4=t),label:"\u9A6C\u94C3\u85AF"},null,8,["modelValue"]),s(i,{style:{background:"rgba(250, 129, 109, 0.8)",border:"1px solid rgba(250, 129, 109, 1)",width:"100%"},modelValue:a.checked3,"onUpdate:modelValue":e[10]||(e[10]=t=>a.checked3=t),label:"\u767D\u83DC\u548C\u841D\u535C"},null,8,["modelValue"])]),_:1},8,["modelValue"])])]),o("div",Te,[s(ge)]),Ie])}}},Oe=j(ze,[["__scopeId","data-v-85d900c0"],["__file","/Users/luce/Desktop/\u6570\u5B57\u4E09\u519C/Agriculture-front-end/src/views/crops/classify/index.vue"]]);export{Oe as default};
|