咸鱼的反击
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
xianyudefanji/assets/Scripts/stock/JinRongTouTiaoBox.ts

32 lines
798 B

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("sound/按键点击")
this.node.active = false
}
}