diff --git a/packages/button/index.wxml b/packages/button/index.wxml index 63817067..68f22736 100644 --- a/packages/button/index.wxml +++ b/packages/button/index.wxml @@ -20,8 +20,8 @@ > diff --git a/packages/loading/index.less b/packages/loading/index.less index ead57aec..83ce7c43 100644 --- a/packages/loading/index.less +++ b/packages/loading/index.less @@ -2,7 +2,6 @@ .van-loading { z-index: 0; - font-size: 0; line-height: 0; position: relative; display: inline-block; @@ -24,8 +23,8 @@ &--circular { border: 1px solid; border-radius: 100%; - border-color: currentColor; - border-top-color: transparent; + border-color: transparent; + border-top-color: currentColor } } @@ -48,7 +47,6 @@ } } - .generate(@n, @i: 1) when (@i =< @n) { .van-loading__dot:nth-of-type(@{i}) { opacity: 1 - (0.75 / 12) * (@i - 1);