【修改提交】

dev_chengFeng
zhangqiang 2021-03-17 17:27:53 +08:00
parent 6eb9050d4a
commit f2b3df9721
2 changed files with 7 additions and 8 deletions

View File

@ -1058,7 +1058,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: 526, y: -21.5}
m_AnchoredPosition: {x: 554, y: -25}
m_SizeDelta: {x: 284, y: 42}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1776344020
@ -6700,7 +6700,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 30, y: 71.9}
m_SizeDelta: {x: 668, y: 43}
m_SizeDelta: {x: 696, y: 50}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &2518333084048825677
CanvasRenderer:
@ -6930,7 +6930,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: 76, y: -21.5}
m_AnchoredPosition: {x: 76, y: -25}
m_SizeDelta: {x: 152, y: 42}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2518333084341339611
@ -14130,8 +14130,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 363, y: -21.5}
m_SizeDelta: {x: 22, y: 43}
m_AnchoredPosition: {x: 377, y: -25}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5213216419983842381
CanvasRenderer:
@ -14161,7 +14161,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: 1e2d84c75cd281242a2bf1f69edfec36, type: 3}
m_Sprite: {fileID: 21300000, guid: 9b622bdc0076f3943adb78ee8d828620, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -15968,7 +15968,7 @@ PrefabInstance:
- target: {fileID: 5986877063528201156, guid: f668b18eb108cc14485203ad2dcd9229,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -21.5
value: -25
objectReference: {fileID: 0}
- target: {fileID: 5986877063528201156, guid: f668b18eb108cc14485203ad2dcd9229,
type: 3}

View File

@ -390,7 +390,6 @@ function GiftView:RefreshShowData(item, data, buyType, DataTypeIndex)
--绑定组件
local localSelf = self
local name = Util.GetGameObject(item, "context/text"):GetComponent("Text")
Util.GetGameObject(item, "context/Image"):GetComponent("Image").sprite = Util.LoadSprite("c_czlb_yuan_zh")
local icon = Util.GetGameObject(item, "btnBuy/icon")
local price = Util.GetGameObject(item, "btnBuy/price"):GetComponent("Text")
local buyInfo = Util.GetGameObject(item, "buyInfo"):GetComponent("Text")