import { _decorator, Component, Label, Node } from "cc"; const { ccclass, property } = _decorator; @ccclass("PayToTalkSubpanel") export class PayToTalkSubpanel extends Component { @property(Label) timeLabel: Label = null; @property(Label) timeBtnLabel: Label = null; @property(Label) vipLabel: Label = null; @property(Label) vipBtnLabel: Label = null; show() {} refresh() {} onClick_BuyTime() { //购买次数 console.log("购买聊天次数,未实现功能"); } onClick_BuyVip() { //购买VIP console.log("购买vip,未实现功能"); } }