import User from "../../../FrameWork/User/User"; import Common5 from "../../../Platform/th/Common5"; import StockManager from "./StockManager"; const { ccclass, property } = cc._decorator; @ccclass export default class JinRongTouTiaoBox extends cc.Component { @property(cc.Node) diFengXianStr: cc.Node = null @property(cc.Node) gaoFengXianStr: cc.Node = null onLoad() { let saveInfo = StockManager.setTomorrowUpStock(User.getDay()) this.diFengXianStr.getComponent(cc.Label).string = saveInfo.stockNameArrDi this.gaoFengXianStr.getComponent(cc.Label).string = saveInfo.stockNameArrGao } // initBoxContent(){ // } onBtnSure() { // Common5.playEffect("CommonRes/sound/按键点击") this.node.active = false } }