Browse Source

feat:登录

ljc 1 month ago
parent
commit
cd8bab5561
3 changed files with 18 additions and 8 deletions
  1. 11 1
      components/cwg-tabel.vue
  2. 5 7
      pages/login/index.vue
  3. 2 0
      static/scss/global/global.scss

+ 11 - 1
components/cwg-tabel.vue

@@ -845,7 +845,7 @@ defineExpose({
             transition: all 0.3s;
             background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
             border-bottom: 1px solid #ebeef5 !important;
-            color: #606266;
+            color: rgb(var(--bs-white-rgb))!important;
 
             .header-content {
                 display: flex;
@@ -876,6 +876,16 @@ defineExpose({
             transition: background-color 0.2s ease;
             border-bottom: 1px solid #ebeef5 !important;
 
+            // 奇数行背景颜色
+            &:nth-child(odd) {
+                background-color: #fafafa;
+            }
+
+            // 偶数行背景颜色
+            &:nth-child(even) {
+                background-color: #fff;
+            }
+
             &:hover {
                 background-color: #f5f7fa !important;
             }

+ 5 - 7
pages/login/index.vue

@@ -1105,7 +1105,7 @@ button {
   margin: px2rpx(32) 0;
   font-size: px2rpx(24);
   font-weight: bolder;
-  color: #e4e4e4;
+  color: var(--bs-emphasis-color);
   text-align: center;
 
   i {
@@ -1116,7 +1116,7 @@ button {
     font-size: px2rpx(34);
     line-height: 1.5;
     font-weight: bold;
-    color: #000000;
+    color: var(--bs-emphasis-color);
   }
 
   .tit2 {
@@ -1201,9 +1201,7 @@ button {
   display: flex;
   align-items: center;
   justify-content: center;
-  //gap: 5px;
-  //padding-bottom: 10px;
-  border-bottom: 1px solid #e4e4e4;
+  border-bottom: 1px solid var(--bs-border-color);
 }
 
 .tab-item {
@@ -1213,9 +1211,9 @@ button {
   padding-left: 0;
   padding-bottom: 8px;
   text-align: center;
-  border-bottom: 0.1rem solid transparent;
+  border-bottom: 2px solid transparent;
   font-weight: 500;
-  color: #333;
+  color: var(--bs-emphasis-color);
   cursor: pointer;
   transition: all 0.3s ease;
 

+ 2 - 0
static/scss/global/global.scss

@@ -197,6 +197,8 @@
     --bs-form-valid-border-color: #75b798;
     --bs-form-invalid-color: #ea868f;
     --bs-form-invalid-border-color: #ea868f;
+    --bs-danger-rgb: 255, 64, 28;
+    --bs-white-rgb: 255, 255, 255;
 }
 
 .dark {