diff --git a/Aurora-plugin/vuepress-plugin-archive/LICENSE b/Aurora-plugin/vuepress-plugin-archive/LICENSE
deleted file mode 100644
index 15f1f7e7..00000000
--- a/Aurora-plugin/vuepress-plugin-archive/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2018-present, Yuxi (Evan) You
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/Aurora-plugin/vuepress-plugin-archive/package.json b/Aurora-plugin/vuepress-plugin-archive/package.json
index f4dd1442..eb6f0c1f 100644
--- a/Aurora-plugin/vuepress-plugin-archive/package.json
+++ b/Aurora-plugin/vuepress-plugin-archive/package.json
@@ -1,69 +1,37 @@
{
- "_from": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
- "_id": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
- "_inBundle": false,
- "_integrity": "sha1-xb6u2TrbtYl2WLmoByAAs9rY+LA=",
- "_location": "/@vuepress/plugin-back-to-top",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
- "name": "@vuepress/plugin-back-to-top",
- "escapedName": "@vuepress%2fplugin-back-to-top",
- "scope": "@vuepress",
- "rawSpec": "2.0.0-beta.26",
- "saveSpec": null,
- "fetchSpec": "2.0.0-beta.26"
+ "name": "vuepress-plugin-archive",
+ "version": "1.0.0-beta.1",
+ "description": "为Vuepress静态站点提供在线发布,编辑说说功能,支持图片上传,点赞,评论,用户登录,注册等功能 Provide online publishing, editing and talking functions for Vuepress static sites, support image upload, like, comment, user login, registration and other functions",
+ "main": "./lib/node/index.js",
+ "directories": {
+ "lib": "lib"
},
- "_requiredBy": [
- "/@vuepress/theme-default"
- ],
- "_resolved": "https://registry.nlark.com/@vuepress/plugin-back-to-top/download/@vuepress/plugin-back-to-top-2.0.0-beta.26.tgz",
- "_shasum": "c5beaed93adbb5897658b9a8072000b3dad8f8b0",
- "_spec": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
- "_where": "D:\\theme-aurora\\theme-aurora\\node_modules\\@vuepress\\theme-default",
- "author": {
- "name": "meteorlxy"
- },
- "bugs": {
- "url": "https://github.com/vuepress/vuepress-next/issues"
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "commit": "git add . && git cz"
},
- "bundleDependencies": false,
- "dependencies": {
- "@vuepress/core": "2.0.0-beta.26",
- "@vuepress/utils": "2.0.0-beta.25",
- "ts-debounce": "^3.0.0",
- "vue": "^3.2.3"
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/vuepress-aurora/vuepress-plugin-archive"
},
- "deprecated": false,
- "description": "VuePress plugin - back to top",
- "files": [
- "lib"
- ],
- "gitHead": "6cbf3e07b2871383cebad5180fcbb02d69c79566",
- "homepage": "https://github.com/vuepress",
"keywords": [
- "vuepress-plugin",
- "vuepress",
+ "vuepress-theme",
"plugin",
- "top"
+ "vue",
+ "vuepress-plugin",
+ "vuepress archive",
+ "vuepress2",
+ "archive",
+ "vuepress-plugin-timeline",
+ "vuepress timeline"
],
- "license": "MIT",
- "main": "lib/node/index.js",
- "name": "@vuepress/plugin-back-to-top",
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/vuepress/vuepress-next.git"
- },
- "scripts": {
- "build": "tsc -b tsconfig.build.json",
- "clean": "rimraf lib *.tsbuildinfo",
- "copy": "cpx \"src/**/*.{css,svg}\" lib"
+ "author": "qsyyke",
+ "license": "ISC",
+ "bugs": {
+ "url": "https://github.com/vuepress-aurora/vuepress-plugin-archive/issues"
},
- "types": "lib/node/index.d.ts",
- "version": "2.0.0-beta.26"
+ "homepage": "https://aurora.xcye.xyz/plugin/archive/index.html",
+ "publishConfig": {
+ "tag": "next"
+ }
}
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.d.ts b/Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.d.ts
new file mode 100644
index 00000000..ea051ea8
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.d.ts
@@ -0,0 +1,3 @@
+declare const _default: import("@vuepress/client").ClientAppEnhance;
+export default _default;
+
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.js b/Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.js
new file mode 100644
index 00000000..278f61c4
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.js
@@ -0,0 +1,14 @@
+import { defineClientAppEnhance } from '@vuepress/client';
+import AuroraMusic from "./components/AuroraMusic";
+import './style/aurora.music.css'
+import $ from "jquery";
+import {createApp} from "vue";
+export default defineClientAppEnhance(({ app, router }) => {
+ app.component("AuroraMusic",AuroraMusic)
+
+ let posterAppend = $("
").get(0)
+ $("#app").get(0).appendChild(posterAppend)
+ createApp(AuroraMusic,{
+ app: app,
+ }).mount("#aurora-music-append")
+});
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/client/components/AuroraMusic.vue b/Aurora-plugin/vuepress-plugin-music-player/lib/client/components/AuroraMusic.vue
new file mode 100644
index 00000000..cdb2ddb4
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/client/components/AuroraMusic.vue
@@ -0,0 +1,314 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{currentMusicObject.songName}}
+
+
+
+
+
+
+
+ {{item.songName}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/client/components/song.mp3 b/Aurora-plugin/vuepress-plugin-music-player/lib/client/components/song.mp3
new file mode 100644
index 00000000..8d9929bd
Binary files /dev/null and b/Aurora-plugin/vuepress-plugin-music-player/lib/client/components/song.mp3 differ
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/client/network.js b/Aurora-plugin/vuepress-plugin-music-player/lib/client/network.js
new file mode 100644
index 00000000..bfdcfe50
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/client/network.js
@@ -0,0 +1,55 @@
+//import axios from "axios"
+const axios = require('axios')
+
+module.exports = {
+ req: function (option) {
+ return new Promise((resolve, reject) => {
+ let timeout = 15000;
+ let method = "GET"
+ let baseURL = ""
+ try {
+ timeout = option.timeout
+ method = option.method
+ baseURL = option.baseURL
+ }catch (e) {
+
+ }
+
+ const instance = axios.create({
+ baseURL,
+ timeout,
+ method: 'GET',
+ url: option.url,
+ params: option.params,
+ withCredentials: true
+ })
+
+ //拦截器
+ instance.interceptors.request.use(config => {
+ return config
+ },err => {
+ return err
+ })
+
+ //响应拦截器
+ instance.interceptors.response.use(response => {
+ return response
+ },err => {
+
+ return err
+ })
+
+ instance(option)
+ .then(res => {
+ //res为响应结果 执行这里,跳转回到调用该方法处
+ resolve({
+ src: option.songSrc,
+ data: res.data
+ })
+ }).catch(err => {
+ //err为异常结果
+ reject(err)
+ })
+ })
+ },
+}
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/client/style/aurora.music.css b/Aurora-plugin/vuepress-plugin-music-player/lib/client/style/aurora.music.css
new file mode 100644
index 00000000..2b189627
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/client/style/aurora.music.css
@@ -0,0 +1,237 @@
+:root {
+ --aurora-music-border-radius: 35px;
+}
+.music-player {
+ /*max-width: 20rem;*/
+ width: max-content;
+ height: 5rem;
+ /*display: flex;*/
+ position: relative;
+
+ background: white;
+ margin-top: 5rem;
+
+}
+
+.music-box {
+ width: max-content;
+}
+
+.aurora-music-par {
+ width: 21rem;
+ position: relative;
+}
+
+.music-player {
+ /*box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;*/
+}
+
+.aurora-music-shrink {
+ width: 1rem;
+ /*background: red;*/
+ height: 100%;
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+
+.aurora-music-pic {
+ position: relative;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex: 2;
+ /*border: 1px solid black;*/
+}
+
+.aurora-music-pic-par {
+ position: absolute;
+ left: 0;
+}
+
+.aurora-music-pause {
+ width: 4.5rem;
+ height: 4.5rem;
+ padding: .3rem;
+ border-radius: 200px;
+ z-index: 2;
+ position: absolute;
+ right: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+
+}
+
+.aurora-music-control-pause:before {
+ font-size: 25px;
+ color: white;
+}
+
+.aurora-music-pic img {
+ width: 4.5rem;
+ height: 4.5rem;
+ padding: .3rem;
+ border-radius: 200px;
+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
+}
+
+.aurora-music-info-left {
+ flex: 3;
+}
+.aurora-music-info-right {
+ height: 5rem;
+ flex: 8;
+}
+
+.aurora-music-info {
+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
+ width: 20rem;
+ display: flex;
+ border-radius: var(--aurora-music-border-radius);
+}
+
+.aurora-music-info-common {
+
+}
+.aurora-music-title {
+ height: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.aurora-music-bottom {
+ display: flex;
+ height: 50%;
+ justify-content: center;
+ align-items: center;
+}
+
+.aurora-music-song-info {
+ display: block;
+}
+
+.aurora-music-operate {
+ flex: 1;
+ margin-left: .2rem;
+ margin-right: .2rem;
+ text-align: center;
+}
+
+.aurora-music-operate span:before,.aurora-music-song:before, .aurora-music-shrink span:before {
+ font-size: 19px;
+ color: palevioletred;
+}
+
+.aurora-music-cursor {
+ cursor: pointer;
+}
+
+.aurora-music-author {
+ padding-left: .5rem;
+}
+
+.aurora-music-song:before {
+ margin-right: .5rem;
+}
+
+.music-more {
+ -webkit-transition: all 0.5s;
+ -moz-transition: all 0.5s;
+ -ms-transition: all 0.5s;
+ -o-transition: all 0.5s;
+ transition: all 0.5s;
+ /*transform: translateX(-100%);*/
+ width: 20rem;
+ max-height: 10rem;
+ height: max-content;
+ overflow-y: scroll;
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
+ border-radius: 15px;
+ display: block;
+}
+
+.aurora-music-info {
+ -webkit-transition: all 1s;
+ -moz-transition: all 1s;
+ -ms-transition: all 1s;
+ -o-transition: all 1s;
+ transition: all 1s;
+ /*transform: translateX(-170%);*/
+}
+
+.aurora-music-pic {
+}
+
+.show-aurora-music-info {
+ transition: all 500ms;
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+
+.show-more-song {
+ transition: all 500ms;
+ -webkit-transform: translateX(0);
+ transform: translateX(0);
+}
+
+.music-more::-webkit-scrollbar {
+ display: none;
+}
+
+.aurora-music-more-single {
+ margin-bottom: .2rem;
+ padding-left: .6rem;
+ /*background: palevioletred;*/
+ padding-top: .1rem;
+ padding-bottom: .1rem;
+ cursor: pointer;
+}
+
+@-webkit-keyframes music-more {
+ 0% {
+ /*width: 7px;*/
+ /*height: 7px;*/
+ transform: translate(0, 0);
+ }
+ 100% {
+ /*width: 11px;*/
+ /*height: 11px;*/
+ transform: translate(50px, 100px);
+ }
+}
+
+
+/*嵌入播放器样式*/
+#cover {
+ border-radius: 200px;
+}
+
+.aurora-music-song-active,.aurora-music-song-active:before {
+ color: red;
+}
+
+.aurora-music-player-control {
+ display: none;
+}
+
+@-webkit-keyframes music-picture-rotation{
+
+ from {
+ -webkit-transform: rotate(0deg);
+ }
+ to {
+ -webkit-transform: rotate(360deg);
+ }
+
+}
+
+.music-rotate img {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+ animation: music-picture-rotation 8s linear infinite;
+ -moz-animation: music-picture-rotation 8s linear infinite;
+ -webkit-animation: music-picture-rotation 8s linear infinite;
+ -o-animation: music-picture-rotation 8s linear infinite;
+}
\ No newline at end of file
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/node/index.d.ts b/Aurora-plugin/vuepress-plugin-music-player/lib/node/index.d.ts
new file mode 100644
index 00000000..7fa3c4e1
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/node/index.d.ts
@@ -0,0 +1,3 @@
+import { MusicPlayerPluginOptions } from './vuepress-plugin-music-player';
+export * from './vuepress-plugin-music-player';
+export default MusicPlayerPluginOptions;
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/node/index.js b/Aurora-plugin/vuepress-plugin-music-player/lib/node/index.js
new file mode 100644
index 00000000..abad367e
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/node/index.js
@@ -0,0 +1,15 @@
+"use strict";
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __exportStar = (this && this.__exportStar) || function(m, exports) {
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+const musicPlayerPlugin_1 = require("./vuepress-plugin-music-player");
+__exportStar(require("./vuepress-plugin-music-player"), exports);
+exports.default = musicPlayerPlugin_1.musicPlayerPlugin;
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/node/vuepress-plugin-music-player.d.ts b/Aurora-plugin/vuepress-plugin-music-player/lib/node/vuepress-plugin-music-player.d.ts
new file mode 100644
index 00000000..e342c56b
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/node/vuepress-plugin-music-player.d.ts
@@ -0,0 +1,3 @@
+import type { Plugin } from '@vuepress/core';
+export declare type MusicPlayerPluginOptions = Record
;
+export declare const MusicPlayerPluginOptions: Plugin;
diff --git a/Aurora-plugin/vuepress-plugin-music-player/lib/node/vuepress-plugin-music-player.js b/Aurora-plugin/vuepress-plugin-music-player/lib/node/vuepress-plugin-music-player.js
new file mode 100644
index 00000000..192bce90
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/lib/node/vuepress-plugin-music-player.js
@@ -0,0 +1,37 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.cozePlugin = void 0;
+const { createPage } = require('@vuepress/core');
+const utils_1 = require("@vuepress/utils");
+const vuepressPluginMusicPlayer = ({songIds,playlist,showPlaylist ,disabledNetEaseMusic,localSongs}) => {
+ return {
+ define: {
+ __SONG_IDS__: songIds,
+ __PLAYLIST__: playlist,
+ __SHOW_PLAYLIST__: showPlaylist,
+ __DISABLED_NET_EASE_MUSIC__: disabledNetEaseMusic,
+ __LOCAL_SONGS__: localSongs,
+ },
+ onInitialized: async (app) => {
+ // 如果主页不存在
+ const timeline = await createPage(app, {
+ path: '/aurora-music',
+ // 设置 frontmatter
+ frontmatter: {
+ layout: 'AuroraMusic',
+ slug: 'aurora-plugin-music',
+ },
+ permalink: '/aurora-music',
+ // 设置 markdown 内容
+ content: "",
+ })
+
+ // 把它添加到 `app.pages`
+ app.pages.push(timeline)
+ },
+ name: 'vuepress-plugin-music-player',
+ multiple: false,
+ clientAppEnhanceFiles: utils_1.path.resolve(__dirname, '../client/clientAppEnhance.js')
+ };
+};
+exports.musicPlayerPlugin = vuepressPluginMusicPlayer;
diff --git a/Aurora-plugin/vuepress-plugin-music-player/package.json b/Aurora-plugin/vuepress-plugin-music-player/package.json
new file mode 100644
index 00000000..f4dd1442
--- /dev/null
+++ b/Aurora-plugin/vuepress-plugin-music-player/package.json
@@ -0,0 +1,69 @@
+{
+ "_from": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
+ "_id": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
+ "_inBundle": false,
+ "_integrity": "sha1-xb6u2TrbtYl2WLmoByAAs9rY+LA=",
+ "_location": "/@vuepress/plugin-back-to-top",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "version",
+ "registry": true,
+ "raw": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
+ "name": "@vuepress/plugin-back-to-top",
+ "escapedName": "@vuepress%2fplugin-back-to-top",
+ "scope": "@vuepress",
+ "rawSpec": "2.0.0-beta.26",
+ "saveSpec": null,
+ "fetchSpec": "2.0.0-beta.26"
+ },
+ "_requiredBy": [
+ "/@vuepress/theme-default"
+ ],
+ "_resolved": "https://registry.nlark.com/@vuepress/plugin-back-to-top/download/@vuepress/plugin-back-to-top-2.0.0-beta.26.tgz",
+ "_shasum": "c5beaed93adbb5897658b9a8072000b3dad8f8b0",
+ "_spec": "@vuepress/plugin-back-to-top@2.0.0-beta.26",
+ "_where": "D:\\theme-aurora\\theme-aurora\\node_modules\\@vuepress\\theme-default",
+ "author": {
+ "name": "meteorlxy"
+ },
+ "bugs": {
+ "url": "https://github.com/vuepress/vuepress-next/issues"
+ },
+ "bundleDependencies": false,
+ "dependencies": {
+ "@vuepress/core": "2.0.0-beta.26",
+ "@vuepress/utils": "2.0.0-beta.25",
+ "ts-debounce": "^3.0.0",
+ "vue": "^3.2.3"
+ },
+ "deprecated": false,
+ "description": "VuePress plugin - back to top",
+ "files": [
+ "lib"
+ ],
+ "gitHead": "6cbf3e07b2871383cebad5180fcbb02d69c79566",
+ "homepage": "https://github.com/vuepress",
+ "keywords": [
+ "vuepress-plugin",
+ "vuepress",
+ "plugin",
+ "top"
+ ],
+ "license": "MIT",
+ "main": "lib/node/index.js",
+ "name": "@vuepress/plugin-back-to-top",
+ "publishConfig": {
+ "access": "public"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/vuepress/vuepress-next.git"
+ },
+ "scripts": {
+ "build": "tsc -b tsconfig.build.json",
+ "clean": "rimraf lib *.tsbuildinfo",
+ "copy": "cpx \"src/**/*.{css,svg}\" lib"
+ },
+ "types": "lib/node/index.d.ts",
+ "version": "2.0.0-beta.26"
+}
diff --git a/Aurora-theme/lib/node/auroraTheme.js b/Aurora-theme/lib/node/auroraTheme.js
index 9473520b..f5ff7025 100644
--- a/Aurora-theme/lib/node/auroraTheme.js
+++ b/Aurora-theme/lib/node/auroraTheme.js
@@ -145,7 +145,7 @@ const auroraTheme = ({ themePlugins = {}, ...localeOptions }) => {
['@vuepress/nprogress', themePlugins.nprogress !== false],
['@vuepress/palette', { preset: 'css' }],
['@vuepress/prismjs', themePlugins.prismjs !== false],
- ['@vuepress/theme-data', { themeData: localeOptions }],
+ ['@vuepress/theme-data', { themeData: localeOptions }]
],
};
};
diff --git a/Aurora-theme/package.json b/Aurora-theme/package.json
index a4e54797..34e17131 100644
--- a/Aurora-theme/package.json
+++ b/Aurora-theme/package.json
@@ -1,6 +1,6 @@
{
"name": "vuepress-theme-aurora",
- "version": "1.7.1",
+ "version": "1.8.0-beta.1",
"description": "A vuepress-based animation blog theme, simple, beautiful, multi-color, multiple custom functions, providing article poster sharing, talk, photo album, comment and other features 一个基于vuepress的动漫类博客主题,简洁,漂亮,多色彩,多种自定义功能,提供文章海报分享,说说,相册,评论等特色功�?",
"main": "./lib/node/index.js",
"directories": {
@@ -48,7 +48,8 @@
"jquery": "^3.2.1",
"vuepress": "^2.0.0-beta.27",
"vuepress-plugin-coze": "1.5.0",
- "crisp-word-count": "^1.0.0"
+ "crisp-word-count": "^1.0.0",
+ "vuepress-theme-archive": "latest"
},
"publishConfig": {
"tag": "next"
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index d0017bfa..e06dde6d 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -45,7 +45,41 @@ module.exports = {
excludes: ['/footer.html','/404.html','/about/','/mood/','/link/','/tag/','/photo/'],
noTitle: '暂时没有标题配置'
}
- ]
+ ],
+ [
+ path.resolve(__dirname, "../../Aurora-plugin/vuepress-plugin-music-player/lib/node/index.js"),
+ {
+ //网易云单个歌单id
+ songIds: ['29723011','1887893189','1421069053'],
+ //网易云歌单
+ playlist: '5410113377',
+ showPlaylist: true,
+ //是否禁用网易云音乐,如果你选择禁用,那么就将使用本地的歌曲,请传入链接
+ disabledNetEaseMusic: true,
+ //本地歌曲
+ localSongs: {
+ coverUrl: 'https://ooszy.cco.vin/img/blog-public/avatar.jpg',
+ songs: [
+ {
+ path: '/song/1.mp3',
+ songName: '12'
+ },
+ {
+ path: '/song/2.mp3',
+ songName: '23'
+ },
+ {
+ path: '/song/3.mp3',
+ songName: '34'
+ },
+ ]
+ }
+ }
+ ],
+ /*"vuepress-plugin-archive",{
+ excludes: ['/footer.html','/404.html','/about/','/mood/','/link/','/tag/','/photo/'],
+ noTitle: '暂时没有标题配置'
+ }*/
],
//设置head 一定要加入项配置,否则一些图标不能正常显示
head: [
@@ -70,10 +104,19 @@ module.exports = {
type: 'text/css',
href: '//at.alicdn.com/t/font_2849934_7el0cvwfmn.css'
}
+ ],
+ [
+ "link",
+ {
+ rel: 'stylesheet',
+ type: 'text/css',
+ href: '//at.alicdn.com/t/font_2951154_btu3y5blqnn.css'
+ }
]
],
//这里使用本地主题
theme: path.resolve(__dirname, "../../Aurora-theme/lib/node/index.js"),
+ //theme: 'aurora',
//站点title
title: "I do not follow,i lives is always all you want",
diff --git a/docs/.vuepress/public/song/1.mp3 b/docs/.vuepress/public/song/1.mp3
new file mode 100644
index 00000000..0c851506
Binary files /dev/null and b/docs/.vuepress/public/song/1.mp3 differ
diff --git a/docs/.vuepress/public/song/2.mp3 b/docs/.vuepress/public/song/2.mp3
new file mode 100644
index 00000000..3cdcdaad
Binary files /dev/null and b/docs/.vuepress/public/song/2.mp3 differ
diff --git a/docs/.vuepress/public/song/3.mp3 b/docs/.vuepress/public/song/3.mp3
new file mode 100644
index 00000000..ace00f48
Binary files /dev/null and b/docs/.vuepress/public/song/3.mp3 differ