squidGame/tgx-games-client/assets/module_arean/ui_hero_details/Layout_UIHero.ts

124 lines
2.5 KiB
TypeScript

/************************************************************************************
* FileName : Layout_UIHero.ts
* Description :
* Version : v1.0.0
* CreateTime : 2024-10-24 10:49:59
* Author :
* Copyright (c) since 2024
* ==============================================================
* Method Description:
*
* ==============================================================
************************************************************************************/
import {_decorator, Button, Component, Node, Label, PageView, ScrollView} from 'cc';
const { ccclass, property } = _decorator;
@ccclass('Layout_UIHero')
export class Layout_UIHero extends Component {
@property(Button)
btnClose : Button = null;
@property(Button)
btnMask : Button = null;
// 顶部节点
@property(Node)
topNode : Node = null;
// 中部节点
@property(Node)
midNode : Node = null;
// 底部节点
@property(Node)
bottomNode : Node = null;
// 晶石
@property(Button)
btnCrystal : Button = null;
// 晶石数量
@property(Label)
crystalCount : Label = null;
// 点券
@property(Button)
btnQuan : Button = null;
// 点券数量
@property(Label)
quanCount : Label = null;
// 充值
@property(Button)
btnRecharge : Button = null;
// 海报
@property(Button)
btnHaiBao : Button = null;
// 全屏
@property(Button)
btnFullScreen : Button = null;
// 皮肤名字
@property(Label)
skinName : Label = null;
// 英雄名字
@property(Label)
heroName : Label = null;
// 分享
@property(Button)
btnShare : Button = null;
// 总评分
@property(Button)
btnTotalScore : Button = null;
// 左箭头
@property(Button)
btnLeftArrow : Button = null;
// 右箭头
@property(Button)
btnRightArrow : Button = null;
// 英雄资源
@property(Node)
heroIcon : Node = null;
// 晶石购买
@property(Button)
btnCrystalBuy : Button = null;
// 晶石数量
@property(Label)
crystalCountBuy : Label = null;
// 点券购买
@property(Button)
btnQuanBuy : Button = null;
// 点券数量
@property(Label)
quanCountBuy : Label = null;
// 皮肤列表
@property(ScrollView)
skinScrollView : ScrollView = null;
// 英雄介绍类型1
@property(Node)
heroIntroduceType1 : Node = null;
// 英雄介绍类型2
@property(Node)
heroIntroduceType2 : Node = null;
@property(Node)
cell : Node = null;
}