json.members @members do |member| json.partial! 'subject_member', locals: { user: member.user } json.role member.role end # 技能标签 json.tags @tags do |tag| unless tag.blank? json.tag_name tag json.status @user_tags.include?(tag) end end # 我的进展 json.progress do json.my_score @my_score json.all_score @all_score json.learned @learned json.time @time end