优化页面

PC-202302260912\Administrator 2024-03-07 17:09:44 +08:00
parent c8bd8484ef
commit 0cfc87192e
2 changed files with 1080 additions and 810 deletions

View File

@ -274,7 +274,7 @@ function this:OnOpen(_panelType,...)
else
for k,v in pairs(bgListGo) do
-- v:GetComponent("Image").sprite = this.spLoader:LoadSprite("t_chengyuankuang_kuang")
this.line:GetComponent("RectTransform").sizeDelta = Vector2.New(294.2,414.87)
this.line:GetComponent("RectTransform").sizeDelta = Vector2.New(315,352)
end
end
-- tempPowerNum=0
@ -1299,7 +1299,7 @@ function this.OnDrag(Pointgo,data)--拖动中
if panelType == FORMATION_TYPE.EXPEDITION or panelType == FORMATION_TYPE.CARBON then
this.line.transform:DOAnchorPos(Vector3.New(0,15,0),0)
else
this.line.transform:DOAnchorPos(Vector3.New(0,30,0),0)
this.line.transform:DOAnchorPos(Vector3.New(0,0,0),0)
end
end