Agriculture-front-end/dist/assets/index.85bd6bfb.js

2 lines
12 KiB
JavaScript
Raw Normal View History

2023-04-23 09:41:12 +08:00
import{_ as A,r,z as O,d as p,o as S,c as k,l,e as o,w as U,F as J,A as P,p as G,q as R,m as _}from"./index.b3c890dc.js";import V from"./downloads.e955445d.js";import{i as c,L as u}from"./index.b2678f26.js";import{u as b,T as N}from"./useEcharts.5be8131e.js";const n=m=>(G("data-v-b301384e"),m=m(),R(),m),E={class:"center"},Y=n(()=>l("div",{style:{width:"100%",height:"100%"},id:"cesiumContainer"},null,-1)),Q={class:"leftWra"},Z={class:"leftTop"},q=n(()=>l("div",{class:"title"},[l("span",null,"\u4F5C\u7269\u5206\u7C7B\u9762\u79EF\u7EDF\u8BA1")],-1)),j={class:"leftbottom"},F=n(()=>l("div",{class:"title"},[l("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1")],-1)),X={class:"rightWra"},H={class:"rightTop"},K=n(()=>l("div",{class:"title"},[l("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u9AD8\u6807\u51C6\u519C\u7530"),l("p",null,[_(" \u4E0B\u8F7D \xA0 "),l("img",{src:V,style:{width:"14px",height:"14px",cursor:"pointer"}})])],-1)),$={class:"rightbottom"},ee=n(()=>l("div",{class:"title"},[l("span",null,"\u4F5C\u7269\u7C7B\u578B\u7EDF\u8BA1-\u884C\u653F\u533A\u5212"),l("p",null,[_(" \u4E0B\u8F7D \xA0 "),l("img",{src:V,style:{width:"14px",height:"14px",cursor:"pointer"}})])],-1)),te={class:"legend"},le=n(()=>l("p",null,"\u56FE\u4F8B",-1)),ae={class:"mt-4"},oe={class:"bottom_center"},ie={__name:"index",setup(m){let f=r(null);const g=r(null),h=r(null),y=r(null),v=r(null),x=r(null),w=r("");r(null);var s={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]};const L=[{value:"Option1",label:"Option1"},{value:"Option2",label:"Option2"}];O(()=>{T(),D(),M(),I(),z(),W(),document.querySelector(".headers")});const C={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 T(){f=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({...C})}),f.camera.flyTo({destination:new Cesium.Cartesian3.fromDegrees(104.9,36.35,8e6),duration:0},{offset:{heading:Cesium.Math.toRadians(0),pitch:Cesium.Math.toRadians(-25)}})}function D(){const t=c(g.value);var e={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:"15%",right:"3%",left:"16%",bottom:"12%"},xAxis:[{type:"category",data:["\u5C0F\u9EA6","\u7389\u7C73","\u5927\u8C46","\u82B1\u751F","\u84DD\u8393"],axisLine:{lineStyle:{color:"#C0C4CC",width:1}},axisTick:{show:!1},axisLabel:{margin:10,color:"rgba(255, 255, 255, 0.7)",textStyle:{fontSize:14}}}],yAxis:[{axisLabel:{formatter:"{value}",color:"rgba(255, 255, 255, 0.7)"},axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(192,196,204,1)",type:"dashed"}},name:"\u9762\u79EF(\u4EA9)"}],series:[{name:"\u9762\u79EF",type:"bar",data:[3598,1235,2354,3251,1652],barWidth:"14px",itemStyle:{normal:{color:new u(0,0,0,1,[{offset:0,color:"rgba(71,1