From ed39b4b4f1901159b92e164661dc579c5be38d81 Mon Sep 17 00:00:00 2001 From: txz Date: Fri, 8 Jul 2016 11:29:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=EF=BC=9A=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E7=8F=AD=E7=BA=A7=EF=BC=9B=E5=AD=A6=E7=94=9F=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E4=B9=9F=E6=98=BE=E7=A4=BA=E8=AF=BE=E4=BB=B6?= =?UTF-8?q?=EF=BC=9B=E5=B7=B2=E6=9C=89=E7=8F=AD=E7=BA=A7=E5=92=8C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=8F=AD=E7=BA=A7=E9=A2=9C=E8=89=B2=E5=8C=BA=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/schema.rb | 2 +- public/assets/wechat/activities.html | 2 +- public/javascripts/wechat/controllers/class.js | 2 +- public/stylesheets/weui/weixin.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index d2947c19d..619ccb7bb 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -562,9 +562,9 @@ ActiveRecord::Schema.define(:version => 20160630112733) do t.integer "excellent_option", :default => 0 t.integer "is_copy", :default => 0 t.integer "visits", :default => 0 + t.integer "syllabus_id" t.string "invite_code" t.string "qrcode" - t.integer "syllabus_id" end add_index "courses", ["invite_code"], :name => "index_courses_on_invite_code", :unique => true diff --git a/public/assets/wechat/activities.html b/public/assets/wechat/activities.html index 037ef8277..60075ad2e 100644 --- a/public/assets/wechat/activities.html +++ b/public/assets/wechat/activities.html @@ -136,7 +136,7 @@
- +
diff --git a/public/javascripts/wechat/controllers/class.js b/public/javascripts/wechat/controllers/class.js index d5de23859..87703b681 100644 --- a/public/javascripts/wechat/controllers/class.js +++ b/public/javascripts/wechat/controllers/class.js @@ -130,7 +130,7 @@ app.controller('ClassController', ['$scope', 'config','$http', 'auth','$location if(is_teacher){ vm.menus = ["课件", "作业", "小测验", "学生管理"]; } else { - vm.menus = ['课堂资源', "我的同学"]; + vm.menus = ['课件', "我的同学"]; } } diff --git a/public/stylesheets/weui/weixin.css b/public/stylesheets/weui/weixin.css index 795decd06..32bacf4f7 100644 --- a/public/stylesheets/weui/weixin.css +++ b/public/stylesheets/weui/weixin.css @@ -198,7 +198,7 @@ a.underline {text-decoration:underline;} .students-amount {height:14px; line-height:14px; vertical-align:middle; padding:2px 5px; background-color:#e6e6e6; border-radius:10px;} .new-class-btn {font-size:15px; color:#fff; background-color:#3b94d6; padding:10px 40px; border-radius:20px; display:inline-block; margin:0 auto;} .join-class-btn {font-size:15px; color:#444; background-color:#ccc; padding:10px 40px; border-radius:20px; display:inline-block; margin:0 auto;} -.new-class-input {width:60%; color:#aaa; height:35px; line-height:35px; vertical-align:middle; border:none; outline:none;} +.new-class-input {width:60%; color:#555; height:35px; line-height:35px; vertical-align:middle; border:none; outline:none;} /*20160616登录注册*/ .login-wrap {padding:0 10px;}