在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
核心代码: js代码 var Lesson = Schema({ lessonName: String, intr: String, creTime: Date, sort: String, //分类 imgUrl: String, //封面地址 price: Number, teacher: String,//教师 subTitle:[{ lNo: Number, subLName: String, src: String, filtered: {type: Boolean, default: false} }] }); 我的HTML代码 <ul class="menu fl"> <li ng-repeat="title in lessonInfo.subTitle" ng-hide="{{!title.filtered}}"><a ng-href="showVideo?lessonName={{lessonInfo.lessonName}}&lessonNo={{title.lNo}}&lesId={{lesId}}&subLName={{title.subLName}}" rel="external nofollow" >课时{{title.lNo}}:{{title.subLName}}</a> </li> </ul> lessonInfo为AngularJS接收到后台传过来的数据数组 |
请发表评论