This commit is contained in:
libccy 2016-04-06 15:39:38 +08:00
parent 70d6368191
commit dedf7ecc33
5 changed files with 17 additions and 7 deletions

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[
'1.8.2.1',
'1.8.3',
'image/background/huangtian_bg.jpg',
'image/background/shengshi_bg.jpg',
'image/background/xueji_bg.jpg',

View File

@ -3798,14 +3798,20 @@
}
var splash=ui.create.div('#splash',document.body);
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];
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){
ui.create.div(node,'.avatar').setBackgroundImage('image/splash/'+lib.config.all.mode[i]+'.jpg');
}
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){
node.addEventListener('touchstart',downNode);
@ -3817,7 +3823,6 @@
node.addEventListener('mouseup',upNode);
node.addEventListener('mouseleave',upNode);
}
ui.refresh(node);
setTimeout((function(node){
return function(){
node.show();
@ -6487,7 +6492,7 @@
else{
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.classList.add('thrownhighlight');
ui.arena.classList.add('thrownhighlight');

View File

@ -1,5 +1,5 @@
window.noname_update={
version:'1.8.3',
version:'1.8.3.0',
changeLog:[
'风火林山联机',
'bug修复'

View File

@ -60,7 +60,10 @@ table{table-layout: fixed;}
margin-left:10px;
margin-right:10px;
position: relative;
transition: all 0.5s;
}
#splash>div:not(.hidden){
animation: splash 0.5s;
-webkit-animation: splash 0.5s;
}
#splash>div:hover{
transform: scale(1.02);
@ -1661,6 +1664,8 @@ div:hover>.wunature{
from {transform:perspective(1200px) rotateY(-90deg) translateX(150px)}
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;}}
@-webkit-keyframes game_start{from {opacity: 0;}}
@keyframes equip_hover{0% {opacity: 0;}50% {opacity: 0;}}

BIN
noname.zip Normal file

Binary file not shown.