/**
 * controller
 * @return
 */
module.exports = Controller("Home/BaseController", function(){
  "use strict";
  var courses = [{name:"创造力提升",id:"creativedad",detail:"",source:"UNAM",time:"永久开放",img:"1.jpg"},{name:"跨领域医疗信息学",id:"creativedad",detail:"",source:"Minnesota",time:"永久开放",img:"2.png"},{name:"微观经济学",id:"creativedad",detail:"",source:"Illinois",time:"Dec 22nd",img:"3.jpg"},{name:"遗传学与进化概论",id:"creativedad",detail:"",source:"Duke",time:"Jan 1st",img:"4.jpg"},{name:"探索性数据分析",id:"creativedad",detail:"",source:"约翰霍普金斯大学",time:"3月 2日",img:"5.jpg"},{name:"统计推断",id:"creativedad",detail:"",source:"斯坦福大学",time:"永久开放",img:"6.jpg"}];
  var c_data = {
    navLinks : navLinks,
    section : 'home'
  };
  return {
    indexAction: function(){
      var userInfo = D('User').where({ //根据用户邮箱和密码查询符合条件的数据
              email: "tjuwpf@163.com"
          }).find();
      this.assign({
        courses:courses,
        title : "首页",
        userInfo : userInfo,
        navLinks : navLinks,
        section : 'home'})
      this.display();
    }
  };
});
@@ -755,115 +755,19 @@
 var 
-u
 se
-rInfo = D('User').where(%7B //%E6%A0%B9%E6%8D%AE%E7%94%A8%E6%88%B7%E9%82%AE%E7%AE%B1%E5%92%8C%E5%AF%86%E7%A0%81%E6%9F%A5%E8%AF%A2%E7%AC%A6%E5%90%88%E6%9D%A1%E4%BB%B6%E7%9A%84%E6%95%B0%E6%8D%AE%0A              email: %22tjuwpf@163.com%22%0A          %7D).find()
+lf = this
 ;%0A  
@@ -782,16 +782,23 @@
 .assign(
+extend(
 %7B%0A      
@@ -857,24 +857,29 @@
 rInfo : 
+self.
 userInfo
 ,%0A      
@@ -874,64 +874,24 @@
 Info
-,%0A  
+%0A
       
-navLinks : navLinks,%0A        section : 'home'%7D
+%7D,c_data)
 )%0A  

add files by wangpengfei