批量优化页面

tcx_xiyou_yueNan
PC-202302260912\Administrator 2025-01-08 20:17:24 +08:00
parent 7a9933505e
commit 0ee1a36253
7 changed files with 252 additions and 250 deletions

View File

@ -1453,7 +1453,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 306, y: -20.8}
m_AnchoredPosition: {x: 165.3, y: -20.8}
m_SizeDelta: {x: 333.8, y: 41.6}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2940302822370575972
@ -2587,7 +2587,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 356, y: -25.317}
m_AnchoredPosition: {x: 162.54999, y: -25.317}
m_SizeDelta: {x: 84, y: 50.635}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &7037839332026251760
@ -2996,7 +2996,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 338, y: -30}
m_AnchoredPosition: {x: 147.2, y: -30}
m_SizeDelta: {x: 0, y: 60}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &774910961661989352
@ -3792,7 +3792,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 338, y: -25.845}
m_AnchoredPosition: {x: 147.2, y: -30}
m_SizeDelta: {x: 0, y: 51.69}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &8948627112095531115
@ -4124,7 +4124,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 396, y: -20.8}
m_AnchoredPosition: {x: 344, y: -23.3}
m_SizeDelta: {x: 394.1, y: 41.6}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7005531677417703213
@ -4696,7 +4696,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: 349.15002, y: 0}
m_AnchoredPosition: {x: 155.7, y: 0}
m_SizeDelta: {x: 251.7, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1366284594198764399

View File

@ -5455,8 +5455,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: -148.7, y: -131.3}
m_SizeDelta: {x: 566.7, y: 53.2}
m_AnchoredPosition: {x: -148.7, y: -154.58}
m_SizeDelta: {x: 566.7, y: 99.762}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3745432775164330284
CanvasRenderer:
@ -5496,7 +5496,7 @@ MonoBehaviour:
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u7075\u517D\u5C5E\u6027\u4F1A\u5E73\u5206\u7ED9\u4E0A\u9635\u7684\u6240\u6709\u795E\u5C06"
@ -9656,8 +9656,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: -82.66101, y: -132}
m_SizeDelta: {x: 628.97, y: 65.2}
m_AnchoredPosition: {x: -82.66101, y: -140.73}
m_SizeDelta: {x: 629, y: 96.379}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6272147119336547312
CanvasRenderer:
@ -9697,7 +9697,7 @@ MonoBehaviour:
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u8FDB\u9636\u540E\uFF0C\u661F\u7EA7\u548C\u6280\u80FD\u5C06\u4F1A\u5F97\u5230\u63D0\u5347"

View File

@ -1291,8 +1291,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: -52.7, y: -5.8}
m_SizeDelta: {x: 56.81, y: 38.03}
m_AnchoredPosition: {x: 86.47, y: 4}
m_SizeDelta: {x: 340, y: 38.03}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5148806145869313694
CanvasRenderer:
@ -2715,7 +2715,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &4915474580090292271
RectTransform:
m_ObjectHideFlags: 0
@ -2734,7 +2734,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: -203, y: -412.78}
m_AnchoredPosition: {x: -241, y: -412.78}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &928503076291625566
@ -2951,9 +2951,9 @@ RectTransform:
m_Father: {fileID: 5105278080076382297}
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: 186, y: -120.520004}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1271552793993894114
@ -4749,10 +4749,10 @@ RectTransform:
m_Father: {fileID: 6521713604475601393}
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: 540, y: -497.5}
m_SizeDelta: {x: 1080, y: 935}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1686586358350173549
GameObject:
@ -5251,8 +5251,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: -52.7, y: -5.8}
m_SizeDelta: {x: 56.81, y: 38.03}
m_AnchoredPosition: {x: 86.47, y: 4}
m_SizeDelta: {x: 340, y: 38}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &242149589842359687
CanvasRenderer:
@ -5289,7 +5289,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 3
m_MaxSize: 40
m_Alignment: 3
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
@ -12219,7 +12219,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 540, y: -582.5}
m_AnchoredPosition: {x: 600, y: -622.5}
m_SizeDelta: {x: 1080, y: 1065}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &8893471718189658728
@ -12418,7 +12418,7 @@ MonoBehaviour:
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 0
m_Spacing: -29.48
m_Spacing: -10
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
@ -12587,7 +12587,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 540, y: -75}
m_AnchoredPosition: {x: 540, y: -115}
m_SizeDelta: {x: 154.1, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5928263913888497503
@ -15070,9 +15070,9 @@ RectTransform:
m_Father: {fileID: 5105278080076382297}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 186, y: -191.04001}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &7573008351178900706
@ -15109,9 +15109,9 @@ RectTransform:
m_Father: {fileID: 5105278080076382297}
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: 186, y: -50}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &7598371491580068775
@ -15775,8 +15775,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: -52.7, y: -5.8}
m_SizeDelta: {x: 56.81, y: 38.03}
m_AnchoredPosition: {x: 86.47, y: 4}
m_SizeDelta: {x: 340, y: 38.03}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6563368057307428919
CanvasRenderer:
@ -16028,7 +16028,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: -989}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &9063920026232639007
MonoBehaviour:

View File

@ -4171,7 +4171,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: -1, y: 192.6}
m_AnchoredPosition: {x: -1, y: 222.4}
m_SizeDelta: {x: 62, y: 62}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3729686816201694357
@ -5501,7 +5501,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -212}
m_SizeDelta: {x: 76, y: 488.81}
m_SizeDelta: {x: 76, y: 550}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2045152789844932229
CanvasRenderer:
@ -5574,8 +5574,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, y: -14.07}
m_SizeDelta: {x: 391.96, y: 60}
m_AnchoredPosition: {x: 0, y: -24.9}
m_SizeDelta: {x: 447.5, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4824495337079565219
CanvasRenderer:
@ -5615,7 +5615,7 @@ MonoBehaviour:
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u707C\u70E7\u961F\u8F85\u52A9"
@ -5804,7 +5804,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 141.3, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 100.75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2932693287766199764

View File

@ -116,7 +116,7 @@ function this:InitComponent()
this.scroll = Util.GetGameObject(this.gameObject, "Scroll")
this.scrollBar = Util.GetGameObject(this.gameObject, "Scrollbar"):GetComponent("Scrollbar")
this.scrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, this.scroll.transform,
this.heroPre, this.scrollBar, Vector2.New(1010, 555), 1, 6, Vector2.New(27, 52.5))
this.heroPre, this.scrollBar, Vector2.New(1010, 543.8), 1, 6, Vector2.New(27, 52.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)

View File

@ -370,6 +370,7 @@ function RewardEquipSingleShowPopup2:OnShow()
end
local vText = Util.GetGameObject(_BaseProList[num], "curProVale"):GetComponent("Text")
vText.gameObject:SetActive(true)
-- Util.GetGameObject(vText.gameObject, "homeValue"):GetComponent("Text").text = ""--摘星阁加持文字显示位置
local str = ""
if prop[2] > 0 then
@ -413,6 +414,7 @@ function RewardEquipSingleShowPopup2:OnShow()
_BaseProList[num]:SetActive(true)
_BaseProList[num]:GetComponent("Text").text = GetLanguageStrById(proConfigData.Info)
local vText = Util.GetGameObject(_BaseProList[num], "curProVale"):GetComponent("Text")
vText.gameObject:SetActive(true)
-- Util.GetGameObject(vText.gameObject, "homeValue"):GetComponent("Text").text = ""--摘星阁加持文字显示位置
if prop[2] > 0 then
vText.text = "+" .. GetPropertyFormatStr(proConfigData.Style, prop[2])