| 123456789101112131415 |
- import TableView from "../../component/TableView";
- const { ccclass, property } = cc._decorator;
- @ccclass
- export default class MyInvite extends cc.Component {
- @property({type: cc.ScrollView, displayName: '滚动视图'})
- scroll_view: cc.ScrollView = null;
- start()
- {
- let list_data = [[{},{},{},{}], [{},{},{},{}], [{},{},{},{}], [{},{},{}],[{},{},{},{}],[{},{},{},{}],[{},{},{},{}],[{},{},{},{}],[{},{},{},{}],[{},{},{},{}],[{},{},{},{}],[{},{},{},{}]];
- this.scroll_view.node.emit('srollview-init', list_data);
- }
- }
|