1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 04:37:13 +08:00

feat(Feed): 添加免费购买功能

在Feed结构中新增freeToBuy属性,当设置为true时允许免费购买物品。同时修改SelectIntialFeed面板,在初始化时将feed卡片设置为免费购买。移除UIState中不必要的调试打印语句。
This commit is contained in:
2026-01-30 11:50:16 +08:00
parent 0e4d6e6fe3
commit 5a4ab83188
3 changed files with 13 additions and 10 deletions
-2
View File
@@ -77,8 +77,6 @@ static func setPanel(targetName: String = "", args: Array = []):
panel.showPanel(args)
else:
panel.hidePanel()
if !currentPanel:
print("没有叫%s的面板" % targetName)
static func closeCurrentPanel():
setPanel()
static func showTip(text: String, messageType: TipBox.MessageType = TipBox.MessageType.INFO):