SK_LongZhu
parent
44e851c39f
commit
7a18a89bc9
|
|
@ -28,6 +28,7 @@ function SettingPlayerTitle:InitComponent(gameObject,rootPanel)
|
|||
this.goToBtn = Util.GetGameObject(gameObject, "goToBtn")
|
||||
this.goToBtnText = Util.GetGameObject(gameObject, "goToBtn/Text"):GetComponent("Text")
|
||||
this.stateImg = Util.GetGameObject(gameObject, "stateImg"):GetComponent("Image")
|
||||
this.stateImgText = Util.GetGameObject(gameObject, "stateImg/Text"):GetComponent("Text")
|
||||
this.stateImgGo = Util.GetGameObject(gameObject, "stateImg")
|
||||
this.lefeTime = Util.GetGameObject(gameObject, "lefeTime"):GetComponent("Text")
|
||||
this.setImage = Util.GetGameObject(gameObject, "setImage")
|
||||
|
|
@ -193,9 +194,10 @@ function this.SingleRideClickShowInfo(data,go)
|
|||
elseif isGet and isUser then
|
||||
this.goToBtnText.text = Language[12316]
|
||||
end
|
||||
local setateImageStr = curPlayerHeadIconConfig.Time == 0 and "c_zuoqi_yongjiu_zh" or "c_zuoqi_xianshi_zh"
|
||||
this.stateImg.sprite = this.spLoader:LoadSprite(setateImageStr)
|
||||
|
||||
--local setateImageStr = curPlayerHeadIconConfig.Time == 0 and "c_zuoqi_yongjiu_zh" or "c_zuoqi_xianshi_zh"
|
||||
--this.stateImg.sprite = this.spLoader:LoadSprite(setateImageStr)
|
||||
this.stateImg.enabled = false
|
||||
this.stateImgText.text = curPlayerHeadIconConfig.Time == 0 and "永久" or "限时"
|
||||
if rideData then
|
||||
this.lefeTime.text = curPlayerHeadIconConfig.Time == 0 and "" or Language[12173]..TimeStampToDateStr(rideData.overTime)
|
||||
else
|
||||
|
|
@ -217,8 +219,9 @@ function this.SingleRideClickShowInfo(data,go)
|
|||
live2dRoot:OnOpen(GetPlayerRoleSingleConFig().Scale7,nil,WALK_DIR.IDLE_LEFT)
|
||||
|
||||
local curPlayerRole = ConfigManager.GetConfigData(ConfigName.PlayerRole,data.ItemId)
|
||||
local curArtResourcesConfig = ConfigManager.GetConfigData(ConfigName.ArtResourcesConfig,curPlayerRole.LiveAnimName)
|
||||
this.name.text = curArtResourcesConfig.Desc
|
||||
--local curArtResourcesConfig = ConfigManager.GetConfigData(ConfigName.ArtResourcesConfig,curPlayerRole.LiveAnimName)
|
||||
--this.name.text = curArtResourcesConfig.Desc
|
||||
this.name.text = curItemConfig.Name
|
||||
-- 设置称号显示
|
||||
this.titleLive:SetShow(data.ItemId, Vector3.New(0,150,0), 0.5, 0.5, _sortingorder)
|
||||
this.titleLive2:SetShow(data.ItemId, Vector3.New(0,0,0), 1, 1, _sortingorder)
|
||||
|
|
|
|||
Loading…
Reference in New Issue