【锻器阁】调整魂印和宝物的顺序
parent
d48d420dd2
commit
52bdc56af4
|
|
@ -4,8 +4,8 @@ local this = CompoundPanel
|
|||
local TabBox = require("Modules/Common/TabBox")
|
||||
local _TabData={ [1] = { default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002",select = "r_hero_xuanze_001", name = Language[10385] , funcType = FUNCTION_OPEN_TYPE.COMPOUND},
|
||||
--[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = "宝器锻造" },
|
||||
[2] = { default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002",select = "r_hero_xuanze_001", name = Language[10386], funcType = FUNCTION_OPEN_TYPE.Treasure },
|
||||
[3] = { default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002",select = "r_hero_xuanze_001", name = Language[10387] , funcType = FUNCTION_OPEN_TYPE.hunyin},
|
||||
[2] = { default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002",select = "r_hero_xuanze_001", name = Language[10387] , funcType = FUNCTION_OPEN_TYPE.hunyin},
|
||||
[3] = { default = "r_hero_xuanze_002", lock = "r_hero_xuanze_002",select = "r_hero_xuanze_001", name = Language[10386], funcType = FUNCTION_OPEN_TYPE.Treasure },
|
||||
}
|
||||
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
|
||||
select = Color.New(243 / 255, 235 / 255, 202 / 255, 1),
|
||||
|
|
@ -16,8 +16,8 @@ local curIndex = 1
|
|||
this.contents = {
|
||||
[1] = {view = require("Modules/Compound/view/CompoundPanel_Equip"), panelName = "CompoundPanel_Equip"},
|
||||
--[2] = {view = require("Modules/Compound/view/CompoundPanel_Talisman"), panelName = "CompoundPanel_Talisman"},
|
||||
[2] = {view = require("Modules/Compound/view/CompoundPanel_Treasure"), panelName = "CompoundPanel_Treasure"},
|
||||
[3] = {view = require("Modules/Compound/view/CompoundPanel_SoulPrint"), panelName = "CompoundPanel_SoulPrint"},
|
||||
[2] = {view = require("Modules/Compound/view/CompoundPanel_SoulPrint"), panelName = "CompoundPanel_SoulPrint"},
|
||||
[3] = {view = require("Modules/Compound/view/CompoundPanel_Treasure"), panelName = "CompoundPanel_Treasure"},
|
||||
}
|
||||
--初始化组件(用于子类重写)
|
||||
function CompoundPanel:InitComponent()
|
||||
|
|
@ -132,14 +132,14 @@ function this.SetBottomBarIsActive(tab, index)
|
|||
local ConfigData = ConfigManager.GetConfig(ConfigName.SpecialConfig)
|
||||
|
||||
if index == 2 then
|
||||
local string = ConfigData[89].Value
|
||||
tab:SetActive(PlayerManager.level >= tonumber(string))
|
||||
end
|
||||
if index == 3 then
|
||||
local string = ConfigData[40].Value
|
||||
local num = string.split(string.split(string,"|")[1],"#")[2]
|
||||
tab:SetActive(PlayerManager.level >= tonumber(num))
|
||||
end
|
||||
if index == 3 then
|
||||
local string = ConfigData[89].Value
|
||||
tab:SetActive(PlayerManager.level >= tonumber(string))
|
||||
end
|
||||
end
|
||||
|
||||
--切换视图
|
||||
|
|
|
|||
Loading…
Reference in New Issue