@import url('@/assets/fonts/font.css'); .screen { position: relative; width: 100%; height: 100vh; background: url(@/assets/images/screen.png); // background-color: var(--tableBg); background-size: 100% 100%; background-color: rgba(0, 0, 0, 0.3); background-blend-mode: multiply; padding: 0 25px; overflow: hidden; .menuShow { width: 26px; height: 26px; position: absolute; top: 118px; left: 0; color: #B1E3FF; text-align: center; border: 1px solid #0D55B0; background-color: #02072E; border-right: none; cursor: pointer; .iconfont { display: inline-block; } .left { transform: rotate(0deg); -webkit-transform: rotate(0deg); transition: transform .5s; } .right { transform: rotate(180deg); -webkit-transform: rotate(180deg); transition: transform .5s; } } .panelBtn { position: absolute; bottom: 0; left: 0; right: 0; width: 70%; text-align: center; color: #A2CEFF; background: url(@/assets/images/title-bg.png); background-size: 100%; margin: 0 auto; cursor: pointer; transition: width 0.28s; .iconfont { display: inline-block; font-size: 18px; } .up { transform: rotate(0deg); -webkit-transform: rotate(0deg); transition: transform .5s; } .down { transform: rotate(180deg); -webkit-transform: rotate(180deg); transition: transform .5s; } } .panelBtn.left { left: 14% } // .header { // display: flex; // justify-content: space-between; // align-items: center; // // height: 5.7rem; // .title { // width: 1500px; // background: url(@/assets/images/title-bg.png); // background-size: 100%; // text-align: center; // padding-bottom: 38px; // margin: 0 auto; // h3 { // font-size: 3.8rem; // font-family: 'YouSheBiaoTiHei'; // font-weight: 400; // letter-spacing: 4px; // background: linear-gradient(180deg, #FEFDFF 0%, #95DAFF 97%); // background-clip: text; // -webkit-background-clip: text; // -webkit-text-fill-color: transparent; // margin: 0; // } // } // } // .weather { // display: flex; // align-items: center; // position: absolute; // top: 2.5rem; // left: 7rem; // color: #B2D4FF; // font-size: 1.6rem; // line-height: 2.2rem; // font-family: 'AlibabaPuHuiTiRegular'; // .line { // width: 2px; // height: 2rem; // background: linear-gradient(to top, #000E38, #1EA8DD, #000E38); // margin: 0 1rem; // } // .forecast { // display: flex; // align-items: center; // img { // width: 25px; // margin-left: 10px; // } // } // } // .seeting { // position: absolute; // top: 2.5rem; // right: 7rem; // .tooltips { // width: 36px; // height: 36px; // background: linear-gradient(180deg, #003269 1%, rgba(3, 79, 163, 0.2314) 56%, #003269 100%); // border-radius: 0px 0px 0px 0px; // opacity: 1; // :deep(span) { // color: #5beff9; // } // margin-left: 10px; // } // } .layout { display: flex; // margin-top: 20px; .sidebar { width: 12%; height: calc(100vh - 95px - 30px); //屏幕高度-头部header高度-底部高度 flex-shrink: 0; border: 1px solid #0D55B0; padding: 10px 0; // box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 12); margin-right: 1vw; position: relative; overflow: auto; transition: width 0.28s; .menu { text-align: center; :deep(.n-submenu) { --n-item-color-hover: auto; .n-menu-item { .n-menu-item-content { padding: 0 !important; .n-ellipsis { font-family: 'AlibabaPuHuiTiBold'; padding: 0 15px; } } .n-menu-item-content-header { font-size: 2.4rem; color: #B1E3FF; } } .n-submenu-children { .n-menu-item-content-header { font-size: 1.8rem; } .n-menu-item-content--selected { .n-menu-item-content-header { color: #fff; .n-ellipsis { position: relative; span { padding: 0 10px; } span::before { content: ''; position: absolute; left: 0; top: 0.7rem; width: 1.8rem; height: 1.8rem; background: url(../../../assets/images/taps.png) no-repeat; background-size: cover; } } } } .n-menu-item-content--selected::before { background: -webkit-linear-gradient(left, #1fc7ff29 0%, #1177e700 100%); left: 0; right: 0; } .n-menu-item-content--selected::after { content: ''; position: absolute; bottom: 0; width: 100%; height: 2px; background: -webkit-linear-gradient(left, #1fc7ff29 0%, #1177e700 100%); } } .n-base-icon { color: #84e0f7; right: 10px; } } } } .sidebar.sidebarHide { width: 0; border: none; margin-right: 0; transition: width 0.28s; } .sidebar::after { content: ''; position: absolute; bottom: 0; width: 100%; height: 18rem; background: url('../../../assets/images/menu_bg.png') no-repeat; } .main { position: relative; width: 87%; .headerInfo { border: 1px solid #0D55B0; // box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 124); margin-bottom: 10px; .header { display: flex; align-items: center; flex-wrap: wrap; .headerItem { width: 11.1%; color: #fff; text-align: center; .name { font-size: 12px; line-height: 36px; padding: 0 3rem; color: #ffffffb3; background-color: #123f7580; border-top: 1px solid #265a89; border-bottom: 1px solid #265a89; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .value { font-size: 18px; color: #5beff9; line-height: 36px; } } } } .mainTable { // height: calc(100vh - 8rem - 202px); // height: calc(100% - 162px); background-color: rgba(0, 0, 0, 0.1); transition: height 0.28s; overflow: hidden; .tableGrid { --vxe-table-header-background-color: none; --vxe-table-body-background-color: none; --vxe-table-footer-background-color: none; --vxe-table-border-color: none; --vxe-font-color: #5beff9; --vxe-table-header-font-color: #ffffffb3; border: 1px solid #0D55B0; // box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 124); :deep(.vxe-table) { // height: calc(100vh - 5.7rem - 60px) !important; .vxe-table--body-wrapper { // height: calc(100vh - 5.7rem - 182px) !important; } .headerRowClass { .headerCellClass { color: #eee; border: 1px solid rgba(12, 80, 166, 1) !important; border-left: none !important; } // .headerCellClass:nth-child(1){ // border-left: none !important; // } .headerCellClass.col--fixed { // background-color: #020e38; // box-shadow: inset 0px 0px 10px 0px #245a7c; } } .tableRowClass { .tableCellClass { // border-bottom: 1px solid #265a89 !important; .vxe-cell { font-family: 'AlibabaPuHuiTiRegular'; color: #B1E3FF; } .vxe-cell--html { display: flex; justify-content: center; align-items: center; .warning { font-size: 15px; font-weight: bold; color: red; } .iconfont { font-size: 18px; } .iconfont.icon-rise { color: green; } .iconfont.icon-decline { color: red; } } } } .tableRowClass.row--stripe { background-color: rgba(0, 95, 199, 0.15); ; } .tips { display: inline-block; width: 10px; height: 10px; margin: 0 auto; border-radius: 10px; margin-right: 5px; } .tips.green { background-color: green; } .tips.red { background-color: red; } .name { margin-left: 5px; cursor: pointer; } .cellName { display: flex; justify-content: center; align-items: center; color: #fef961; } .cellInput { input { color: #222; text-align: center; } } .vxe-table--fixed-left-wrapper.scrolling--middle { background: -webkit-linear-gradient(top, #020e38 0%, #04195b 100%); box-shadow: inset 0px 0px 10px rgb(36, 90, 124) !important; } } } // /*滚动条整体部分*/ // .tableGrid ::-webkit-scrollbar { // width: 8px; // height: 8px; // } // /*滚动条的轨道*/ // .tableGrid ::-webkit-scrollbar-track { // background-color: transparent; // -webkit-border-radius: 8px; // -moz-border-radius: 8px; // border-radius: 8px; // } // /*滚动条里面的小方块,能向上向下移动*/ // .tableGrid ::-webkit-scrollbar-thumb { // background-color: rgb(147, 147, 153, 0.5); // -webkit-border-radius: 8px; // -moz-border-radius: 8px; // border-radius: 8px; // } // .tableGrid ::-webkit-scrollbar-thumb:hover { // background-color: #a8a8a8; // } // .tableGrid ::-webkit-scrollbar-thumb:active { // background-color: #787878; // } // /*边角,即两个滚动条的交汇处*/ // .tableGrid ::-webkit-scrollbar-corner { // background-color: transparent; // } } .infoPanel { height: 280px; margin-top: 20px; transition: transform 0.5s; :deep(.swiper) { --swiper-theme-color: #ff6600; /* 设置Swiper风格 */ --swiper-navigation-color: #00ff33; /* 单独设置按钮颜色 */ --swiper-navigation-size: 30px; /* 设置按钮大小 */ .item { height: 280px; .content { display: flex; align-items: center; height: -webkit-fill-available; border: 2px solid #0D54AE; border-radius: 5px; color: #fff; padding: 15px; background: rgba(2, 7, 46, 0.77); .icon { width: 40%; img { width: 100%; } } .numValue { flex: 1; text-align: center; color: #99E5FF; span { font-size: 5rem; } i { font-size: 3rem; font-style: normal; } p { font-size: 2rem; margin: 0; color: #1782FF; } } } } } } } /*滚动条整体部分*/ .sidebar::-webkit-scrollbar, .tableGrid ::-webkit-scrollbar { width: 8px; height: 8px; } /*滚动条的轨道*/ .sidebar::-webkit-scrollbar-track, .tableGrid ::-webkit-scrollbar-track { background-color: transparent; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; } /*滚动条里面的小方块,能向上向下移动*/ .sidebar::-webkit-scrollbar-thumb, .tableGrid ::-webkit-scrollbar-thumb { background-color: rgb(147, 147, 153, 0.5); -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; } .sidebar::-webkit-scrollbar-thumb:hover, .tableGrid ::-webkit-scrollbar-thumb:hover { background-color: #a8a8a8; } .sidebar::-webkit-scrollbar-thumb:active, .tableGrid :-webkit-scrollbar-thumb:active { background-color: #787878; } /*边角,即两个滚动条的交汇处*/ .sidebar::-webkit-scrollbar-corner, .tableGrid ::-webkit-scrollbar-corner { background-color: transparent; } } } // .cardClass { .showTree { .weight { display: flex; align-items: center; margin-left: auto; span { margin-right: 2px; } } } .treeBtn { margin-top: 20px; text-align: right; .n-button { margin-left: 10px; } } // }