import viewCell from "../control/tableView/viewCell" ; const { ccclass , property } = cc . _decorator ; @ ccclass export default class item extends viewCell { /**
     * [en] try it
     * [zh] 尝试这里
     */ /**
     * [en] try it
     * [zh] 尝试这里
     */ @ property ( cc . Label ) l1 : cc . Label = null ; @ property ( cc . Label ) l2 : cc . Label = null ; @ property ( cc . Label ) l3 : cc . Label = null ; init ( index ) { this . l1 . string = `${ index } - 1` ; this . l2 . string = `${ index } - 2` ; this . l3 . string = `${ index } - 3` ; } }