From 3bfd69b33ad6b5c7c5ada276809da8f27c403d74 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 20 Jan 2022 11:38:45 +0800
Subject: [PATCH] 调整 tab 公共样式

---
 common/custom.scss |   34 ++++++++++++++++++++++++++--------
 1 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/common/custom.scss b/common/custom.scss
index af1a84f..8b2e9eb 100644
--- a/common/custom.scss
+++ b/common/custom.scss
@@ -24,11 +24,23 @@
         }
         &.at-button--primary {
             color: #FFF;
-            border: 1PX solid #2093df;
-            background: #2093df;
+            border: 1PX solid $colorStress;
+            background: $colorStress;
+            &.btn-success {
+                border: 1PX solid $colorSuccess;
+                background: $colorSuccess;
+            }
+            &.btn-info {
+                border: 1PX solid $colorInfo;
+                background: $colorInfo;
+            }
+            &.btn-warning {
+                border: 1PX solid $colorWarning;
+                background: $colorWarning;
+            }
             &.btn-danger {
-                border: 1PX solid #FF5722;
-                background: #FF5722;
+                border: 1PX solid $colorDanger;
+                background: $colorDanger;
             }
         }
     }
@@ -99,6 +111,7 @@
             .at-tabs-pane {
                 height: 100%;
                 font-size: 36px;
+                transform: translate3d(0, 0, 0);
             }
         }
     }
@@ -116,8 +129,8 @@
             visibility: visible;
             &.at-radio__icon--checked {
                 .at-icon {
-                    background: #2093df;
-                    border-color: #2093df;
+                    background: $colorStress;
+                    border-color: $colorStress;
                 }
             }
             .at-icon {
@@ -153,7 +166,7 @@
             .at-modal__action button {
                 font-size: 36px;
                 &:last-child {
-                    color: #2093df;
+                    color: $colorStress;
                 }
             }
         }
@@ -193,6 +206,11 @@
             border-radius: 8px;
         }
     }
+    .at-activity-indicator {
+        .at-activity-indicator__content {
+            font-size: 36px;
+        }
+    }
 }
 
 .taro__toast,
@@ -212,7 +230,7 @@
         .weui-picker__hd {
             font-size: 36px;
             .weui-picker__action:last-child {
-                color: #2093df;
+                color: $colorStress;
             }
         }
     }

--
Gitblit v1.9.1