This commit is contained in:
libccy 2017-05-01 16:17:24 +08:00
parent 6150d8d812
commit 1ee1797a1c
4 changed files with 20 additions and 4 deletions

View File

@ -2303,6 +2303,7 @@
init:'default', init:'default',
item:{ item:{
default:'默认', default:'默认',
simple:'精简',
old:'旧版' old:'旧版'
}, },
unfrequent:true, unfrequent:true,
@ -35333,8 +35334,12 @@
} }
} }
node.node.name.innerHTML=get.slimName(item); node.node.name.innerHTML=get.slimName(item);
if(lib.config.buttoncharacter_style=='default'){ if(lib.config.buttoncharacter_style=='default'||lib.config.buttoncharacter_style=='simple'){
if(lib.config.buttoncharacter_style=='simple'){
node.node.group.style.display='none';
}
node.node.name.dataset.nature=get.groupnature(infoitem[1]); node.node.name.dataset.nature=get.groupnature(infoitem[1]);
node.node.group.dataset.nature=get.groupnature(infoitem[1],'raw');
node.classList.add('newstyle'); node.classList.add('newstyle');
ui.create.div(node.node.hp); ui.create.div(node.node.hp);
var textnode=ui.create.div('.text',get.numStr(infoitem[2]),node.node.hp); var textnode=ui.create.div('.text',get.numStr(infoitem[2]),node.node.hp);

View File

@ -21,13 +21,13 @@ window.noname_update={
// 'mode/guozhan.js', // 'mode/guozhan.js',
// 'mode/identity.js', // 'mode/identity.js',
// 'mode/chess.js', // 'mode/chess.js',
// 'mode/tafang.js', 'mode/tafang.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',
// 'mode/stone.js', // 'mode/stone.js',
// 'theme/music/style.css', // 'theme/music/style.css',
// 'theme/woodden/style.css', // 'theme/woodden/style.css',
// 'theme/simple/style.css', // 'theme/simple/style.css',
// 'layout/default/layout.css', 'layout/default/layout.css',
'layout/default/phone.css', 'layout/default/phone.css',
'layout/default/menu.css', 'layout/default/menu.css',
// 'theme/style/cardback/*', // 'theme/style/cardback/*',

View File

@ -1626,7 +1626,15 @@ div:not(.handcards)>.card>.info>span,
left: 72px; left: 72px;
} }
.button.character.newstyle>.identity{ .button.character.newstyle>.identity{
display: none; /*display: none;*/
border: none;
background: none !important;
/*box-shadow: none;*/
left: auto;
right: 2px;
top: 2px;
font-family: 'huangcao';
font-size: 20px;
} }
.button.newstyle>.name{ .button.newstyle>.name{
top: 8px; top: 8px;

View File

@ -432,6 +432,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
map.zhaomu=ui.create.buttons(list,'character',dialog.content); map.zhaomu=ui.create.buttons(list,'character',dialog.content);
for(var i=0;i<map.zhaomu.length;i++){ for(var i=0;i<map.zhaomu.length;i++){
var button=map.zhaomu[i]; var button=map.zhaomu[i];
if(lib.config.buttoncharacter_style=='default'){
button.node.group.style.display='none';
}
button.node.intro.classList.add('showintro'); button.node.intro.classList.add('showintro');
button.node.intro.classList.add('tafang'); button.node.intro.classList.add('tafang');
button.count=difficulty+get.rank(button.link,3.9)+3; button.count=difficulty+get.rank(button.link,3.9)+3;