From 8992e316d01e447cd7718770e4fec1617e2558e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 4 Jan 2019 16:24:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=9B=AE=E5=BD=95=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 +++--- js/api.js | 2 +- js/app.js | 10 +++++----- js/modules/local.js | 2 +- js/modules/profile.js | 2 +- {dist => lib}/anot.next.js | 0 {dist => lib}/audio/index.js | 0 {dist => lib}/avatar/def.jpg | Bin {dist => lib}/avatar/index.js | 0 {dist => lib}/css/elem-ui.css | 0 {dist => lib}/css/form.css | 0 {dist => lib}/css/layer-normal.css | 0 {dist => lib}/css/pager.css | 0 {dist => lib}/css/reset-basic.css | 0 {dist => lib}/drag/doc.md | 0 {dist => lib}/drag/index.js | 0 {dist => lib}/form/index.js | 0 {dist => lib}/layer/Release.md | 0 {dist => lib}/layer/index.js | 0 dist/request/light.js => lib/lyrics/index.js | 0 {dist => lib}/pager/index.js | 0 {dist => lib}/request/index.js | 0 {dist => lib}/request/lib/format.js | 0 lib/request/light.js | 0 {dist => lib}/store/index.js | 0 25 files changed, 11 insertions(+), 11 deletions(-) rename {dist => lib}/anot.next.js (100%) rename {dist => lib}/audio/index.js (100%) rename {dist => lib}/avatar/def.jpg (100%) rename {dist => lib}/avatar/index.js (100%) rename {dist => lib}/css/elem-ui.css (100%) rename {dist => lib}/css/form.css (100%) rename {dist => lib}/css/layer-normal.css (100%) rename {dist => lib}/css/pager.css (100%) rename {dist => lib}/css/reset-basic.css (100%) rename {dist => lib}/drag/doc.md (100%) rename {dist => lib}/drag/index.js (100%) rename {dist => lib}/form/index.js (100%) rename {dist => lib}/layer/Release.md (100%) rename {dist => lib}/layer/index.js (100%) rename dist/request/light.js => lib/lyrics/index.js (100%) rename {dist => lib}/pager/index.js (100%) rename {dist => lib}/request/index.js (100%) rename {dist => lib}/request/lib/format.js (100%) create mode 100644 lib/request/light.js rename {dist => lib}/store/index.js (100%) diff --git a/index.html b/index.html index 58b2b92..2c06637 100644 --- a/index.html +++ b/index.html @@ -4,11 +4,11 @@ - - + + - + diff --git a/js/api.js b/js/api.js index 7e6a1df..c734edc 100644 --- a/js/api.js +++ b/js/api.js @@ -6,7 +6,7 @@ 'use strict' -import request from '/dist/request/index.js' +import request from '/lib/request/index.js' const log = console.log diff --git a/js/app.js b/js/app.js index 7897712..7a9f7c9 100644 --- a/js/app.js +++ b/js/app.js @@ -4,10 +4,10 @@ * @date 2018/12/16 17:15:57 */ -import '/dist/anot.next.js' -import layer from '/dist/layer/index.js' -import store from '/dist/store/index.js' -import AudioPlayer from '/dist/audio/index.js' +import '/lib/anot.next.js' +import layer from '/lib/layer/index.js' +import store from '/lib/store/index.js' +import AudioPlayer from '/lib/audio/index.js' import Api from '/js/api.js' @@ -219,7 +219,7 @@ Anot({ // 修改音量 changeValume(ev) { - let volume = 535 - ev.pageY + let volume = 575 - ev.pageY if (volume < 0) { volume = 0 } diff --git a/js/modules/local.js b/js/modules/local.js index d86def0..7adb38d 100644 --- a/js/modules/local.js +++ b/js/modules/local.js @@ -7,7 +7,7 @@ 'use strict' import Api from '/js/api.js' -import { ID3 } from '/dist/audio/index.js' +import { ID3 } from '/lib/audio/index.js' const fs = require('iofs') const path = require('path') diff --git a/js/modules/profile.js b/js/modules/profile.js index 2b5869a..bac14e9 100644 --- a/js/modules/profile.js +++ b/js/modules/profile.js @@ -6,7 +6,7 @@ 'use strict' -import '/dist/form/index.js' +import '/lib/form/index.js' const fs = require('iofs') const path = require('path') diff --git a/dist/anot.next.js b/lib/anot.next.js similarity index 100% rename from dist/anot.next.js rename to lib/anot.next.js diff --git a/dist/audio/index.js b/lib/audio/index.js similarity index 100% rename from dist/audio/index.js rename to lib/audio/index.js diff --git a/dist/avatar/def.jpg b/lib/avatar/def.jpg similarity index 100% rename from dist/avatar/def.jpg rename to lib/avatar/def.jpg diff --git a/dist/avatar/index.js b/lib/avatar/index.js similarity index 100% rename from dist/avatar/index.js rename to lib/avatar/index.js diff --git a/dist/css/elem-ui.css b/lib/css/elem-ui.css similarity index 100% rename from dist/css/elem-ui.css rename to lib/css/elem-ui.css diff --git a/dist/css/form.css b/lib/css/form.css similarity index 100% rename from dist/css/form.css rename to lib/css/form.css diff --git a/dist/css/layer-normal.css b/lib/css/layer-normal.css similarity index 100% rename from dist/css/layer-normal.css rename to lib/css/layer-normal.css diff --git a/dist/css/pager.css b/lib/css/pager.css similarity index 100% rename from dist/css/pager.css rename to lib/css/pager.css diff --git a/dist/css/reset-basic.css b/lib/css/reset-basic.css similarity index 100% rename from dist/css/reset-basic.css rename to lib/css/reset-basic.css diff --git a/dist/drag/doc.md b/lib/drag/doc.md similarity index 100% rename from dist/drag/doc.md rename to lib/drag/doc.md diff --git a/dist/drag/index.js b/lib/drag/index.js similarity index 100% rename from dist/drag/index.js rename to lib/drag/index.js diff --git a/dist/form/index.js b/lib/form/index.js similarity index 100% rename from dist/form/index.js rename to lib/form/index.js diff --git a/dist/layer/Release.md b/lib/layer/Release.md similarity index 100% rename from dist/layer/Release.md rename to lib/layer/Release.md diff --git a/dist/layer/index.js b/lib/layer/index.js similarity index 100% rename from dist/layer/index.js rename to lib/layer/index.js diff --git a/dist/request/light.js b/lib/lyrics/index.js similarity index 100% rename from dist/request/light.js rename to lib/lyrics/index.js diff --git a/dist/pager/index.js b/lib/pager/index.js similarity index 100% rename from dist/pager/index.js rename to lib/pager/index.js diff --git a/dist/request/index.js b/lib/request/index.js similarity index 100% rename from dist/request/index.js rename to lib/request/index.js diff --git a/dist/request/lib/format.js b/lib/request/lib/format.js similarity index 100% rename from dist/request/lib/format.js rename to lib/request/lib/format.js diff --git a/lib/request/light.js b/lib/request/light.js new file mode 100644 index 0000000..e69de29 diff --git a/dist/store/index.js b/lib/store/index.js similarity index 100% rename from dist/store/index.js rename to lib/store/index.js