lex 1 rok temu
rodzic
commit
b535ace2cf

+ 21 - 1
src/views/creation/edit/index.module.less

@@ -126,7 +126,27 @@
     border: none;
     margin: 0;
     border-radius: 8px;
+    overflow: hidden;
     background-color: #FFFFFF;
+
+    &::after {
+      content: '选封面';
+      position: absolute;
+      bottom: 0;
+      left: 0;
+      right: 0;
+      z-index: 10;
+      background: #000000;
+      opacity: 0.37;
+      line-height: 20px;
+      height: 20px;
+      font-size: 13px;
+      color: #FFFFFF;
+      line-height: 18px;
+      text-align: center;
+      border-radius: 0 0 8px 8px;
+      pointer-events: none;
+    }
   }
 
   .uploadImg {
@@ -188,4 +208,4 @@
   margin: 32px 24px 12px;
   font-weight: 500;
   font-size: 16px;
-}
+}

+ 1 - 1
src/views/creation/edit/index.tsx

@@ -133,7 +133,7 @@ export default defineComponent({
               deletable={false}
               v-model:modelValue={state.img}
             />
-            <div class={styles.tip}>选封面</div>
+            {/* <div class={styles.tip}>选封面</div> */}
           </div>
           <div class={styles.musicDetail}>
             <p class={styles.musicName}>{state.musicDetail.musicSheetName}</p>