.app-container { height: 100%; background-color: #f1f5f7; position: relative; .no-padding { padding: 0rem; } .el-row { height: 100%; .el-col { height: 100%; .head-container:nth-child(2) { height: calc(100% - 52px); .el-scrollbar { height: 100%; } } } } .left-container { position: absolute; top: 20px; left: 20px; z-index: 999; width: 266px; height: 100%; .top-container { height: 45%; .head-container:nth-child(2) { height: 85%; } } .pole-list { background-color: #fff; height: 50%; overflow: hidden; .header { margin: 16px 0 16px 20px; font-weight: 500; color: #333333; } .line { width: 265px; height: 1px; border: 1px solid #e5e5e5; } } } .tools-wrap { width: 351px; position: absolute; top: 20px; right: 20px; z-index: 999; .tools { height: 46px; background: #ffffff; box-shadow: 0px 9px 14px 4px rgba(0, 0, 0, 0.05), 0px 6px 8px 0px rgba(0, 0, 0, 0.08), 0px 3px 3px -2px rgba(0, 0, 0, 0.12); border-radius: 2px; display: flex; align-items: center; .item { display: flex; align-items: center; .title { min-width: 28px; height: 20px; font-size: 14px; font-family: PingFangSC, PingFang SC; font-weight: 400; color: #333333; line-height: 20px; margin-right: 4px; } .title-active { color: #3f9eff; } .img { width: 16px; height: 16px; margin-right: 18px; img { width: 100%; height: 100%; } } .line { width: 1px; height: 20px; border: 1px solid rgba(0, 0, 0, 0.1); margin-right: 18px; } &:nth-child(1) { margin-left: 24px; } } } .tool-con { width: 280px; margin-bottom: 9px; } .edit-con { width: 276px; } .tools-con { width: 351px; } .layer-con { width: 146px; height: 167px; margin-left: 180px; display: block; padding: 10px 24px; } } .e-header-con { height: 46px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid #e9e9e9; margin-bottom: 20px; justify-content: space-between; .title { font-size: 16px; font-family: PingFangSC, PingFang SC; font-weight: 400; color: #333333; line-height: 22px; } .img { width: 14px; height: 14px; cursor: pointer; img { width: 100%; height: 100%; } } } .switch-con { width: 4.54rem; position: absolute; top: 130px; right: 20px; z-index: 999; background-color: #fff; .header-con { @extend .e-header-con; } .el-form { padding-right: 24px; } .footer-con { display: flex; justify-content: flex-end; padding-right: 24px; margin-bottom: 30px; } } .e-detail-con { width: 5.46rem; height: 100%; background-color: #fff; box-shadow: 0px 12px 48px 16px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px -8px rgba(0, 0, 0, 0.08); border-radius: 2px; position: absolute; z-index: 999; top: 0; right: 0; .header-con { @extend .e-header-con; border-bottom: none; .title { font-weight: 600; } } } .switch-detail-con { @extend .e-detail-con; .content-con { .basic-info { margin: 21px auto 32px 20px; span { margin-right: 20px; } } .cabinet-table { margin: 20px 0; .table-head { width: 497px; height: 46px; background: #fafafa; line-height: 46px; } .table-head, .table-con .table-row { span { display: inline-block; width: 20%; padding-left: 20px; } .col1 { width: 15%; } .col2 { width: 25%; } } .table-con { height: 600px; overflow-y: scroll; .table-row { height: 46px; line-height: 46px; border-bottom: 1px solid #e8e8e8; } } } } } .pole-detail-con { @extend .e-detail-con; .tabs-con { width: 498px; height: 44px; line-height: 44px; background: #F0F4F8; border-radius: 21px; padding: 0 10px; margin-bottom: 24px; .tab { display: inline-block; padding: 0 9px; text-align: center; line-height: 32px; cursor: pointer; } .active { height: 32px; background: #1677FF; border-radius: 16px; color: #FFFFFF; } } .control-content { .slider-title { font-weight: 500; font-size: 16px; color: rgba(0, 0, 0, 0.85); line-height: 0.24rem; text-align: left; font-style: normal; margin-top: 0.24rem; } .history-con { margin-top: 0.16rem; max-height: 2rem; overflow-y: scroll; .item { font-family: AlibabaPuHuiTi_2_55_Regular; font-size: 0.16rem; color: #333333; line-height: 0.42rem; display: flex; padding-right: 0.2rem; .time { width: 1.7rem; } .val { flex: 1; margin-left: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } .check-con { cursor: pointer; margin-top: 28px; width: 236px; height: 62px; background: #FFFFFF; border-radius: 8px; border: 1px solid #1677FF; display: flex; justify-content: space-between; align-items: center; padding: 0 0.24rem; .text { font-weight: 500; font-size: 0.16rem; color: #1677FF; line-height: 0.22rem; } .img { width: 0.24rem; height: 0.24rem; } } } .sensor-content { .sensor { display: flex; flex-wrap: wrap; justify-content: space-around; margin-top: 30px; .sensor-item { position: relative; .name, .val { position: absolute; left: 24px; } .name { top: 18px; font-family: PingFangSC, PingFang SC; color: #333333; } .val { top: 42px; .value { font-family: AlibabaPuHuiTi_2_75_SemiBold; font-size: 32px; color: #000000; line-height: 36px; } .unit { font-family: PingFangSC, PingFang SC; color: #666666; } } } } } } } // 左右分布树形搜索结构 .container-flex { display: flex; justify-content: space-between; align-items: flex-start; height: 100%; width: 100%; .container-left { width: 2.2rem; height: 100%; padding: 0.1rem 0.2rem; background-color: #ffffff; .left-tree { height: calc(100% - 0.52rem); } } .container-right { width: calc(100% - 2.4rem); height: 100%; margin-left: 0.2rem; } .treespan::after { display: block; clear: both; visibility: hidden; } } // 搜索区域 .search-con { background: $color_white; margin-bottom: 0.1rem; border-radius: 0.02rem; box-sizing: border-box; .title { font-size: 0.14rem; font-weight: 500; color: #000000; padding: 0.1rem 0.2rem; border-bottom: 1px solid #e6e6ec; } .el-form { padding: 0.2rem 0.2rem 0; .el-form-item { margin: 0 0.2rem 0.2rem 0; height: 0.28rem; .el-form-item__label { min-width: 0.8rem; } .el-form-item__content { width: 2.6rem; .el-input__inner, .el-range-input { font-size: 12px; } .el-select, .el-cascader, .el-date-editor { width: 100%; } } } } } .search-btn-con { display: flex; justify-content: flex-end; align-items: center; padding-right: 0.2rem; padding-bottom: 0.1rem; .el-button { width: 0.8rem; height: 0.28rem; border-radius: 2px; font-size: 0.14rem; font-weight: 400; } } // 主内容区域 .main-con { height: calc(100% - 1.6rem); background: #ffffff; border-radius: 0.02rem; .summary-con { padding: 0.2rem; display: flex; justify-content: space-between; gap: 0.16rem; .left-con, .center-con, .right-con { width: 5.8rem; height: 1.2rem; background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%); border-radius: 0.12rem; display: flex; align-items: center; justify-content: flex-start; padding: 0.2rem 0.24rem; box-shadow: 0 0.04rem 0.16rem rgba(102, 126, 234, 0.08), 0 0 0 0.01rem rgba(102, 126, 234, 0.05); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; list-style: none; &::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0.03rem; background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%); opacity: 0; transition: opacity 0.3s ease; } &:hover { transform: translateY(-0.04rem); box-shadow: 0 0.08rem 0.24rem rgba(102, 126, 234, 0.15), 0 0 0 0.01rem rgba(102, 126, 234, 0.1); &::before { opacity: 1; } .icon-box { transform: scale(1.08); .el-icon { transform: rotate(8deg); } } } .icon-box { width: 0.7rem; height: 0.7rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%); border-radius: 0.1rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; border: 0.01rem solid rgba(102, 126, 234, 0.1); margin-right: 0.16rem; .el-icon { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); } } .line { width: 0.02rem; height: 0.5rem; background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.15) 20%, rgba(102, 126, 234, 0.15) 80%, transparent 100%); border: none; border-radius: 0.01rem; flex-shrink: 0; margin: 0 0.12rem; } .item-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0.04rem; &::before, &::after { display: none; } .num { font-size: 0.26rem; font-family: PingFangSC, PingFang SC, DIN, Arial, sans-serif; font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; transition: all 0.3s ease; white-space: nowrap; } .title { font-size: 0.13rem; font-family: PingFangSC, PingFang SC; font-weight: 400; color: #909399; line-height: 1.2; letter-spacing: 0.005rem; white-space: nowrap; margin-top: 0.04rem; } } } .center-con, .right-con { width: 3.2rem; height: 1.2rem; background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%); border-radius: 0.12rem; display: flex; align-items: center; justify-content: flex-start; padding: 0.2rem 0.24rem; .icon-box { width: 0.7rem; height: 0.7rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%); border-radius: 0.1rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; border: 0.01rem solid rgba(102, 126, 234, 0.1); margin-right: 0.16rem; .el-icon { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); } } .item-wrap { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.04rem; &::before, &::after { display: none; } } } } .title-con { display: flex; justify-content: space-between; align-items: center; border-bottom: 0.02rem solid transparent; background: linear-gradient(to right, #e6e6ec, #e6e6ec) no-repeat bottom / 100% 0.01rem; margin-bottom: 0.15rem; padding: 0.12rem 0.2rem; position: relative; &::after { content: ''; position: absolute; bottom: -0.01rem; left: 0; width: 0.6rem; height: 0.03rem; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); border-radius: 0.02rem; transition: width 0.3s ease; } .title { font-size: 0.16rem; font-family: PingFang-SC-Medium, PingFang-SC; font-weight: 600; color: #303133; letter-spacing: 0.01rem; display: flex; align-items: center; gap: 0.08rem; &::before { content: ''; width: 0.04rem; height: 0.18rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 0.02rem; } .time_select { position: absolute; right: 0.2rem; top: 0.02rem; .item { margin-right: 0.2rem; } } } .operate-btn-con { display: flex; .el-button { min-width: 0.8rem; height: 0.28rem; border-radius: 0.04rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); &:hover { transform: translateY(-0.02rem); box-shadow: 0 0.04rem 0.12rem rgba(102, 126, 234, 0.2); } } } } } .content-con { overflow: hidden; border-radius: 0.12rem; padding: 0.15rem 0.25rem; width: 100%; height: calc(100% - 0.59rem); background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%); box-shadow: 0 0.02rem 0.12rem rgba(102, 126, 234, 0.06); transition: all 0.3s ease; &:hover { box-shadow: 0 0.04rem 0.16rem rgba(102, 126, 234, 0.1); } .el-table__inner-wrapper { height: 100% !important; border-radius: 0.08rem; overflow: hidden; } .el-table__header { height: 0.5rem; background: linear-gradient(135deg, #f8f9fc 0%, #f0f4ff 100%); } .chart { width: 100%; height: 100%; border-radius: 0.08rem; padding: 0.1rem; background: #ffffff; box-shadow: inset 0 0.01rem 0.04rem rgba(102, 126, 234, 0.05); } .no_data { height: 100%; display: table-cell; vertical-align: middle; text-align: center; color: #909399; font-size: 0.14rem; } } .el-pagination { display: flex; justify-content: flex-end; align-items: center; margin: 0.2rem; } // 弹窗 .el-dialog { .el-dialog__body { padding: 10px 20px 30px; .basic-information { width: 100%; .title { line-height: 30px; font-size: 14px; font-weight: bold; } .content { font-size: 14px; margin-right: 8px; } } .el-step__title, .el-step__description, .el-step__icon { cursor: pointer; } .transfer-content { width: 80px; display: flex; flex-direction: column; align-items: center; .item { width: 50px; height: 50px; border: 1px solid transparent; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 10px; background: rgba(64, 158, 255, 0.2); } .active { background: rgba(64, 158, 255, 1); } } // 报警处理/置查看dialog .confirmView { margin: 10px 0 0 15px; font-size: 16px; font-weight: 700; } // 报警处理/置查看dialog基础信息 .viewIcon { display: flex; float: right; } // 图片 .item_img { float: left; } .multiImg { width: 100px; height: 100px; display: flex; margin-left: 10px; flex-direction: row; } .second_ticket { margin-left: 20px; } .chooseTime { //display: flex; position: absolute; top: 1.08rem; right: 0.4rem; margin-top: 0.1rem; z-index: 999; span { margin: 0 10px 0 10px; } } .chooseBtn { //margin-top: 0.1rem; .dataType { width: 1rem; display: inline; margin: 0.08rem 0.06rem; .dataBtn { margin-top: 0.1rem; } } } // 环境传感器chart .chooseChart { margin-top: 0.4rem; width: 6rem; height: 3.2rem; } // 环境传感器chart--无数据 .noData { width: 6rem; height: 3.2rem; margin: 0 10px 0 10px; text-align: center; line-height: 4rem; } .programDesign{ display: flex; margin: 0 0.4rem; border: 1px solid #e5e5e5; } .programDesign_left,.programDesign_right{ width: 27%; border: 1px solid #e5e5e5; } .programDesign_middle{ width: 46%; border: 1px solid #e5e5e5; .panelEdit{ .toolBar{ height: 0.4rem; background: rgba(153, 204, 255,0.3); display: flex; justify-content: space-around; padding-top: 0.12rem; .tool_input{ width:10%; height:0.18rem; } } .panelContent{ width: 100%; height: 6rem; overflow: auto; background-color: #e5e5e5; } } } .programDesign_left{ .compo_list{ .programTitle{ width: 100%; height: 0.4rem; text-align: center; line-height: 0.4rem; color: #fff; background-color: rgb(215,215,215); } .icon_group{ height: 0.4rem; width: 100%; padding-top: 0.12rem; display: flex; justify-content: space-around; border-bottom: 1px solid #e5e5e5; } .programContent{ height: 2rem; overflow: auto; .list{ padding: 0.08rem; border-bottom: 1px solid #e5e5e5; } //选中样式 .isActive{ background-color: rgba(215, 215, 215,0.2); } } } .resourceList{ height:3.4rem; overflow: auto; .resourceTitle{ width: 100%; height: 0.4rem; text-align: center; line-height: 0.4rem; color: #fff; background-color: rgb(215,215,215); } .resourceItem{ cursor: pointer; .item_typename{ height: 0.4rem; text-align: center; line-height: 0.4rem; background-color: rgba(221, 236, 246); color: #000000; } .item_name{ height: 0.4rem; text-align: center; line-height: 0.4rem; color: #000000; } } } } .programDesign_right{ height: 6.4rem; .componentTitle{ width: 100%; height: 0.4rem; text-align: center; line-height: 0.4rem; color: #fff; background-color: rgb(215,215,215); } .attributeData{ height: 6rem; width: 100%; padding: 0.08rem; overflow-y: auto; overflow-x: hidden; .attr_position,.attr_size{ display: flex; width: 1.72rem; .position{ width: 50%; margin-right: 0.1rem; } } .single_select{ width: 74%; } } } } .el-form { .el-form-item__content { width: 2.6rem; .el-select, .el-cascader, .el-date-editor { width: 100%; } .el-range-input { font-size: 12px; } .d-flex { width: 100%; display: flex; align-items: center; } .ml-10 { margin-left: 10px; } } } // 维修配置左右栏 .dataleft { float: left; width: 300px; text-align: center; } .dataright { float: right; width: 400px; text-align: center; } // 报警设置值/限值标题 .dialogItemTitle { margin: 10px 0 30px 0; } // 报警设置富文本框自定义宽度 .multi_input { width: 94%; } // 报警设置中限值报警el-form-item宽度 .alarm_input { width: 30%; } // 设备管理-菜单按钮 .buttonClass { margin: 10px 0 10px 20px; // “+”符号 .plus { font-weight: bold; font-size: 18px; margin-right: 10px; } } } // 左侧树结构右侧人员信息 .container-new { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; height: 400px; overflow: auto; .tree { height: calc(100% - 0.52rem); width: 50%; } } // 左侧树结构右侧人员信息 .data-con { background: $color_white; margin-bottom: 0.1rem; border-radius: 0.02rem; box-sizing: border-box; width: 50%; margin-top: 20px; .detail { margin-top: 20px; } } // el-tab样式 .page_tab { background-color: #fff; height: 40px; border-radius: 3px; } // 图表标题 .echarts-title { min-height: 20px; font-size: 16px; line-height: 20px; padding-left: 10px; border-left: 2px solid #002fa7; } // 暂无数据样式--左侧 .alarmCharts_noData_left { width: 100px; height: 100px; position: absolute; top: 50%; left: 25%; } // 暂无数据样式--右侧 .alarmCharts_noData { width: 100px; height: 100px; position: absolute; top: 50%; left: 75%; } // 图表框 .echarts-wraper { width: 100%; height: 280px; .echarts { width: 100%; height: 280px; } } .grid-content { min-height: 300px; box-shadow: 0px 0px 4px 0px rgba(189, 189, 189, 0.5); border-radius: 2px; // border: 1px solid #ebe8e8; background-color: #fff; padding: 16px; // 避免图表暂无数据情况height缩短 height: 100%; .item_chart { position: relative; } } .l7-popup { .l7-popup-tip { display: none; } .l7-popup-content { padding: 0 !important; background: transparent !important; box-shadow: none !important; } } .popup-wrapper { width: 2.3rem; height: 1.56rem; background: url('../../assets/images/popup-bg.png') no-repeat; padding: 0.16rem 0.24rem; .popup-title { padding-right: 0.17rem; line-height: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: PingFangSC, PingFang SC; font-weight: 400; font-size: 0.14rem; color: #333333; margin-bottom: 10px; } .line { margin-left: -0.16rem; width: 2.14rem; height: 1px; background: rgba(0, 0, 0, 0.1); } .popup-content { margin-top: 10px; .item { font-size: 0.14rem; font-family: PingFangSC, PingFang SC; color: #666666; line-height: 0.26rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .num { color: #333333; } .error { color: #ff665d; } } } .error { color: #ff665d; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); border-radius: 0; } ::-webkit-scrollbar { -webkit-appearance: none; width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { cursor: pointer; border-radius: 5px; background: rgba(0, 0, 0, 0.25); transition: color 0.2s ease; }