1212 "
1313 >
1414 <div class =" gray" />
15- <n-icon
16- class =" close"
17- size =" 40"
18- :component =" KeyboardArrowDownFilled"
19- @click =" music.setBigPlayerState(false)"
20- />
21- <n-icon
22- class =" screenfull"
23- size =" 36"
24- :component =" screenfullIcon"
25- @click =" screenfullChange"
26- />
15+ <div class =" icon-menu" >
16+ <div class =" menu-left" >
17+ <div class =" icon" >
18+ <n-icon
19+ class =" setting"
20+ size =" 30"
21+ :component =" SettingsRound"
22+ @click ="
23+ () => {
24+ music.setBigPlayerState(false);
25+ router.push('/setting/player');
26+ }
27+ "
28+ />
29+ </div >
30+ </div >
31+ <div class =" menu-right" >
32+ <div class =" icon" >
33+ <n-icon
34+ class =" screenfull"
35+ :component =" screenfullIcon"
36+ @click =" screenfullChange"
37+ />
38+ </div >
39+ <div class =" icon" >
40+ <n-icon
41+ class =" close"
42+ :component =" KeyboardArrowDownFilled"
43+ @click =" music.setBigPlayerState(false)"
44+ />
45+ </div >
46+ </div >
47+ </div >
48+
2749 <div
2850 :class ="
2951 music.getPlaySongLyric.lrc[0] && music.getPlaySongLyric.lrc.length > 4
@@ -124,6 +146,7 @@ import {
124146 MessageFilled ,
125147 FullscreenRound ,
126148 FullscreenExitRound ,
149+ SettingsRound ,
127150} from " @vicons/material" ;
128151import { musicStore , settingStore } from " @/store" ;
129152import { useRouter } from " vue-router" ;
@@ -296,11 +319,63 @@ watch(
296319 width : 100% ;
297320 height : 100% ;
298321 background-color : #00000060 ;
322+ -webkit-backdrop-filter : blur (80px );
299323 backdrop-filter : blur (80px );
300324 z-index : -1 ;
301325 }
326+ .icon-menu {
327+ padding : 20px ;
328+ width : 100% ;
329+ height : 80px ;
330+ position : absolute ;
331+ top : 0 ;
332+ left : 0 ;
333+ display : flex ;
334+ align-items : center ;
335+ justify-content : space-between ;
336+ z-index : 2 ;
337+ box-sizing : border-box ;
338+ .menu-left ,
339+ .menu-right {
340+ display : flex ;
341+ align-items : center ;
342+ .icon {
343+ width : 40px ;
344+ height : 40px ;
345+ display : flex ;
346+ align-items : center ;
347+ justify-content : center ;
348+ font-size : 40px ;
349+ opacity : 0.3 ;
350+ border-radius : 8px ;
351+ transition : all 0.3s ;
352+ cursor : pointer ;
353+ & :hover {
354+ background-color : #ffffff20 ;
355+ transform : scale (1.05 );
356+ opacity : 1 ;
357+ }
358+ & :active {
359+ transform : scale (1 );
360+ }
361+ .screenfull ,
362+ .setting {
363+ @media (max-width : 768px ) {
364+ display : none ;
365+ }
366+ }
367+ }
368+ }
369+ .menu-right {
370+ .icon {
371+ margin-left : 12px ;
372+ }
373+ }
374+ }
375+ /*
302376 .close,
303- .screenfull {
377+ .screenfull,
378+ .setting {
304379 position: absolute;
305380 top: 24px;
306381 right: 24px;
@@ -326,6 +401,9 @@ watch(
326401 display: none;
327402 }
328403 }
404+ .setting {
405+ left: 24px;
406+ }*/
329407 .all {
330408 width : 100% ;
331409 height : 100% ;
@@ -379,6 +457,7 @@ watch(
379457 height : 40px ;
380458 border-radius : 25px ;
381459 background-color : #ffffff20 ;
460+ -webkit-backdrop-filter : blur (20px );
382461 backdrop-filter : blur (20px );
383462 display : flex ;
384463 align-items : center ;
0 commit comments