diff --git a/public/assets/wechat/blog_detail.html b/public/assets/wechat/blog_detail.html index 3ed2d573b..0d9e07f9a 100644 --- a/public/assets/wechat/blog_detail.html +++ b/public/assets/wechat/blog_detail.html @@ -74,12 +74,12 @@
{{journal.praise_count}}
- 回复 + 回复
- +
@@ -92,7 +92,7 @@
-
+
diff --git a/public/assets/wechat/course_discussion.html b/public/assets/wechat/course_discussion.html index cba34e7b9..ee9cfc054 100644 --- a/public/assets/wechat/course_discussion.html +++ b/public/assets/wechat/course_discussion.html @@ -72,12 +72,12 @@
{{journal.praise_count}}
- +
@@ -89,7 +89,7 @@
-
+
diff --git a/public/assets/wechat/course_notice.html b/public/assets/wechat/course_notice.html index a2c39afef..bc133601b 100644 --- a/public/assets/wechat/course_notice.html +++ b/public/assets/wechat/course_notice.html @@ -87,12 +87,12 @@
{{journal.praise_count}}
- +
diff --git a/public/assets/wechat/homework_detail.html b/public/assets/wechat/homework_detail.html index 2e3e6b076..c1d99f8a3 100644 --- a/public/assets/wechat/homework_detail.html +++ b/public/assets/wechat/homework_detail.html @@ -76,12 +76,12 @@
{{journal.praise_count}}
- +
@@ -93,7 +93,7 @@
-
+
diff --git a/public/assets/wechat/issue_detail.html b/public/assets/wechat/issue_detail.html index 47a45a150..7fa7db27e 100644 --- a/public/assets/wechat/issue_detail.html +++ b/public/assets/wechat/issue_detail.html @@ -93,12 +93,12 @@
{{journal.praise_count}}
- +
@@ -110,7 +110,7 @@
-
+
diff --git a/public/assets/wechat/jour_message_detail.html b/public/assets/wechat/jour_message_detail.html index 2ab72f259..390866f83 100644 --- a/public/assets/wechat/jour_message_detail.html +++ b/public/assets/wechat/jour_message_detail.html @@ -71,12 +71,12 @@
{{journal.praise_count}}
- +
@@ -88,7 +88,7 @@
-
+
diff --git a/public/assets/wechat/project_discussion.html b/public/assets/wechat/project_discussion.html index 3b1b12159..b2f315a6c 100644 --- a/public/assets/wechat/project_discussion.html +++ b/public/assets/wechat/project_discussion.html @@ -72,12 +72,12 @@
{{journal.praise_count}}
- +
@@ -88,7 +88,7 @@
更多
-
+
diff --git a/public/javascripts/wechat/others/factory.js b/public/javascripts/wechat/others/factory.js index 2c32a81e2..190dd36b4 100644 --- a/public/javascripts/wechat/others/factory.js +++ b/public/javascripts/wechat/others/factory.js @@ -324,13 +324,23 @@ app.factory('common', ['$http', 'auth', '$routeParams','rms','config','wx','$loc }); }; - args.scope.clickReply = function(act_id,allchidren) { + args.scope.inputfocus = function(data){ + data.notshow = true; + }; + + args.scope.inputblur = function(data){ + data.notshow = false; + }; + + args.scope.clickReply = function(act_id,data) { + allchidren = data.all_children; for(var i in allchidren){ if(allchidren[i].act_id != act_id ){ allchidren[i].showinput = false; } else{ allchidren[i].showinput = !allchidren[i].showinput; + data.notshow = allchidren[i].showinput; } } };