后端数据vararr=[];for(leti=0;i<77;i++){arr.push({index:i+1,head:'
cccccccccc
',content:'qqqqqqqqqqqqqqqqqqvvvvvvvvv
'})}router.get('/',function(req,res,next){res.render('index',{news:JSON.stringify(arr),//关键是对字符串进行转换});});ForegroundHTMlcccccc,,cccccc
后端数据vararr=[];for(leti=0;i<77;i++){arr.push({index:i+1,head:'
cccccc,,cccccc