fix goldbean icon in shdx
Showing
3 changed files
with
7 additions
and
12 deletions
... | @@ -85,7 +85,13 @@ function PetPkResultView:showItems(add_money,change_score,add_exp) | ... | @@ -85,7 +85,13 @@ function PetPkResultView:showItems(add_money,change_score,add_exp) |
85 | else | 85 | else |
86 | info = ItemInfo.getItemInfo(data.id); | 86 | info = ItemInfo.getItemInfo(data.id); |
87 | end | 87 | end |
88 | local icon_url = "res/icon/"..data.id..".png"; | 88 | local icon_url; |
89 | if data.id==100001 and CHANNEL=="shdx" then | ||
90 | icon_url = "res/icon/1000011.png"; | ||
91 | else | ||
92 | icon_url = "res/icon/"..data.id..".png"; | ||
93 | end | ||
94 | |||
89 | if cc.FileUtils:getInstance():isFileExist(icon_url) then | 95 | if cc.FileUtils:getInstance():isFileExist(icon_url) then |
90 | item:getChildByName("icon"):setSpriteFrame(cc.Sprite:create(icon_url):getSpriteFrame()); | 96 | item:getChildByName("icon"):setSpriteFrame(cc.Sprite:create(icon_url):getSpriteFrame()); |
91 | end | 97 | end | ... | ... |
No preview for this file type
... | @@ -28,16 +28,5 @@ | ... | @@ -28,16 +28,5 @@ |
28 | <LastRunType Value="Windows" /> | 28 | <LastRunType Value="Windows" /> |
29 | </Value> | 29 | </Value> |
30 | </Item> | 30 | </Item> |
31 | <Item Key="TabsParamsKey"> | ||
32 | <Value ctype="TabsInfo"> | ||
33 | <OpenedDocuments> | ||
34 | <FilePathData Path="ui/dress/BusinessView.csd" /> | ||
35 | <FilePathData Path="ui/xyx/shanghai_ctcc/XyxPayLayer.csd" /> | ||
36 | <FilePathData Path="ui/LoginLayer.csd" /> | ||
37 | <FilePathData Path="ui/LoadingScene.csd" /> | ||
38 | </OpenedDocuments> | ||
39 | <ActiveDocument Path="ui/LoginLayer.csd" /> | ||
40 | </Value> | ||
41 | </Item> | ||
42 | </Properties> | 31 | </Properties> |
43 | </UserData> | 32 | </UserData> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment