diff --git a/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标4.png b/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标4.png index 3d205af5..40b8ea57 100644 Binary files a/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标4.png and b/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标4.png differ diff --git a/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标5.png b/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标5.png index c4b99cf0..e47f0646 100644 Binary files a/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标5.png and b/FuZhou_FirstPage/Assets/GameAsset/texture/首页/小图标/坐标5.png differ diff --git a/FuZhou_FirstPage/Assets/Resources/prefeb/modelItem.prefab b/FuZhou_FirstPage/Assets/Resources/prefeb/modelItem.prefab index 9e6af813..e0119532 100644 --- a/FuZhou_FirstPage/Assets/Resources/prefeb/modelItem.prefab +++ b/FuZhou_FirstPage/Assets/Resources/prefeb/modelItem.prefab @@ -339,8 +339,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 98.9, y: 10.4} - m_SizeDelta: {x: 267, y: 74} + m_AnchoredPosition: {x: 98.1, y: 21} + m_SizeDelta: {x: 269, y: 85} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1750993385045414421 CanvasRenderer: diff --git a/FuZhou_FirstPage/Assets/Scripts/CityPanel.cs b/FuZhou_FirstPage/Assets/Scripts/CityPanel.cs index c35a0692..75f1c987 100644 --- a/FuZhou_FirstPage/Assets/Scripts/CityPanel.cs +++ b/FuZhou_FirstPage/Assets/Scripts/CityPanel.cs @@ -26,19 +26,22 @@ public class CityPanel : MonoBehaviour { if (isok) { - Debug.Log(result); - JsonData data = JsonMapper.ToObject(result); - var tmp = data["data"]; - foreach (JsonData item in tmp) - { - v_model_version v= JsonMapper.ToObject(item.ToJson()); - if (ModelItem.modelItemPrefb == null) - { - ModelItem.modelItemPrefb = Resources.Load("prefeb/modelItem"); - } - GameObject go = Instantiate(ModelItem.modelItemPrefb, transform); - go.GetComponent().Init(v,GetComponent()); - } + Application.ExternalCall("ClickCustom",result); + Debug.Log("调前端进入关区"+ custCodes); + + //生成企业模型 + //JsonData data = JsonMapper.ToObject(result); + //var tmp = data["data"]; + //foreach (JsonData item in tmp) + //{ + // v_model_version v= JsonMapper.ToObject(item.ToJson()); + // if (ModelItem.modelItemPrefb == null) + // { + // ModelItem.modelItemPrefb = Resources.Load("prefeb/modelItem"); + // } + // GameObject go = Instantiate(ModelItem.modelItemPrefb, transform); + // go.GetComponent().Init(v,GetComponent()); + //} } else diff --git a/FuZhou_FirstPage/Assets/Scripts/FirstPanel.cs b/FuZhou_FirstPage/Assets/Scripts/FirstPanel.cs index dc89530a..538372af 100644 --- a/FuZhou_FirstPage/Assets/Scripts/FirstPanel.cs +++ b/FuZhou_FirstPage/Assets/Scripts/FirstPanel.cs @@ -67,6 +67,8 @@ public class FirstPanel : MonoBehaviour { a.SetNoChoseState(); }); + Application.ExternalCall("ClickCustom", ""); + Debug.Log("调前端回到首页"); }); //初始化