少年修仙传客户端代码仓库
client_linchunjie
2018-09-03 b83695996cdbe5a3f8f05dd33cf01d67654284b0
3032【前端】宗门试练兑换界面优化
1个文件已修改
4 ■■■■ 已修改文件
System/Dungeon/TrialExchangeBehaviour.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/TrialExchangeBehaviour.cs
@@ -92,8 +92,8 @@
            m_Description.text = config.description;
            m_Token.SetItem(config.tokenId, config.tokenCount);
            var count = model.GetTrialTokenCount(config.tokenId);
            m_Token.count.text = StringUtility.Contact(count >= config.tokenCount ? "<color=#35e112>" : "<color=#ff0303>", count,
                "</color>/", config.tokenCount);
            m_Token.count.text = StringUtility.Contact(count >= config.tokenCount ? "<color=#35e112>" : string.Empty, count,
                count >= config.tokenCount ? "</color>" : string.Empty, "/", config.tokenCount);
            var equipCompare = model.EquipCompare(model.GetExchangeItemByJob(config));
            m_Up.gameObject.SetActive(equipCompare == 1);
            m_Down.gameObject.SetActive(equipCompare == -1);