需求:页面显示教师信息列表,列表中每一条数据显示图片滚动插件,每张图片的长宽及长宽比例各不相同。
前提条件:美工把静态页面写好
HTML代码:
teacherList = ViewData["teacherList"] as List; //春雨树频道
PagerModel pager = ViewData["pager"] as PagerModel;
}
Box">
教师团队
@foreach (cms_content teacher in teacherList) {Box">
@teacher.title
@teacher.description
Box">
Box">
-
@foreach (Tuple
- }