border
This commit is contained in:
parent
a7e9ef7284
commit
fc05f57273
14
game/game.js
14
game/game.js
|
@ -15880,6 +15880,13 @@
|
|||
// if(name.name&&lib.card[name.name]&&lib.card[name.name].markimage){
|
||||
// node.node.image.style.left=lib.card[name.name].markimage;
|
||||
// }
|
||||
|
||||
if(name.classList.contains('fullborder')){
|
||||
node.classList.add('fakejudge');
|
||||
node.classList.add('fakemark');
|
||||
(node.querySelector('.background')||ui.create.div('.background',node)).innerHTML=lib.translate[name.name+'_bg']||get.translation(name.name)[0];
|
||||
}
|
||||
|
||||
name=name.name;
|
||||
}
|
||||
else{
|
||||
|
@ -42326,7 +42333,10 @@
|
|||
name=node.link.name;
|
||||
}
|
||||
if(get.position(node)=='j'&&node.viewAs&&node.viewAs!=name){
|
||||
uiintro.add(get.translation(node.viewAs)+'<br><div class="text center" style="padding-top:5px;">('+get.translation(node)+')</div>');
|
||||
uiintro.add(get.translation(node.viewAs));
|
||||
uiintro.add('<div class="text center">('+get.translation(get.translation(node))+')</div>');
|
||||
// uiintro.add(get.translation(node.viewAs)+'<br><div class="text center" style="padding-top:5px;">('+get.translation(node)+')</div>');
|
||||
uiintro.nosub=true;
|
||||
name=node.viewAs;
|
||||
}
|
||||
else{
|
||||
|
@ -42408,6 +42418,7 @@
|
|||
}
|
||||
else{
|
||||
if(lib.translate[name+'_info']){
|
||||
if(!uiintro.nosub){
|
||||
if(get.subtype(node)=='equip1'){
|
||||
var added=false;
|
||||
if(lib.card[node.name]&&lib.card[node.name].distance){
|
||||
|
@ -42451,6 +42462,7 @@
|
|||
uiintro.add('<div class="text center">特殊装备</div>').style.marginTop='-5px';
|
||||
}
|
||||
}
|
||||
}
|
||||
if(lib.translate[name+'_info']){
|
||||
var placetext=uiintro.add('<div class="text" style="display:inline">'+lib.translate[name+'_info']+'</div>');
|
||||
if(lib.translate[name+'_info'].indexOf('<div class="skill"')!=0){
|
||||
|
|
|
@ -1337,7 +1337,8 @@ div:not(.handcards)>.card>.info>span,
|
|||
display: none !important
|
||||
}
|
||||
.judges>.card.fakejudge.fullskin>.background,
|
||||
.judges>.card.fakejudge.fullborder>.background {
|
||||
.judges>.card.fakejudge.fullborder>.background,
|
||||
.marks>.card.fakemark.fullborder>.background {
|
||||
display: block !important;
|
||||
font-family: 'huangcao' !important;
|
||||
padding-top: 4px !important;
|
||||
|
|
Loading…
Reference in New Issue