布局优化➕替换CDN
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -87,6 +87,9 @@ body.night {
|
||||
}
|
||||
#mobile-nav {
|
||||
background: none;
|
||||
.overlay {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.overlay {
|
||||
background: none;
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
.waifu-tool {
|
||||
color: $colorA;
|
||||
top: 100px;
|
||||
right: 10px;
|
||||
right: 60px;
|
||||
font-size: 14px;
|
||||
position: absolute;
|
||||
span {
|
||||
|
||||
@@ -59,6 +59,7 @@ new Vue({
|
||||
}
|
||||
},
|
||||
linkMouseover(name) {
|
||||
if(name === 'waifu' && waifuTipTimer) return
|
||||
this.showMessage(waifuTips.mouseover[name], 3000)
|
||||
},
|
||||
toolsClick(name) {
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user