diff --git a/public/assets/wechat/activities.html b/public/assets/wechat/activities.html index d7f48c4b2..69ea8f1fa 100644 --- a/public/assets/wechat/activities.html +++ b/public/assets/wechat/activities.html @@ -27,13 +27,15 @@
- {{act.activity_type_name}} - {{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 普通作业 + 编程作业 + 分组作业 + {{act.latest_update}} + 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
@@ -58,11 +60,11 @@ {{act.activity_type_name}} {{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
@@ -87,11 +89,11 @@ {{act.activity_type_name}} {{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
@@ -134,11 +136,11 @@ {{act.activity_type_name}} {{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
@@ -164,11 +166,11 @@ {{act.activity_type_name}} {{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
@@ -207,11 +209,11 @@
{{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
@@ -236,11 +238,11 @@
{{act.latest_update}} - 回复 - {{act.reply_count}} -
-
{{act.praise_count}}
-
{{act.praise_count}}
+ 回复 + {{act.reply_count}} +
+
{{act.praise_count}}
+
{{act.praise_count}}
diff --git a/public/assets/wechat/blog_detail.html b/public/assets/wechat/blog_detail.html index b820ed591..509e0171a 100644 --- a/public/assets/wechat/blog_detail.html +++ b/public/assets/wechat/blog_detail.html @@ -5,10 +5,10 @@
-
{{blog.title}}
+
{{blog.title}}
{{blog.user.realname}}发表博客
-
+
{{blog.created_at}}
@@ -24,7 +24,7 @@
-

+                            
{{journal.lasted_comment}}
回复
@@ -32,7 +32,7 @@
-
+
diff --git a/public/assets/wechat/course_discussion.html b/public/assets/wechat/course_discussion.html index f02c01ff6..2e7ed3151 100644 --- a/public/assets/wechat/course_discussion.html +++ b/public/assets/wechat/course_discussion.html @@ -6,7 +6,7 @@
-
{{discussion.subject}}
+
{{discussion.subject}}
@@ -15,7 +15,7 @@
发布者: {{discussion.user.realname}}来   源: {{discussion.course_project_name}}  |  课程问答区
-
+
{{discussion.created_on}}
@@ -31,7 +31,7 @@
-

+                            
{{journal.lasted_comment}}
回复
@@ -39,7 +39,7 @@
-
+
diff --git a/public/assets/wechat/course_notice.html b/public/assets/wechat/course_notice.html index 0a85ed089..cca135681 100644 --- a/public/assets/wechat/course_notice.html +++ b/public/assets/wechat/course_notice.html @@ -14,7 +14,7 @@ 来   源: {{news.course_name}}  |  课程通知 -
+
{{news.created_on}}
@@ -30,7 +30,7 @@
-

+                        
{{comments.created_on}}
回复
diff --git a/public/assets/wechat/homework_detail.html b/public/assets/wechat/homework_detail.html index e416b7313..0fc39c735 100644 --- a/public/assets/wechat/homework_detail.html +++ b/public/assets/wechat/homework_detail.html @@ -15,8 +15,16 @@ 来   源: {{homework.course_name}}  |  课程作业 - -
+ + + 类   别: + 普通作业 + 编程作业 + 分组作业 + + + +
迟交扣分:{{homework.late_penalty}}分
缺评扣分:{{homework.absence_penalty}}分/作品
匿评开启时间:{{homework.evaluation_start}}
@@ -36,7 +44,7 @@
-

+                        
{{journal.lasted_comment}}
回复
diff --git a/public/assets/wechat/issue_detail.html b/public/assets/wechat/issue_detail.html index 7b5db0afa..1d7f9a536 100644 --- a/public/assets/wechat/issue_detail.html +++ b/public/assets/wechat/issue_detail.html @@ -14,7 +14,7 @@ 来   源: {{issue.project_name}}  |  项目问题 -
+
状   态:{{issue.issue_status}}
优先级:{{issue.issue_priority}}
指派给:{{issue.issue_assigned_to}}
@@ -34,7 +34,7 @@
-

+                        
{{journal.created_on}}
回复
diff --git a/public/assets/wechat/jour_message_detail.html b/public/assets/wechat/jour_message_detail.html index fada796f8..dc6b1409f 100644 --- a/public/assets/wechat/jour_message_detail.html +++ b/public/assets/wechat/jour_message_detail.html @@ -7,7 +7,7 @@
{{message.user.realname}}给您留言了
{{message.created_on}}
-
+
@@ -22,7 +22,7 @@
-

+                            
{{journal.lasted_comment}}
回复
diff --git a/public/assets/wechat/project_discussion.html b/public/assets/wechat/project_discussion.html index bd863f5ed..4831e1521 100644 --- a/public/assets/wechat/project_discussion.html +++ b/public/assets/wechat/project_discussion.html @@ -5,7 +5,7 @@
-
{{discussion.subject}}
+
{{discussion.subject}}
@@ -14,7 +14,7 @@
发布者: {{discussion.user.realname}}来   源: {{discussion.course_project_name}}  |  项目讨论区
-
+
{{discussion.created_on}}
@@ -30,7 +30,7 @@
-

+                            
{{journal.lasted_comment}}
回复
@@ -38,7 +38,7 @@
-
+
diff --git a/public/javascripts/wechat/app.js b/public/javascripts/wechat/app.js index 1a734b8e8..e3ecf9b37 100644 --- a/public/javascripts/wechat/app.js +++ b/public/javascripts/wechat/app.js @@ -140,12 +140,13 @@ app.factory('common', function($http, auth, $routeParams){ return; } + var temp = data.comment.replace(/\n/g,'
'); + var userInfo = { type: type, - content: data.comment, + content: temp, openid: auth.openid() }; - //回复按钮禁用 data.disabled = true; diff --git a/public/stylesheets/weui/weixin.css b/public/stylesheets/weui/weixin.css index 4a88f9705..5882b04e0 100644 --- a/public/stylesheets/weui/weixin.css +++ b/public/stylesheets/weui/weixin.css @@ -4,16 +4,9 @@ /*基本样式*/ body,table,input,textarea,select,button { font-family: "微软雅黑","宋体";} h1,h2,h3,h4,h5,p,pre {padding:0px; margin:0px;} -blockquote { - border:1px solid #d4d4d4; - padding: 0.6em; - margin-left: 1.4em; - margin-right: 0.4em; - border-radius: 4px; - font-family: "Microsoft YaHei"; - background-size: 100% 100%; - margin-top:5px; -} +img {max-width:100%;} +blockquote {border:1px solid #d4d4d4; padding: 0.6em; margin-left: 1.4em; margin-right: 0.4em; border-radius: 4px; font-family: "Microsoft YaHei"; background-size: 100% 100%; margin-top:5px;} +.text-control {word-break:normal; word-wrap:break-word;} .f12 {font-size:12px;} .f13 {font-size:13px;} .f15 {font-size:15px;} @@ -24,6 +17,7 @@ blockquote { .mb5 {margin-bottom:5px;} .mb10 {margin-bottom:10px;} .ml10 {margin-left:10px;} +.mr5 {margin-right:5px;} .mr10 {margin-right:10px;} .ml15 {margin-left:15px;} .mr15 {margin-right:15px;} @@ -63,7 +57,6 @@ a.underline {text-decoration:underline;} .fr {float:right;} .cl {clear:both; overflow:hidden;} .post-content {width:100%; font-size:13px; line-height:18px; height:90px; overflow:hidden; word-break:break-all; word-wrap:break-word;} -.post-content img {max-width:100%;} .post-interactive {width:100%; height:35px; line-height:35px; vertical-align:middle; border-top:1px solid #e6e6e6; background-color:#f8f9fb;} .post-interactive-column, .post-interactive-reply, @@ -71,7 +64,7 @@ a.underline {text-decoration:underline;} .more-wrap {width:100%;} .more-events {width:98%; font-size:13px; text-align:center; margin:0 auto; padding: 5px 0; border:1px solid #e6e6e6; border-radius:3px; background-color:#f8f9fb; } .border-bottom {border-bottom:1px solid #e6e6e6;} -.post-reply-wrap, .post-input-wrap {width:100%; line-height:18px; background-color:#f8f9fb;} +.post-reply-wrap, .post-input-wrap {width:100%; background-color:#f8f9fb;} .post-reply-row {padding:10px; color:#9a9a9a;} .post-reply-avatar {width:45px; height:30px; text-align:center; margin-right:10px;} .post-reply-user {font-size:13px; text-align:left; margin-bottom:10px;}