From 664d69fbe574bfaf3862d4804390e4b77df9fc19 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 23 Sep 2021 17:32:27 +0800
Subject: [PATCH] 实现抽屉公共组件,代替TaroUI的抽屉

---
 common/custom.scss |   46 +++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 39 insertions(+), 7 deletions(-)

diff --git a/common/custom.scss b/common/custom.scss
index bbde51b..9fbb0f2 100644
--- a/common/custom.scss
+++ b/common/custom.scss
@@ -5,17 +5,13 @@
 
 @import "./sassMixin";
 
-.taro-tabbar__container {
+.taro_page,
+page {
     font-size: 30px;
     color: #333;
     textarea {
         font-size: inherit;
         font-family: -apple-system-font, Helvetica Neue, sans-serif;
-    }
-    .at-nav-bar {
-        .at-nav-bar__title {
-            font-size: 42px;
-        }
     }
     .at-button {
         display: inline-block;
@@ -77,9 +73,45 @@
             font-size: 0;
             .at-tabs-pane {
                 height: 100%;
-                margin-right: 2%;
                 font-size: 30px;
             }
         }
     }
+    .at-radio {
+        .at-radio__option {
+            padding-left: 0;
+        }
+        .at-radio__option-wrap {
+            padding-left: 32px;
+        }
+        .at-radio__icon {
+            visibility: visible;
+            &.at-radio__icon--checked {
+                .at-icon {
+                    background: #2093df;
+                    border-color: #2093df;
+                }
+            }
+            .at-icon {
+                color: #fff;
+                border: #bbb 1px solid;
+                border-radius: 50%;
+                padding: 5px;
+            }
+        }
+        &::before,
+        &::after {
+            display: none;
+        }
+    }
+}
+
+page {
+    .at-tabs.at-tabs--horizontal {
+        .at-tabs__body {
+            .at-tabs-pane {
+                margin-right: 0;
+            }
+        }
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.1