初始版本可以去申请电子版权和软著了

This commit is contained in:
panfudan
2025-08-21 13:54:28 +08:00
parent 0a654d130a
commit 1b56cb7a8c
12 changed files with 1816 additions and 185 deletions

View File

@@ -98,8 +98,16 @@ export class GoodsComp extends Component {
}else if(this.goodsData.c_type==CType.FREE){
this.do_free()
}else if(this.goodsData.c_type==CType.DIAMOND){
if(smc.data.diamond<this.goodsData.cast){
oops.gui.toast("钻石不足")
return
}
this.do_diamond_cast()
}else if(this.goodsData.c_type==CType.GOLD){
if(smc.data.gold<this.goodsData.cast){
oops.gui.toast("金币不足")
return
}
this.do_gold_cast()
}
}