PC-202302260912\Administrator 2025-07-31 16:04:23 +08:00
parent 5b5f006de5
commit 884acb8d69
1 changed files with 4 additions and 4 deletions

View File

@ -159,13 +159,13 @@ end
function this.PanelShowChange()
-- this.scrollView = nil
if not TabDataIndex then
this.scrollView:SetRectTransform(Vector2.New(830,775))
this.scrollView.rectTransform.localPosition = Vector3.New(0, -70, 0)
this.scrollView:SetRectTransform(Vector2.New(830,895))
this.scrollView.rectTransform.localPosition = Vector3.New(0, -140, 0)
-- this.record:GetComponent("RectTransform").localPosition = Vector3.New(0, 672- 339, 0)
this.tabBox:SetActive(false)
else
this.scrollView:SetRectTransform(Vector2.New(903,473.25))
this.scrollView.rectTransform.localPosition = Vector3.zero
this.scrollView:SetRectTransform(Vector2.New(830,895))
this.scrollView.rectTransform.localPosition = Vector3.New(0, -140, 0)
-- this.record:GetComponent("RectTransform").localPosition = Vector3.New(0, 773 - 339, 0)
this.tabBox:SetActive(true)
curIndex = 1