Commit 08326e13 authored by 姚登友's avatar 姚登友
Browse files

BLOC-1299 英雄突破碎片数值展示bug

Showing with 3 additions and 3 deletions
+3 -3
src/game/app_b/widget/menu/images/topAnim.png

121 KB

......@@ -177,10 +177,10 @@ const getBreakDownPage = (it: any) => {
});
children.push(<any>{
type: 'StackPanel', style:{ width: 100, height: 40,fontSize: 18,isVertical: false,left: 280,top: 728 },
type: 'StackPanel', style:{ width: 200, height: 40,fontSize: 18,isVertical: false,left: 280,top: 728 },
children: [
{ type: 'TextBlock', style: { width: 20,text: it.breakDownInfo ? it.breakDownInfo.have :0 , color: it.breakDownInfo ? it.breakDownInfo.have >= it.breakDownInfo.cost ? 'green' : '#E34733' : '#fff' } },
{ type: 'TextBlock', style: { width: 50,text: `/${it.breakDownInfo ? it.breakDownInfo.cost : 0}`, color: '#D0F5FC' } }
{ type: 'TextBlock', style: { width: 50,txtRight:true,text: it.breakDownInfo ? it.breakDownInfo.have :0 , color: it.breakDownInfo ? it.breakDownInfo.have >= it.breakDownInfo.cost ? 'green' : '#E34733' : '#fff' } },
{ type: 'TextBlock', style: { width: 50,txtLeft:true,text: `/${it.breakDownInfo ? it.breakDownInfo.cost : 0}`, color: '#D0F5FC' } }
]
});
children.push(<any>{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment