太初秘卷修改提交
parent
ab89dcfd17
commit
7a6935eb42
|
@ -707,7 +707,7 @@ GameObject:
|
||||||
- component: {fileID: 4553105843183576068}
|
- component: {fileID: 4553105843183576068}
|
||||||
- component: {fileID: 2876656824097227893}
|
- component: {fileID: 2876656824097227893}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: itemPre1
|
m_Name: itemPre
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
|
@ -1166,7 +1166,7 @@ GameObject:
|
||||||
- component: {fileID: 7909892950731924465}
|
- component: {fileID: 7909892950731924465}
|
||||||
- component: {fileID: 5846793020732928758}
|
- component: {fileID: 5846793020732928758}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: itemPre
|
m_Name: itemPre2
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
|
@ -1701,7 +1701,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 1.199997, y: -0.000045521072}
|
m_AnchoredPosition: {x: 1.199997, y: 0}
|
||||||
m_SizeDelta: {x: -42, y: 0}
|
m_SizeDelta: {x: -42, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 1}
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
--- !u!114 &921486100088032325
|
--- !u!114 &921486100088032325
|
||||||
|
@ -1719,7 +1719,7 @@ MonoBehaviour:
|
||||||
m_Padding:
|
m_Padding:
|
||||||
m_Left: 32
|
m_Left: 32
|
||||||
m_Right: 20
|
m_Right: 20
|
||||||
m_Top: 86
|
m_Top: 80
|
||||||
m_Bottom: 34
|
m_Bottom: 34
|
||||||
m_ChildAlignment: 1
|
m_ChildAlignment: 1
|
||||||
m_Spacing: 6
|
m_Spacing: 6
|
||||||
|
|
|
@ -66,7 +66,7 @@ function TaiChuMiJuanPanel:OnShow(...)
|
||||||
end
|
end
|
||||||
this.itemPres[i].go.gameObject:SetActive(true)
|
this.itemPres[i].go.gameObject:SetActive(true)
|
||||||
this.itemPres[i].bg.sprite = this.data[i].sprite
|
this.itemPres[i].bg.sprite = this.data[i].sprite
|
||||||
--this.itemPres[i].bg:SetNativeSize()
|
this.itemPres[i].bg:SetNativeSize()
|
||||||
Util.AddOnceClick(this.itemPres[i].go,function()
|
Util.AddOnceClick(this.itemPres[i].go,function()
|
||||||
SDKMgr:OpenWeb(this.data[i].linkAddress)
|
SDKMgr:OpenWeb(this.data[i].linkAddress)
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -58,7 +58,7 @@ end
|
||||||
|
|
||||||
function this.GetATaiChuMiJuanData(data)
|
function this.GetATaiChuMiJuanData(data)
|
||||||
this.IsFisish = true
|
this.IsFisish = true
|
||||||
local str = string.match(data.windowLink,"^[%s]*(.-)[%s]*$")
|
local str = string.match(data.windowLink,"^%s*(.-)%s*$")
|
||||||
if not this.TaiChuMiJuanData[data.id] or this.TaiChuMiJuanData[data.id].windowLink ~= str then
|
if not this.TaiChuMiJuanData[data.id] or this.TaiChuMiJuanData[data.id].windowLink ~= str then
|
||||||
this.IsFisish = false
|
this.IsFisish = false
|
||||||
coroutine.start(function()
|
coroutine.start(function()
|
||||||
|
@ -77,7 +77,7 @@ function this.GetATaiChuMiJuanData(data)
|
||||||
this.TaiChuMiJuanData[data.id] = {}
|
this.TaiChuMiJuanData[data.id] = {}
|
||||||
end
|
end
|
||||||
this.TaiChuMiJuanData[data.id].id = data.id
|
this.TaiChuMiJuanData[data.id].id = data.id
|
||||||
this.TaiChuMiJuanData[data.id].linkAddress = string.match(data.strategyLink,"^[%s]*(.-)[%s]*$")
|
this.TaiChuMiJuanData[data.id].linkAddress = string.match(data.strategyLink,"^%s*(.-)%s*$")
|
||||||
this.TaiChuMiJuanData[data.id].windowLink = str
|
this.TaiChuMiJuanData[data.id].windowLink = str
|
||||||
this.TaiChuMiJuanData[data.id].sprite = m_sprite
|
this.TaiChuMiJuanData[data.id].sprite = m_sprite
|
||||||
this.IsFisish = true
|
this.IsFisish = true
|
||||||
|
|
Loading…
Reference in New Issue