|  |  | 
 |  |  |             <div class="list one-swiper"> | 
 |  |  |               <div class="swiper-wrapper"> | 
 |  |  |                 <div class="line one-swiper-slide swiper-slide" v-for="item, i in dataList2" :key="i"> | 
 |  |  |                   <div class="top"><span v-if="i < 3">top</span>{{ i + 1 }}</div> | 
 |  |  |                   <div class="top" :class="{ top3: i < 3 }"><span v-if="i < 3">top</span>{{ i + 1 }}</div> | 
 |  |  |                   <div class="id_card">{{ item.platformName }}</div> | 
 |  |  |                   <div class="wrap"> | 
 |  |  |                     <ChargeRate :rate="item.rate" /> | 
 |  |  | 
 |  |  |             </div> | 
 |  |  |           </div> | 
 |  |  |           <div class="center_box_bg"> | 
 |  |  |             <img v-if="showWorkModal" class="point_icon" :style="{ left: workModalParam.left + 'px', top: workModalParam.top + 'px' }" | 
 |  |  |             <img v-if="showWorkModal" class="point_icon" | 
 |  |  |               :style="{ left: workModalParam.left + 'px', top: workModalParam.top + 'px' }" | 
 |  |  |               src="@/assets/ani/apngb-animated.png" alt=""> | 
 |  |  |             <div class="work_modal" :style="{ left: workModalParam.left2 + 'px', top: workModalParam.top + 'px' }" | 
 |  |  |               @click="showWorkModal = false" v-if="showWorkModal"> | 
 |  |  | 
 |  |  |                 <div class="val">{{ workModalParam.finishTimeStr }}</div> | 
 |  |  |               </div> | 
 |  |  |             </div> | 
 |  |  |             <div class="modal_bg" v-if="showWorkModal" @click="showWorkModal = false"></div> | 
 |  |  |             <div class="modal_bg" v-if="showWorkModal" @click="closeModal"></div> | 
 |  |  |           </div> | 
 |  |  |           <div class="center_box_two"> | 
 |  |  |             <!-- <div v-if="data4.videoIndexCodes && data4.videoIndexCodes.length > 0" class="videos"> | 
 |  |  |             <div v-if="data4.videoIndexCodes && data4.videoIndexCodes.length > 0" class="videos"> | 
 |  |  |               <Videos :href="data4.videoPluginUrl" :indexCodes="data4.videoIndexCodes" /> | 
 |  |  |             </div> --> | 
 |  |  |             </div> | 
 |  |  |             <div class="list"> | 
 |  |  |               <div class="line header"> | 
 |  |  |                 <div>月台名称</div> | 
 |  |  | 
 |  |  |           show: false, | 
 |  |  |           position: 'center' | 
 |  |  |         }, | 
 |  |  |         tooltip: { | 
 |  |  |           trigger: 'none' | 
 |  |  |         }, | 
 |  |  |         emphasis: { | 
 |  |  |           // 设置悬浮时样式为空 | 
 |  |  |           scale: false, // 关闭放大效果 | 
 |  |  |           itemStyle: { | 
 |  |  |             shadowBlur: 0, // 阴影模糊度为 0 | 
 |  |  |             shadowOffsetX: 0, | 
 |  |  |             shadowColor: 'rgba(0, 0, 0, 0)', | 
 |  |  |           }, | 
 |  |  |         }, | 
 |  |  |         padAngle: 2, | 
 |  |  |         itemStyle: { | 
 |  |  |           borderRadius: 10 | 
 |  |  | 
 |  |  |   const option = { | 
 |  |  |     grid: { | 
 |  |  |       top: '32%', | 
 |  |  |       left: '0%', | 
 |  |  |       left: '6%', | 
 |  |  |       right: '7%', | 
 |  |  |       bottom: '0%', | 
 |  |  |       bottom: '10%', | 
 |  |  |       containLabel: true, | 
 |  |  |     }, | 
 |  |  |     legend: { | 
 |  |  | 
 |  |  |         name: '万支', | 
 |  |  |         type: 'value', | 
 |  |  |         axisLabel: { | 
 |  |  |           show: true, | 
 |  |  |           color: "#9eaaba", | 
 |  |  |           color: '#869CC9' | 
 |  |  |         }, | 
 |  |  |         nameTextStyle: { | 
 |  |  |           color: '#869CC9', | 
 |  |  |           padding: [0, 0, 0, 12]    // 四个数字分别为上右下左与原位置距离 | 
 |  |  |         }, | 
 |  |  |         axisLine: { | 
 |  |  |           show: true, | 
 |  |  | 
 |  |  |       i.finishTime = dayjs(i.finishTime).format('HH:mm') | 
 |  |  |       return i | 
 |  |  |     }) | 
 |  |  |     console.log('dataList5', dataList5.value) | 
 |  |  |  | 
 |  |  |   }) | 
 |  |  | } | 
 |  |  | 
 |  |  | const platformClick = (val) => { | 
 |  |  |   const index = pointList.findIndex(i => i.name == val.platformName) | 
 |  |  |   workModalParam.value = { ...val, ...pointList[index], index: pointList } | 
 |  |  |   if (workModalParam.value.workTime) { | 
 |  |  |     workModalParam.value.workTime = workModalParam.value.workTime.replaceAll('m', '分钟') | 
 |  |  |     workModalParam.value.workTime = workModalParam.value.workTime.replaceAll('h', '小时') | 
 |  |  |   } | 
 |  |  |   showWorkModal.value = true | 
 |  |  | } | 
 |  |  | const closeModal = () => { | 
 |  |  |   showWorkModal.value = false | 
 |  |  |   workModalParam.value = {} | 
 |  |  | } | 
 |  |  | const loopFn2 = () => { | 
 |  |  |   var newSwiper1 = new Swiper('.one-swiper', { | 
 |  |  | 
 |  |  |             margin-right: 10px; | 
 |  |  |           } | 
 |  |  |  | 
 |  |  |           .top3 { | 
 |  |  |             box-shadow: inset 0px 0px 3px 0px #FEAF01; | 
 |  |  |           } | 
 |  |  |  | 
 |  |  |           .one-swiper-slide { | 
 |  |  |             height: 40px !important; | 
 |  |  |           } | 
 |  |  | 
 |  |  |  | 
 |  |  |           .num { | 
 |  |  |             font-weight: 500; | 
 |  |  |             width: 82px; | 
 |  |  |             width: 88px; | 
 |  |  |             text-align: right; | 
 |  |  |             font-size: 13px; | 
 |  |  |             color: #DBEAEA; | 
 |  |  |             margin-left: 2px; | 
 |  |  |             overflow: hidden; | 
 |  |  |             white-space: nowrap; | 
 |  |  |             text-overflow: ellipsis; | 
 |  |  |           } | 
 |  |  |  | 
 |  |  |           .wrap { | 
 |  |  | 
 |  |  |         padding: 22px 20px; | 
 |  |  |         left: 850px; | 
 |  |  |         top: 60px; | 
 |  |  |         z-index: 99999999; | 
 |  |  |  | 
 |  |  |         .head { | 
 |  |  |           display: flex; | 
 |  |  | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |       } | 
 |  |  |       .modal_bg{ | 
 |  |  |  | 
 |  |  |       .modal_bg { | 
 |  |  |         position: fixed; | 
 |  |  |         left: 0; | 
 |  |  |         top: 0; | 
 |  |  | 
 |  |  |   object-fit: cover; | 
 |  |  |   z-index: -1; | 
 |  |  | } | 
 |  |  | </style> | 
 |  |  | </style> |