排行榜页面修改

tcx_xiyou_dev
PC-202302260912\Administrator 2024-05-30 14:50:51 +08:00
parent 4422c72806
commit 56b68b6567
2 changed files with 30 additions and 30 deletions

View File

@ -948,7 +948,7 @@ 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: 0, y: 166}
m_AnchoredPosition: {x: 0, y: 25}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &939269812365812779
@ -2352,10 +2352,10 @@ RectTransform:
m_Father: {fileID: 2803270274945515827}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 36.5, y: -26.5005}
m_SizeDelta: {x: 73, y: 53.001}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 35.5, y: 0}
m_SizeDelta: {x: 71, y: 53.001}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2087529262403731172
CanvasRenderer:
@ -2432,10 +2432,10 @@ RectTransform:
m_Father: {fileID: 2803270274945515827}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 149, y: -26.5}
m_SizeDelta: {x: 76, y: 53}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 142, y: 0}
m_SizeDelta: {x: 71, y: 53}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &9200479318774944364
CanvasRenderer:
@ -2714,10 +2714,10 @@ RectTransform:
m_Father: {fileID: 1259383958670576891}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 95, y: -27.75}
m_SizeDelta: {x: 190, y: 55.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 55.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1284541800156830092
CanvasRenderer:
@ -3465,7 +3465,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -167.00003, y: -5.6}
m_SizeDelta: {x: 236, y: 53}
m_SizeDelta: {x: 232, y: 53}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &8275228566784259088
CanvasRenderer:
@ -3551,8 +3551,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: 4.09, y: -179.3}
m_SizeDelta: {x: 908.97, y: 969.4}
m_AnchoredPosition: {x: 4.09, y: -265}
m_SizeDelta: {x: 909, y: 798}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3748597804020482031
CanvasRenderer:
@ -3821,7 +3821,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &2953731360110064277
RectTransform:
m_ObjectHideFlags: 0
@ -3840,8 +3840,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: -0.000019073, y: 95.62501}
m_SizeDelta: {x: 867.1, y: 473.25}
m_AnchoredPosition: {x: -0.000019073, y: 74.9}
m_SizeDelta: {x: 867.1, y: 648.2}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2358040063176772569
GameObject:
@ -5172,8 +5172,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: -2, y: 439}
m_SizeDelta: {x: 910, y: 331}
m_AnchoredPosition: {x: -2, y: 354.3}
m_SizeDelta: {x: 910, y: 500.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2584689189113158197
CanvasRenderer:
@ -5399,7 +5399,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -131.6, y: -5.5998}
m_SizeDelta: {x: 149, y: 53.001}
m_SizeDelta: {x: 142, y: 53.001}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &5501118075490430923
CanvasRenderer:
@ -7466,8 +7466,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: 0.000031471, y: 0.000005722}
m_SizeDelta: {x: 867.1, y: 571.1}
m_AnchoredPosition: {x: 0, y: -12.1}
m_SizeDelta: {x: 867.1, y: 624}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2682210584111319393
CanvasRenderer:
@ -9383,10 +9383,10 @@ RectTransform:
m_Father: {fileID: 1259383958670576891}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 213, y: -29.9815}
m_SizeDelta: {x: 46, y: 59.963}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 211, y: 0}
m_SizeDelta: {x: 42, y: 59.963}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3951719279002629067
CanvasRenderer:

View File

@ -40,7 +40,7 @@ function RankingSingleListPanel:InitComponent()
this.itemPre=Util.GetGameObject(self.gameObject,"Content/RankList/ScrollParentView/ItemPre")
this.scrollView = nil
this.scrollView=SubUIManager.Open(SubUIConfig.ScrollCycleView,this.scrollParentView.transform,this.itemPre,
nil,Vector2.New(903,855),1,1,Vector2.New(0,5))
nil,Vector2.New(903,757),1,1,Vector2.New(0,5))
this.scrollView.gameObject:GetComponent("RectTransform").anchoredPosition= Vector2.New(0,0)
this.scrollView.gameObject:GetComponent("RectTransform").anchorMin = Vector2.New(0.5, 0.5)
this.scrollView.gameObject:GetComponent("RectTransform").anchorMax = Vector2.New(0.5, 0.5)
@ -159,7 +159,7 @@ end
function this.PanelShowChange()
-- this.scrollView = nil
if not TabDataIndex then
this.scrollView:SetRectTransform(Vector2.New(903,855))
this.scrollView:SetRectTransform(Vector2.New(903,757))
this.scrollView.rectTransform.localPosition = Vector3.New(0, -53.5, 0)
--this.record:GetComponent("RectTransform").localPosition = Vector3.New(0, 672- 339, 0)
this.tabBox:SetActive(false)