优化页面

PC-202302260912\Administrator 2024-04-16 16:30:00 +08:00
parent 0dd36cde40
commit e9e96de912
2 changed files with 313 additions and 27 deletions

View File

@ -107,11 +107,11 @@ RectTransform:
- {fileID: 2021593734682218}
- {fileID: 3909224449922192452}
m_Father: {fileID: 2750471745573935426}
m_RootOrder: 3
m_RootOrder: 4
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: -420, y: 33}
m_AnchoredPosition: {x: -433, y: 19}
m_SizeDelta: {x: 100, y: 657.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &30253706966678147
@ -730,6 +730,80 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &2750408323913912010
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 253587907237702522}
- component: {fileID: 6315334172905970200}
- component: {fileID: 8733824694599193646}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &253587907237702522
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2750408323913912010}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 898193909354494019}
m_RootOrder: 1
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: -324, y: 273}
m_SizeDelta: {x: 616, y: 178}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6315334172905970200
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2750408323913912010}
m_CullTransparentMesh: 0
--- !u!114 &8733824694599193646
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2750408323913912010}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 6aac9c39c2fd0fb42a549305c0b66ab4, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &3133122158697389110
GameObject:
m_ObjectHideFlags: 0
@ -840,7 +914,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 898193909354494019}
m_RootOrder: 2
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -1010,6 +1084,8 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7842824894853748038}
- {fileID: 253587907237702522}
- {fileID: 2961410780586226010}
- {fileID: 2750471745573935426}
- {fileID: 3346197970643441062}
- {fileID: 6504940580371637700}
@ -1329,7 +1405,7 @@ RectTransform:
- {fileID: 9217321028818647536}
- {fileID: 6672776976815628957}
m_Father: {fileID: 898193909354494019}
m_RootOrder: 3
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -1445,12 +1521,12 @@ RectTransform:
m_Children:
- {fileID: 5720075157619710336}
m_Father: {fileID: 2750471745573935426}
m_RootOrder: 0
m_RootOrder: 1
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: 374.5}
m_SizeDelta: {x: 302, y: 68}
m_AnchoredPosition: {x: 0, y: 293}
m_SizeDelta: {x: 302, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6506979086108423105
CanvasRenderer:
@ -1467,7 +1543,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4753472372400523063}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
@ -1480,7 +1556,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: f4df57e57b538b44cb6ffc1cf1189c71, type: 3}
m_Sprite: {fileID: 21300000, guid: ce3d810834691bb428836131cb3e3f7a, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -1698,7 +1774,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &5324930657412983010
RectTransform:
m_ObjectHideFlags: 0
@ -1844,8 +1920,8 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 2aaa6456430fe044b9979521c30bb14f, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: 02d017b768196614cba74209330fa078, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -2099,8 +2175,8 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 2aaa6456430fe044b9979521c30bb14f, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: 02d017b768196614cba74209330fa078, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -2433,12 +2509,13 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 6804100958746107471}
- {fileID: 1053341947613772312}
- {fileID: 8892065666247826579}
- {fileID: 6793231540162019059}
- {fileID: 7465221042871974731}
m_Father: {fileID: 898193909354494019}
m_RootOrder: 1
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -2460,7 +2537,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6605752224547364992}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
@ -2711,7 +2788,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: 94.5, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2545760152514230900
@ -2800,12 +2877,12 @@ RectTransform:
m_Children:
- {fileID: 4957794194947264391}
m_Father: {fileID: 2750471745573935426}
m_RootOrder: 1
m_RootOrder: 2
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.7, y: -156.5}
m_SizeDelta: {x: 745.3, y: 868.6}
m_AnchoredPosition: {x: 4.7, y: -211.6}
m_SizeDelta: {x: 745.3, y: 909.8}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6588532141008816022
CanvasRenderer:
@ -2815,6 +2892,80 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7338693464047317080}
m_CullTransparentMesh: 0
--- !u!1 &7338739437908461751
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6804100958746107471}
- component: {fileID: 1373586012985535829}
- component: {fileID: 3641111040312374666}
m_Layer: 0
m_Name: BG1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6804100958746107471
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7338739437908461751}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2750471745573935426}
m_RootOrder: 0
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.9, y: -230}
m_SizeDelta: {x: 769.69, y: 1140}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1373586012985535829
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7338739437908461751}
m_CullTransparentMesh: 0
--- !u!114 &3641111040312374666
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7338739437908461751}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: fa3d641a2aaa74141b80cb107d219230, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &7750522437075200657
GameObject:
m_ObjectHideFlags: 0
@ -2846,11 +2997,11 @@ RectTransform:
m_Children:
- {fileID: 5387329556305204595}
m_Father: {fileID: 2750471745573935426}
m_RootOrder: 2
m_RootOrder: 3
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: -700}
m_AnchoredPosition: {x: 0, y: -730}
m_SizeDelta: {x: 700, y: 54}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7805140256559782348
@ -3058,8 +3209,8 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: 2aaa6456430fe044b9979521c30bb14f, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: 02d017b768196614cba74209330fa078, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -3204,3 +3355,138 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 2
--- !u!1001 &6444757294358580646
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 898193909354494019}
m_Modifications:
- target: {fileID: 3792560709543872591, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_Name
value: live2d_c_0014
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 83
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -640
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalScale.x
value: 0.7
objectReference: {fileID: 0}
- target: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
propertyPath: m_LocalScale.y
value: 0.7
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 586a3eec70a65874486a9c5046269a6d, type: 3}
--- !u!224 &2961410780586226010 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 8100124113991073020, guid: 586a3eec70a65874486a9c5046269a6d,
type: 3}
m_PrefabInstance: {fileID: 6444757294358580646}
m_PrefabAsset: {fileID: 0}

View File

@ -4,9 +4,9 @@ local rechargeConfig = ConfigManager.GetConfig(ConfigName.RechargeCommodityConfi
local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
local artResourcesConfig = ConfigManager.GetConfig(ConfigName.ArtResourcesConfig)
local BTNS = {
[1] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "b_baibao_liangouhaoli-a",text2 = "b_baibao_liangouhaoli",title = "b_baibao_liangouhaoli-b"},
[2] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "b_baibao_meiritehui-a",text2 = "b_baibao_meiritehui",title = "b_baibao_meiritehui-b"},
[3] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "b_baibao_chaozhitehui-a",text2 = "b_baibao_chaozhitehui",title = "b_baibao_chaozhitehui-b"},
[1] = {bg1 = "lingshou_lingshoumingzidi",bg2 = "lingshou_lingshoumingzidi",text1 = "b_baibao_liangouhaoli-a",text2 = "b_baibao_liangouhaoli",title = "b_baibao_liangouhaoli-b"},
[2] = {bg1 = "lingshou_lingshoumingzidi",bg2 = "lingshou_lingshoumingzidi",text1 = "b_baibao_meiritehui-a",text2 = "b_baibao_meiritehui",title = "b_baibao_meiritehui-b"},
[3] = {bg1 = "lingshou_lingshoumingzidi",bg2 = "lingshou_lingshoumingzidi",text1 = "b_baibao_chaozhitehui-a",text2 = "b_baibao_chaozhitehui",title = "b_baibao_chaozhitehui-b"},
}
local btnType = {
LianGou = 1,