1,536
次編輯
(处理不同平台曲包不同的情况) |
(修复移动端独占曲目的曲包显示) |
||
第311行: | 第311行: | ||
end | end | ||
local setText=args['曲包'] or ('[['..tostring(getData.packName(data('set')))..']]') | local setText=args['曲包'] or choice('[['..tostring(getData.packName(data('set')))..']]',data('set'),nil) | ||
local nsSetText=args['曲包NS'] or ('[['..tostring(getData.packName(dataNs('set')))..']]') | local nsSetText=args['曲包NS'] or choice('[['..tostring(getData.packName(dataNs('set')))..']]',dataNs('set'),nil) | ||
local categoryText=args['类别'] or getCategoryText(data('category')) | local categoryText=args['类别'] or getCategoryText(data('category')) | ||
第320行: | 第320行: | ||
setDisplayText=setDisplayText.." - "..categoryText | setDisplayText=setDisplayText.." - "..categoryText | ||
end | end | ||
if setText~=nsSetText then | if nsSetText and setText~=nsSetText then | ||
setDisplayText=setDisplayText..frame:expandTemplate{ title = "仅", args = {"移动版","","图片角标"} }.."<br>"..tostring(nsSetText)..frame:expandTemplate{ title = "仅", args = {"NS版","","图片角标"} } | setDisplayText=setDisplayText..frame:expandTemplate{ title = "仅", args = {"移动版","","图片角标"} }.."<br>"..tostring(nsSetText)..frame:expandTemplate{ title = "仅", args = {"NS版","","图片角标"} } | ||
end | end |
次編輯