公会优化

tcx_xiyou_test
sean 2024-01-14 11:59:20 +08:00
parent 7ce4576991
commit 31475f51a7
4 changed files with 721 additions and 910 deletions

View File

@ -2020,7 +2020,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2c2cc5fac629a17409e60bfbf2c63d55, type: 3}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -5253,8 +5253,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: -44.6, y: 42.4}
m_SizeDelta: {x: 74, y: 74}
m_AnchoredPosition: {x: -60.8, y: 41.1}
m_SizeDelta: {x: 41, y: 40}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6496008606312933063
CanvasRenderer:
@ -5282,7 +5282,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 1c666beff78f70943be2712a7f73f982, type: 3}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -5810,8 +5810,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: -39.24, y: 39.8}
m_SizeDelta: {x: 74, y: 74}
m_AnchoredPosition: {x: -56.2, y: 36.9}
m_SizeDelta: {x: 41, y: 40}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6726070347141899913
CanvasRenderer:
@ -5839,7 +5839,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 1c666beff78f70943be2712a7f73f982, type: 3}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -5983,7 +5983,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2c2cc5fac629a17409e60bfbf2c63d55, type: 3}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -6207,7 +6207,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2c2cc5fac629a17409e60bfbf2c63d55, type: 3}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -6529,7 +6529,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 2c2cc5fac629a17409e60bfbf2c63d55, type: 3}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

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: 249.34, y: -0.8}
m_AnchoredPosition: {x: 250, y: -0.8}
m_SizeDelta: {x: 74.65, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1573254629
@ -3070,7 +3070,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: 286.89, y: -0.8}
m_AnchoredPosition: {x: 250, y: -0.8}
m_SizeDelta: {x: 149.75, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2162111280470490533

View File

@ -2,11 +2,13 @@
GuildCarDelayRewardSortPopup = Inherit(BasePanel)
local this = GuildCarDelayRewardSortPopup
local TabBox = require("Modules/Common/TabBox")
local _TabData={ [1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[11006] },
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[11007] }
local _TabData={ [1] = { default = "r_hero_xuanze_009", select = "r_hero_xuanze_008", name = Language[11006] },
[2] = { default = "r_hero_xuanze_009", select = "r_hero_xuanze_008", name = Language[11007] }
}
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
select = Color.New(243 / 255, 235 / 255, 202 / 255, 1)}
local _TabFontColor = TabColor()
local curIndex = 1
local rewardList = {}
local itemList = {}
@ -20,7 +22,7 @@ function GuildCarDelayRewardSortPopup:InitComponent()
this.rewardPre = Util.GetGameObject(self.gameObject, "ItemPre")
local v2 = Util.GetGameObject(self.gameObject, "scroll"):GetComponent("RectTransform").rect
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, Util.GetGameObject(self.gameObject, "scroll").transform,
this.rewardPre, nil, Vector2.New(-v2.x*2, -v2.y*2), 1, 1, Vector2.New(50,-8 ))
this.rewardPre, nil, Vector2.New(-v2.x*2, -v2.y*2), 1, 1, Vector2.New(50,10))
this.ScrollView.moveTween.MomentumAmount = 1
this.ScrollView.moveTween.Strength = 1
this.BackBtn = Util.GetGameObject(self.gameObject, "bg/btnBack")