调整目录结构
parent
6de49d1981
commit
8992e316d0
|
@ -4,11 +4,11 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
<link href="dist/css/reset-basic.css" rel="stylesheet">
|
||||
<link href="dist/css/elem-ui.css" rel="stylesheet">
|
||||
<link href="lib/css/reset-basic.css" rel="stylesheet">
|
||||
<link href="lib/css/elem-ui.css" rel="stylesheet">
|
||||
<link href="css/app.css" rel="stylesheet">
|
||||
<link href="css/modules.css" rel="stylesheet">
|
||||
<script>window.LIBS_BASE_URL = location.origin + '/dist';window.__ENV_LANG__ = 'zh'</script>
|
||||
<script>window.LIBS_BASE_URL = location.origin + '/lib';window.__ENV_LANG__ = 'zh'</script>
|
||||
<script type="module" src="js/app.js"></script>
|
||||
</head>
|
||||
<body class="do-fn-noselect" anot="app" :css="{'background-image': coverBG}">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
'use strict'
|
||||
|
||||
import request from '/dist/request/index.js'
|
||||
import request from '/lib/request/index.js'
|
||||
|
||||
const log = console.log
|
||||
|
||||
|
|
10
js/app.js
10
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
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
'use strict'
|
||||
|
||||
import '/dist/form/index.js'
|
||||
import '/lib/form/index.js'
|
||||
|
||||
const fs = require('iofs')
|
||||
const path = require('path')
|
||||
|
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue