| | |
| | | <!-- 机巢概况 --> |
| | | <template> |
| | | <common-title style="margin-left: 14px;" @details="detailsFun"></common-title> |
| | | <div class="overview-next"> |
| | | <div class="next-num"> |
| | | <div class="total"> |
| | |
| | | </div> |
| | | </template> |
| | | <script setup> |
| | | import { hToV, wToR } from '@/utils/pxConver'; |
| | | import { Search } from '@element-plus/icons-vue'; |
| | | import CommonTitle from '@/components/CommonTitle.vue'; |
| | | |
| | | const list = ref([ |
| | | { name: '执行中', value: 89, color: '#FFA768' }, |
| | |
| | | { name: '小兰工业园3号', status: '预计执行' }, |
| | | { name: '小兰工业园3号', status: '预计执行' }, |
| | | ]); |
| | | |
| | | const detailsFun = () => { |
| | | console.log('details'); |
| | | }; |
| | | </script> |
| | | <style scoped lang="scss"> |
| | | .overview-next { |
| | | font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; |
| | | margin-left: 29px; |
| | | padding: hToV(16) 16px; |
| | | padding: 16px 16px; |
| | | width: 390px; |
| | | height: hToV(414); |
| | | height: 414px; |
| | | background: linear-gradient( 270deg, rgba(31,62,122,0) 0%, rgba(31,62,122,0.35) 21%, #1F3E7A 100%); |
| | | border-radius: 0px 0px 0px 0px; |
| | | opacity: 0.85; |
| | | .next-num { |
| | | width: 358px; |
| | | height: hToV(92); |
| | | height: 92px; |
| | | background: url(@/assets/images/next-num.png) no-repeat center / 100% 100%;; |
| | | position: relative; |
| | | .total { |
| | | position: absolute; |
| | | left: 22px; |
| | | top: hToV(18); |
| | | top: 28px; |
| | | font-weight: 500; |
| | | font-size: 14px; |
| | | color: #FFFFFF; |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | line-height: 19px; |
| | | .value { |
| | | font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; |
| | | margin-left: 8px; |
| | | font-size: 26px; |
| | | } |
| | | } |
| | | .status { |
| | | position: absolute; |
| | | top: hToV(16); |
| | | top: 16px; |
| | | right: 30px; |
| | | width: 200px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | line-height: hToV(30); |
| | | line-height: 30px; |
| | | .name { |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | font-weight: 400; |
| | | font-size: 14px; |
| | | color: #FFFFFF; |
| | | } |
| | | .value { |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | font-weight: 400; |
| | | font-size: 26px; |
| | | |
| | | |
| | | } |
| | | } |
| | | } |
| | | .search-box { |
| | | margin-top: hToV(19); |
| | | margin-top: 19px; |
| | | margin-right: 16px; |
| | | :deep(.el-input__wrapper) { |
| | | background-color: rgba(0, 112, 255, 0.1); |
| | |
| | | } |
| | | } |
| | | .table-list { |
| | | font-family: Source Han Sans CN, Source Han Sans CN; |
| | | margin: 16px; |
| | | font-weight: 500; |
| | | font-size: 16px; |
| | | .table-header, .table-item { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | height: hToV(36); |
| | | line-height: hToV(36); |
| | | height: 36px; |
| | | line-height: 36px; |
| | | padding: 0 20px; |
| | | } |
| | | .table-item { |
| | | position: relative; |
| | | .yjzx-img { |
| | | position: absolute; |
| | | top: hToV(16); |
| | | top: 14px; |
| | | left: 10px; |
| | | } |
| | | .status { |
| | |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | </style> |