lex-xin 7 місяців тому
батько
коміт
6ef5b59f6a

+ 3 - 3
src/views/xiaoku-list/detail.module.less

@@ -433,7 +433,7 @@
 
     .topName {
       font-weight: 600;
-      font-size: 20px;
+      font-size: max(20px, 14Px);
       color: #131415;
       line-height: 28px;
       white-space: nowrap;
@@ -458,10 +458,10 @@
         background: #fff3f3;
         border-radius: 3px;
         border: 1px solid rgba(254, 67, 67, 0.5);
-        font-size: max(12px, 11px);
+        font-size: max(12px, 11Px);
         color: #fe4343;
         padding: 0 5px;
-        line-height: 16Px;
+        line-height: 14Px;
         display: flex;
         align-items: center;
         &::before {

+ 13 - 9
src/views/xiaoku-list/index.module.less

@@ -144,7 +144,7 @@
       }
 
       .n-button {
-        min-width: 102px;
+        min-width: 84px;
         height: 37px;
         font-weight: bold !important;
         padding: 0 24px;
@@ -300,7 +300,7 @@
 
     .topName {
       font-weight: 600;
-      font-size: 20px;
+      font-size: max(20px, 14Px);
       color: #131415;
       line-height: 28px;
       white-space: nowrap;
@@ -323,7 +323,7 @@
         font-size: max(12px, 11Px);
         color: #fe4343;
         padding: 0 5px;
-        line-height: 16Px;
+        line-height: 14Px;
         display: flex;
         align-items: center;
         &::before {
@@ -344,7 +344,7 @@
       .song {
         background: #ffffff;
         font-size: max(12px, 11Px);
-        line-height: 16Px;
+        line-height: 14Px;
         border-radius: 3px;
         padding: 0 4px;
         display: flex;
@@ -371,7 +371,7 @@
 
 .searchContainer {
   flex: 1 auto;
-  padding: 24px 0;
+  padding: 20px 0;
   .empty {
     display: flex;
     align-items: center;
@@ -454,7 +454,7 @@
 
     .topName {
       font-weight: 600;
-      font-size: 20px;
+      font-size: max(20px, 14Px);
       color: #131415;
       line-height: 28px;
       white-space: nowrap;
@@ -479,9 +479,12 @@
         background: #fff3f3;
         border-radius: 3px;
         border: 1px solid rgba(254, 67, 67, 0.5);
-        font-size: max(12px, 11px);
+        font-size: max(12px, 11Px);
         color: #fe4343;
         padding: 0 5px;
+        line-height: 14Px;
+        display: flex;
+        align-items: center;
         &::before {
           content: '';
           display: inline-block;
@@ -500,8 +503,9 @@
       .sing,
       .song {
         background: #ffffff;
-        font-size: max(12px, 11px);
+        font-size: max(12px, 11Px);
         border-radius: 3px;
+        line-height: 14Px;
         padding: 0 4px;
         line-height: 1;
         display: flex;
@@ -517,7 +521,7 @@
       }
       .author {
         color: #777777;
-        font-size: max(14px, 12px);
+        font-size: max(14px, 12Px);
       }
     }
   }

+ 1 - 1
src/views/xiaoku-list/search-group-resources.tsx

@@ -341,7 +341,7 @@ export default defineComponent({
           isShowInstrument.value && styles.searchGroupOnly
         ]}>
         <NForm labelAlign="left" labelPlacement="left">
-          {data.newTags.length > 0 && (
+          {data.newTags.length > 1 && (
             <NFormItem
               label={'标签:'}
               class={isShowInstrument.value && styles.hideItem}>