mo 2 years ago
parent
commit
e79fc149bb

+ 6 - 1
src/components/musicLIstItem/index.module.less

@@ -1,7 +1,12 @@
-.itemWrap {
+.itemWrapAll {
   &:nth-last-child(1){
+    .itemWrap {
     border-bottom: none;
+    }
   }
+}
+.itemWrap {
+
   &:hover {
     background-color: #f8f8f8;
     .vip {

+ 1 - 0
src/components/musicLIstItem/index.tsx

@@ -59,6 +59,7 @@ export default defineComponent({
     }
     return () => (
       <div
+      class={classes.itemWrapAll}
         onClick={() => {
           props.onClick(state.item)
         }}