布局优化替换CDN

This commit is contained in:
结发受长生
2019-06-13 23:08:29 +08:00
parent 46d2216d53
commit 4f5f3c2b2d
10 changed files with 17 additions and 14 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
}
.overlay{
width: 100%;
height: 150px;
height: 130px;
position: absolute;
background: #4d4d4d;
@extend %trans;
@@ -20,7 +20,7 @@
.intrude-less {
width: 76%;
text-align: center;
margin: 82px auto 0;
margin: 62px auto 0;
}
#header{
+3
View File
@@ -87,6 +87,9 @@ body.night {
}
#mobile-nav {
background: none;
.overlay {
display: none;
}
}
.overlay {
background: none;
+1 -1
View File
@@ -57,7 +57,7 @@
.waifu-tool {
color: $colorA;
top: 100px;
right: 10px;
right: 60px;
font-size: 14px;
position: absolute;
span {
+1
View File
@@ -59,6 +59,7 @@ new Vue({
}
},
linkMouseover(name) {
if(name === 'waifu' && waifuTipTimer) return
this.showMessage(waifuTips.mouseover[name], 3000)
},
toolsClick(name) {
+1 -1
View File
@@ -16,7 +16,7 @@ export default {
init() {
if(!isMobile && isSupportWebGL()) {
// 加载live2d模型
loadlive2d('live2d', 'https://blog-cdn.nos-eastchina1.126.net/live2D/Kesshouban/model.json')
loadlive2d('live2d', window.themeConfig.pictureCdn + '/live2D/Kesshouban/model.json')
document.querySelector('.waifu').style.display = 'block'
}
}