.text-center { text-align: center; } .font-13 { font-size: 13px; } .font-12 { font-size: 12px; } .font-11 { font-size: 11px; } .text-grey1 { color: #888; } .text-grey2 { color: #aaa; } .list-cell-arrow::before { content: ' '; height: 10px; width: 10px; border-width: 2px 2px 0 0; border-color: #c0c0c0; border-style: solid; -webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0); transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0); position: absolute; top: 50%; margin-top: -6px; right: 30rpx; } .list-cell { position: relative; width: 100%; box-sizing: border-box; background-color: #fff; color: #333; padding: 26rpx 30rpx; } .list-cell:first-child { border-radius: 8rpx 8rpx 0 0; } .list-cell:last-child { border-radius: 0 0 8rpx 8rpx; } .list-cell::after { content: ''; position: absolute; border-bottom: 1px solid #eaeef1; -webkit-transform: scaleY(0.5) translateZ(0); transform: scaleY(0.5) translateZ(0); transform-origin: 0 100%; bottom: 0; right: 0; left: 0; pointer-events: none; } .menu-list { margin: 15px 15px; .menu-item-box { width: 100%; display: flex; align-items: center; .menu-icon { color: #007AFF; font-size: 16px; margin-right: 5px; } .text-right { margin-left: auto; margin-right: 34rpx; color: #999; } } } .status-bar{ background: #fff; width: 100%; height: var(--status-bar-height); position: fixed; top:0; left: 0; z-index:99; } // 暂无数据通用样式 .no-data{ color:#999; text-align: center; line-height: 100px; height: 100px; font-size: 30rpx; } // 九宫格 .grid-item-box { flex: 1; // position: relative; /* #ifndef APP-NVUE */ display: flex; /* #endif */ flex-direction: column; align-items: center; justify-content: center; padding: 20rpx; background-color: #fff; .title { font-size: 26rpx; color: #666; } .text { margin-top: 20rpx; font-size: 32rpx; font-weight: 500; color: #666; overflow-wrap: anywhere; } } .flex-container{ display: flex; .flex-lists{ flex:1; } } // 设备详情页面 状态公共样式 .common-collapse-item{ .content{ background: linear-gradient(to bottom, #22bb5873, #45db7a26); padding: 1rpx 0 1rpx 0; } // 标题 .title-wrapper{ // 设备状态栏 padding:20rpx 30rpx; font-size: 28rpx; line-height: 30rpx; font-weight: 700; color: #000000; .top{ .status{ display: inline-block; vertical-align: middle; color:#fff; padding:0 10rpx; margin-right: 10rpx; font-size: 22rpx; line-height: 38rpx; border-radius: 10rpx; } .name{ display: inline-block; vertical-align: middle; } } } // 设备状态卡片 .status-card-group{ .uni-group__content{ padding-top:0; padding-bottom:0; } // 设备状态九宫格 .grid-item-box{ background-color: transparent; .title{ color:#333; } .text{ color:#000; font-weight: bolder; &.work-status-color{ color:#000; } } } } // 设备数据卡片 .data-card-group{ .uni-group__content{ padding-top:0; padding-bottom:0; } // 数据列表 .data-row{ font-size: 26rpx; line-height: 36rpx; color: #000; padding:24rpx 0; &:not(:last-child){ border-bottom: 1px solid #ebedf0; } .title{ color:#333; text-align: left; } .value{ text-align: right; } } } // 子设备表格卡片 .child-card-group{ .child-table{ .uni-table-th{ color:#333; font-size: 26rpx; } .uni-table-td{ color:#000; font-size: 26rpx; } .table--border{ border-color:#ebedf0; } } } // 支路卡片 .branch-card-group{ .uni-group__title { background-color: #959595; height: 70rpx; .uni-group__title-text { color: #fff; font-size:26rpx; line-height: 30rpx; } } .uni-group__content { padding: 0; .title{ color:#333; } .text{ color:#000; font-weight: normal; } } &.uni-group--card:last-child { margin-bottom: 50rpx; } } } //运行中 .running-collapse-item{ // 标题 .title-wrapper{ .top{ .status{ background-color: #30be95; } } } .content{ background-color:rgba(69,219,122,0.15); } // 状态九宫格 .status-card-group{ .grid-item-box{ .text{ &.work-status-color{ color:#30be95; } } } } //支路设备 .branch-card-group{ .uni-group__title { background-color: #30be95; } } } //故障 .warning-collapse-item{ // 标题 .title-wrapper{ .top{ .status{ background-color: #ed7876; } } } .content{ background: rgba(245,96,78,0.15); } // 状态九宫格 .status-card-group{ .grid-item-box{ .text{ &.work-status-color{ color:#ed7876; } } } } //支路设备 .branch-card-group{ .uni-group__title { background-color: #ed7876; } } } // 停机 .timing-collapse-item{ // 标题 .title-wrapper{ .top{ .status{ background-color: #000; } } } .content{ background: rgba(140,140,140,0.15); } // 状态九宫格 .status-card-group{ .grid-item-box{ .text{ &.work-status-color{ color:#000; } } } } //支路设备 .branch-card-group{ .uni-group__title { background-color: #000; } } }