From 357b0ca77c8b646cbbc9953549edb49af0f34686 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 20 Sep 2022 15:38:35 +0800 Subject: [PATCH] 增加下拉选框的容错性 --- common/custom.scss | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 46 insertions(+), 5 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index f622e9c..50e39a7 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 { @@ -164,6 +165,7 @@ max-width: 90%; font-size: 36px; .at-modal__content { + min-height: 60px; font-size: 36px; } } @@ -243,17 +245,56 @@ } } -.taro__toast, -.taro__modal { - word-break: break-word; -} - .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