From 67d4bf09d8d40aa5121e61dde63030fc958e2a14 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 13 Oct 2021 09:40:54 +0800
Subject: [PATCH] 优化列表筛选器组件显示兼容性

---
 common/custom.scss |   64 ++++++++++++++++++++++++--------
 1 files changed, 48 insertions(+), 16 deletions(-)

diff --git a/common/custom.scss b/common/custom.scss
index 943576b..9fbb0f2 100644
--- a/common/custom.scss
+++ b/common/custom.scss
@@ -5,17 +5,13 @@
 
 @import "./sassMixin";
 
-.taro-tabbar__container {
-    font-size: 0.65rem;
+.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: 0.9rem;
-        }
     }
     .at-button {
         display: inline-block;
@@ -27,7 +23,7 @@
         .weui-input {
             height: 100%;
             border: none;
-            font-size: 0.65rem;
+            font-size: 30px;
         }
     }
     .at-float-layout {
@@ -45,7 +41,7 @@
                 width: 100%;
                 height: calc(100% - 84px);
                 max-height: 100%;
-                font-size: 0.65rem;
+                font-size: 30px;
                 box-sizing: border-box;
                 &:first-child {
                     height: 100%;
@@ -61,24 +57,60 @@
         position: unset;
     }
     .weui-picker {
-        font-size: 0.65rem;
+        font-size: 30px;
         .weui-picker__hd {
-            font-size: 0.65rem;
+            font-size: 30px;
         }
     }
     .at-tabs.at-tabs--horizontal {
         height: 100%;
         .at-tabs__header {
-            height: 1.9rem;
-            line-height: 1.15rem;
+            height: 90px;
+            line-height: 52px;
         }
         .at-tabs__body {
-            height: calc(100% - 1.9rem);
+            height: calc(100% - 90px);
             font-size: 0;
             .at-tabs-pane {
                 height: 100%;
-                margin-right: 2%;
-                font-size: 0.65rem;
+                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;
             }
         }
     }

--
Gitblit v1.9.1