面积
This commit is contained in:
		| @@ -44,4 +44,5 @@ | ||||
|       "vite-plugin-svg-icons": "2.0.1", | ||||
|       "vite-plugin-vue-setup-extend": "0.4.0" | ||||
|     } | ||||
| } | ||||
|   } | ||||
|    | ||||
| @@ -5,19 +5,13 @@ | ||||
|             <div class="leftTop"> | ||||
|                 <div class="title"> | ||||
|                     <span>种植面积时间统计</span> | ||||
|                     <p | ||||
|                         @click=" | ||||
|                             Deta( | ||||
|                     <p @click="Deta( | ||||
|                         'https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianjishijian.xlsx' | ||||
|                     ) | ||||
|                         " | ||||
|                     > | ||||
|                         "> | ||||
|                         下载   | ||||
|  | ||||
|                         <img | ||||
|                             src="@/assets/icons/svg/downloads.svg" | ||||
|                             style="width: 14px; height: 14px; cursor: pointer" | ||||
|                         /> | ||||
|                         <img src="@/assets/icons/svg/downloads.svg" style="width: 14px; height: 14px; cursor: pointer" /> | ||||
|                     </p> | ||||
|                 </div> | ||||
|                 <div ref="areaDiv" class="areaDiv"></div> | ||||
| @@ -26,18 +20,12 @@ | ||||
|             <div class="leftbottom"> | ||||
|                 <div class="title"> | ||||
|                     <span>种植面积统计</span> | ||||
|                     <p | ||||
|                         @click=" | ||||
|                             Deta( | ||||
|                     <p @click="Deta( | ||||
|                             'https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/zhongzhimianji%20.xlsx' | ||||
|                         ) | ||||
|                         " | ||||
|                     > | ||||
|                         "> | ||||
|                         下载   | ||||
|                         <img | ||||
|                             src="@/assets/icons/svg/downloads.svg" | ||||
|                             style="width: 14px; height: 14px; cursor: pointer" | ||||
|                         /> | ||||
|                         <img src="@/assets/icons/svg/downloads.svg" style="width: 14px; height: 14px; cursor: pointer" /> | ||||
|                     </p> | ||||
|                 </div> | ||||
|                 <div ref="typesofDiv" class="typesofDiv"></div> | ||||
| @@ -54,18 +42,12 @@ | ||||
|             <div class="rightTop"> | ||||
|                 <div class="title"> | ||||
|                     <span>作物类型统计-高标准农田</span> | ||||
|                     <p | ||||
|                         @click=" | ||||
|                             Deta( | ||||
|                     <p @click="Deta( | ||||
|                             'https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/81f3b011-7a5d-4a21-88aa-8ea51142e564_%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%87%BA.xlsx' | ||||
|                         ) | ||||
|                         " | ||||
|                     > | ||||
|                         "> | ||||
|                         下载   | ||||
|                         <img | ||||
|                             src="@/assets/icons/svg/downloads.svg" | ||||
|                             style="width: 14px; height: 14px; cursor: pointer" | ||||
|                         /> | ||||
|                         <img src="@/assets/icons/svg/downloads.svg" style="width: 14px; height: 14px; cursor: pointer" /> | ||||
|                     </p> | ||||
|                 </div> | ||||
|                 <div ref="farmlandDiv" class="farmlandDiv"></div> | ||||
| @@ -74,27 +56,17 @@ | ||||
|             <div class="rightbottom"> | ||||
|                 <div class="title"> | ||||
|                     <span>作物类型统计-行政区划</span> | ||||
|                     <p | ||||
|                         @click=" | ||||
|                             Deta( | ||||
|                     <p @click="Deta( | ||||
|                             'https://1912c.oss-cn-beijing.aliyuncs.com/egg-oss-demo/0c0ff4cf-151a-470e-856a-b0fce0fde997_%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%87%BA.xlsx' | ||||
|                         ) | ||||
|                         " | ||||
|                     > | ||||
|                         "> | ||||
|                         下载   | ||||
|                         <img | ||||
|                             src="@/assets/icons/svg/downloads.svg" | ||||
|                             style="width: 14px; height: 14px; cursor: pointer" | ||||
|                         /> | ||||
|                         <img src="@/assets/icons/svg/downloads.svg" style="width: 14px; height: 14px; cursor: pointer" /> | ||||
|                     </p> | ||||
|                 </div> | ||||
|                 <el-select @change="selectTab(item)" v-model="value" clearable placeholder="全部"> | ||||
|                     <el-option | ||||
|                         v-for="item in Township.arr" | ||||
|                         :key="item.properties.XZDM" | ||||
|                         :label="item.properties.XZMC" | ||||
|                         :value="item.properties.XZDM" | ||||
|                     /> | ||||
|                     <el-option v-for="item in Township.arr" :key="item.properties.XZDM" :label="item.properties.XZMC" | ||||
|                         :value="item.properties.XZDM" /> | ||||
|                 </el-select> | ||||
|                 <div ref="ASdivisionDiv" class="ASdivision"></div> | ||||
|             </div> | ||||
| @@ -103,78 +75,42 @@ | ||||
|             <p>图例</p> | ||||
|             <div class="mt-4"> | ||||
|                 <el-checkbox-group @change="change()" v-model="checkedCities"> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(102, 142, 214, 0.8); | ||||
|                             border: 1px solid rgba(102, 142, 214, 1); | ||||
|                         " | ||||
|                         label="小麦" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="小麦" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(255, 225, 104, 0.8); | ||||
|                             border: 1px solid rgba(255, 225, 104, 1); | ||||
|                         " | ||||
|                         label="玉米" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="玉米" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(156, 220, 130, 0.8); | ||||
|                             border: 1px solid rgba(156, 220, 130, 1); | ||||
|                         " | ||||
|                         label="大豆" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="大豆" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(209, 91, 127, 0.8); | ||||
|                             border: 1px solid rgba(209, 91, 127, 1); | ||||
|                         " | ||||
|                         label="地瓜" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="地瓜" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(212, 236, 89, 0.8); | ||||
|                             border: 1px solid rgba(212, 236, 89, 1); | ||||
|                         " | ||||
|                         label="花生" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="花生" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(50, 211, 235, 0.8); | ||||
|                             border: 1px solid rgba(50, 211, 235, 1); | ||||
|                         " | ||||
|                         label="蓝莓" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="蓝莓" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(91, 196, 159, 0.8); | ||||
|                             border: 1px solid rgba(91, 196, 159, 1); | ||||
|                         " | ||||
|                         label="茶叶" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="茶叶" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(254, 182, 77, 0.8); | ||||
|                             border: 1px solid rgba(254, 182, 77, 1); | ||||
|                         " | ||||
|                         label="马铃薯" | ||||
|                     /> | ||||
|                     <el-checkbox | ||||
|                         checked | ||||
|                         style=" | ||||
|                         " label="马铃薯" /> | ||||
|                     <el-checkbox checked style=" | ||||
|                             background: rgba(250, 129, 109, 0.8); | ||||
|                             border: 1px solid rgba(250, 129, 109, 1); | ||||
|                         " | ||||
|                         label="白菜和萝卜" | ||||
|                     /> | ||||
|                         " label="白菜和萝卜" /> | ||||
|                 </el-checkbox-group> | ||||
|             </div> | ||||
|         </div> | ||||
| @@ -198,7 +134,7 @@ | ||||
| </template> | ||||
|  | ||||
| <script setup> | ||||
| import { ref, onMounted, inject, reactive } from 'vue'; | ||||
| import { ref, onMounted, inject, reactive, watch } from 'vue'; | ||||
| import * as echarts from 'echarts'; | ||||
| import TimeLine from '@/components/TimeLine/TimeLine.vue'; | ||||
| import { useEcharts } from '@/hooks/useEcharts'; | ||||
| @@ -230,7 +166,9 @@ let dic = { | ||||
|     白菜和萝卜: 'rgba(250, 129, 109, 0.8)', | ||||
|     其他: 'rgba(250, 129, 109, 0.8)', | ||||
| }; | ||||
|  | ||||
| watch(() => Township.arr, (val) => { | ||||
|     console.log('val:', val) | ||||
| }) | ||||
| //行政区划数据 | ||||
| var data = { | ||||
|     title: [], | ||||
| @@ -386,47 +324,8 @@ function initMap() { | ||||
|         duration: 2, | ||||
|     }); | ||||
|  | ||||
|         var handler = new Cesium.ScreenSpaceEventHandler(viewer.canvas); | ||||
|         handler.setInputAction(function (movement) { | ||||
|             var ray = viewer.camera.getPickRay(movement.position); | ||||
|             var cartesian = viewer.scene.globe.pick(ray, viewer.scene); | ||||
|             if (cartesian) { | ||||
|                 let cartographic = Cesium.Cartographic.fromCartesian(cartesian); | ||||
|                 if (cartographic) { | ||||
|                     let xy = new Cesium.Cartesian2(); | ||||
|                     let alti = viewer.camera.positionCartographic.height; | ||||
|                     let level = getLevel(alti); | ||||
|                     const layers = viewer.imageryLayers._layers; | ||||
|                     console.log(layers); | ||||
|                     const providerPoint = layers[layers.length - 1]; | ||||
|                     // 拿取最后一个图层 | ||||
|                     let provider = providerPoint._imageryProvider; | ||||
|                     if ( | ||||
|                         provider && | ||||
|                         provider.ready && | ||||
|                         provider._layers && | ||||
|                         providerPoint.show === true | ||||
|                     ) { | ||||
|                         xy = provider.tilingScheme.positionToTileXY(cartographic, level, xy); | ||||
|                         let promise = provider.pickFeatures( | ||||
|                             xy.x, | ||||
|                             xy.y, | ||||
|                             level, | ||||
|                             cartographic.longitude, | ||||
|                             cartographic.latitude | ||||
|                         ); | ||||
|                         if (promise) { | ||||
|                             promise.then(data => { | ||||
|                                 if (data.length > 0) { | ||||
|                                 } | ||||
|                             }); | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         }, Cesium.ScreenSpaceEventType.LEFT_CLICK); | ||||
|  | ||||
|  | ||||
|     // 图层点击事件 | ||||
|     layerClick() | ||||
|  | ||||
|     //加载黄岛区村级地图服务 | ||||
|     // Cesium.GeoJsonDataSource.load( | ||||
| @@ -534,6 +433,9 @@ function initMap() { | ||||
|     // ); | ||||
| } | ||||
|  | ||||
| // data数据数组 | ||||
| // name实体名称,方便以后删除 | ||||
| // color实体颜色 | ||||
| function addBoundaryHandle(data, name, color) { | ||||
|     data.forEach(item => { | ||||
|         let arr = []; | ||||
| @@ -602,6 +504,124 @@ function getLevel(height) { | ||||
|     } | ||||
| } | ||||
|  | ||||
| let XZDM = '' | ||||
| // 图层点击事件 | ||||
| function layerClick() { | ||||
|     var handler = new Cesium.ScreenSpaceEventHandler(viewer.canvas); | ||||
|     handler.setInputAction(function (movement) { | ||||
|         var ray = viewer.camera.getPickRay(movement.position); | ||||
|         var cartesian = viewer.scene.globe.pick(ray, viewer.scene); | ||||
|         if (cartesian) { | ||||
|             let cartographic = Cesium.Cartographic.fromCartesian(cartesian); | ||||
|             if (cartographic) { | ||||
|                 let xy = new Cesium.Cartesian2(); | ||||
|                 let alti = viewer.camera.positionCartographic.height; | ||||
|                 let level = getLevel(alti); | ||||
|                 const layers = viewer.imageryLayers._layers; | ||||
|                 console.log('layers:', layers); | ||||
|                 const index = layers.findIndex(item => item._imageryProvider._layers && item._imageryProvider._layers === 'shuzisannong:huangdaoqu_town') | ||||
|                 if (index > -1) { | ||||
|                     const providerPoint = layers[index]; | ||||
|                     // 拿取最后一个图层 | ||||
|                     let provider = providerPoint._imageryProvider; | ||||
|                     if (provider && provider.ready && provider._layers && providerPoint.show === true) { | ||||
|                         xy = provider.tilingScheme.positionToTileXY(cartographic, level, xy); | ||||
|                         let promise = provider.pickFeatures(xy.x, xy.y, level, cartographic.longitude, cartographic.latitude); | ||||
|                         if (promise) { | ||||
|                             promise.then(data => { | ||||
|                                 if (data.length > 0) { | ||||
|                                     console.log('data:', data) | ||||
|                                     let newData = data['0'] | ||||
|                                     if (newData.properties && newData.properties.XZDM) { | ||||
|                                         if (XZDM !== newData.properties.XZDM) {//防止 | ||||
|                                             XZDM = newData.properties.XZDM | ||||
|                                             console.log('111', newData) | ||||
|                                             let item = newData.data | ||||
|                                             // 定位 | ||||
|                                             viewer.camera.flyTo({ | ||||
|                                                 destination: Cesium.Rectangle.fromDegrees(item.bbox[0], item.bbox[1], item.bbox[2], item.bbox[3]), | ||||
|                                                 duration: 2, | ||||
|                                             }); | ||||
|                                             // 移除高亮 | ||||
|                                             deleteEntityByName('townLine') | ||||
|                                             // 高亮边界 | ||||
|                                             addBoundaryHandle(item.geometry.coordinates, 'townLine', 'yellow') | ||||
|                                             // 移除以前的 | ||||
|                                             removeWms(['village_CQL']) | ||||
|                                             // 添加新的 | ||||
|                                             addvillage(`XZDM=${newData.properties.XZDM}`, 'village_CQL') | ||||
|                                         } | ||||
|                                     } else { | ||||
|                                         removeWms(['village_CQL']) | ||||
|                                     } | ||||
|  | ||||
|                                 } | ||||
|                             }); | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     }, Cesium.ScreenSpaceEventType.LEFT_CLICK); | ||||
|  | ||||
| } | ||||
| // 添加村 | ||||
| // CQL_FILTER:筛选的语句 | ||||
| // customName地图服务自定义属性名 | ||||
| function addvillage(CQL_FILTER, customName) { | ||||
|     console.log('222') | ||||
|     let map2 = new Cesium.WebMapServiceImageryProvider({ | ||||
|         url: `http://121.36.229.60:9080/geoserver/shuzisannong/wms`, | ||||
|         layers: 'shuzisannong:huangdaoqu_village', //图层名 | ||||
|         parameters: { | ||||
|             service: 'WMS', | ||||
|             format: 'image/png', | ||||
|             transparent: true, //是否透明 | ||||
|             // CQL_FILTER: `XZDM=${value.value}`, | ||||
|             CQL_FILTER: CQL_FILTER | ||||
|         }, | ||||
|     }); | ||||
|     map2.customName = customName; | ||||
|     viewer.imageryLayers.addImageryProvider(map2); | ||||
| } | ||||
| // 移除wms | ||||
| // nameArry :属性名数组(customName) | ||||
| // isMohu :是否模糊查询 | ||||
| function removeWms(nameArry, isMohu) { | ||||
|     if (viewer) { | ||||
|         // 倒叙遍历,customName是自定义的属性 | ||||
|         const layers = viewer.imageryLayers._layers | ||||
|         for (let f = layers.length - 1; f >= 0; f--) { | ||||
|             nameArry.forEach(item => { | ||||
|                 if (layers[f]._imageryProvider && layers[f]._imageryProvider.customName) { | ||||
|                     if (isMohu) { | ||||
|                         if (layers[f]._imageryProvider.customName.indexOf(item) > -1) { | ||||
|                             viewer.imageryLayers.remove(layers[f]) | ||||
|                         } | ||||
|                     } else { | ||||
|                         if (layers[f]._imageryProvider.customName === item) { | ||||
|                             viewer.imageryLayers.remove(layers[f]) | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|             }) | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
| // 根据实体名字删除实体(模糊删除) | ||||
| function deleteEntityByName(name) { | ||||
|     if (viewer) { | ||||
|         let entitys = viewer.entities._entities._array; | ||||
|         for (var na = entitys.length - 1; na >= 0; na--) { | ||||
|             if (entitys[na]._name && entitys[na]._name === name) { | ||||
|                 viewer.entities.remove(entitys[na]); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
| /*------------------接口--------------------*/ | ||||
| const getArea = () => { | ||||
| @@ -665,6 +685,7 @@ const selectTab = () => { | ||||
|         getTownships(); | ||||
|     } | ||||
|     let arr = [...Township.arr]; | ||||
|     console.log('arr:', arr) | ||||
|     arr.forEach(item => { | ||||
|         if (item.properties.XZDM == value.value) { | ||||
|             viewer.camera.flyTo({ | ||||
| @@ -689,24 +710,20 @@ const selectTab = () => { | ||||
|         data.title = [...Object.values(brr)]; | ||||
|         ASdivision(); | ||||
|     }); | ||||
|     const layers = viewer.imageryLayers._layers; | ||||
|     for (let f = layers.length - 1; f >= 0; f--) { | ||||
|         if (layers[f]._imageryProvider.aaa === 'aaa') { | ||||
|             viewer.imageryLayers.remove(layers[f]); | ||||
|  | ||||
|     let town = [...Township.arr] | ||||
|     const townData = town.find(item => item.properties.XZDM === value.value) | ||||
|     if (townData) { | ||||
|         // 移除镇高亮 | ||||
|         deleteEntityByName('townLine') | ||||
|         // 高亮镇边界 | ||||
|         addBoundaryHandle(townData.geometry.coordinates, 'townLine', 'yellow') | ||||
|     } | ||||
|     } | ||||
|     let map2 = new Cesium.WebMapServiceImageryProvider({ | ||||
|         url: `http://121.36.229.60:9080/geoserver/shuzisannong/wms`, | ||||
|         layers: 'shuzisannong:huangdaoqu_village', //图层名 | ||||
|         parameters: { | ||||
|             service: 'WMS', | ||||
|             format: 'image/png', | ||||
|             transparent: true, //是否透明 | ||||
|             CQL_FILTER: `XZDM=${value.value}`, | ||||
|         }, | ||||
|     }); | ||||
|     map2.aaa = 'aaa'; | ||||
|     viewer.imageryLayers.addImageryProvider(map2); | ||||
|     // 移除以前村 | ||||
|     removeWms(['aaa']) | ||||
|     // 添加村 | ||||
|     addvillage(`XZDM=${value.value}`, 'aaa') | ||||
|  | ||||
| }; | ||||
|  | ||||
| //下载 | ||||
| @@ -1310,7 +1327,6 @@ function ProgressBar() { | ||||
|     // option && ProgressBarDivIntance.setOption(option); | ||||
|     useEcharts(ProgressBarDivIntance, option); | ||||
| } | ||||
|  | ||||
| function ASdivision() { | ||||
|     const ASdivisionDivIntance = echarts.init(ASdivisionDiv.value); | ||||
|     var option = { | ||||
| @@ -1546,6 +1562,7 @@ function ASdivision() { | ||||
|     // option && ASdivisionDivIntance.setOption(option, true); | ||||
|     useEcharts(ASdivisionDivIntance, option); | ||||
| } | ||||
|  | ||||
| /*--------------------------------------------------------------------------------------------*/ | ||||
|  | ||||
| /*------------------------------------------柱状图--------------------------------------------*/ | ||||
| @@ -1782,14 +1799,17 @@ function ASdivision() { | ||||
| // function random(min, max) { | ||||
| //     return Math.floor(Math.random() * (max - min)) + min; | ||||
| // } | ||||
|  | ||||
| /*-------------------------------------------------------------------------------------------*/ | ||||
| </script> | ||||
|  | ||||
| <style lang="scss" scoped> | ||||
| $height: calc(100vh - 100px); | ||||
|  | ||||
| .center { | ||||
|     width: 100%; | ||||
|     height: 100%; | ||||
|  | ||||
|     .title { | ||||
|         width: 100%; | ||||
|         height: 45px; | ||||
| @@ -1803,22 +1823,22 @@ $height: calc(100vh - 100px); | ||||
|         cursor: pointer; | ||||
|         align-items: center; | ||||
|         justify-content: space-between; | ||||
|  | ||||
|         span { | ||||
|             width: 80%; | ||||
|             white-space: nowrap; | ||||
|             text-overflow: ellipsis; | ||||
|             overflow: hidden; | ||||
|         } | ||||
|  | ||||
|         p { | ||||
|             width: 79px; | ||||
|             height: 25px; | ||||
|             border-radius: 20px; | ||||
|             font-size: 14px; | ||||
|             background: linear-gradient( | ||||
|                 180deg, | ||||
|             background: linear-gradient(180deg, | ||||
|                     rgba(16, 111, 111, 1) 0%, | ||||
|                 rgba(47, 214, 214, 1) 100% | ||||
|             ); | ||||
|                     rgba(47, 214, 214, 1) 100%); | ||||
|             border: 1.5px solid rgba(23, 194, 180, 1); | ||||
|             display: flex; | ||||
|             justify-content: center; | ||||
| @@ -1839,6 +1859,7 @@ $height: calc(100vh - 100px); | ||||
|         max-width: calc(100% - 20px); | ||||
|         display: flex; | ||||
|         flex-direction: column; | ||||
|  | ||||
|         .areaDiv { | ||||
|             width: 100%; | ||||
|             height: 327px; | ||||
| @@ -1846,12 +1867,14 @@ $height: calc(100vh - 100px); | ||||
|             display: flex; | ||||
|             padding: 1px; | ||||
|         } | ||||
|  | ||||
|         .ProgressBar { | ||||
|             width: 100%; | ||||
|             height: 9px; | ||||
|             opacity: 1; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     .leftbottom { | ||||
|         width: 100%; | ||||
|         height: 455px; | ||||
| @@ -1861,15 +1884,18 @@ $height: calc(100vh - 100px); | ||||
|         justify-content: flex-start; | ||||
|         align-items: center; | ||||
|         padding-top: 13px; | ||||
|  | ||||
|         .typesofDiv { | ||||
|             width: 100%; | ||||
|             height: 200px; | ||||
|         } | ||||
|  | ||||
|         .tableDiv { | ||||
|             background: rgba(255, 255, 255, 0.05); | ||||
|             display: flex; | ||||
|             justify-content: center; | ||||
|             width: 85%; | ||||
|  | ||||
|             :deep(.ones) { | ||||
|                 width: 100%; | ||||
|                 height: 171; | ||||
| @@ -1900,6 +1926,7 @@ $height: calc(100vh - 100px); | ||||
|     flex-direction: column; | ||||
|     align-items: center; | ||||
|     background: rgba(2, 31, 26, 0.3); | ||||
|  | ||||
|     .rightTop { | ||||
|         width: 100%; | ||||
|         height: 40%; | ||||
| @@ -1908,17 +1935,20 @@ $height: calc(100vh - 100px); | ||||
|         flex-direction: column; | ||||
|         justify-content: flex-start; | ||||
|         align-items: center; | ||||
|  | ||||
|         .farmlandDiv { | ||||
|             width: 100%; | ||||
|             height: 340px; | ||||
|             opacity: 1; | ||||
|         } | ||||
|  | ||||
|         .ProgressBar { | ||||
|             width: 100%; | ||||
|             height: 9px; | ||||
|             opacity: 1; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     .rightbottom { | ||||
|         width: 100%; | ||||
|         height: 490px; | ||||
| @@ -1935,13 +1965,16 @@ $height: calc(100vh - 100px); | ||||
|             background: rgba(22, 94, 102, 1); | ||||
|             border: 1px solid rgba(4, 153, 153, 1) !important; | ||||
|             margin-top: 20px; | ||||
|  | ||||
|             :deep(.el-input__wrapper) { | ||||
|                 background-color: transparent; | ||||
|             } | ||||
|  | ||||
|             :deep(.el-input__inner) { | ||||
|                 color: rgba(255, 255, 255, 0.7); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         .ASdivision { | ||||
|             width: 415px; | ||||
|             height: 368px; | ||||
| @@ -1964,6 +1997,7 @@ $height: calc(100vh - 100px); | ||||
|     justify-content: flex-start; | ||||
|     align-items: center; | ||||
|     padding: 10px 10px 10px 10px; | ||||
|  | ||||
|     p { | ||||
|         margin: 10px; | ||||
|         font-size: 14px; | ||||
| @@ -1973,6 +2007,7 @@ $height: calc(100vh - 100px); | ||||
|         color: rgba(255, 255, 255, 1); | ||||
|         text-align: center; | ||||
|     } | ||||
|  | ||||
|     .mt-4 { | ||||
|         .el-checkbox { | ||||
|             height: 30px; | ||||
| @@ -1987,6 +2022,7 @@ $height: calc(100vh - 100px); | ||||
|             text-align: left; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     :deep(.el-checkbox__label) { | ||||
|         color: rgba(255, 255, 255, 1); | ||||
|     } | ||||
| @@ -2004,6 +2040,7 @@ $height: calc(100vh - 100px); | ||||
|     background: rgba(2, 31, 26, 0.6); | ||||
|     border: 1px solid rgba(4, 153, 153, 1); | ||||
| } | ||||
|  | ||||
| .tool { | ||||
|     position: absolute; | ||||
|     right: 30%; | ||||
| @@ -2016,6 +2053,7 @@ $height: calc(100vh - 100px); | ||||
|     justify-content: flex-start; | ||||
|     align-items: flex-start; | ||||
| } | ||||
|  | ||||
| #popup { | ||||
|     border-radius: 5px; | ||||
|     background: rgba(2, 31, 26, 0.6); | ||||
| @@ -2024,7 +2062,7 @@ $height: calc(100vh - 100px); | ||||
|     // align-items: flex-end; | ||||
|     padding: 30px 8px 20px 8px; | ||||
|  | ||||
|     & > div:nth-child(1) { | ||||
|     &>div:nth-child(1) { | ||||
|         font-weight: 400; | ||||
|         letter-spacing: 0px; | ||||
|         color: rgba(255, 255, 255, 1); | ||||
| @@ -2032,7 +2070,7 @@ $height: calc(100vh - 100px); | ||||
|         line-height: 24px; | ||||
|     } | ||||
|  | ||||
|     & > div:nth-child(2) { | ||||
|     &>div:nth-child(2) { | ||||
|         color: rgba(255, 255, 255, 1); | ||||
|         width: 129px; | ||||
|         height: 24px; | ||||
| @@ -2054,6 +2092,6 @@ $height: calc(100vh - 100px); | ||||
|         cursor: pointer; | ||||
|     } | ||||
| } | ||||
| :deep(.el-select__popper.el-popper) { | ||||
| } | ||||
|  | ||||
| :deep(.el-select__popper.el-popper) {} | ||||
| </style> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user