", "title" : "工卡", "director" : "dir Nick Heidfeld ", "poster_image" : "https://www.flickr.com/photos/deedavee/8207639451/" }, { "title" : "国产工卡", "director" : "dir barney", "poster_image" : "https://www.google.com/search?q=工卡&rlz=1C5CHFA_enUS747US747&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiU4O3X0JXgAhUmrYMKHU1PBZQQ_AUIEigB&biw=1366&bih=657#imgrc=8GhD9l8_2Ves6M:" } ];// 生成模板 var moive_model = [
{title}
由 {director} 执导。
{description}
];// 主要内容 var element = {movies.map(function(movie){ return
{movie.title}
由 {movie.director} 执导。
{movie.description}
})}
;// 将内容放入页面ReactDOM.render(element,