From 1a0e4972f80278bfa9e53283374b745b6c968341 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 13 八月 2024 17:30:57 +0800
Subject: [PATCH] 设备信息管理模块

---
 pages/inspection/scene/info/devicelist.wxss |   70 ++++++++++++++++++++++++++++++++++-
 1 files changed, 68 insertions(+), 2 deletions(-)

diff --git a/pages/inspection/scene/info/devicelist.wxss b/pages/inspection/scene/info/devicelist.wxss
index 52d4b05..4c4a23a 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,69 @@
   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;
+}
\ No newline at end of file

--
Gitblit v1.9.3