gemercheung vor 1 Jahr
Ursprung
Commit
471e46d111
1 geänderte Dateien mit 15 neuen und 13 gelöschten Zeilen
  1. 15 13
      src/views/setting/index.vue

+ 15 - 13
src/views/setting/index.vue

@@ -148,15 +148,15 @@
               </a>
             </Tooltip>
 
-            <!-- <ui-icon
+            <ui-icon
               v-if="!back.sys"
               type="close"
               class="del"
               @click.stop="delBack(back)"
-            /> -->
-            <ui-button type="primary" class="del" @click.stop="delBack(back)">
+            />
+            <!-- <ui-button type="primary" class="del" @click.stop="delBack(back)">
               删除
-            </ui-button>
+            </ui-button> -->
           </div>
           <ui-input
             class="input"
@@ -544,16 +544,18 @@ const iconUpload = async (data: any) => {
 
   .del {
     position: absolute;
-    // background: #ef4347;
-    // width: 20px;
-    // height: 20px;
-    // top: -10px;
-    // right: -10px;
-    top: 60px;
-    left: 0;
+    background: #ef4347;
+    width: 20px;
+    height: 20px;
+    top: -10px;
+    right: -10px;
+    border-radius: 50%;
     opacity: 0;
+    // top: 60px;
+    // left: 0;
+
     // opacity: 1;
-    // border-radius: 50%;
+
     :global(.ui-button) {
       height: 28px;
       border-top-left-radius: 0;
@@ -571,7 +573,7 @@ const iconUpload = async (data: any) => {
   }
 
   &:hover .del {
-    opacity: 0.9;
+    opacity: 1;
   }
 
   .iconfont {