diff --git a/game/game.js b/game/game.js index 3a403f430..d11b97cd5 100644 --- a/game/game.js +++ b/game/game.js @@ -4475,7 +4475,7 @@ window.play={}; else{ var buttons=ui.create.div('.buttons',this.content); if(zoom) buttons.classList.add('smallzoom'); - this.buttons=this.buttons.concat(ui.create.buttons(item[0],item[1],buttons)); + this.buttons=this.buttons.concat(ui.create.buttons(item[0],item[1],buttons,noclick)); } ui.update(); return item; @@ -6366,6 +6366,196 @@ window.play={}; } return node; }, + groupControl:function(dialog){ + return ui.create.control('wei','shu','wu','qun',function(link,node){ + if(link=='全部'){ + dialog.currentcapt=''; + dialog.currentgroup=''; + for(var i=0;ib?1:-1; + }); + var clickCapt=function(e){ + if(_status.dragged) return; + if(this.classList.contains('thundertext')){ + dialog.currentcapt=null; + dialog.currentcaptnode=null; + this.classList.remove('thundertext'); + for(var i=0;ib?1:-1; + } + return aa>bb?1:-1; + }); + dialog=ui.create.dialog('hidden'); + if(str){ + dialog.add(str); + } + dialog.add(node); + if(thisiscard){ + dialog.add([list,'vcard'],noclick); + } + else{ + dialog.add([list,'character'],noclick); + } + dialog.add(ui.create.div('.placeholder')); + for(i=0;i