From 73b874c72ad55eb9eef21c36160ac0de58f0189e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 10:30:43 +0800
Subject: [PATCH] 优化名片
---
shop_vue/static/css/common.css | 88 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/shop_vue/static/css/common.css b/shop_vue/static/css/common.css
index e13b1a7..6254d64 100644
--- a/shop_vue/static/css/common.css
+++ b/shop_vue/static/css/common.css
@@ -575,6 +575,10 @@
margin-right: 10px;
}
+.mr16 {
+ margin-right: 16px;
+}
+
/*padding*/
.p2 {
padding: 2px;
@@ -783,6 +787,90 @@
border-bottom: 1px dashed #DDDDDD;
}
+.border-b-e {
+ border-bottom: 1px solid #EEEEEE;
+}
+
.radius {
border-radius: 50%;
}
+
+/* 抽屉样式 */
+.drawer-box .el-drawer__header {
+ font-size: 15px;
+ color: #000;
+ font-weight: bold;
+}
+
+.drawer-box .el-drawer__body {
+ padding-left: 15px;
+ padding-right: 15px;
+}
+
+.drawer-box .drawer-tabs {
+ border: 0;
+ box-shadow: none;
+ margin-left: -15px;
+ margin-right: -15px;
+}
+
+.drawer-box .drawer-tabs>.el-tabs__header {
+ border-bottom: 0;
+}
+
+.drawer-box .drawer-tabs>.el-tabs__header .el-tabs__item.is-active {
+ border-left-color: #ffffff;
+ border-right-color: #ffffff;
+}
+
+.drawer-box .drawer-tabs>.el-tabs__header .el-tabs__item.is-active:before {
+ content: "";
+ display: block;
+ width: 100%;
+ height: 2px;
+ background: #409EFF;
+ position: absolute;
+ top: 0;
+ left: 0
+}
+
+.drawer-box .el-avatar i {
+ font-size: 35px;
+ line-height: 50px;
+}
+
+/* 重定义el-switch样式 */
+.el-switch__label {
+ position: absolute;
+ display: none !important;
+ color: #fff;
+ font-size: 12px!important
+}
+
+.el-switch__label--left,.el-switch__label--right {
+ z-index: 1;
+ font-size: 12px!important;
+}
+
+.el-switch__label--left {
+ left: 19px;
+}
+
+.el-switch__label.is-active {
+ display: block !important;
+ color: #fff !important;
+ font-size: 12px !important;
+}
+
+/* .el-table__row .el-switch .el-switch__core,.el-table__row .el-switch .el-switch__label {
+ font-size: 12px;
+ width: 55px!important;
+} */
+
+.el-switch__label * {
+ font-size: 12px !important;
+}
+
+.sel-width {
+ width: 280px !important;
+}
\ No newline at end of file
--
Gitblit v1.9.2