Kaynağa Gözat

fix: 圆角显示

sunhongyao341504 2 yıl önce
ebeveyn
işleme
8c2fb24bb8

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 123
src/views/page-config/ConfigEdit2.vue


+ 7 - 1
src/views/page-config/component/PageMain.vue

@@ -14,6 +14,7 @@
         v-for="item in companyLayoutList"
         :key="item.id"
         class="content-show"
+        :class="{ 'content-active': item.id === IconId }"
         @mouseover="showDeleteIcon(item)"
         @mouseleave="hideDeleteIcon(item)"
         @click="handleClick(item)"
@@ -137,7 +138,7 @@
     height: 104px;
     background: rgba(255, 255, 255, 0.04);
     border-radius: 5px;
-    border: 1px solid rgba(0, 0, 0, 0.15);
+    border: 1px dashed rgba(0, 0, 0, 0.15);
     // text-align: center;
     margin-left: 56px;
     margin-top: 43px;
@@ -172,6 +173,11 @@
     border: 1px solid #e8ecf2;
     margin-bottom: 24px;
     cursor: pointer;
+    border-radius: 5px;
+  }
+
+  .content-active {
+    box-shadow: 0px 1px 10px 1px rgba(24, 144, 255, 0.5);
   }
 
   .pic-box {