Prechádzať zdrojové kódy

1.应用赋能中心样式修改

胡荣基 3 týždňov pred
rodič
commit
f488d3a797

+ 12 - 1
src/views/power-home/interface/InterfaceUtil.vue

@@ -1,7 +1,7 @@
 <template>
   <div style="height: 100%;width: 100%">
     <div class="container">
-      <el-carousel indicator-position="outside" class="carousel">
+      <el-carousel :loop="false" :autoplay="false" indicator-position="outside" class="carousel">
         <el-carousel-item v-for="(item1, index1) in data" :key="index1">
           <div class="div-row-img">
             <el-row>
@@ -211,6 +211,7 @@ img {
   height: 100%;
 }
 
+//
 .div-row-img {
   margin: 0 auto;
   width: 1450px;
@@ -218,4 +219,14 @@ img {
   display: flex;
   align-items: center; /* 垂直居中 */
 }
+
+//右边按钮
+:deep(.el-carousel__arrow--left) {
+  background: #000;
+}
+
+//右边按钮
+:deep(.el-carousel__arrow--right) {
+  background: #000;
+}
 </style>