diff --git a/src/assets/common/boderBg.png b/src/assets/common/boderBg.png index c779469..8840b4c 100644 Binary files a/src/assets/common/boderBg.png and b/src/assets/common/boderBg.png differ diff --git a/src/assets/common/deviceCardBg.png b/src/assets/common/deviceCardBg.png new file mode 100644 index 0000000..e4f2315 Binary files /dev/null and b/src/assets/common/deviceCardBg.png differ diff --git a/src/assets/common/emptyBg.png b/src/assets/common/emptyBg.png new file mode 100644 index 0000000..e0918a5 Binary files /dev/null and b/src/assets/common/emptyBg.png differ diff --git a/src/styles/element-plus.scss b/src/styles/element-plus.scss index f6b0b83..d6150e0 100644 --- a/src/styles/element-plus.scss +++ b/src/styles/element-plus.scss @@ -142,6 +142,26 @@ background-color: #032b5c; /* 自定义背景色 */ border: none; /* 可选:去掉边框 */ } +.custom-input { + width: 150px; + background-color: #032b5c; /* 自定义背景色 */ + border: none; /* 可选:去掉边框 */ + .el-input__wrapper { + background: rgba(74, 126, 191, 0.1); /* 下拉框背景色 */ + border: 1px solid transparent; /* 边框 */ + color: white; /* 文字颜色 */ + height: 32px; + box-shadow: none; + + &::placeholder { + color: rgba(255, 255, 255, 0.6); /* 占位符颜色 */ + } + } + .el-input__inner { + color: white; /* 文字颜色 */ + height: 32px; + } +} /* 修改下拉菜单背景色 */ .el-select-dropdown { diff --git a/src/views/dashboard/AppearanceMonitor.scss b/src/views/dashboard/AppearanceMonitor.scss index 7f7a577..26b3b50 100644 --- a/src/views/dashboard/AppearanceMonitor.scss +++ b/src/views/dashboard/AppearanceMonitor.scss @@ -29,15 +29,15 @@ .appearance-monitor-left { width: 55%; + background-image: url("@/assets/common/boderBg.png"); + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; .monitor-left-top { box-sizing: border-box; - padding: 32px 16px; - margin-bottom: 16px; + padding: 32px 16px 20px; min-height: 600px; - background-image: url("@/assets/common/boderBg.png"); - background-size: 100% 100%; - background-position: center; - background-repeat: no-repeat; + img { width: 100%; height: 590px; @@ -45,6 +45,8 @@ } .monitor-left-bottom { width: 100%; + padding: 0 16px; + margin-bottom: 16px; overflow: visible; .swiper { width: 100%; @@ -84,5 +86,13 @@ } } } + .empty-bg { + width: 100%; + height: 800px; + background-image: url("@/assets/common/emptyBg.png"); + background-size: 312px 204px; + background-position: center; + background-repeat: no-repeat; + } } } \ No newline at end of file diff --git a/src/views/dashboard/AppearanceMonitor.vue b/src/views/dashboard/AppearanceMonitor.vue index b1fe113..983d60e 100644 --- a/src/views/dashboard/AppearanceMonitor.vue +++ b/src/views/dashboard/AppearanceMonitor.vue @@ -1,20 +1,23 @@