From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能
---
pages/inspection/scene/info/devicelist.wxss | 88 +++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 86 insertions(+), 2 deletions(-)
diff --git a/pages/inspection/scene/info/devicelist.wxss b/pages/inspection/scene/info/devicelist.wxss
index 52d4b05..4a4e2db 100644
--- a/pages/inspection/scene/info/devicelist.wxss
+++ b/pages/inspection/scene/info/devicelist.wxss
@@ -1,6 +1,6 @@
.side-bar-wrapper {
display: flex;
- height: 90vh;
+ height: 80vh;
overflow: hidden;
}
@@ -16,7 +16,7 @@
}
.side-bar-wrapper .title {
- padding-left: 40rpx;
+ padding: 0 10rpx;
margin-bottom: 8rpx;
}
@@ -25,3 +25,87 @@
height: 96rpx;
border: 2rpx solid #e7e7e7;
}
+
+.flex-h {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.flex-v {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+}
+
+.scene__item-tag__wrap {
+ position: relative;
+ display: flex;
+ align-items: center;
+ gap: 2px;
+}
+
+.scene__item {
+ margin: 0 10rpx;
+ background-color: var(--td-bg-color-fade);
+ border-radius: var(--td-border-radius);
+ box-shadow: var(--td-shadow-1);
+ padding: var(--td-spacer);
+ margin-top: var(--td-spacer);
+ color: var(--td-text-color-primary);
+}
+
+/* .scene__item:active {
+ background-color: var(--td-gray-color-1);
+} */
+
+.scene__item .scene__item-name {
+ --ei-font-size: var(--td-font-size-base);
+ --ei-line-height: calc(var(--td-text-line-height) * var(--ei-font-size));
+ font-size: var(--ei-font-size);
+ line-height: var(--ei-line-height);
+ height: calc(var(--ei-line-height) * 2);
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.scene__item-abstract {
+ font-size: var(--td-font-size-s);
+ color: var(--td-text-color-secondary);
+}
+
+.scene__nav-icon {
+ position: relative;
+ bottom: 0px;
+ right: 0px;
+ display: flex;
+ justify-content: flex-end;
+ /* margin-top: var(--td-spacer); */
+ /* background-color: blanchedalmond; */
+}
+
+.side-btn {
+ margin: initial !important;
+}
+
+.device-summary {
+ padding: 8px;
+ font-size: var(--td-font-size-s);
+ color: var(--td-text-color-secondary);
+}
+
+.type-success {
+ color: var(--td-success-color);
+}
+
+.type-warning {
+ color: var(--td-warning-color);
+}
+
+.type-error {
+ color: var(--td-error-color);
+}
\ No newline at end of file
--
Gitblit v1.9.3