Compare commits

..

No commits in common. "cac5ae4ff1fc0ff17ad8f5c92fb0ce65e75bac74" and "a95d8b5c47aa8e8cd7a7c36463c681f828b6c089" have entirely different histories.

3 changed files with 42 additions and 53 deletions

View File

@ -282,7 +282,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMin.x
@ -290,7 +290,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_SizeDelta.x
@ -330,11 +330,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.x
value: 459.12
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.y
value: -172
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -378,7 +378,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
@ -751,7 +751,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMin.x
@ -759,7 +759,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_SizeDelta.x
@ -799,11 +799,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.x
value: 724.24
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.y
value: -172
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -847,7 +847,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
@ -868,7 +868,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3ca795e6b84541f43bbd5a0239e3eaee, type: 3}
m_Name:
m_EditorClassIdentifier:
retbutton: {fileID: 0}
contentItem: {fileID: 352902871}
goodId: {fileID: 0}
--- !u!1001 &1063384825
@ -932,7 +931,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMin.x
@ -940,7 +939,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_SizeDelta.x
@ -980,11 +979,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.x
value: 194
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_AnchoredPosition.y
value: -511.6
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4195905154657269784, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -1028,7 +1027,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7586974503533905102, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a9811bf64599da248a3d27c2d2ebe72d, type: 3}
@ -1241,7 +1240,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1541940793824040246, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1832672508929029481, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_Sprite
@ -1481,27 +1480,27 @@ PrefabInstance:
objectReference: {fileID: 21300000, guid: 04b17b8ae9d34d5458927c51a673666a, type: 3}
- target: {fileID: 5050385004649441760, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5050385004649441760, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5050385004649441760, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_SizeDelta.x
value: 198
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5050385004649441760, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_SizeDelta.y
value: 276
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5050385004649441760, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_AnchoredPosition.x
value: 194
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5050385004649441760, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_AnchoredPosition.y
value: -172
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5308372903374203845, guid: 2ea9f46d5d084364b9ed13356743f255, type: 3}
propertyPath: m_AnchorMax.y

View File

@ -611,31 +611,28 @@ public class UnionDetalResponse : Response
}
//====4.1============================
//查询靓号分页
public class GoodIdResponse : Response
public class GoodIdPageBody
{
public GoodIdData Data { get; set; }
public int orderByDesc { get; set; }
}
public class GoodIdData
{
public int PageNo { get; set; }
public int PageSize { get; set; }
public int TotalCount { get; set; }
public List<GoodIdItem> DataList { get; set; }
public int PageNo { get; set; }//页面的页数
public int PageSize { get; set; }//每页展示
public int TotalCount { get; set; }//总记录数
public List<object> DataList { get; set; } // 由于dataList为空数组未给出具体类型这里使用List<object>
}
public class GoodIdItem
public class GoodIdResponse : Response
{
public int Id { get; set; }
public string CuteNo { get; set; }
public float BeansCoin { get; set; }
public int UserId { get; set; }
public int Type { get; set; }
public int Status { get; set; }
public string CreateTime { get; set; }
public string UpdateTime { get; set; }
public GoodIdData Data { get; set; }
}
public class GoodIdPageBody
//======================
public class GoodIdList
{
public int orderByDesc { get; set; }
public int id;
public int cuteNo;
public float beansCoin;
}

View File

@ -2,13 +2,13 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoginItem :MonoBehaviour
public class LoginItem : MonoBehaviour
{
public Transform contentItem;
GoodIdPage41 goodId = new GoodIdPage41();
public Transform contentItem;
public GoodIdPage41 goodId = new GoodIdPage41();
GoodIdResponse idResponse = new GoodIdResponse();
// GoodIdItem goodiditem = new GoodIdItem();
// Start is called before the first frame update
void Start()
{
@ -19,16 +19,9 @@ public class LoginItem :MonoBehaviour
{
idResponse=await goodId.queryUnionPage();
for (int i = 0; i < idResponse.Data.DataList.Count; i++)
{
GameObject Lhitem = (GameObject)Instantiate(Resources.Load("LLPrefabs/Beautiful_numberttem"),contentItem);
Lhitem.GetComponent<NumberTc>().BeautifulNumber.text = idResponse.Data.DataList[i].CuteNo;
Lhitem.GetComponent<NumberTc>().price.text = idResponse.Data.DataList[i].BeansCoin.ToString();
if (idResponse.Data.DataList[i].Type == 1)
{
Lhitem.GetComponent<NumberTc>().musk_show();
}
{
}
}
// Update is called once per frame