11wqe1 2 tygodni temu
rodzic
commit
004db335ad
1 zmienionych plików z 4 dodań i 26 usunięć
  1. 4 26
      src/views/kanBan/components/AschoolFeature.vue

+ 4 - 26
src/views/kanBan/components/AschoolFeature.vue

@@ -30,27 +30,6 @@
 				</div>
 			</div>
 			<div style="height: auto; padding: 30px 0">
-				<!-- <div
-					style="
-						width: 100%;
-						object-fit: contain;
-						border-radius: 10px;
-						height: 100%;
-						margin-bottom: 14px;
-					"
-					v-if="CampusF.GroupImgList && CampusF.GroupImgList.length == 1"
-				>
-					<img
-						style="
-							width: 100%;
-							height: 100%;
-							object-fit: cover;
-							border-radius: 10px;
-						"
-						:src="CampusF.GroupImgList[0]"
-						alt=""
-					/>
-				</div> -->
 
 				<div
 					class="CarO"
@@ -58,8 +37,8 @@
 					v-if="CampusF.GroupImgList && CampusF.GroupImgList.length"
 				>
 					<el-carousel
-						style="width: 100%; height: 100%"
 						indicator-position="outside"
+						height="420px"
 					>
 						<el-carousel-item
 							v-for="(i, index) in CampusF.GroupImgList"
@@ -68,10 +47,8 @@
 							<el-image
 								style="
 									width: 100%;
-									object-fit: contain;
 									border-radius: 10px;
 									height: 100%;
-									object-fit: contain;
 								"
 								:src="i"
 								:preview-src-list="CampusF.GroupImgList"
@@ -1845,9 +1822,9 @@ export default {
 .CarO >>> .el-carousel {
 	height: auto !important;
 }
-.CarO >>> .el-carousel__container {
+/* .CarO >>> .el-carousel__container {
 	height: 420px !important;
-}
+} */
 /*指示器按钮*/
 .CarO >>> .el-carousel__button {
 	width: 10px;
@@ -2016,4 +1993,5 @@ export default {
 	font-weight: 600;
 	color: #303133;
 }
+
 </style>