MengYX
5 years ago
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
5 changed files with
41 additions and
46 deletions
-
public/index.html
-
BIN
src/assets/logo.png
-
src/plugins/element.js
-
src/plugins/qmc.js
-
src/registerServiceWorker.js
|
|
@ -2,8 +2,8 @@ |
|
|
|
<html lang="zh-CN"> |
|
|
|
<head> |
|
|
|
<meta charset="utf-8"> |
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
|
|
<meta content="IE=edge" http-equiv="X-UA-Compatible"> |
|
|
|
<meta content="width=device-width,initial-scale=1.0" name="viewport"> |
|
|
|
<script>var _paq = window._paq || []; |
|
|
|
_paq.push(['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'], |
|
|
|
['setTrackerUrl', 'https://stats.ixarea.com/ixarea-stats/report']); |
|
|
@ -60,9 +60,9 @@ |
|
|
|
style="border:0"/> |
|
|
|
</noscript> |
|
|
|
<strong>音乐解锁采用了一些新特性!建议使用 |
|
|
|
<a target="_blank" href="https://www.google.cn/chrome/">Google Chrome</a> |
|
|
|
<a target="_blank" href="https://www.firefox.com.cn/">Mozilla Firefox</a> |
|
|
|
| <a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a> |
|
|
|
<a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a> |
|
|
|
<a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a> |
|
|
|
| <a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a> |
|
|
|
</strong> |
|
|
|
</div> |
|
|
|
<div id="app"></div> |
|
|
|
Width:
|
Height:
|
Size: 6.7 KiB
|
|
|
@ -1,18 +1,18 @@ |
|
|
|
import Vue from 'vue' |
|
|
|
import { |
|
|
|
Image, |
|
|
|
Button, |
|
|
|
Table, |
|
|
|
TableColumn, |
|
|
|
Main, |
|
|
|
Footer, |
|
|
|
Col, |
|
|
|
Container, |
|
|
|
Footer, |
|
|
|
Icon, |
|
|
|
Row, |
|
|
|
Col, |
|
|
|
Upload, |
|
|
|
Image, |
|
|
|
Link, |
|
|
|
Main, |
|
|
|
Notification, |
|
|
|
Link |
|
|
|
Row, |
|
|
|
Table, |
|
|
|
TableColumn, |
|
|
|
Upload |
|
|
|
} from 'element-ui'; |
|
|
|
import 'element-ui/lib/theme-chalk/index.css' |
|
|
|
|
|
|
@ -29,5 +29,3 @@ Vue.use(Row); |
|
|
|
Vue.use(Col); |
|
|
|
Vue.use(Upload); |
|
|
|
Vue.prototype.$notify = Notification; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -117,7 +117,4 @@ class Mask { |
|
|
|
return ret |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,31 +1,31 @@ |
|
|
|
/* eslint-disable no-console */ |
|
|
|
|
|
|
|
import { register } from 'register-service-worker' |
|
|
|
import {register} from 'register-service-worker' |
|
|
|
|
|
|
|
if (process.env.NODE_ENV === 'production') { |
|
|
|
register(`${process.env.BASE_URL}service-worker.js`, { |
|
|
|
ready () { |
|
|
|
ready() { |
|
|
|
console.log( |
|
|
|
'App is being served from cache by a service worker.\n' + |
|
|
|
'For more details, visit https://goo.gl/AFskqB' |
|
|
|
) |
|
|
|
}, |
|
|
|
registered () { |
|
|
|
registered() { |
|
|
|
console.log('Service worker has been registered.') |
|
|
|
}, |
|
|
|
cached () { |
|
|
|
cached() { |
|
|
|
console.log('Content has been cached for offline use.') |
|
|
|
}, |
|
|
|
updatefound () { |
|
|
|
updatefound() { |
|
|
|
console.log('New content is downloading.') |
|
|
|
}, |
|
|
|
updated () { |
|
|
|
updated() { |
|
|
|
console.log('New content is available; please refresh.') |
|
|
|
}, |
|
|
|
offline () { |
|
|
|
offline() { |
|
|
|
console.log('No internet connection found. App is running in offline mode.') |
|
|
|
}, |
|
|
|
error (error) { |
|
|
|
error(error) { |
|
|
|
console.error('Error during service worker registration:', error) |
|
|
|
} |
|
|
|
}) |
|
|
|