From 68c5ef7d9fea3f911e250fb5f8b300bc76099e49 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:55:49 +0800
Subject: [PATCH] 小程序
---
minipro_standard/uni_modules/uview-ui/components/u-button/vue.scss | 146 ++++++++++++++++++++++++------------------------
1 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/minipro_standard/uni_modules/uview-ui/components/u-button/vue.scss b/minipro_standard/uni_modules/uview-ui/components/u-button/vue.scss
index d23404b..32019b2 100644
--- a/minipro_standard/uni_modules/uview-ui/components/u-button/vue.scss
+++ b/minipro_standard/uni_modules/uview-ui/components/u-button/vue.scss
@@ -1,19 +1,19 @@
-// nvue涓媓over-class鏃犳晥
-$u-button-before-top:50% !default;
-$u-button-before-left:50% !default;
-$u-button-before-width:100% !default;
-$u-button-before-height:100% !default;
-$u-button-before-transform:translate(-50%, -50%) !default;
-$u-button-before-opacity:0 !default;
-$u-button-before-background-color:#000 !default;
-$u-button-before-border-color:#000 !default;
-$u-button-active-before-opacity:.15 !default;
-$u-button-icon-margin-left:4px !default;
-$u-button-plain-u-button-info-color:$u-info;
-$u-button-plain-u-button-success-color:$u-success;
-$u-button-plain-u-button-error-color:$u-error;
-$u-button-plain-u-button-warning-color:$u-error;
-
+// nvue涓媓over-class鏃犳晥
+$u-button-before-top:50% !default;
+$u-button-before-left:50% !default;
+$u-button-before-width:100% !default;
+$u-button-before-height:100% !default;
+$u-button-before-transform:translate(-50%, -50%) !default;
+$u-button-before-opacity:0 !default;
+$u-button-before-background-color:#000 !default;
+$u-button-before-border-color:#000 !default;
+$u-button-active-before-opacity:.15 !default;
+$u-button-icon-margin-left:4px !default;
+$u-button-plain-u-button-info-color:$u-info;
+$u-button-plain-u-button-success-color:$u-success;
+$u-button-plain-u-button-error-color:$u-error;
+$u-button-plain-u-button-warning-color:$u-error;
+
.u-button {
width: 100%;
@@ -21,60 +21,60 @@
white-space: nowrap;
line-height: 1;
}
-
- &:before {
- position: absolute;
- top:$u-button-before-top;
- left:$u-button-before-left;
- width:$u-button-before-width;
- height:$u-button-before-height;
- border: inherit;
- border-radius: inherit;
- transform:$u-button-before-transform;
- opacity:$u-button-before-opacity;
- content: " ";
- background-color:$u-button-before-background-color;
- border-color:$u-button-before-border-color;
- }
-
- &--active {
- &:before {
- opacity: .15
- }
- }
-
- &__icon+&__text:not(:empty),
- &__loading-text {
- margin-left:$u-button-icon-margin-left;
- }
-
- &--plain {
- &.u-button--primary {
- color: $u-primary;
- }
- }
-
- &--plain {
- &.u-button--info {
- color:$u-button-plain-u-button-info-color;
- }
- }
-
- &--plain {
- &.u-button--success {
- color:$u-button-plain-u-button-success-color;
- }
- }
-
- &--plain {
- &.u-button--error {
- color:$u-button-plain-u-button-error-color;
- }
- }
-
- &--plain {
- &.u-button--warning {
- color:$u-button-plain-u-button-warning-color;
- }
- }
-}
+
+ &:before {
+ position: absolute;
+ top:$u-button-before-top;
+ left:$u-button-before-left;
+ width:$u-button-before-width;
+ height:$u-button-before-height;
+ border: inherit;
+ border-radius: inherit;
+ transform:$u-button-before-transform;
+ opacity:$u-button-before-opacity;
+ content: " ";
+ background-color:$u-button-before-background-color;
+ border-color:$u-button-before-border-color;
+ }
+
+ &--active {
+ &:before {
+ opacity: .15
+ }
+ }
+
+ &__icon+&__text:not(:empty),
+ &__loading-text {
+ margin-left:$u-button-icon-margin-left;
+ }
+
+ &--plain {
+ &.u-button--primary {
+ color: $u-primary;
+ }
+ }
+
+ &--plain {
+ &.u-button--info {
+ color:$u-button-plain-u-button-info-color;
+ }
+ }
+
+ &--plain {
+ &.u-button--success {
+ color:$u-button-plain-u-button-success-color;
+ }
+ }
+
+ &--plain {
+ &.u-button--error {
+ color:$u-button-plain-u-button-error-color;
+ }
+ }
+
+ &--plain {
+ &.u-button--warning {
+ color:$u-button-plain-u-button-warning-color;
+ }
+ }
+}
--
Gitblit v1.9.3