Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_cs_new
caishi 6 years ago
commit 0c8afafdf4

@ -1,5 +1,6 @@
json.memo do json.memo do
json.id memo.id json.id memo.id
json.forum_id memo.forum_id
json.subject memo.subject json.subject memo.subject
json.is_md memo.is_md json.is_md memo.is_md
json.content memo.content json.content memo.content

@ -16,7 +16,7 @@ json.college_identifier @user.college_identifier
json.followed User.current.watched?(@user) json.followed User.current.watched?(@user)
if @user.logged_user? if @user.logged_user?
json.can_apply_trial @user.can_apply_trial? #json.can_apply_trial @user.can_apply_trial?
json.attendance_signed @user.attendance_signed? json.attendance_signed @user.attendance_signed?
json.tomorrow_attendance_gold @user.tomorrow_attendance_gold json.tomorrow_attendance_gold @user.tomorrow_attendance_gold
end end

@ -16,7 +16,7 @@ class SearchPage extends Component{
tab:"1", tab:"1",
count:0, count:0,
keywords:undefined, keywords:undefined,
type:"shixun", type:"subject",
page:1, page:1,
perpages:20, perpages:20,
data:[], data:[],
@ -25,7 +25,7 @@ class SearchPage extends Component{
} }
//切换tab //切换tab
changeTab=(e)=>{ changeTab=(e)=>{
// course 课堂, shixun 开发社区 subject 实践课程 memo 交流问答
let types =""; let types ="";
if(parseInt(e.key)===0){ if(parseInt(e.key)===0){

Loading…
Cancel
Save