90bf72d6-da6b-4fb8-954c-9793d6aa35c2.js
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
"use strict";
cc._RF.push(module, '90bf7LW2mtPuJVMl5PWqjXC', 'ChatListView1');
// script/game/ui/list/ChatListView1.ts
// import {ListCcComponent, ListPrefabNode, ListItem} from "./ListView";
// const { ccclass, property } = cc._decorator;
// export interface ChatListPrefabNode extends ListPrefabNode{
// }
// export const Node_NA = new cc.Node()
// /**
// * 一个ChatList有什么?
// * * 导航条
// * * 返回按钮 => BackEvent
// * * title
// * * 列表项是Plot类型,有多种子类Text, Audio, Image, Video
// * * addItem(item: Item)
// * * Item Type
// *
// */
// export class ChatListCcComponent extends ListCcComponent implements ChatListPrefabNode{
// @property({ type: cc.Prefab })
// private historySeparator?: cc.Prefab = undefined;
// @property({ type: cc.Prefab })
// private endSeparator?: cc.Prefab = undefined;
// // @property({ type: cc.ScrollView })
// // private scrollView?: cc.ScrollView = undefined;
// addItem(item: ListItem){
// super.addItem(item)
// }
// }
// // interface NominalTypeSupported{
// // nominalName: string
// // }
// /**
// // * decorate the item
// // */
// // export interface PreDisplay {
// // __typeId: string;
// // displayTyping: true;
// // inputtingNode: cc.Node;
// // /*
// // @property({ type: cc.Node })
// // private inputtingNode: cc.Node = Node_NA;
// // displayTyping: true
// // */
// // }
// // export let PreDisplay = createTypeId<PreDisplay>("PreDisplay")
// /**
// * 这个Plot有选项需要选择,
// * Item <>--- NeedSelect
// */
// export interface NeedSelect{
// needSelect: true
// plotId: number
// }
// export interface DisplayTyping {
// }
cc._RF.pop();