diff --git a/packages/action-sheet/index.less b/packages/action-sheet/index.less index b239665c..8f31c766 100644 --- a/packages/action-sheet/index.less +++ b/packages/action-sheet/index.less @@ -10,8 +10,8 @@ &__item, &__cancel { height: 50px; - line-height: 50px; font-size: 16px; + line-height: 50px; text-align: center; background-color: @white; @@ -28,27 +28,19 @@ } } - &__name, - &__subname { - display: inline-block; - } - &__subname { font-size: 12px; color: @gray-darker; margin-left: 5px; } - &__loading { - display: inline-block; - } - &__cancel { margin-top: 10px; } &__header { font-size: 16px; + font-weight: 500; line-height: 44px; text-align: center; } @@ -57,8 +49,8 @@ top: 0; right: 0; padding: 0 15px; - font-size: 18px !important; color: @gray-dark; + font-size: 18px !important; position: absolute !important; line-height: inherit !important; } diff --git a/packages/action-sheet/index.wxml b/packages/action-sheet/index.wxml index 4d851529..5bfe879d 100644 --- a/packages/action-sheet/index.wxml +++ b/packages/action-sheet/index.wxml @@ -7,34 +7,34 @@ close-on-click-overlay="{{ closeOnClickOverlay }}" bind:close="onClose" > - - {{ title }} - - - - + + {{ title }} + + {{ cancelText }} - - - +