parent
4c12388265
commit
e5b18f7e4c
|
|
@ -198,7 +198,7 @@ function this.SingleMialDataShow(_go, _mailData)
|
|||
isTopImg:SetActive(false)
|
||||
elseif _mailData.isTop == 1 then --置顶
|
||||
mialBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_renwu_tiao_004")
|
||||
isTopImg:SetActive(true)
|
||||
isTopImg:SetActive(false)
|
||||
end
|
||||
|
||||
Util.AddOnceClick(mialBtn, function()
|
||||
|
|
|
|||
|
|
@ -69,14 +69,18 @@ function this.GetStringByStringformat(inputStr)
|
|||
if #msgStr == 1 then
|
||||
return GetLanguageStrById(msgStr[1])
|
||||
end
|
||||
LogGreen("inputStr1:"..msgStr[1])
|
||||
for i = 2, #msgStr do
|
||||
--1 需要翻译
|
||||
local oneStr = string.sub(msgStr[i],1,1)
|
||||
if tonumber(oneStr) == 1 then
|
||||
msgStr[i] = tostring(string.sub(msgStr[i],2))
|
||||
msgStr[i] = GetLanguageStrById(msgStr[i])
|
||||
LogGreen("inputStr2:"..msgStr[i])
|
||||
else
|
||||
msgStr[i] = tostring(string.sub(msgStr[i],2))
|
||||
msgStr[i] = GetLanguageStrById(msgStr[i])
|
||||
LogGreen("inputStr3:"..msgStr[i])
|
||||
end
|
||||
end
|
||||
local returnStr = string.format(
|
||||
|
|
|
|||
Loading…
Reference in New Issue