Commit b72fbad5 authored by 王雪伟's avatar 王雪伟

修改主面板

parent 89bd2939
......@@ -731,7 +731,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &6808044342231135425
RectTransform:
m_ObjectHideFlags: 0
......
......@@ -2151,7 +2151,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!114 &6808044342704349404
MonoBehaviour:
m_ObjectHideFlags: 0
......
......@@ -40,8 +40,8 @@ public class MainPanel : BasePanel
{
HttpTool.Instance._Get("app/v1/watermelon/info", null, new Action<WatermelonInfoBean>((result) =>
{
GetControl<Text>("CashNumTv").text = "¥" + result.available;
GetControl<Text>("FruitNumTv").text = result.count + "个";
GetControl<Text>("CashNumTv").text = "¥" + (result.available/100f).ToString("0.00");
//GetControl<Text>("FruitNumTv").text = result.count + "个";
GetControl<Button>("MyMusic").onClick.AddListener(() => { UIMgr.Getinstance().ShowPanel<MusicPanel>(E_Layer.lower_top); });
}), new Action<string, string>((code, msg) =>
{
......
Markdown is supported
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