lex-xin 2 mesi fa
parent
commit
ba8c4b8d9e

+ 1 - 1
src/tenant/music/train-tool/index.module.less

@@ -726,7 +726,7 @@
 
       .van-button__text {
         span + span {
-          padding-left: 8px;
+          padding-left: 4px;
         }
       }
     }

+ 1 - 1
src/tenant/music/train-tool/index.tsx

@@ -195,7 +195,7 @@ export default defineComponent({
             let albumStatus = ''
             if (!item.endTime) {
               albumStatus = 'NO_BUY'
-            } else if (dayjs().isBefore(dayjs(item.endTime))) {
+            } else if (dayjs().isAfter(dayjs(item.endTime))) {
               albumStatus = 'EXPIRED'
             } else {
               albumStatus = 'NORMAL'