From 7ab43d2e9e8061c4f966f81cfc1ac7037a8e1ca0 Mon Sep 17 00:00:00 2001 From: algerkong Date: Wed, 3 Jan 2024 22:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/const/bar-const.ts | 65 +++++++++++++++++++ src/index.css | 2 +- src/layout/components/SearchBar.vue | 99 +++++------------------------ src/router/home.ts | 1 + src/views/list/index.vue | 2 + src/views/mv/index.vue | 9 +-- src/views/user/index.vue | 16 ++--- 7 files changed, 97 insertions(+), 97 deletions(-) create mode 100644 src/const/bar-const.ts diff --git a/src/const/bar-const.ts b/src/const/bar-const.ts new file mode 100644 index 0000000..3c6c0c1 --- /dev/null +++ b/src/const/bar-const.ts @@ -0,0 +1,65 @@ +export const USER_SET_OPTIONS = [ + // { + // label: '打卡', + // key: 'card', + // }, + // { + // label: '听歌升级', + // key: 'card_music', + // }, + // { + // label: '歌曲次数', + // key: 'listen', + // }, + { + label: '退出登录', + key: 'logout', + }, + { + label: '设置', + key: 'set', + }, +] + +export const SEARCH_TYPES = [ + { + label: '单曲', + key: 1, + }, + { + label: '专辑', + key: 10, + }, + { + label: '歌手', + key: 100, + }, + { + label: '歌单', + key: 1000, + }, + { + label: '用户', + key: 1002, + }, + { + label: 'MV', + key: 1004, + }, + { + label: '歌词', + key: 1006, + }, + { + label: '电台', + key: 1009, + }, + { + label: '视频', + key: 1014, + }, + { + label: '综合', + key: 1018, + }, +] diff --git a/src/index.css b/src/index.css index e4292cd..23b836f 100644 --- a/src/index.css +++ b/src/index.css @@ -6,6 +6,6 @@ @tailwind utilities; .n-image img { - @apply bg-gray-900; + background-color: #111111; width: 100%; } \ No newline at end of file diff --git a/src/layout/components/SearchBar.vue b/src/layout/components/SearchBar.vue index 12cdea9..c6b10b4 100644 --- a/src/layout/components/SearchBar.vue +++ b/src/layout/components/SearchBar.vue @@ -23,7 +23,7 @@
- + - 登录 +
登录