fix
This commit is contained in:
parent
70d6368191
commit
dedf7ecc33
|
@ -1,5 +1,5 @@
|
||||||
window.noname_asset_list=[
|
window.noname_asset_list=[
|
||||||
'1.8.2.1',
|
'1.8.3',
|
||||||
'image/background/huangtian_bg.jpg',
|
'image/background/huangtian_bg.jpg',
|
||||||
'image/background/shengshi_bg.jpg',
|
'image/background/shengshi_bg.jpg',
|
||||||
'image/background/xueji_bg.jpg',
|
'image/background/xueji_bg.jpg',
|
||||||
|
|
13
game/game.js
13
game/game.js
|
@ -3798,14 +3798,20 @@
|
||||||
}
|
}
|
||||||
var splash=ui.create.div('#splash',document.body);
|
var splash=ui.create.div('#splash',document.body);
|
||||||
for(var i=0;i<lib.config.all.mode.length;i++){
|
for(var i=0;i<lib.config.all.mode.length;i++){
|
||||||
var node=ui.create.div(splash,'.hidden',clickNode);
|
var node=ui.create.div('.hidden',splash,clickNode);
|
||||||
node.link=lib.config.all.mode[i];
|
node.link=lib.config.all.mode[i];
|
||||||
ui.create.div(node,'.splashtext',get.verticalStr(get.translation(lib.config.all.mode[i])));
|
ui.create.div(node,'.splashtext',get.verticalStr(get.translation(lib.config.all.mode[i])));
|
||||||
if(lib.config.all.stockmode.indexOf(lib.config.all.mode[i])!=-1){
|
if(lib.config.all.stockmode.indexOf(lib.config.all.mode[i])!=-1){
|
||||||
ui.create.div(node,'.avatar').setBackgroundImage('image/splash/'+lib.config.all.mode[i]+'.jpg');
|
ui.create.div(node,'.avatar').setBackgroundImage('image/splash/'+lib.config.all.mode[i]+'.jpg');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
ui.create.div(node,'.avatar').setBackgroundDB(lib.mode[lib.config.all.mode[i]].splash);
|
var avatarnode=ui.create.div(node,'.avatar');
|
||||||
|
var avatarbg=lib.mode[lib.config.all.mode[i]].splash;
|
||||||
|
lib.onDB((function(avatarnode,avatarbg){
|
||||||
|
return (function(){
|
||||||
|
avatarnode.setBackgroundDB(avatarbg);
|
||||||
|
});
|
||||||
|
}(avatarnode,avatarbg)));
|
||||||
}
|
}
|
||||||
if(lib.config.touchscreen){
|
if(lib.config.touchscreen){
|
||||||
node.addEventListener('touchstart',downNode);
|
node.addEventListener('touchstart',downNode);
|
||||||
|
@ -3817,7 +3823,6 @@
|
||||||
node.addEventListener('mouseup',upNode);
|
node.addEventListener('mouseup',upNode);
|
||||||
node.addEventListener('mouseleave',upNode);
|
node.addEventListener('mouseleave',upNode);
|
||||||
}
|
}
|
||||||
ui.refresh(node);
|
|
||||||
setTimeout((function(node){
|
setTimeout((function(node){
|
||||||
return function(){
|
return function(){
|
||||||
node.show();
|
node.show();
|
||||||
|
@ -6487,7 +6492,7 @@
|
||||||
else{
|
else{
|
||||||
event.node=player.$throwordered(card.copy(),true);
|
event.node=player.$throwordered(card.copy(),true);
|
||||||
}
|
}
|
||||||
lib.cardOL[cardid]=event.node;
|
if(lib.cardOL) lib.cardOL[cardid]=event.node;
|
||||||
event.node.cardid=cardid;
|
event.node.cardid=cardid;
|
||||||
event.node.classList.add('thrownhighlight');
|
event.node.classList.add('thrownhighlight');
|
||||||
ui.arena.classList.add('thrownhighlight');
|
ui.arena.classList.add('thrownhighlight');
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
window.noname_update={
|
window.noname_update={
|
||||||
version:'1.8.3',
|
version:'1.8.3.0',
|
||||||
changeLog:[
|
changeLog:[
|
||||||
'风火林山联机',
|
'风火林山联机',
|
||||||
'bug修复'
|
'bug修复'
|
||||||
|
|
|
@ -60,7 +60,10 @@ table{table-layout: fixed;}
|
||||||
margin-left:10px;
|
margin-left:10px;
|
||||||
margin-right:10px;
|
margin-right:10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: all 0.5s;
|
}
|
||||||
|
#splash>div:not(.hidden){
|
||||||
|
animation: splash 0.5s;
|
||||||
|
-webkit-animation: splash 0.5s;
|
||||||
}
|
}
|
||||||
#splash>div:hover{
|
#splash>div:hover{
|
||||||
transform: scale(1.02);
|
transform: scale(1.02);
|
||||||
|
@ -1661,6 +1664,8 @@ div:hover>.wunature{
|
||||||
from {transform:perspective(1200px) rotateY(-90deg) translateX(150px)}
|
from {transform:perspective(1200px) rotateY(-90deg) translateX(150px)}
|
||||||
to{transform:perspective(1200px) rotateY(0deg) translateX(0)}
|
to{transform:perspective(1200px) rotateY(0deg) translateX(0)}
|
||||||
}
|
}
|
||||||
|
@keyframes splash{from {opacity: 0;transform: translateY(-200px)}}
|
||||||
|
@-webkit-keyframes splash{from {opacity: 0;transform: translateY(-200px)}}
|
||||||
@keyframes game_start{from {opacity: 0;}}
|
@keyframes game_start{from {opacity: 0;}}
|
||||||
@-webkit-keyframes game_start{from {opacity: 0;}}
|
@-webkit-keyframes game_start{from {opacity: 0;}}
|
||||||
@keyframes equip_hover{0% {opacity: 0;}50% {opacity: 0;}}
|
@keyframes equip_hover{0% {opacity: 0;}50% {opacity: 0;}}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue