This commit is contained in:
PC-20230316NUNE\Administrator
2024-01-17 00:05:44 +08:00
parent 68e0f81616
commit 8ad2313502
57 changed files with 12231 additions and 2286 deletions

View File

@@ -0,0 +1,28 @@
import { _decorator, Component, Node } from 'cc';
import JNScrollViewItem from '../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem';
import { TB } from '../../config/data/schema';
import { Label } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('DungeonShowItem')
export class DungeonShowItem extends JNScrollViewItem<TB.TbGSysDungeon> {
//副本名称
@property(Label)
title:Label;
onInit(){
this.onUpdateView();
}
onUpdateView(){
this.title.string = this.data.name;
}
}