优化页面

tcx_xiyou_yueNan
PC-202302260912\Administrator 2025-01-03 17:41:43 +08:00
parent 5961d2737a
commit ca366e9007
2 changed files with 10 additions and 9 deletions

View File

@ -5087,8 +5087,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: 350.3}
m_SizeDelta: {x: 984, y: 288.9}
m_AnchoredPosition: {x: 0, y: 343.87}
m_SizeDelta: {x: 984, y: 301.75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &993909796037655035
CanvasRenderer:
@ -8908,7 +8908,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: 0, y: -59}
m_AnchoredPosition: {x: 0, y: -48}
m_SizeDelta: {x: 920, y: 4}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6810788847370914301
@ -9252,7 +9252,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: -363, y: 5}
m_AnchoredPosition: {x: -391.6, y: 5}
m_SizeDelta: {x: 238.21, y: 57.78}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1155306698190916582
@ -18150,8 +18150,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: -143, y: 4.6}
m_SizeDelta: {x: 238.21, y: 57.78}
m_AnchoredPosition: {x: -192.81, y: -0.00003624}
m_SizeDelta: {x: 211.69, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5948393373316236050
CanvasRenderer:

View File

@ -475,9 +475,10 @@ function this.ShowRmdPanel(index)
local childName = Util.GetGameObject(childBox, "name"):GetComponent("Text")
local childContent = Util.GetGameObject(childBox, "content"):GetComponent("Text")
title.text = GetLanguageStrById(data.DescFirst)
local strList = string.split(data.DescSecond, "#")
childName.text = Language[12429].."\n  "..GetLanguageStrById(strList[1])--"      "..strList[1] -- 空格用于调整文字的起始位置
childContent.text = "\n  "..GetLanguageStrById(strList[2]) -- 全角空格可以避免自动换行
LogError(GetLanguageStrById(data.DescSecond))
local strList = string.split(GetLanguageStrById(data.DescSecond), "#")
childName.text = Language[12429].."\n  "..strList[1]--"      "..strList[1] -- 空格用于调整文字的起始位置
childContent.text = "\n  "..strList[2] -- 全角空格可以避免自动换行
LogError("tttttt:"..data.Id)
for index, heroId in ipairs(data.ItemId) do
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroId)