From 4295e0f2b57fda26514a47233c804b4fc884989e Mon Sep 17 00:00:00 2001 From: huyulong <1838407198@qq.com> Date: Mon, 25 Nov 2024 22:57:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8A=A0=E4=BA=86=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TheStrongestSnail/Assets/HZB/UnionDetail17.cs | 33 +++++++++++++++ .../Assets/HZB/UnionDetail17.cs.meta | 11 +++++ .../Assets/Scripts/Login/Global.cs | 41 +++++++++++++++++++ .../Assets/Scripts/Trade/UnionInfo.cs | 26 ++++++++++++ .../Assets/Scripts/Trade/UnionInfo.cs.meta | 11 +++++ .../prefabs/HYLPrefabs/GongHuiInfox.prefab | 13 ++++++ 6 files changed, 135 insertions(+) create mode 100644 TheStrongestSnail/Assets/HZB/UnionDetail17.cs create mode 100644 TheStrongestSnail/Assets/HZB/UnionDetail17.cs.meta create mode 100644 TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs create mode 100644 TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs.meta diff --git a/TheStrongestSnail/Assets/HZB/UnionDetail17.cs b/TheStrongestSnail/Assets/HZB/UnionDetail17.cs new file mode 100644 index 0000000..1d6937f --- /dev/null +++ b/TheStrongestSnail/Assets/HZB/UnionDetail17.cs @@ -0,0 +1,33 @@ +using Newtonsoft.Json; +using System.Collections; +using System.Collections.Generic; +using System.Threading.Tasks; +using UnityEngine; +//1.7查询工会详情 +public class UnionDetail17 : MonoBehaviour +{ + // UnionDetail unionDetail = new UnionDetail(); + public async Task queryUnionDetail(int orderByDesc) // 1.7 + { + // 准备请求的头部信息,包含授权令牌 + Dictionary head17 = new Dictionary + { + { "Authorization", Global.global.serverResponse.data.token } + }; + UnionPage16 unionPage16 = new UnionPage16(); + UnionPage unionPage = new UnionPage(); + unionPage = await unionPage16.queryUnionPage(2); + Debug.Log(unionPage); + // 异步发送请求 + string response17 = await web.SendRequest(web.URL + "/snail/union/queryInfo?unionId="+ orderByDesc.ToString(), "GET","{}", head17); + + // 调试输出接收到的响应 + Debug.Log("1.7查询工会详情========================================" + response17); + + // 将响应反序列化为对象 + UnionDetalResponse unionDetailResponse = JsonConvert.DeserializeObject(response17); + Debug.Log("8==================================D"+ unionDetailResponse.Data.BizUnionUserModelList[0].CreateTime); + return unionDetailResponse; + + } +} diff --git a/TheStrongestSnail/Assets/HZB/UnionDetail17.cs.meta b/TheStrongestSnail/Assets/HZB/UnionDetail17.cs.meta new file mode 100644 index 0000000..5590e85 --- /dev/null +++ b/TheStrongestSnail/Assets/HZB/UnionDetail17.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 36aa28680afd43b44b8d8d98d252aee4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/Login/Global.cs b/TheStrongestSnail/Assets/Scripts/Login/Global.cs index a07113b..62b920c 100644 --- a/TheStrongestSnail/Assets/Scripts/Login/Global.cs +++ b/TheStrongestSnail/Assets/Scripts/Login/Global.cs @@ -340,3 +340,44 @@ public class UnionPage : Response { public UnionPageData Data { get; set; } } + +//========1.7================================================================ + +public class BizUnionModel +{ + + public int Id { get; set; } + public string Name { get; set; } + public string Cover { get; set; } + public int Level { get; set; } + public string Slogan { get; set; } + public int LeaderId { get; set; } + public string LeaderUserName { get; set; } + public string CreateTime { get; set; } // 可以根据实际情况调整为DateTime? + public string UpdateTime { get; set; } +} + +public class BizUnionUserModel +{ + public int Id { get; set; } + public int UnionId { get; set; } + public int UserId { get; set; } + public string UserName { get; set; } + public int Station { get; set; } + public int HigherUserId { get; set; } + public int HigherStation { get; set; } + public int Status { get; set; } + public string CreateTime { get; set; } + public string UpdateTime { get; set; } +} + +public class UnionDetalResponseData +{ + public BizUnionModel BizUnionModel { get; set; } + public List BizUnionUserModelList { get; set; } +} + +public class UnionDetalResponse : Response +{ + public UnionDetalResponseData Data { get; set; } +} \ No newline at end of file diff --git a/TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs b/TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs new file mode 100644 index 0000000..8dc6085 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs @@ -0,0 +1,26 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class UnionInfo : MonoBehaviour +{ + + // Start is called before the first frame update + void Start() + { + GetData(); + } + + public async void GetData() + { + UnionDetail17 unionDetail = new UnionDetail17(); + UnionDetalResponse Detail = await unionDetail.queryUnionDetail(1); + Debug.Log(Detail.Data.BizUnionUserModelList[0].CreateTime); + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs.meta b/TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs.meta new file mode 100644 index 0000000..a19808e --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/Trade/UnionInfo.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d28b93aa3e27efe459ed3371d2072596 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/prefabs/HYLPrefabs/GongHuiInfox.prefab b/TheStrongestSnail/Assets/prefabs/HYLPrefabs/GongHuiInfox.prefab index 688ce71..4976666 100644 --- a/TheStrongestSnail/Assets/prefabs/HYLPrefabs/GongHuiInfox.prefab +++ b/TheStrongestSnail/Assets/prefabs/HYLPrefabs/GongHuiInfox.prefab @@ -458,6 +458,7 @@ GameObject: m_Component: - component: {fileID: 1001758454263862281} - component: {fileID: 1001758454263862279} + - component: {fileID: 7953962115897863522} - component: {fileID: 1001758454263862280} m_Layer: 5 m_Name: GongHuiInfox @@ -499,6 +500,18 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1001758454263862282} m_CullTransparentMesh: 1 +--- !u!114 &7953962115897863522 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1001758454263862282} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d28b93aa3e27efe459ed3371d2072596, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!114 &1001758454263862280 MonoBehaviour: m_ObjectHideFlags: 0 From c3ccf36581e8ca8c76f278f5db916879b9b46c4c Mon Sep 17 00:00:00 2001 From: liuliang <597380732@qq.com> Date: Mon, 25 Nov 2024 22:58:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=9D=93=E5=8F=B7UI=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E7=9A=84=E4=B9=A6=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LLPrefabs/Nice_numberTcPanel.prefab | 29 +- .../Assets/Scenes/Scene_lianghao.unity | 561 ++++++++++++++++++ .../Assets/Scripts/lianghaoLL/LoginItem.cs | 26 + .../Scripts/lianghaoLL/LoginItem.cs.meta | 11 + .../Scripts/lianghaoLL/Nice_numPanel.cs | 34 ++ .../Scripts/lianghaoLL/Nice_numPanel.cs.meta | 11 + .../Assets/Scripts/lianghaoLL/NumberTc.cs | 5 +- .../LLPrefabs/Beautiful_numberttem.prefab | 91 ++- .../Assets/res/UILL/GeRenCenter/di-1.png | Bin 0 -> 21392 bytes .../Assets/res/UILL/GeRenCenter/di-1.png.meta | 123 ++++ .../res/UILL/GeRenCenter/zhuangshi-1.png | Bin 0 -> 8318 bytes .../res/UILL/GeRenCenter/zhuangshi-1.png.meta | 123 ++++ 12 files changed, 1002 insertions(+), 12 deletions(-) create mode 100644 TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs create mode 100644 TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs.meta create mode 100644 TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs create mode 100644 TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs.meta create mode 100644 TheStrongestSnail/Assets/res/UILL/GeRenCenter/di-1.png create mode 100644 TheStrongestSnail/Assets/res/UILL/GeRenCenter/di-1.png.meta create mode 100644 TheStrongestSnail/Assets/res/UILL/GeRenCenter/zhuangshi-1.png create mode 100644 TheStrongestSnail/Assets/res/UILL/GeRenCenter/zhuangshi-1.png.meta diff --git a/TheStrongestSnail/Assets/Resources/LLPrefabs/Nice_numberTcPanel.prefab b/TheStrongestSnail/Assets/Resources/LLPrefabs/Nice_numberTcPanel.prefab index bf08043..babe587 100644 --- a/TheStrongestSnail/Assets/Resources/LLPrefabs/Nice_numberTcPanel.prefab +++ b/TheStrongestSnail/Assets/Resources/LLPrefabs/Nice_numberTcPanel.prefab @@ -687,7 +687,19 @@ MonoBehaviour: m_TargetGraphic: {fileID: 6053044427738464268} m_OnClick: m_PersistentCalls: - m_Calls: [] + m_Calls: + - m_Target: {fileID: 6053044428196158528} + m_TargetAssemblyTypeName: + m_MethodName: + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 --- !u!1 &6053044427788418787 GameObject: m_ObjectHideFlags: 0 @@ -1345,6 +1357,7 @@ GameObject: - component: {fileID: 6053044428196158529} - component: {fileID: 6053044428196158559} - component: {fileID: 6053044428196158558} + - component: {fileID: 745230557356547706} m_Layer: 5 m_Name: Nice_numberTcPanel m_TagString: Untagged @@ -1411,6 +1424,20 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &745230557356547706 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6053044428196158528} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 92c8777c049299e40a3f7a10f0831b25, type: 3} + m_Name: + m_EditorClassIdentifier: + CancleBtn: {fileID: 6053044427738464271} + ConfirmBtn: {fileID: 6053044427109493955} --- !u!1 &6053044428236533205 GameObject: m_ObjectHideFlags: 0 diff --git a/TheStrongestSnail/Assets/Scenes/Scene_lianghao.unity b/TheStrongestSnail/Assets/Scenes/Scene_lianghao.unity index fdd5c8c..a4c0a9f 100644 --- a/TheStrongestSnail/Assets/Scenes/Scene_lianghao.unity +++ b/TheStrongestSnail/Assets/Scenes/Scene_lianghao.unity @@ -216,6 +216,11 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!224 &352902871 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7469395784636171834, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} + m_PrefabInstance: {fileID: 1418720628} + m_PrefabAsset: {fileID: 0} --- !u!1 &420561420 GameObject: m_ObjectHideFlags: 0 @@ -300,6 +305,284 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &735449812 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 352902871} + m_Modifications: + - target: {fileID: 2583371271476253389, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_text + value: 4000 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.x + value: 35.7587 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.y + value: 35.2612 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalScale.x + value: 1.1 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalScale.y + value: 1.1 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalScale.z + value: 1.1 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.x + value: -55 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.y + value: -83.2 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_ConstrainProportionsScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2870527182018668742, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_text + value: 222 + objectReference: {fileID: 0} + - target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_fontSize + value: 55 + objectReference: {fileID: 0} + - target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_fontSizeBase + value: 55 + objectReference: {fileID: 0} + - target: {fileID: 7065062956815702486, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.x + value: 105.0138 + objectReference: {fileID: 0} + - target: {fileID: 7065062956815702486, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 68.7 + objectReference: {fileID: 0} + - target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_Name + value: Beautiful_numberttem (1) + objectReference: {fileID: 0} + - target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} +--- !u!114 &735449813 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 2583371271476253389, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 735449812} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &735449814 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 735449812} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &735449815 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 735449812} + m_PrefabAsset: {fileID: 0} +--- !u!114 &735449816 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8657854502276450906, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 735449812} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 735449815} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &735449817 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 735449815} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f5f87daea5866ae4b971b0c41a835196, type: 3} + m_Name: + m_EditorClassIdentifier: + BeautifulNumber: {fileID: 735449814} + price: {fileID: 735449813} + Show_buy: {fileID: 735449818} + jiemianCanvas: {fileID: 1939568759} + musk: {fileID: 0} +--- !u!114 &735449818 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 735449815} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 735449816} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &949819713 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 4290617049226327498, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} + m_PrefabInstance: {fileID: 1418720628} + m_PrefabAsset: {fileID: 0} +--- !u!114 &949819718 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 949819713} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ca795e6b84541f43bbd5a0239e3eaee, type: 3} + m_Name: + m_EditorClassIdentifier: + contentItem: {fileID: 352902871} --- !u!1 &1079997274 GameObject: m_ObjectHideFlags: 0 @@ -368,6 +651,11 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1135783779 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8424602857895036885, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} + m_PrefabInstance: {fileID: 1418720628} + m_PrefabAsset: {fileID: 0} --- !u!114 &1362213970 stripped MonoBehaviour: m_CorrespondingSourceObject: {fileID: 2315553280202402619, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} @@ -1137,6 +1425,10 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 8424602857895036885, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 8578415422577619085, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} propertyPath: m_AnchorMax.y value: 0 @@ -1161,6 +1453,14 @@ PrefabInstance: propertyPath: m_AnchoredPosition.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 8960565423562010784, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} + propertyPath: m_Spacing.x + value: 67.12 + objectReference: {fileID: 0} + - target: {fileID: 8960565423562010784, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} + propertyPath: m_Padding.m_Top + value: 34 + objectReference: {fileID: 0} - target: {fileID: 8964485737115547767, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3} propertyPath: m_Sprite value: @@ -1300,6 +1600,267 @@ MonoBehaviour: price: {fileID: 1386343428} Show_buy: {fileID: 1513289133} jiemianCanvas: {fileID: 1939568759} + musk: {fileID: 1135783779} +--- !u!1001 &1541586433 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 352902871} + m_Modifications: + - target: {fileID: 2583371271476253389, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_text + value: 3950 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.x + value: 35.7587 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.y + value: 35.2612 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalScale.x + value: 1.1 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalScale.y + value: 1.1 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalScale.z + value: 1.1 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.x + value: -55 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.y + value: -83.2 + objectReference: {fileID: 0} + - target: {fileID: 2851468808987988852, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_ConstrainProportionsScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2870527182018668742, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 36 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_text + value: 333 + objectReference: {fileID: 0} + - target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_fontSize + value: 55 + objectReference: {fileID: 0} + - target: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_fontSizeBase + value: 55 + objectReference: {fileID: 0} + - target: {fileID: 7065062956815702486, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_SizeDelta.x + value: 105.0138 + objectReference: {fileID: 0} + - target: {fileID: 7065062956815702486, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 68.7 + objectReference: {fileID: 0} + - target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_Name + value: Beautiful_numberttem (2) + objectReference: {fileID: 0} + - target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} +--- !u!114 &1541586434 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 2583371271476253389, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 1541586433} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &1541586435 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 6633297120809007811, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 1541586433} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &1541586436 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 1541586433} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1541586437 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8657854502276450906, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3} + m_PrefabInstance: {fileID: 1541586433} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1541586436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &1541586438 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1541586436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f5f87daea5866ae4b971b0c41a835196, type: 3} + m_Name: + m_EditorClassIdentifier: + BeautifulNumber: {fileID: 1541586435} + price: {fileID: 1541586434} + Show_buy: {fileID: 1541586439} + jiemianCanvas: {fileID: 1939568759} + musk: {fileID: 0} +--- !u!114 &1541586439 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1541586436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1541586437} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &1939568756 GameObject: m_ObjectHideFlags: 0 diff --git a/TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs b/TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs new file mode 100644 index 0000000..58d61d3 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs @@ -0,0 +1,26 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class LoginItem : MonoBehaviour +{ + + public Transform contentItem; + // Start is called before the first frame update + void Start() + { + Init(); + } + + void Init() + { + + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs.meta b/TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs.meta new file mode 100644 index 0000000..be8b6b5 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/lianghaoLL/LoginItem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3ca795e6b84541f43bbd5a0239e3eaee +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs b/TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs new file mode 100644 index 0000000..3b4341b --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs @@ -0,0 +1,34 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +public class Nice_numPanel : MonoBehaviour +{ + public Button CancleBtn; + public Button ConfirmBtn; + // Start is called before the first frame update + void Start() + { + CancleBtn.onClick.AddListener(CanclePanel); + ConfirmBtn.onClick.AddListener(ConfirmBuy); + } + + void CanclePanel() + { + Destroy(this.gameObject); + } + + void ConfirmBuy() + { + + + Destroy(this.gameObject); + } + + + // Update is called once per frame + void Update() + { + + } +} diff --git a/TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs.meta b/TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs.meta new file mode 100644 index 0000000..714f5f4 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/lianghaoLL/Nice_numPanel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 92c8777c049299e40a3f7a10f0831b25 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/lianghaoLL/NumberTc.cs b/TheStrongestSnail/Assets/Scripts/lianghaoLL/NumberTc.cs index 1fdcee8..a880a75 100644 --- a/TheStrongestSnail/Assets/Scripts/lianghaoLL/NumberTc.cs +++ b/TheStrongestSnail/Assets/Scripts/lianghaoLL/NumberTc.cs @@ -9,6 +9,7 @@ public class NumberTc : MonoBehaviour public TextMeshProUGUI price; public Button Show_buy; public Canvas jiemianCanvas; + public GameObject musk; // Start is called before the first frame update void Start() { @@ -21,10 +22,6 @@ public class NumberTc : MonoBehaviour GameObject Buy_tc = (GameObject)Instantiate(Resources.Load("LLPrefabs/Nice_numberTcPanel"),jiemianCanvas.transform); Text hfText = Buy_tc.transform.Find("Panel/t3/huafeitext").GetComponent(); hfText.text = "是否确认花费" + price.text + "个蜗壳购买ID为" + BeautifulNumber.text + "的靓号?"; - Button CancelBtn = Buy_tc.transform.Find("Panel/t3/quxiaoBtn").GetComponent