lex 1 year ago
parent
commit
7171711c86

+ 3 - 2
src/views/music/music-detail/download.module.less

@@ -4,7 +4,7 @@
 
 .musicContainer {
   text-align: center;
-  max-height: 520px;
+  max-height: 420px;
   overflow: hidden;
   overflow-y: auto;
 
@@ -26,6 +26,7 @@
   font-size: 12px;
   color: #999;
   padding: 0 0 12px;
+
   .page {
     font-size: 16px;
     font-weight: 600;
@@ -40,4 +41,4 @@
   font-weight: 600;
   color: #ffffff;
   line-height: 20px;
-}
+}

+ 6 - 4
src/views/music/music-detail/index.tsx

@@ -1015,10 +1015,12 @@ export default defineComponent({
           </Popup>
 
           <Popup v-model:show={downloadStatus.value} position="bottom" round>
-            <Download
-              imgList={JSON.parse(JSON.stringify(showImg))}
-              musicSheetName={musicDetail.value.musicSheetName}
-            />
+            {downloadStatus.value && (
+              <Download
+                imgList={JSON.parse(JSON.stringify(showImg))}
+                musicSheetName={musicDetail.value.musicSheetName}
+              />
+            )}
           </Popup>
 
           <Popup