|
|
@@ -15,7 +15,7 @@ export default class GeneralTuJianUI extends BaseUI {
|
|
|
@property({ type: cc.Node, displayName: '页签组节点' })
|
|
|
private node_tab: cc.Node = null;
|
|
|
@property({ type: cc.ScrollView, displayName: '滑动列表' })
|
|
|
- private p_scroll_list: cc.ScrollView = null;
|
|
|
+ public p_scroll_list: cc.ScrollView = null;
|
|
|
@property({ type: cc.Prefab, displayName: '滑动列表item' })
|
|
|
private scroll_tiem: cc.Prefab[] = [];
|
|
|
/** 收集按钮 */
|
|
|
@@ -43,6 +43,8 @@ export default class GeneralTuJianUI extends BaseUI {
|
|
|
}
|
|
|
/** 初始化图鉴列表 */
|
|
|
private initList(camp_type = 0) {
|
|
|
+ cc.log(this.node)
|
|
|
+ cc.log(this.node_tab)
|
|
|
this.now_camp_tab = camp_type;
|
|
|
let list_data = this.GetData(camp_type);
|
|
|
if (this.comp_ScrollList) this.comp_ScrollList.clearItem();
|