icssoa há 7 meses atrás
pai
commit
3e59a31732

+ 1 - 4
uni_modules/cool-ui/components/cl-image/cl-image.uvue

@@ -39,10 +39,7 @@
 			v-else-if="isLoading && showLoading"
 		>
 			<slot name="loading">
-				<cl-loading
-					:loading="true"
-					:pt="{ icon: { className: '!text-surface-400' } }"
-				></cl-loading>
+				<cl-loading :loading="true"></cl-loading>
 			</slot>
 		</view>
 

+ 1 - 1
uni_modules/cool-ui/components/cl-loading/cl-loading.uvue

@@ -3,7 +3,7 @@
 		class="cl-loading"
 		:class="[
 			{
-				'is-dark': isDark,
+				'is-dark': isDark && color == '',
 				'cl-loading--spin': loading,
 				'!border-primary-500': color == 'primary',
 				'!border-green-500': color == 'success',