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 @@