| <template> | 
|   <v-scale-screen width="1920" height="960"> | 
|     <div class="main_app"> | 
|       <img src="@/assets/images/LogisticsCenter/bg@2x.png" class="main_bg" alt="" /> | 
|       <div class="main_header"> | 
|         <img src="@/assets/images/maintitle.gif" class="main_header_bg" alt="" /> | 
|         <div class="title">全省物流在途</div> | 
|         <div class="time_wrap"> | 
|           <span class="date">{{ date }}</span> | 
|           <span class="week">{{ week }}</span> | 
|           <span class="time">{{ time }}</span> | 
|         </div> | 
|       </div> | 
|       <div class="main_content"> | 
|         <div class="left_box"> | 
|           <div class="com_header"> | 
|             <div class="title"> | 
|               <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> | 
|               <div>订单在途跟踪</div> | 
|             </div> | 
|             <img src="@/assets/images/title@2x.png" class="bg" alt="" /> | 
|           </div> | 
|           <div class="left_box_one"> | 
|             <div class="second_title"> | 
|               <div class="title"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> | 
|                 <div>本年累计出库量</div> | 
|               </div> | 
|             </div> | 
|             <div class="content_wrap"> | 
|               <div class="num_wrap"> | 
|                 <div class="num_list" v-if="cneterData.yearOutTotal"> | 
|                   <div class="num" v-for="i in cneterData.yearOutTotal + ''"> | 
|                     {{ i }} | 
|                     <img class="bg" src="@/assets/images/LogisticsCenter/bg_number@2x.png" alt=""> | 
|                   </div> | 
|                 </div> | 
|                 <div class="content"> | 
|                   <div class="unit_wrap"> | 
|                     <span class="la">同比</span> | 
|                     <img src="@/assets/images/ic_up.png" class="icon" alt=""> | 
|                     <span v-if="cneterData.yearOutTotalOnYear || cneterData.yearOutTotalOnYear == 0">{{ | 
|                       cneterData.yearOutTotalOnYear }} %</span> | 
|                     <span class="la" style="margin-left: 30px;margin-right: 10px;">累计出库车次</span> | 
|                     <span>{{ cneterData.yearOutTimes || '' }}</span> | 
|                   </div> | 
|   | 
|                 </div> | 
|               </div> | 
|               <div class="echart_wrap"> | 
|                 <div class="echart1" id="echart1"></div> | 
|                 <div class="list"> | 
|                   <div class="item" v-for="item, i in StockOutData" :key="i"> | 
|                     <div :style="{ background: colors[i] }" class="icon"></div> | 
|                     <div class="text">{{ item.name }}</div> | 
|                     <div class="num">{{ item.value }}</div> | 
|                   </div> | 
|                 </div> | 
|               </div> | 
|             </div> | 
|           </div> | 
|           <div class="left_box_two"> | 
|             <div class="second_title"> | 
|               <div class="title"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> | 
|                 <div>近7日到货情况</div> | 
|               </div> | 
|             </div> | 
|             <div class="energy_wrap"> | 
|               <div class="energyRef"></div> | 
|             </div> | 
|           </div> | 
|           <div class="left_box_three"> | 
|             <div class="second_title"> | 
|               <div class="title"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> | 
|                 <div>当前运输任务</div> | 
|               </div> | 
|               <div class="search_wrap"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_search@2x.png" alt=""> | 
|                 <input class="input" type="text" placeholder="订单查询" @keyup.enter="getData2" @blur="getData2" | 
|                   v-model="taskCode"> | 
|                 <!-- <span>订单查询</span> --> | 
|               </div> | 
|             </div> | 
|             <div class="list_wrap"> | 
|               <div class="header line"> | 
|                 <span class="item">运输车辆</span> | 
|                 <span class="item">状态</span> | 
|                 <span class="item">位置</span> | 
|                 <span class="item">任务下达时间</span> | 
|               </div> | 
|               <div class="one-swiper list"> | 
|                 <div class="swiper-wrapper"> | 
|                   <div class="line one-swiper-slide swiper-slide item" @click="taskClick(item)" | 
|                     v-for="(item, i) in transportTask" :key="i"> | 
|                     <span class="item">{{ item.carNo }}</span> | 
|                     <span class="item">{{ item.statusStr }}</span> | 
|                     <span class="item">{{ item.address }}</span> | 
|                     <span class="item">{{ item.taskDate }}</span> | 
|                   </div> | 
|                 </div> | 
|               </div> | 
|   | 
|             </div> | 
|           </div> | 
|         </div> | 
|         <div class="center_box"> | 
|           <div class="center_box_one"> | 
|             <div class="header_wrap"> | 
|               <div class="left"> | 
|                 <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> | 
|                 <span>出库能力</span> | 
|               </div> | 
|               <div class="right"> | 
|                 <img @click="showPro = !showPro" src="@/assets/images/LogisticsCenter/position.png" class="posi" alt=""> | 
|                 <span @click="showPro = !showPro">{{ activeCity.name }}</span> | 
|                 <img @click="showPro = !showPro" src="@/assets/images/LogisticsCenter/bottom.png" class="icon" alt=""> | 
|                 <div v-if="showPro" class="select_op"> | 
|                   <div class="line" @click="cityClick(item)" v-for="item in cityList">{{ item.name }}</div> | 
|                 </div> | 
|               </div> | 
|             </div> | 
|             <div class="static_wrap"> | 
|               <div class="item"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_jinrijihua@2x.png" alt=""> | 
|                 <div class="content"> | 
|                   <div class="name">今日计划量</div> | 
|                   <div class="num"><span>{{ cneterData.outPlanTotal }}</span>万支</div> | 
|                   <div class="unit">车次:{{ cneterData.outPlanTimes }}</div> | 
|                 </div> | 
|               </div> | 
|               <div class="item"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_jinrichuku@2x.png" alt=""> | 
|                 <div class="content"> | 
|                   <div class="name">今日出库量</div> | 
|                   <div class="num"><span class="today">{{ cneterData.outTotal }}</span>万支</div> | 
|                   <div class="unit">车次:{{ cneterData.outTimes }}</div> | 
|                 </div> | 
|               </div> | 
|               <div class="item"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_jinriweichu@2x.png" alt=""> | 
|                 <div class="content"> | 
|                   <div class="name">今日未出库量</div> | 
|                   <div class="num" v-if="cneterData.outPlanTotal && cneterData.outTotal"><span class="finish">{{ | 
|                     cneterData.outPlanTotal - cneterData.outTotal }}</span>万支</div> | 
|                   <div class="unit" v-if="cneterData.outPlanTotal && cneterData.outTotal">车次:{{ cneterData.outPlanTimes | 
|                     - | 
|                     cneterData.outTimes }}</div> | 
|                 </div> | 
|               </div> | 
|             </div> | 
|             <div class="footer"> | 
|               <span>占出库能力</span> | 
|               <span class="num">80%</span> | 
|             </div> | 
|           </div> | 
|           <div class="center_box_two"> | 
|             <div class="echart_map" ref="mapEchart" id="echart_map"></div> | 
|           </div> | 
|         </div> | 
|         <div class="right_box"> | 
|           <div class="com_header"> | 
|             <div class="title"> | 
|               <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> | 
|               <div>仓储一库制</div> | 
|             </div> | 
|             <img src="@/assets/images/title@2x.png" class="bg" alt="" /> | 
|           </div> | 
|           <div class="right_box_one"> | 
|             <div class="second_title"> | 
|               <div class="title"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> | 
|                 <div>本年累计入库量</div> | 
|               </div> | 
|             </div> | 
|             <div class="content_wrap"> | 
|               <div class="num_wrap"> | 
|                 <div class="num_list" v-if="cneterData.yearInTotal"> | 
|                   <div class="num" v-for="i in cneterData.yearInTotal + ''"> | 
|                     {{ i }} | 
|                     <img class="bg" src="@/assets/images/LogisticsCenter/bg_number@2x.png" alt=""> | 
|                   </div> | 
|                 </div> | 
|                 <div class="content"> | 
|                   <div class="unit_wrap"> | 
|                     <span class="la">同比</span> | 
|                     <img src="@/assets/images/ic_up.png" class="icon" alt=""> | 
|                     <span>{{ cneterData.yearInTotalOnYear }}%</span> | 
|                     <span class="la" style="margin-left: 30px;margin-right: 10px;">累计出库车次</span> | 
|                     <span>{{ cneterData.yearInTimes }}</span> | 
|                   </div> | 
|   | 
|                 </div> | 
|               </div> | 
|               <div class="static_wrap"> | 
|                 <div class="echart_wrap"> | 
|                   <div class="echart3" id="echart3"></div> | 
|                   <div class="pie_text"> | 
|                     <div class="fs30">{{ cneterData.PlanTotal || 30 }}%</div> | 
|                   </div> | 
|                 </div> | 
|                 <div class="text">计划完成量</div> | 
|               </div> | 
|             </div> | 
|           </div> | 
|           <div class="right_box_two"> | 
|             <div class="second_title"> | 
|               <div class="title"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> | 
|                 <div>进销存运营</div> | 
|               </div> | 
|               <div class="tabs"> | 
|                 <div :class="{ active: activeTabs == 0 }" class="tab" @click="tabsClick4(0)">7天</div> | 
|                 <div class="separate"></div> | 
|                 <div :class="{ active: activeTabs == 1 }" class="tab" @click="tabsClick4(1)">30天</div> | 
|                 <div class="separate"></div> | 
|                 <div :class="{ active: activeTabs == 2 }" class="tab" @click="tabsClick4(2)">1年</div> | 
|               </div> | 
|             </div> | 
|             <div class="echart4_wrap"> | 
|               <div class="echart4" id="echart4"></div> | 
|             </div> | 
|           </div> | 
|           <div class="right_box_three"> | 
|             <div class="second_title"> | 
|               <div class="title"> | 
|                 <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" class="icon" alt="" /> | 
|                 <div>库存利用率</div> | 
|               </div> | 
|             </div> | 
|             <div class="echart5_wrap"> | 
|               <div class="echart5" id="echart5"></div> | 
|             </div> | 
|           </div> | 
|         </div> | 
|       </div> | 
|       <!--  --> | 
|       <div class="modal_wrap" v-if="showModal"> | 
|         <div class="title_head"> | 
|           <img src="@/assets/images/energy_ef/chuku_ic_car@2x.png" alt=""> | 
|           <span>皖a222</span> | 
|         </div> | 
|         <div class="info"> | 
|           <div class="item"> | 
|             <div class="dian"></div> | 
|             <div class="la">运输单号:</div> | 
|             <div class="val">471342</div> | 
|           </div> | 
|           <div class="item"> | 
|             <div class="dian"></div> | 
|             <div class="la">司机信息:</div> | 
|             <div class="val">孙文武 17493932936</div> | 
|           </div> | 
|           <div class="item"> | 
|             <div class="dian"></div> | 
|             <div class="la">总运输量:</div> | 
|             <div class="val">22万支</div> | 
|           </div> | 
|           <div class="item"> | 
|             <div class="dian"></div> | 
|             <div class="la">当前位置:</div> | 
|             <div class="val">安徽省合肥市包河区繁华大道123米处</div> | 
|           </div> | 
|         </div> | 
|         <div class="tabs"> | 
|           <div :class="{ active: modalTab == 0 }" @click="modalTabClick(0)" class="tab">合同1:1231231</div> | 
|           <div :class="{ active: modalTab == 1 }" @click="modalTabClick(1)" class="tab">合同2:1231231</div> | 
|         </div> | 
|         <div class="ht_info"> | 
|           <div class="item"> | 
|             <div class="la">发货仓库:</div> | 
|             <div class="val">芜湖成品</div> | 
|           </div> | 
|           <div class="item"> | 
|             <div class="la">预计到达:</div> | 
|             <div class="val">2024-12-04 14:00</div> | 
|           </div> | 
|           <div class="item"> | 
|             <div class="la">到货地点:</div> | 
|             <div class="val">江门烟草物流配送中心</div> | 
|           </div> | 
|           <div class="item"> | 
|             <div class="la">运输量:</div> | 
|             <div class="val">300万支</div> | 
|           </div> | 
|         </div> | 
|         <div class="tab1"> | 
|           <div class="title"> | 
|             <img src="@/assets/images/LogisticsCenter/ic_title@2x.png" alt=""> | 
|             <span>物流信息</span> | 
|           </div> | 
|           <div class="item" v-for="item, i in 3"> | 
|             <div class="icon_wrap"> | 
|               <img v-if="i !== 0" class="dian" src="@/assets/images/ic_dangqian@2x.png" alt=""> | 
|               <img v-else src="@/assets/images/ic_jindu@2x.png" class="dian_ac" alt=""> | 
|               <div class="line"></div> | 
|             </div> | 
|             <div class="content"> | 
|               <div class="status">车辆启运-电子锁气运</div> | 
|               <div class="time">2024-04-02 12:00</div> | 
|             </div> | 
|           </div> | 
|         </div> | 
|       </div> | 
|       <div class="modal_mask" v-if="showModal" @click="showModal = false"></div> | 
|     </div> | 
|   </v-scale-screen> | 
| </template> | 
|   | 
| <script setup> | 
| import { ref, onMounted, nextTick } from 'vue' | 
| import VScaleScreen from 'v-scale-screen' | 
| import Percent from '@/components/percent.vue' | 
| import dayjs from 'dayjs' | 
| import * as echarts from 'echarts' | 
| import 'swiper/css/swiper.min.css' | 
| import Swiper from 'swiper' | 
| import chinaJSON from '@/assets/china.json' | 
| import { | 
|   getStoreOperationList, | 
|   getStorearriveGoodsList, | 
|   getStorecenterData, | 
|   getStoreenergyDataList, | 
|   getStorelastMonthOil, | 
|   getStoreTaskList, | 
| } from '@/api' | 
|   | 
| const weekMap = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六',] | 
| const date = ref(dayjs().format('YYYY.MM.DD')) | 
| const week = ref(weekMap[new Date().getDay()]) | 
| const time = ref(dayjs().format('HH:mm:ss')) | 
| setInterval(() => { | 
|   date.value = dayjs().format('YYYY-MM-DD') | 
|   week.value = weekMap[new Date().getDay()] | 
|   time.value = dayjs().format('HH:mm:ss') | 
|   | 
| }, 1000) | 
|   | 
| const initEchart2 = () => { | 
|   const myChart = echarts.init(document.getElementById('echart1')) | 
|   const option = { | 
|     series: [ | 
|       { | 
|         type: 'pie', | 
|         radius: ['86%', '100%'], | 
|         label: { | 
|           show: false, | 
|           position: 'center' | 
|         }, | 
|         padAngle: 5, | 
|         itemStyle: { | 
|           borderRadius: 10 | 
|         }, | 
|         color: colors, | 
|         labelLine: { | 
|           show: false | 
|         }, | 
|         data: [ | 
|           { value: 1048, name: 'Search Engine' }, | 
|           { value: 735, name: 'Direct' }, | 
|           { value: 580, name: 'Email' } | 
|         ] | 
|       } | 
|     ] | 
|   } | 
|   myChart.setOption(option) | 
|   window.addEventListener('resize', function () { // 执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
| const initEchart3 = () => { | 
|   const myChart = echarts.init(document.getElementById('echart3')) | 
|   const option = { | 
|     tooltip: { | 
|       trigger: 'item' | 
|     }, | 
|     series: [ | 
|       { | 
|         type: 'pie', | 
|         radius: ['80%', '96%'], | 
|         label: { | 
|           show: false, | 
|           position: 'center' | 
|         }, | 
|         color: ['#72ecc5', '#19373a'], | 
|         labelLine: { | 
|           show: false | 
|         }, | 
|         data: [3, 7] | 
|       } | 
|     ] | 
|   } | 
|   myChart.setOption(option) | 
|   window.addEventListener('resize', function () { // 执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
|   | 
| const mapEchart = ref() | 
| const initMap = () => { | 
|   var myChart = echarts.init(mapEchart.value) | 
|   echarts.registerMap('china', chinaJSON) | 
|   var points = [ | 
|     // 点坐标 | 
|     { value: [117.1582, 36.8701], itemStyle: { color: '#6ae5e0' }, name: '山东', total: 2, bj: 0, yj: 0, yx: 0, tj: 0, dw: 0 }, | 
|     { value: [117.29, 32.0581], itemStyle: { color: '#6ae5e0' }, name: '安徽', total: 2, bj: 0, yj: 0, yx: 0, tj: 0, dw: 0 }, | 
|     { value: [114.3896, 30.6628], itemStyle: { color: '#6ae5e0' }, name: '湖北', total: 5, bj: 0, yj: 0, yx: 5, tj: 0, dw: 0 }, | 
|     { value: [119.5313, 29.8773], itemStyle: { color: '#6ae5e0' }, name: '浙江', total: 10, bj: 0, yj: 0, yx: 10, tj: 0, dw: 0 }, | 
|     { value: [113.12244, 23.009505], itemStyle: { color: '#6ae5e0' }, name: '广东', total: 8, bj: 0, yj: 0, yx: 8, tj: 0, dw: 0 }, | 
|     { value: [103.9526, 30.7617], itemStyle: { color: '#6ae5e0' }, name: '四川', total: 18, bj: 0, yj: 0, yx: 18, tj: 0, dw: 0 } | 
|   ] | 
|   var lineToLf = [ | 
|     { name: '11', coords: [[110.81, 33.40], [116.55, 40.01]], lineStyle: { color: '#c1bb1f' } }, | 
|     { name: '22', coords: [[113.11, 28.40], [116.55, 40.01]], lineStyle: { color: '#6ae5e0' } }, | 
|     { name: '33', coords: [[106.44, 29.50], [116.55, 40.01]], lineStyle: { color: '#6ae5e0' } }, | 
|     { name: '44', coords: [[112.85, 38.95], [116.55, 40.01]], lineStyle: { color: '#6ae5e0' } }, | 
|     { name: '55', coords: [[82.78, 43.27], [116.55, 40.01]], lineStyle: { color: '#6ae5e0' } } | 
|   ] | 
|   const option = { | 
|     backgroundColor: 'transparent', // 设置背景色透明 | 
|     // 必须设置 | 
|     tooltip: { | 
|       show: false | 
|     }, | 
|     // 地图阴影配置 | 
|     geo: { | 
|       map: 'china', | 
|       // 这里必须定义,不然后面series里面不生效 | 
|       tooltip: { | 
|         show: false | 
|       }, | 
|       label: { | 
|         show: false | 
|       }, | 
|       zoom: 1.6, | 
|       silent: true, // 不响应鼠标时间 | 
|       show: true, | 
|       roam: false, // 地图缩放和平移 | 
|       aspectScale: 0.75, // scale 地图的长宽比 | 
|       itemStyle: { | 
|         borderColor: '#2d5f9c', | 
|         borderWidth: 1, | 
|         areaColor: '#2d5f9c', | 
|         shadowColor: 'rgba(1,34,73,0.48)', | 
|         shadowBlur: 10, | 
|         shadowOffsetX: -10, // | 
|         shadowOffsetY: 10 | 
|       }, | 
|       select: { | 
|         disabled: true | 
|       }, | 
|       emphasis: { | 
|         disabled: true, | 
|         areaColor: '#00F1FF' | 
|       }, | 
|       // 地图区域的多边形 图形样式 阴影效果 | 
|       // z值小的图形会被z值大的图形覆盖 | 
|       top: '30.2%', | 
|       left: 'center', | 
|       // 去除南海诸岛阴影 series map里面没有此属性 | 
|       regions: [{ | 
|         name: '南海诸岛', | 
|         selected: false, | 
|         emphasis: { | 
|           disabled: true | 
|         }, | 
|         itemStyle: { | 
|           areaColor: '#00000000', | 
|           borderColor: '#00000000' | 
|         } | 
|       }], | 
|       z: 1 | 
|     }, | 
|     series: [ | 
|       // 地图配置 | 
|       { | 
|         type: 'map', | 
|         map: 'china', | 
|         zoom: 1.6, | 
|         tooltip: { | 
|           show: false | 
|         }, | 
|         label: { | 
|           show: true, // 显示省份名称 | 
|           color: '#fff', | 
|           fontSize: 13, | 
|           shadowColor: '#fff', | 
|           shadowBlur: 10, | 
|           shadowOffsetX: 2, | 
|           shadowOffsetY: 2, | 
|           textBorderColor: '#fff', | 
|           // rotate: 90, | 
|           align: 'center' | 
|         }, | 
|         top: '28%', | 
|         left: 'center', | 
|         aspectScale: 0.75, | 
|         roam: false, // 地图缩放和平移 | 
|         itemStyle: { | 
|           borderColor: '#4278a3', // 省分界线颜色  阴影效果的 | 
|           borderWidth: 1, | 
|           areaColor: '#1d3f71', | 
|           opacity: 1 | 
|         }, | 
|         // 去除选中状态 | 
|         select: { | 
|           disabled: true | 
|         }, | 
|         emphasis: { // 聚焦后颜色 | 
|           disabled: false, // 开启高亮 | 
|           label: { | 
|             align: 'center', | 
|             color: '#04CFF5' | 
|           }, | 
|           itemStyle: { | 
|             color: '#ffffff', | 
|             areaColor: '#3c87b2'// 阴影效果 鼠标移动上去的颜色 | 
|           } | 
|         }, | 
|         z: 2 | 
|       }, | 
|       // 点 | 
|       { | 
|         name: 'companyPoint', | 
|         type: 'effectScatter', | 
|         coordinateSystem: 'geo', | 
|         showEffectOn: 'render', | 
|         // zlevel: 2, // zlevel用于 Canvas 分层 相同的绘制在同一个canvas上 | 
|         rippleEffect: { | 
|           number: 3, // 波纹数量 | 
|           period: 10, // 动画周期 数值越大,波动越慢 | 
|           scale: 3.5, // 动画中波纹的最大缩放比例 | 
|           brushType: 'stroke' // 波纹的绘制方式 stroke fill | 
|         }, | 
|         label: { | 
|           show: false, | 
|           triggerOn: 'click', | 
|           position: 'right', | 
|           formatter: '{b}', | 
|           color: '#97e9e1', | 
|           fontSize: 14 | 
|         }, | 
|         symbol: 'circle', | 
|         symbolSize: 8, | 
|         data: points, | 
|         tooltip: { | 
|           show: true, | 
|           triggerOn: 'click', | 
|           backgroundColor: 'rgba(0,0,0,0)', | 
|           padding: 0, | 
|           borderWidth: 0, | 
|           extraCssText: 'box-shadow: 0 0 0 rgba(0, 0, 0, 0);', // 去除box-shadow阴影 | 
|           formatter: (params) => { | 
|             return `<div class="map-tip-box"> | 
|                         <div class="item-state-con title"> | 
|                           <div class="icon"></div> | 
|                           <span>${params.data.name}</span>   | 
|                         </div> | 
|                         <div class="item-state-con"> | 
|                           <span class="dot bj"></span> | 
|                           <span class="item-state-num"> | 
|                             <span class="text">本月出库量:</span> | 
|                             <span class="num">${params.data.total}万支</span> | 
|                           </span> | 
|                         </div> | 
|                          <div class="item-state-con"> | 
|                           <span class="dot yj"></span> | 
|                           <span class="item-state-num"> | 
|                            <span class="text">本年出库量</span> | 
|                             <span class="num">${params.data.yx}万支</span> | 
|                           </span> | 
|                         </div> | 
|                        </div>` | 
|           } | 
|         }, | 
|         z: 4 | 
|       }, | 
|       // 地图线的动画效果 | 
|       // { | 
|       //   name: 'arrowline', | 
|       //   type: 'lines', | 
|       //   // zlevel: 1, | 
|       //   effect: { | 
|       //     show: true, | 
|       //     period: 3, // 箭头指向速度,值越小速度越快 | 
|       //     trailLength: 0.1, // 特效尾迹长度[0,1]值越大,尾迹越长重 | 
|       //     symbol: 'arrow', // 箭头图标 | 
|       //     symbolSize: 6 // 图标大小 | 
|       //   }, | 
|       //   lineStyle: { | 
|       //     color: '#1DE9B6', | 
|       //     width: 2, // 线条宽度 | 
|       //     opacity: 0.1, // 尾迹线条透明度 | 
|       //     curveness: 0.2 // 尾迹线条曲直度 | 
|       //   }, | 
|       //   data: lineToLf, | 
|       //   z: 3 | 
|       // } | 
|     ] | 
|   } | 
|   myChart.setOption(option) | 
|   window.addEventListener('resize', function () {//执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
| const initEnergy = (list) => { | 
|   var myChart = echarts.init(document.querySelector('.energyRef')) | 
|   // 绘制图表 | 
|   myChart.setOption({ | 
|     tooltip: { | 
|       trigger: 'axis', | 
|       axisPointer: { | 
|         // Use axis to trigger tooltip | 
|         type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow' | 
|       } | 
|     }, | 
|     legend: { | 
|       itemGap: 24, | 
|       // icon: 'circle', | 
|       right: '12px', | 
|       top: '16px', | 
|       itemWidth: 28, | 
|       itemHeight: 14, | 
|       textStyle: { | 
|         color: '#fff', | 
|         borderColor: '#fff' | 
|       }, | 
|     }, | 
|     grid: { | 
|       left: '3%', | 
|       right: '4%', | 
|       bottom: '3%', | 
|       top: '15%', | 
|       containLabel: true | 
|     }, | 
|     xAxis: { | 
|       type: 'value', | 
|       splitLine: { | 
|         show: true, | 
|         lineStyle: { | 
|           //这里输入线条的样式 | 
|           color: 'rgba(255,255,255,0.14)' | 
|         }, | 
|         splitNumber: 4 | 
|       } | 
|     }, | 
|     yAxis: { | 
|       axisTick: { | 
|         show: false, | 
|       }, | 
|       type: 'category', | 
|       axisLine: { | 
|         show: false | 
|       }, | 
|       data: list.map(i => i.dateStr) | 
|     }, | 
|     series: [ | 
|       { | 
|         name: '在途', | 
|         type: 'bar', | 
|         stack: 'total', | 
|         barWidth: 14, | 
|         label: { | 
|           show: true | 
|         }, | 
|         emphasis: { | 
|           focus: 'series' | 
|         }, | 
|         data: list.map(i => i.inTransitNum), | 
|         itemStyle: { | 
|           normal: { | 
|             color: { | 
|               type: 'linear', | 
|               x: 0, | 
|               y: 0, | 
|               x2: 1, | 
|               y2: 0, | 
|               colorStops: [{ | 
|                 offset: 0, | 
|                 color: '#204d75' | 
|               }, { | 
|                 offset: 1, | 
|                 color: '#2f6eae' | 
|               }] | 
|             } | 
|           } | 
|         }, | 
|       }, | 
|       { | 
|         name: '到货', | 
|         type: 'bar', | 
|         barWidth: 14, | 
|         stack: 'total', | 
|         label: { | 
|           show: true | 
|         }, | 
|         itemStyle: { | 
|           normal: { | 
|             color: { | 
|               type: 'linear', | 
|               x: 0, | 
|               y: 0, | 
|               x2: 1, | 
|               y2: 0, | 
|               colorStops: [{ | 
|                 offset: 0, | 
|                 color: '#3e8593' | 
|               }, { | 
|                 offset: 1, | 
|                 color: '#5cc2d2' | 
|               }] | 
|             } | 
|           } | 
|         }, | 
|         emphasis: { | 
|           focus: 'series' | 
|         }, | 
|         data: list.map(i => i.arriveNum) | 
|       } | 
|     ] | 
|   }) | 
|   myChart.on('click', function (params) { | 
|     console.log(params.name) | 
|   | 
|   }) | 
|   window.addEventListener('resize', function () {//执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
| const getData1 = () => { | 
|   getStorearriveGoodsList().then(res => { | 
|     initEnergy(res.data || []) | 
|   }) | 
| } | 
|   | 
| const transportTask = ref([]) | 
| const taskCode = ref('') | 
| const showModal = ref(false) | 
| const modalInfo = ref({}) | 
| const modalTab = ref(0) | 
| const modalTabClick = (val) => { | 
|   modalTab.value = val | 
| } | 
| const taskClick = (item) => { | 
|   modalInfo.value = item | 
|   showModal.value = true | 
| } | 
| const getData2 = () => { | 
|   getStoreTaskList({ code: taskCode.value }).then(res => { | 
|     let temp = res.data || [] | 
|     // temp = temp.splice(0, 5) | 
|     transportTask.value = temp.map(item => { | 
|       item.taskDate = item.taskDate.slice(5, 16) | 
|       return item | 
|     }) | 
|   }) | 
| } | 
|   | 
| const cneterData = ref({}) | 
| const showPro = ref(false) | 
| const cityList = ref([ | 
|   { name: '全省', id: 0 }, | 
|   { name: '合肥仓', id: 1 }, | 
|   { name: '芜湖仓', id: 2 }, | 
|   { name: '滁州仓', id: 3 }, | 
|   { name: '蚌埠仓', id: 4 }, | 
| ]) | 
| const activeCity = ref({ name: '全省', id: 0 }) | 
| const colors = ['#0193FE', '#FFB642'] | 
| const StockOutData = ref([]) | 
| const cityClick = (item) => { | 
|   activeCity.value = item | 
|   showPro.value = false | 
|   cneterData.value = {} | 
|   setTimeout(() => { | 
|     getData3() | 
|   }, 400) | 
| } | 
| const initEchart1 = () => { | 
|   const myChart = echarts.init(document.getElementById('echart1')) | 
|   const option = { | 
|     tooltip: { | 
|       trigger: 'item' | 
|     }, | 
|     series: [ | 
|       { | 
|         type: 'pie', | 
|         radius: ['72%', '96%'], | 
|         label: { | 
|           show: false, | 
|           position: 'center' | 
|         }, | 
|         color: colors, | 
|         labelLine: { | 
|           show: false | 
|         }, | 
|         data: StockOutData.value | 
|       } | 
|     ] | 
|   } | 
|   myChart.setOption(option) | 
|   window.addEventListener('resize', function () { // 执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
| const getStockOut = () => { | 
|   let arr = [] | 
|   arr.push({ name: '省内', value: (cneterData.value.yearProvinceRata * 100).toFixed(0) + '%' }) | 
|   arr.push({ name: '省外', value: ((1 - cneterData.value.yearProvinceRata) * 100).toFixed(0) + '%' }) | 
|   arr.sort((a, b) => b.value - a.value) | 
|   StockOutData.value = arr | 
|   initEchart1() | 
| } | 
| const getData3 = () => { | 
|   getStorecenterData().then(res => { | 
|     cneterData.value = res.data || {} | 
|     getStockOut() | 
|   }) | 
| } | 
|   | 
| const activeTabs = ref(0) | 
| const dataList4 = ref([]) | 
| const initEchart4 = () => { | 
|   // 基于准备好的dom,初始化echarts实例 | 
|   const myChart = echarts.init(document.getElementById('echart4')) | 
|   // 绘制图表 | 
|   myChart.setOption({ | 
|     tooltip: { | 
|       trigger: 'axis', | 
|       backgroundColor: '#091123', | 
|       axisPointer: { | 
|         type: 'line' | 
|       }, | 
|       // formatter: function (params) { | 
|       //   setTimeout(() => { | 
|       //   }) | 
|       //   return ` | 
|       //     <div style="background-color: #091123;margin: -12px;padding: 14px;border: 2px solid rgba(1,217,254,0.5);color: #fff;"> | 
|       //       <div>${params[0].name}总销售额(万元)</div> | 
|       //       <div style="display: flex;align-items: center;"> | 
|       //         <div style="width: 10px;height: 10px;border-radius: 50%;background-color: #ebbf40;"></div> | 
|       //         <div style="margin: 0 4px 0 6px;">总销售</div> | 
|       //         <span style="color: #ebbf40;">${params[0].value}</span> | 
|       //       </div> | 
|       //     </div> | 
|       //   ` | 
|       // } | 
|     }, | 
|     xAxis: { | 
|       type: 'category', | 
|       boundaryGap: false, | 
|       data: dataList4.value.map(i => i.dateStr) | 
|     }, | 
|     yAxis: { | 
|       type: 'value', | 
|       name: '万支', | 
|       nameTextStyle: { | 
|         padding: [0, 0, 0, -16]    // 四个数字分别为上右下左与原位置距离 | 
|       }, | 
|       splitLine: { | 
|         show: true, | 
|         lineStyle: { | 
|           //这里输入线条的样式 | 
|           color: 'rgba(255,255,255,0.14)', | 
|           type: 'dashed', | 
|         }, | 
|         splitNumber: 4 | 
|       } | 
|     }, | 
|     legend: { | 
|       itemGap: 24, | 
|       icon: 'rect', | 
|       right: '12px', | 
|       top: '0', | 
|       itemWidth: 16, | 
|       itemHeight: 2, | 
|       textStyle: { | 
|         color: '#fff', | 
|         borderColor: '#fff' | 
|       }, | 
|       data: ['总入库量', '总出库量', '库存量'] | 
|     }, | 
|     grid: { | 
|       top: '18%', | 
|       left: '0%', | 
|       right: '2%', | 
|       bottom: '2%', | 
|       containLabel: true | 
|     }, | 
|     series: [ | 
|       { | 
|         name: '总入库量', | 
|         data: dataList4.value.map(item => { | 
|           return { | 
|             name: item.dateStr, | 
|             value: item.totalInNum, | 
|           } | 
|         }), | 
|         type: 'line', | 
|         areaStyle: { | 
|           normal: { | 
|             color: { | 
|               x: 0, | 
|               y: 0, | 
|               x2: 0, | 
|               y2: 1, | 
|               colorStops: [ | 
|                 { | 
|                   offset: 0, | 
|                   color: "#4191f6" // 0% 处的颜色 | 
|                 }, | 
|                 { | 
|                   offset: .4, | 
|                   color: "#203d79" // 0% 处的颜色 | 
|                 }, | 
|                 { | 
|                   offset: 1, | 
|                   color: "#1b1b12" // 100% 处的颜色 | 
|                 }], | 
|               globalCoord: false // 缺省为 false | 
|             } | 
|           } | 
|         }, | 
|         lineStyle: { // 线条样式 | 
|           color: { | 
|             type: 'linear', | 
|             x: 0, | 
|             y: 0, | 
|             x2: 0, | 
|             y2: 1, | 
|             colorStops: [{ | 
|               offset: 0, color: '#4191f6' // 0% 处的颜色 | 
|             }, { | 
|               offset: 1, color: '#4191f6' // 100% 处的颜色 | 
|             }], | 
|           }, | 
|           width: 1.5, // 线条粗细 | 
|         }, | 
|         symbol: 'circle', | 
|         symbolSize: 4, | 
|         itemStyle: { | 
|           color: "#4190f4", | 
|           borderColor: "rgba(255,255,255,.3)", | 
|           borderWidth: 4, | 
|         }, | 
|         smooth: true | 
|       }, | 
|       { | 
|         name: '总出库量', | 
|         data: dataList4.value.map(item => { | 
|           return { | 
|             name: item.dateStr, | 
|             value: item.totalOutNum, | 
|           } | 
|         }), | 
|         type: 'line', | 
|         areaStyle: { | 
|           normal: { | 
|             color: { | 
|               x: 0, | 
|               y: 0, | 
|               x2: 0, | 
|               y2: 1, | 
|               colorStops: [{ | 
|                 offset: 0, | 
|                 color: "rgba(192, 156, 53,.7)" // 0% 处的颜色 | 
|               }, { | 
|                 offset: 1, | 
|                 color: "#1b1b12" // 100% 处的颜色 | 
|               }], | 
|               globalCoord: false // 缺省为 false | 
|             } | 
|           } | 
|         }, | 
|         lineStyle: { // 线条样式 | 
|           color: { | 
|             type: 'linear', | 
|             x: 0, | 
|             y: 0, | 
|             x2: 0, | 
|             y2: 1, | 
|             colorStops: [{ | 
|               offset: 0, color: '#F3BD00' // 0% 处的颜色 | 
|             }, { | 
|               offset: 1, color: '#F3BD00' // 100% 处的颜色 | 
|             }], | 
|           }, | 
|           width: 2, // 线条粗细 | 
|         }, | 
|         symbol: 'circle', | 
|         symbolSize: 4, | 
|         itemStyle: { | 
|           color: "#F3BD00", | 
|           borderColor: "rgba(255,255,255,.3)", | 
|           borderWidth: 4, | 
|         }, | 
|         smooth: true | 
|       }, | 
|       { | 
|         name: '库存量', | 
|         data: dataList4.value.map(item => { | 
|           return { | 
|             name: item.dateStr, | 
|             value: item.stockNum, | 
|           } | 
|         }), | 
|         type: 'line', | 
|         areaStyle: { | 
|           normal: { | 
|             color: { | 
|               x: 0, | 
|               y: 0, | 
|               x2: 0, | 
|               y2: 1, | 
|               colorStops: [{ | 
|                 offset: 0, | 
|                 color: "rgba(218, 233, 250)" // 0% 处的颜色 | 
|               }, { | 
|                 offset: 1, | 
|                 color: "#1b1b12" // 100% 处的颜色 | 
|               }], | 
|               globalCoord: false // 缺省为 false | 
|             } | 
|           } | 
|         }, | 
|         lineStyle: { // 线条样式 | 
|           color: { | 
|             type: 'linear', | 
|             x: 0, | 
|             y: 0, | 
|             x2: 0, | 
|             y2: 1, | 
|             colorStops: [{ | 
|               offset: 0, color: '#fff' // 0% 处的颜色 | 
|             }, { | 
|               offset: 1, color: '#fff' // 100% 处的颜色 | 
|             }], | 
|           }, | 
|           width: 2, // 线条粗细 | 
|         }, | 
|         symbol: 'circle', | 
|         symbolSize: 4, | 
|         itemStyle: { | 
|           color: "#fff", | 
|           borderColor: "rgba(255,255,255,.3)", | 
|           borderWidth: 4, | 
|         }, | 
|         smooth: true | 
|       }, | 
|     ] | 
|   }) | 
|   | 
|   window.addEventListener('resize', function () {//执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
| const tabsClick4 = (tab) => { | 
|   activeTabs.value = tab | 
|   getData4() | 
| } | 
| const getData4 = () => { // 进销存运营 | 
|   getStoreOperationList({ queryType: activeTabs.value }).then(res => { | 
|     console.log('res', res) | 
|     dataList4.value = res.data || [] | 
|     initEchart4() | 
|   }) | 
| } | 
|   | 
| const dataList5 = ref([]) | 
| const initEchart5 = () => { | 
|   // 基于准备好的dom,初始化echarts实例 | 
|   const myChart = echarts.init(document.getElementById('echart5')) | 
|   // 绘制图表 | 
|   myChart.setOption({ | 
|     legend: { | 
|       itemGap: 12, | 
|       // icon: 'circle', | 
|       right: '12px', | 
|       top: '0', | 
|       data: ['总库存', '当前库存', '库存利用率'], | 
|       itemWidth: 20, | 
|       itemHeight: 10, | 
|       textStyle: { | 
|         color: '#fff', | 
|         borderColor: '#fff' | 
|       }, | 
|     }, | 
|     grid: { | 
|       left: '3%', | 
|       right: '0%', | 
|       bottom: '3%', | 
|       top: '24%', | 
|       containLabel: true | 
|     }, | 
|     tooltip: { | 
|       trigger: 'axis' | 
|     }, | 
|     xAxis: [{ | 
|       nameGap: 5, | 
|       type: 'category', | 
|       axisLine: { | 
|         show: true, | 
|         lineStyle: { | 
|           color: '#999' | 
|         }, | 
|       }, | 
|       axisLabel: { | 
|         color: '#869CC9' | 
|         // fontSize: 24, | 
|       }, | 
|       axisTick: { | 
|         show: false, | 
|       }, | 
|       data: dataList5.value.map(i => i.placeName), | 
|     }], | 
|     yAxis: [ | 
|       { | 
|         nameTextStyle: { | 
|           color: '#869CC9', | 
|         }, | 
|         offset: 0, | 
|         name: '万支', | 
|         type: 'value', | 
|         axisLabel: { | 
|           show: true, | 
|           color: "#869CC9", | 
|         }, | 
|         axisLine: { | 
|           show: true, | 
|         }, | 
|         splitLine: { | 
|           show: true, | 
|           lineStyle: { | 
|             width: 1, | 
|             color: "rgba(49,105,129,0.4)", | 
|             type: 'dashed' | 
|           } | 
|         }, | 
|       }, | 
|       { | 
|         type: 'value', | 
|         name: '%', | 
|         min: 0, | 
|         max: 100, | 
|         // interval: 5, | 
|         axisLabel: { | 
|           formatter: '{value}' | 
|         }, | 
|         splitLine: false | 
|       } | 
|     ], | 
|     series: [ | 
|       { | 
|         name: '总库存', | 
|         type: 'bar', | 
|         barWidth: 8, | 
|         barGap: '60%', | 
|         label: { | 
|           show: false, | 
|           position: 'top', | 
|           color: '#fff', | 
|         }, | 
|         itemStyle: { | 
|           color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ | 
|             { | 
|               offset: 0, | 
|               color: '#5bc7d5' | 
|             }, | 
|             { | 
|               offset: 1, | 
|               color: '#1a3f55' | 
|             } | 
|           ], false), | 
|           lineStyle: { | 
|             width: 1, | 
|             type: 'solid' | 
|           }, | 
|           barBorderRadius: [30, 30, 0, 0], | 
|         }, | 
|         data: dataList5.value.map(i => i.totalStockNum) | 
|       }, | 
|       { | 
|         name: '当前库存', | 
|         type: 'bar', | 
|         barWidth: 8, | 
|         label: { | 
|           show: false, | 
|           position: 'top', | 
|           color: '#fff', | 
|         }, | 
|         itemStyle: { | 
|           color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ | 
|             { | 
|               offset: 0, | 
|               color: '#edaf3d' | 
|             }, | 
|             { | 
|               offset: 1, | 
|               color: '#323522' | 
|             } | 
|           ], false), | 
|           lineStyle: { | 
|             width: 1, | 
|             type: 'solid' | 
|           }, | 
|           barBorderRadius: [30, 30, 0, 0], | 
|         }, | 
|         data: dataList5.value.map(i => i.nowStockNum) | 
|       }, | 
|       { | 
|         name: '库存利用率', | 
|         type: 'line', | 
|         smooth: true, | 
|         showAllSymbol: true, | 
|         symbol: 'none', | 
|         lineStyle: { | 
|           color: "#3d87e5" | 
|         }, | 
|         label: { | 
|           show: false, | 
|           position: 'top', | 
|           color: '#fff', | 
|         }, | 
|         data: dataList5.value.map(i => i.stockRataNum) | 
|       } | 
|     ] | 
|   }) | 
|   | 
|   window.addEventListener('resize', function () {//执行 | 
|     myChart.resize() | 
|   }) | 
| } | 
| const getData5 = () => { | 
|   getStoreenergyDataList({ queryType: activeTabs.value }).then(res => { | 
|     console.log('res', res) | 
|     dataList5.value = res.data || [] | 
|     initEchart5() | 
|   }) | 
| } | 
|   | 
| const autoplayFlag = (list = [], leng = 4, time = 2000) => { | 
|   if (list.length > leng) { | 
|     return { delay: time, disableOnInteraction: false } | 
|   } else { | 
|     return false | 
|   } | 
| } | 
| const loopFn1 = () => { | 
|   var newSwiper1 = new Swiper('.one-swiper', { | 
|     initialSlide: 0, | 
|     direction: 'vertical', //竖直方向 | 
|     slidesPerView: 5, | 
|     autoplay: autoplayFlag(transportTask.value, 5, 4000), | 
|     observer: true, //修改swiper自己或子元素时,自动初始化swiper | 
|   }) | 
| } | 
|   | 
| const initData = () => { | 
|   getData1() | 
|   getData2() | 
|   getData3() | 
|   getData4() | 
|   getData5() | 
| } | 
|   | 
| onMounted(() => { | 
|   initData() | 
|   | 
|   initMap() | 
|   // initEchart2() | 
|   initEchart3() | 
|   // initEchart4() | 
|   // initEchart5() | 
|   setTimeout(() => { | 
|     loopFn1() | 
|   }, 12000) | 
| }) | 
|   | 
|   | 
| </script> | 
|   | 
| <style lang="scss"> | 
| .map-tip-box { | 
|   background-color: rgba(6, 25, 48, .8); | 
|   padding: 10px 30px; | 
|   padding-left: 20px; | 
|   border-radius: 4px; | 
|   backdrop-filter: blur(10px); | 
|   color: #D2E0FF; | 
|   font-size: 12px; | 
|   border: 1px solid #D2E0FF; | 
|   | 
|   .icon { | 
|     width: 12px; | 
|     height: 14px; | 
|     background-image: url('@/assets/images/FireFighting/ic_location@2x.png'); | 
|     background-repeat: no-repeat; | 
|     background-position: center; | 
|     background-size: cover; | 
|     margin-right: 6px; | 
|   } | 
|   | 
|   .title { | 
|     font-size: 14px; | 
|     font-weight: 600; | 
|     display: flex; | 
|     align-items: center | 
|   } | 
|   | 
|   .item-state-con { | 
|     margin-bottom: 6px; | 
|   } | 
| } | 
| </style> | 
| <style lang="scss" scoped> | 
| div { | 
|   box-sizing: border-box; | 
| } | 
|   | 
| .swiper-wrapper { | 
|   display: block !important; | 
| } | 
|   | 
| .main_content { | 
|   display: flex; | 
|   padding: 20px 25px 0; | 
|   | 
|   .left_box { | 
|     width: 440px; | 
|   | 
|     .left_box_one { | 
|       margin-top: 20px; | 
|       padding: 0px 10px 30px 20px; | 
|   | 
|       .content_wrap { | 
|         display: flex; | 
|         justify-content: space-between; | 
|   | 
|         .num_wrap { | 
|           width: 272px; | 
|   | 
|           .num_list { | 
|             display: flex; | 
|             margin-bottom: 20px; | 
|   | 
|             .num { | 
|               width: 30px; | 
|               height: 46px; | 
|               display: flex; | 
|               justify-content: center; | 
|               align-items: center; | 
|               position: relative; | 
|               font-weight: 600; | 
|               font-size: 32px; | 
|               margin-right: 5px; | 
|             } | 
|           } | 
|   | 
|           .content { | 
|             display: flex; | 
|             color: #D2E0FF; | 
|   | 
|             .la { | 
|               color: #869CC9; | 
|             } | 
|   | 
|             .unit_wrap { | 
|               display: flex; | 
|               align-items: center; | 
|             } | 
|   | 
|             .icon { | 
|               width: 10px; | 
|               height: 12px; | 
|               margin-right: 6px; | 
|               margin-left: 4px; | 
|             } | 
|           } | 
|         } | 
|   | 
|         .echart_wrap { | 
|           flex: 1; | 
|           display: flex; | 
|           align-items: center; | 
|           height: 48px; | 
|   | 
|           .echart1 { | 
|             width: 46px; | 
|             height: 46px; | 
|             margin-right: 8px; | 
|           } | 
|   | 
|           .list { | 
|             flex: 1; | 
|             font-size: 13px; | 
|   | 
|             .item { | 
|               display: flex; | 
|               align-items: center; | 
|               margin: 8px 0; | 
|   | 
|               .icon { | 
|                 width: 10px; | 
|                 height: 10px; | 
|                 border-radius: 50%; | 
|                 margin-right: 4px; | 
|                 background: linear-gradient(270deg, #29aeff 0%, #207ff7 100%); | 
|               } | 
|   | 
|               .text { | 
|                 margin-right: 6px; | 
|               } | 
|             } | 
|           } | 
|         } | 
|       } | 
|     } | 
|   | 
|     .left_box_two { | 
|       margin-bottom: 20px; | 
|       position: relative; | 
|   | 
|       .second_title { | 
|         position: absolute; | 
|         top: 14px; | 
|         left: 20px; | 
|       } | 
|   | 
|       .energy_wrap { | 
|         width: 100%; | 
|         height: 300px; | 
|   | 
|         .energyRef { | 
|           width: 100%; | 
|           height: 100%; | 
|         } | 
|       } | 
|     } | 
|   | 
|     .left_box_three { | 
|       width: 440px; | 
|       padding: 0 15px; | 
|   | 
|       .second_title { | 
|         margin-bottom: 10px; | 
|       } | 
|   | 
|       .list_wrap { | 
|         .list { | 
|           height: 200px; | 
|           overflow: hidden; | 
|         } | 
|   | 
|         .line { | 
|           display: flex; | 
|           height: 40px; | 
|           align-items: center; | 
|           font-size: 14px; | 
|           color: #D2E0FF; | 
|           cursor: pointer; | 
|   | 
|           &:nth-of-type(2n) { | 
|             background: rgba(134, 156, 201, 0.05); | 
|           } | 
|   | 
|           .item { | 
|             flex: 4; | 
|             white-space: nowrap; | 
|             overflow: hidden; | 
|             text-overflow: ellipsis; | 
|           } | 
|   | 
|         } | 
|   | 
|         .header { | 
|           font-weight: 500; | 
|           color: #01D9FE; | 
|         } | 
|       } | 
|     } | 
|   } | 
|   | 
|   .center_box { | 
|     flex: 1; | 
|     padding: 0 20px; | 
|     margin: 0 20px; | 
|     display: flex; | 
|     flex-direction: column; | 
|   | 
|     .center_box_one { | 
|       background: rgba(255, 255, 255, 0.02); | 
|       height: 230px; | 
|       border-top: 2px solid #306ba1; | 
|       padding: 20px 20px 0; | 
|   | 
|       .header_wrap { | 
|         display: flex; | 
|         justify-content: space-between; | 
|         margin-bottom: 28px; | 
|         font-weight: bold; | 
|         font-size: 18px; | 
|         position: relative; | 
|   | 
|         /* background-image: -webkit-linear-gradient(top, | 
|           #ffffff 0%, | 
|           #c8ddff 66%, | 
|           #85b4ff 72%, | 
|           #74a9ff 100%); | 
|         -webkit-background-clip: text; | 
|         -webkit-text-fill-color: transparent; */ | 
|   | 
|         .left { | 
|           display: flex; | 
|           align-items: center; | 
|   | 
|           img { | 
|             width: 16px; | 
|             margin-right: 6px; | 
|           } | 
|         } | 
|   | 
|         .right { | 
|           display: flex; | 
|           align-items: center; | 
|           cursor: pointer; | 
|           position: relative; | 
|   | 
|           .posi { | 
|             width: 16px; | 
|             margin-right: 8px; | 
|           } | 
|   | 
|           .icon { | 
|             width: 14px; | 
|             margin-left: 2px; | 
|           } | 
|         } | 
|   | 
|         .select_op { | 
|           position: absolute; | 
|           top: 26px; | 
|           right: -10px; | 
|           width: 90px; | 
|           z-index: 1199999; | 
|           background: radial-gradient(64% 83% at 50% 50%, rgba(19, 88, 173, 0.8) 0%, rgba(5, 18, 32, 0.86) 100%); | 
|           color: #fff; | 
|   | 
|           .line { | 
|             display: flex; | 
|             justify-content: center; | 
|             align-items: center; | 
|             height: 36px; | 
|             font-size: 18px; | 
|             cursor: pointer; | 
|             color: #fff; | 
|           } | 
|         } | 
|       } | 
|   | 
|       .static_wrap { | 
|         display: flex; | 
|         justify-content: space-between; | 
|         align-items: center; | 
|         margin: 30px 0 14px; | 
|   | 
|         .item { | 
|           display: flex; | 
|   | 
|           img { | 
|             width: 68px; | 
|             height: 71px; | 
|             margin-right: 15px; | 
|           } | 
|   | 
|           .content { | 
|             font-size: 15px; | 
|   | 
|             .num { | 
|               font-size: 12px; | 
|               color: #D2E0FF; | 
|   | 
|               span { | 
|                 font-weight: bold; | 
|                 font-size: 30px; | 
|                 margin-right: 5px; | 
|                 font-weight: 600; | 
|                 background-image: -webkit-linear-gradient(top, | 
|                     #01D9FE 0%, | 
|                     #01D9FE 60%, | 
|                     #fff 100%); | 
|                 -webkit-background-clip: text; | 
|                 -webkit-text-fill-color: transparent; | 
|               } | 
|   | 
|               .today { | 
|                 background-image: -webkit-linear-gradient(top, | 
|                     #fff 0%, | 
|                     #20FFC5 50%, | 
|                     #20FFC5 100%); | 
|               } | 
|   | 
|               .finish { | 
|                 background-image: -webkit-linear-gradient(top, | 
|                     #fff 0%, | 
|                     #FFB120 50%, | 
|                     #FFB120 100%); | 
|               } | 
|             } | 
|   | 
|             .unit { | 
|               font-size: 13px; | 
|               color: #D2E0FF; | 
|               margin-top: 2px; | 
|             } | 
|           } | 
|         } | 
|       } | 
|   | 
|       .footer { | 
|         font-weight: 500; | 
|         font-size: 16px; | 
|         display: flex; | 
|         align-items: center; | 
|   | 
|         .num { | 
|           font-weight: bold; | 
|           font-size: 24px; | 
|           color: #01D9FE; | 
|           margin-left: 8px; | 
|         } | 
|       } | 
|     } | 
|   | 
|     .center_box_two { | 
|       width: 100%; | 
|       flex: 1; | 
|   | 
|       .echart_map { | 
|         width: 100%; | 
|         height: 100%; | 
|         /* transform: scale(.2); */ | 
|       } | 
|     } | 
|   } | 
|   | 
|   .right_box { | 
|     width: 440px; | 
|   | 
|     .right_box_one { | 
|       margin-top: 20px; | 
|       padding: 0px 10px 30px 20px; | 
|   | 
|       .content_wrap { | 
|         display: flex; | 
|         justify-content: space-between; | 
|   | 
|         .num_wrap { | 
|           width: 280px; | 
|   | 
|           .num_list { | 
|             display: flex; | 
|             margin-bottom: 20px; | 
|   | 
|             .num { | 
|               width: 30px; | 
|               height: 46px; | 
|               display: flex; | 
|               justify-content: center; | 
|               align-items: center; | 
|               position: relative; | 
|               font-weight: 600; | 
|               font-size: 32px; | 
|               margin-right: 5px; | 
|             } | 
|           } | 
|   | 
|           .content { | 
|             display: flex; | 
|             color: #D2E0FF; | 
|   | 
|             .la { | 
|               color: #869CC9; | 
|             } | 
|   | 
|             .unit_wrap { | 
|               display: flex; | 
|               align-items: center; | 
|             } | 
|   | 
|             .icon { | 
|               width: 10px; | 
|               height: 12px; | 
|               margin-right: 6px; | 
|               margin-left: 4px; | 
|             } | 
|           } | 
|         } | 
|   | 
|         .static_wrap { | 
|           flex: 1; | 
|   | 
|           .echart_wrap { | 
|             width: 54px; | 
|             height: 54px; | 
|             position: relative; | 
|             margin-bottom: 12px; | 
|   | 
|             .echart3 { | 
|               width: 54px; | 
|               height: 54px; | 
|             } | 
|   | 
|             .pie_text { | 
|               width: 38px; | 
|               height: 38px; | 
|               border: 1px dashed rgba(210, 224, 255, 0.48); | 
|               border-radius: 50%; | 
|               position: absolute; | 
|   | 
|               left: 50%; | 
|               top: 50%; | 
|               transform: translate(-50%, -50%); | 
|               z-index: 999; | 
|               display: flex; | 
|               flex-direction: column; | 
|               justify-content: center; | 
|               align-items: center; | 
|               font-size: 12px; | 
|   | 
|               .fs30 { | 
|                 font-weight: 600; | 
|                 font-size: 14px; | 
|                 color: #28F0C4; | 
|               } | 
|             } | 
|   | 
|           } | 
|   | 
|           .text { | 
|             font-size: 13px; | 
|             color: #869CC9; | 
|           } | 
|         } | 
|       } | 
|     } | 
|   | 
|     .right_box_two { | 
|       padding: 10px 15px; | 
|   | 
|       .echart4_wrap { | 
|         width: 410px; | 
|         height: 216px; | 
|   | 
|         .echart4 { | 
|           width: 410px; | 
|           height: 216px; | 
|         } | 
|       } | 
|     } | 
|   | 
|     .right_box_three { | 
|   | 
|       .echart5_wrap { | 
|         height: 240px; | 
|         width: 410px; | 
|   | 
|         .echart5 { | 
|           height: 240px; | 
|           width: 410px; | 
|         } | 
|       } | 
|     } | 
|   } | 
| } | 
|   | 
| .main_header { | 
|   display: flex; | 
|   justify-content: space-between; | 
|   align-items: center; | 
|   height: 90px; | 
|   position: relative; | 
|   padding: 0px 40px 16px; | 
|   font-weight: 600; | 
|   font-size: 36px; | 
|   | 
|   .title { | 
|     background-image: -webkit-linear-gradient(top, | 
|         #ffffff 0%, | 
|         #c8ddff 70%, | 
|         #85b4ff 80%, | 
|         #74a9ff 100%); | 
|     -webkit-background-clip: text; | 
|     -webkit-text-fill-color: transparent; | 
|   } | 
|   | 
|   .time_wrap { | 
|     font-size: 26px; | 
|     font-weight: 600; | 
|     background-image: -webkit-linear-gradient(top, | 
|         #ffffff 0%, | 
|         #c8ddff 50%, | 
|         #85b4ff 80%, | 
|         #74a9ff 100%); | 
|     -webkit-background-clip: text; | 
|     -webkit-text-fill-color: transparent; | 
|     display: flex; | 
|     align-items: center; | 
|   | 
|     .time { | 
|       width: 130px; | 
|       display: flex; | 
|       justify-content: flex-end; | 
|       font-size: 30px; | 
|     } | 
|   | 
|     .week { | 
|       margin-left: 20px; | 
|     } | 
|   } | 
|   | 
|   .main_header_bg { | 
|     position: absolute; | 
|     left: 0; | 
|     top: 0; | 
|     width: 100%; | 
|     height: 100%; | 
|     object-fit: cover; | 
|     z-index: -1; | 
|   } | 
| } | 
|   | 
| .com_header { | 
|   height: 40px; | 
|   display: flex; | 
|   justify-content: space-between; | 
|   align-items: center; | 
|   padding: 0 15px 0 13px; | 
|   position: relative; | 
|   | 
|   .title { | 
|     display: flex; | 
|     align-items: center; | 
|     font-weight: bold; | 
|     font-size: 18px; | 
|     background-image: -webkit-linear-gradient(top, | 
|         #ffffff 0%, | 
|         #c8ddff 66%, | 
|         #85b4ff 72%, | 
|         #74a9ff 100%); | 
|     -webkit-background-clip: text; | 
|     -webkit-text-fill-color: transparent; | 
|   | 
|     .icon { | 
|       width: 16px; | 
|       height: 16px; | 
|       margin-right: 14px; | 
|     } | 
|   } | 
|   | 
|   .tabs { | 
|     display: flex; | 
|     align-items: center; | 
|     font-size: 14px; | 
|     color: #d2e0ff; | 
|   | 
|     .separate { | 
|       width: 1px; | 
|       height: 14px; | 
|       background-color: #d2e0ff; | 
|       margin: 0 6px; | 
|     } | 
|   | 
|     .active { | 
|       color: #0094eb; | 
|     } | 
|   } | 
| } | 
|   | 
| .modal_wrap { | 
|   width: 600px; | 
|   height: 556px; | 
|   background: rgba(0, 30, 63, 0.5); | 
|   border: 1px solid #c6eef7; | 
|   backdrop-filter: blur(5px); | 
|   position: fixed; | 
|   top: 20%; | 
|   left: 50%; | 
|   transform: translate(-50%, 0); | 
|   z-index: 999; | 
|   padding: 24px; | 
|   | 
|   .title_head { | 
|     display: flex; | 
|     align-items: center; | 
|     font-weight: bold; | 
|     font-size: 17px; | 
|     margin-bottom: 20px; | 
|   | 
|     img { | 
|       width: 20px; | 
|       margin-right: 4px; | 
|     } | 
|   } | 
|   | 
|   .info { | 
|     display: flex; | 
|     flex-wrap: wrap; | 
|   | 
|     .item { | 
|       display: flex; | 
|       align-items: center; | 
|       font-size: 13px; | 
|       width: 55%; | 
|       margin-bottom: 8px; | 
|   | 
|       &:nth-of-type(2n+1) { | 
|         width: 45%; | 
|       } | 
|   | 
|       .dian { | 
|         width: 4px; | 
|         height: 4px; | 
|         background-color: #fff; | 
|         border-radius: 50%; | 
|         margin-right: 4px; | 
|       } | 
|   | 
|       .la { | 
|         color: #01D9FE; | 
|       } | 
|     } | 
|   } | 
|   | 
|   .tabs { | 
|     display: flex; | 
|     border-bottom: 1px solid rgba(255, 255, 255, 0.16); | 
|     margin: 0 -24px; | 
|     margin-bottom: 20px; | 
|     padding-left: 12px; | 
|   | 
|     .tab { | 
|       color: #869CC9; | 
|       font-size: 14px; | 
|       margin-left: 12px; | 
|       height: 42px; | 
|       display: flex; | 
|       align-items: center; | 
|       justify-content: center; | 
|       border-bottom: 2px solid #06182e; | 
|       cursor: pointer; | 
|     } | 
|   | 
|     .active { | 
|       font-weight: 500; | 
|       font-size: 15px; | 
|       color: #00F2F3; | 
|       border-bottom: 2px solid #00F2F3; | 
|     } | 
|   } | 
|   | 
|   .ht_info { | 
|     display: flex; | 
|     flex-wrap: wrap; | 
|     padding: 10px 10px 0; | 
|     background-color: #0d2845; | 
|     margin-bottom: 20px; | 
|   | 
|     .item { | 
|       display: flex; | 
|       align-items: center; | 
|       font-size: 13px; | 
|       width: 55%; | 
|       margin-bottom: 8px; | 
|   | 
|       &:nth-of-type(2n+1) { | 
|         width: 45%; | 
|       } | 
|   | 
|       .la { | 
|         color: #01D9FE; | 
|       } | 
|     } | 
|   } | 
|   | 
|   .tab1 { | 
|     .title { | 
|       display: flex; | 
|       align-items: center; | 
|       font-style: 16px; | 
|       font-weight: 600; | 
|       margin-bottom: 20px; | 
|   | 
|       img { | 
|         width: 24px; | 
|         margin-right: 4px; | 
|       } | 
|     } | 
|   | 
|     .item { | 
|       display: flex; | 
|       margin-left: 6px; | 
|   | 
|       &:nth-last-child(1) { | 
|         .content { | 
|           .time { | 
|             padding-bottom: 0; | 
|           } | 
|         } | 
|       } | 
|   | 
|       .icon_wrap { | 
|         width: 24px; | 
|         margin-right: 10px; | 
|         display: flex; | 
|         flex-direction: column; | 
|         align-items: center; | 
|   | 
|         .dian { | 
|           width: 12px; | 
|           height: 12px; | 
|         } | 
|   | 
|         .dian_ac { | 
|           width: 24px; | 
|           height: 24px; | 
|         } | 
|   | 
|         .line { | 
|           width: 1px; | 
|           height: 100%; | 
|           border: 1px dashed #8a9bc5; | 
|         } | 
|       } | 
|   | 
|       .content { | 
|         font-size: 13px; | 
|         color: #D2E0FF; | 
|   | 
|         .status { | 
|           font-weight: 500; | 
|           font-size: 14px; | 
|           margin-bottom: 5px; | 
|           color: #fff; | 
|         } | 
|   | 
|         .text { | 
|           margin-bottom: 4px; | 
|         } | 
|   | 
|         .time { | 
|           font-size: 12px; | 
|           padding-bottom: 12px; | 
|         } | 
|       } | 
|     } | 
|   } | 
|   | 
| } | 
|   | 
| .modal_mask { | 
|   position: fixed; | 
|   width: 100%; | 
|   height: 100%; | 
|   top: 0; | 
|   left: 0; | 
|   z-index: 99; | 
|   background-color: rgba(0, 0, 0, 0.1); | 
|   /* background-color: red; */ | 
| } | 
|   | 
| .second_title { | 
|   height: 24px; | 
|   display: flex; | 
|   justify-content: space-between; | 
|   align-items: center; | 
|   position: relative; | 
|   font-size: 16px; | 
|   margin-bottom: 20px; | 
|   | 
|   .title { | 
|     display: flex; | 
|     align-items: center; | 
|     font-weight: 500; | 
|     font-size: 16px; | 
|     color: #FFFFFF; | 
|   | 
|     .icon { | 
|       width: 16px; | 
|       height: 16px; | 
|       margin-right: 10px; | 
|     } | 
|   } | 
|   | 
|   .num_wrap { | 
|     font-weight: 400; | 
|     font-size: 14px; | 
|     color: #D2E0FF; | 
|     display: flex; | 
|     align-items: center; | 
|   | 
|     .val { | 
|       font-weight: bold; | 
|       font-size: 16px; | 
|       color: #FFFFFF; | 
|     } | 
|   } | 
|   | 
|   .search_wrap { | 
|     display: flex; | 
|     justify-content: center; | 
|     align-items: center; | 
|     font-size: 14px; | 
|     color: #869CC9; | 
|     width: 96px; | 
|     height: 28px; | 
|     border-radius: 14px; | 
|     border: 1px solid #869CC9; | 
|     padding-left: 8px; | 
|     margin-right: 12px; | 
|   | 
|     img { | 
|       width: 14px; | 
|       height: 14px; | 
|       margin-right: 3px; | 
|     } | 
|   | 
|     .input { | 
|       flex: 1; | 
|     } | 
|   } | 
|   | 
|   .tabs { | 
|     display: flex; | 
|     align-items: center; | 
|     font-size: 14px; | 
|     color: #d2e0ff; | 
|   | 
|     .tab { | 
|       cursor: pointer; | 
|     } | 
|   | 
|     .separate { | 
|       width: 1px; | 
|       height: 14px; | 
|       background-color: #d2e0ff; | 
|       margin: 0 6px; | 
|     } | 
|   | 
|     .active { | 
|       color: #0094eb; | 
|     } | 
|   } | 
| } | 
|   | 
| .main_app { | 
|   width: 1920px; | 
|   height: 960px; | 
|   /* width: 100%; | 
|   height: 100vh; */ | 
|   background: #0b2539; | 
|   color: #FFFFFF; | 
|   position: relative; | 
|   z-index: -2; | 
|   font-size: 14px; | 
|   | 
|   .main_bg { | 
|     position: absolute; | 
|     left: 0; | 
|     top: 0; | 
|     width: 100%; | 
|     height: 100%; | 
|     object-fit: cover; | 
|     z-index: -1; | 
|   } | 
| } | 
|   | 
| .bg { | 
|   position: absolute; | 
|   left: 0; | 
|   top: 0; | 
|   width: 100%; | 
|   height: 100%; | 
|   object-fit: cover; | 
|   z-index: -1; | 
| } | 
| </style> |