diff --git a/src/loading/loading.less b/src/loading/loading.less index 903ffc81b..17ee52c18 100644 --- a/src/loading/loading.less +++ b/src/loading/loading.less @@ -57,10 +57,10 @@ height: 100%; background: conic-gradient( from 180deg at 50% 50%, - transparent 0deg, - transparent 60deg, + rgba(255, 255, 255, 0) 0deg, + rgba(255, 255, 255, 0) 60deg, currentColor 330deg, - transparent 360deg + rgba(255, 255, 255, 0) 360deg ); mask: radial-gradient(transparent calc(50% - 1rpx), #fff 50%); diff --git a/src/picker/picker.less b/src/picker/picker.less index b6b5efd4a..0cdbe1589 100644 --- a/src/picker/picker.less +++ b/src/picker/picker.less @@ -85,12 +85,12 @@ &--top { top: 0; - background: linear-gradient(180deg, @picker-bg-color 0%, transparent 100%); + background: linear-gradient(180deg, @picker-bg-color 0%, rgba(255, 255, 255, 0) 100%); } &--bottom { bottom: 0; - background: linear-gradient(180deg, @picker-bg-color 0%, transparent 100%); + background: linear-gradient(180deg, @picker-bg-color 0%, rgba(255, 255, 255, 0) 100%); transform: matrix(1, 0, 0, -1, 0, 0); } }