lex 2 سال پیش
والد
کامیت
3bc378a1f9

+ 5 - 5
src/views/student-info/components/item/index.tsx

@@ -15,24 +15,24 @@ export default defineComponent({
   render() {
     const item = this.item
     return (
-      <div class="rounded-sm w-[168px] cursor-pointer overflow-hidden relative transition-all">
+      <div class="rounded-sm w-[156px] cursor-pointer overflow-hidden relative transition-all">
         <ElImage
-          class="w-full h-[168px] align-middle"
+          class="w-full h-[156px] align-middle rounded-[10px]"
           fit="cover"
           src={item.albumCoverUrl || hold}
         />
 
-        <div class="text-lg text-black whitespace-nowrap text-ellipsis overflow-hidden py-1">
+        <div class="text-lg text-black whitespace-nowrap text-ellipsis overflow-hidden pb-0.5 pt-2">
           {item.albumName}
         </div>
 
         <div class="flex justify-between text-sm text-[#999]">
           <div class="flex items-center">
-            <img src={pan} class="w-[18px] h-[18px] mr-1" />
+            {/* <img src={pan} class="w-[18px] h-[18px] mr-1" /> */}
             <span>{item.musicSheetCount}首</span>
           </div>
           <div class="flex items-center ">
-            <img src={start} class="w-[18px] h-[18px] mr-1" />
+            {/* <img src={start} class="w-[18px] h-[18px] mr-1" /> */}
             <span>{item.albumFavoriteCount}收藏</span>
           </div>
         </div>

+ 5 - 5
src/views/student-info/my-score/album-list.tsx

@@ -56,18 +56,18 @@ export default defineComponent({
   render() {
     return (
       <>
-        <div class="px-4 flex flex-wrap">
+        <div class="flex flex-wrap">
           <ElSkeleton
             loading={this.loading}
             animated
             class="px-[14px] flex items-center flex-row justify-between"
-            count={5}
+            count={4}
             v-slots={{
               template: () => (
-                <div class="flex items-center flex-col justify-between w-[168px]">
+                <div class="flex items-center flex-col justify-between w-[156px]">
                   <ElSkeletonItem
                     variant="image"
-                    style={{ width: '168px', height: '168px' }}
+                    style={{ width: '156px', height: '156px' }}
                   ></ElSkeletonItem>
                   <ElSkeletonItem
                     variant="p"
@@ -90,7 +90,7 @@ export default defineComponent({
           >
             {this.list.map((item: any) => (
               <>
-                <div class="w-1/5 pb-4">
+                <div class="w-1/4 pb-4">
                   <Item class="m-auto" item={item} />
                 </div>
               </>

+ 1 - 1
src/views/user-info/music-class/index.module.less

@@ -55,7 +55,7 @@
   width: 100%;
   border-radius: 12px;
   margin-bottom: 10px;
-  padding: 10px 12px;
+  padding: 10px 0;
   cursor: pointer;
   .left {
     display: flex;