mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-18 03:17:29 +08:00
🦄 refactor(style): 修改页面样式为全屏样式
This commit is contained in:
@@ -152,7 +152,7 @@ const handlePlay = (item: any) => {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.list-page {
|
||||
position: relative;
|
||||
@apply relative h-full;
|
||||
}
|
||||
|
||||
.musicPage-enter-active {
|
||||
@@ -164,15 +164,13 @@ const handlePlay = (item: any) => {
|
||||
}
|
||||
|
||||
.recommend {
|
||||
width: 100%;
|
||||
height: 800px;
|
||||
background-color: #000000;
|
||||
@apply w-full h-full;
|
||||
&-title {
|
||||
@apply text-lg font-bold text-white py-4;
|
||||
}
|
||||
|
||||
&-list {
|
||||
@apply flex flex-wrap;
|
||||
@apply flex flex-wrap justify-between;
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
&-item {
|
||||
@@ -220,10 +218,10 @@ const handlePlay = (item: any) => {
|
||||
.music {
|
||||
&-page {
|
||||
width: 100%;
|
||||
height: 734px;
|
||||
height: 70%;
|
||||
position: absolute;
|
||||
background-color: #000000f0;
|
||||
top: 100px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-radius: 30px 30px 0 0;
|
||||
animation-duration: 300ms;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
v-for="(item, index) in searchDetail?.result.songs"
|
||||
:key="item.id"
|
||||
:class="setAnimationClass('animate__bounceInRight')"
|
||||
:style="setAnimationDelay(index, 100)"
|
||||
:style="setAnimationDelay(index, 50)"
|
||||
>
|
||||
<SongItem :item="item" />
|
||||
</div>
|
||||
@@ -116,19 +116,15 @@ watch(
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.search {
|
||||
height: 750px;
|
||||
background-color: #333;
|
||||
}
|
||||
.search-page {
|
||||
@apply flex;
|
||||
@apply flex h-full;
|
||||
}
|
||||
.hot-search {
|
||||
@apply mt-3 mr-4 rounded-xl flex-1 overflow-hidden;
|
||||
height: 740px;
|
||||
background-color: #0d0d0d;
|
||||
animation-duration: 0.2s;
|
||||
min-width: 400px;
|
||||
height: 100%;
|
||||
&-item {
|
||||
@apply px-4 py-3 text-lg hover:bg-gray-700 rounded-xl cursor-pointer;
|
||||
&-count {
|
||||
@@ -142,8 +138,8 @@ watch(
|
||||
|
||||
.search-list {
|
||||
@apply mt-3 flex-1 rounded-xl;
|
||||
height: 740px;
|
||||
background-color: #0d0d0d;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
||||
Reference in New Issue
Block a user