From d66ea987a3926731bff1582b2d5d0e90635c9976 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Sun, 24 Apr 2022 18:30:10 +0800 Subject: [PATCH] 调整公共样式 --- common/custom.scss | 114 +++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 95 insertions(+), 19 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 0c3e9a0..c9995e2 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -24,23 +24,23 @@ } &.at-button--primary { color: #FFF; - border: 1PX solid #2093df; - background: #2093df; + border: 1PX solid $colorStress; + background: $colorStress; &.btn-success { - border: 1PX solid #22c322; - background: #22c322; + border: 1PX solid $colorSuccess; + background: $colorSuccess; } &.btn-info { - border: 1PX solid #05b7c7; - background: #05b7c7; + border: 1PX solid $colorInfo; + background: $colorInfo; } &.btn-warning { - border: 1PX solid #db9d00; - background: #db9d00; + border: 1PX solid $colorWarning; + background: $colorWarning; } &.btn-danger { - border: 1PX solid #FF5722; - background: #FF5722; + border: 1PX solid $colorDanger; + background: $colorDanger; } } } @@ -95,6 +95,12 @@ } .at-list { position: unset; + .item-content__info-note { + font-size: 34px; + } + .item-extra__info { + font-size: 36px; + } } .at-tabs.at-tabs--horizontal { height: 100%; @@ -111,6 +117,7 @@ .at-tabs-pane { height: 100%; font-size: 36px; + transform: translate3d(0, 0, 0); } } } @@ -128,8 +135,8 @@ visibility: visible; &.at-radio__icon--checked { .at-icon { - background: #2093df; - border-color: #2093df; + background: $colorStress; + border-color: $colorStress; } } .at-icon { @@ -157,6 +164,7 @@ max-width: 90%; font-size: 36px; .at-modal__content { + min-height: 60px; font-size: 36px; } } @@ -165,7 +173,7 @@ .at-modal__action button { font-size: 36px; &:last-child { - color: #2093df; + color: $colorStress; } } } @@ -188,6 +196,10 @@ height: 70px !important; font-size: 36px !important; line-height: 70px; + .weui-input { + height: 70px; + line-height: 70px; + } } .at-search-bar__clear { height: 70px; @@ -202,19 +214,83 @@ font-size: 36px; color: #FFF; line-height: 70px; + background-color: $colorStress; border-radius: 8px; } } -} - -.taro__toast, -.taro__modal { - word-break: break-word; + .at-activity-indicator { + .at-activity-indicator__content { + font-size: 36px; + } + } + .at-divider { + .at-divider__content { + font-size: 36px; + } + } + .at-card { + .at-card__header-title { + font-size: 36px; + } + .at-card__header-extra { + font-size: 36px; + } + .at-card__content-info { + font-size: 36px; + } + } + .at-tag { + font-size: 36px; + } } .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; + } + } } } @@ -224,7 +300,7 @@ .weui-picker__hd { font-size: 36px; .weui-picker__action:last-child { - color: #2093df; + color: $colorStress; } } } -- Gitblit v1.9.1