From 3b9fd30846c2c43130dec826cb6b7b861f10f4d8 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Sat, 04 Feb 2023 15:19:36 +0800
Subject: [PATCH] 弹窗按钮支持禁用

---
 common/custom.scss |   85 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 80 insertions(+), 5 deletions(-)

diff --git a/common/custom.scss b/common/custom.scss
index 4c632ab..a78ea0f 100644
--- a/common/custom.scss
+++ b/common/custom.scss
@@ -75,6 +75,7 @@
                 box-sizing: border-box;
                 .layout-header__title {
                     font-size: 38px;
+                    line-height: 46px;
                 }
             }
             .layout-body {
@@ -117,6 +118,7 @@
             .at-tabs-pane {
                 height: 100%;
                 font-size: 36px;
+                transform: translate3d(0, 0, 0);
             }
         }
     }
@@ -163,6 +165,7 @@
             max-width: 90%;
             font-size: 36px;
             .at-modal__content {
+                min-height: 60px;
                 font-size: 36px;
             }
         }
@@ -172,6 +175,11 @@
                 font-size: 36px;
                 &:last-child {
                     color: $colorStress;
+                }
+                &[disabled] {
+                    color: #fff;
+                    background-color: #e6e6e6;
+                    pointer-events: none;
                 }
             }
         }
@@ -194,6 +202,10 @@
                 height: 70px !important;
                 font-size: 36px !important;
                 line-height: 70px;
+                .weui-input {
+                    height: 70px;
+                    line-height: 70px;
+                }
             }
             .at-search-bar__clear {
                 height: 70px;
@@ -208,7 +220,13 @@
             font-size: 36px;
             color: #FFF;
             line-height: 70px;
+            background-color: $colorStress;
             border-radius: 8px;
+        }
+    }
+    .at-activity-indicator {
+        .at-activity-indicator__content {
+            font-size: 36px;
         }
     }
     .at-divider {
@@ -230,19 +248,76 @@
     .at-tag {
         font-size: 36px;
     }
-}
-
-.taro__toast,
-.taro__modal {
-    word-break: break-word;
+    .at-action-sheet {
+        .at-action-sheet__container {
+            max-height: 90%;
+            overflow-y: scroll;
+        }
+    }
+    .at-steps {
+        .at-steps__single-icon {
+            width: 56px;
+            height: 56px;
+        }
+        .at-steps__right-line {
+            left: 80%;
+        }
+        .at-steps__left-line {
+            right: 80%;
+        }
+    }
 }
 
 .taro__toast {
+    word-break: break-word;
     >div>p:last-child {
         font-size: 36px !important;
     }
 }
 
+.taro__modal {
+    word-break: break-word;
+    >div:nth-child(2) {
+        width: 72% !important;
+        border-radius: 12px !important;
+        >div:nth-child(1) {
+            position: relative;
+            padding: 18px 24px !important;
+            font-size: 40px !important;
+            &:after {
+                content: "";
+                width: 100%;
+                position: absolute;
+                left: 0;
+                bottom: 0;
+                right: 0;
+                height: 1px;
+                border-top: 1px solid #D5D5D6;
+                color: #D5D5D6;
+                -webkit-transform-origin: 0 0;
+                transform-origin: 0 0;
+                -webkit-transform: scaleY(0.5);
+                transform: scaleY(0.5);
+            }
+        }
+        >div:nth-child(2) {
+            padding: 32px 24px !important;
+            min-height: 60px !important;
+            font-size: 36px !important;
+            color: inherit !important;
+            text-align: left;
+        }
+    }
+    .taro-modal__foot {
+        .taro-model__btn {
+            font-size: 36px !important;
+            &:last-child {
+                color: $colorStress !important;
+            }
+        }
+    }
+}
+
 .weui-picker__overlay {
     .weui-picker {
         font-size: 32px;

--
Gitblit v1.9.1