zhengkaixin 1 年之前
父節點
當前提交
6c327797ec
共有 1 個文件被更改,包括 5 次插入16 次删除
  1. 5 16
      uni_modules/uview-ui/components/u-upload-file-all/u-upload-file-all.vue

+ 5 - 16
uni_modules/uview-ui/components/u-upload-file-all/u-upload-file-all.vue

@@ -25,11 +25,11 @@
 				:show-percent="false"
 				height="16"
 				class="u-progress"
-				:percent="item.progress"
+				
 			></u-line-progress>
-			<view @tap.stop="retry(index)" v-if="item.error" class="u-error-btn">点<br/>击<br/>重<br/>试</view>
+			<view @tap.stop="retry(index)" v-if="item.error" class="u-error-btn2 u-error-btn">点<br/>击<br/>重<br/>试</view>
 		<view  v-else-if="item.progress==100&&item.response&&item.response.result" class="u-error-btn2 u-primary-btn">上<br/>传<br/>成<br/>功<br/></view>
-		<view  v-else-if="!item.error" class="u-error-btn2 u-warning-btn">上<br/>传<br/>中<br/>试</view>
+		<view  v-else-if="!item.error" class="u-error-btn2 u-warning-btn">上<br/>传<br/>中</view>
 		<view class="file">{{item.file.name}}</view>
 		
 		</view>
@@ -112,7 +112,7 @@ export default {
 		// 最大上传数量
 		maxCount: {
 			type: [String, Number],
-			default: 52
+			default: 9
 		},
 		//  是否显示进度条
 		showProgress: {
@@ -656,18 +656,7 @@ export default {
 }
 
 .u-error-btn {
-	color: #ffffff;
 	background-color: $u-type-error;
-	font-size: 20rpx;
-	//padding: 4px 0;
-	  min-width: 20px;
-	text-align: center;
-	//position: absolute;
-	bottom: 0;
-	left: 0;
-	right: 0;
-	z-index: 9;
-	line-height: 1;
 }
 
 .u-primary-btn {
@@ -682,7 +671,7 @@ export default {
 	font-size: 20rpx;
 	//padding: 4px 0;
 	text-align: center;
-	    min-width: 20px;
+	min-width: 20px;
 	//position: absolute;
 	bottom: 0;
 	left: 0;