From 146176c4bfc7e936026fc02d96fdc175738d9e14 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Tue, 09 Aug 2022 19:04:51 +0800
Subject: [PATCH] 我的音乐模块优化啊

---
 src/components/mini/Aplayer.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/components/mini/Aplayer.vue b/src/components/mini/Aplayer.vue
index cb0f163..42c0fb9 100644
--- a/src/components/mini/Aplayer.vue
+++ b/src/components/mini/Aplayer.vue
@@ -1,6 +1,8 @@
 <template>
 	<div class="fade">
-		<aplayer :audio="audio" fixed style="z-index: 10;"  :volume="0.1" :preload="preload" />
+		<a-col v-bind="colMain">
+			<aplayer :audio="audio" :autoplay="autoplay" fixed style="z-index: 10;" :volume="0.1" :preload="preload" />
+		</a-col>
 
 		<!-- <a-modal ref="musicModal" title="" :dialog-style="{ top: '10px' }" :mask="false"
 		:maskClosable="false"	:visible="modal1Visible" @ok="() => setModal1Visible(false)" @cancel="() => setModal1Visible(false)">
@@ -16,6 +18,15 @@
 
 		data() {
 			return {
+				colMain: {
+					xs: 0,
+					sm: 0,
+					md: 1,
+					lg: 1,
+					xl: 1,
+					xxl: 1
+				},
+				autoplay: false,
 				modal1Visible: true,
 				secondsToGo: 5,
 				preload: "none",

--
Gitblit v1.9.1