diff --git a/public/assets/wechat/class.html b/public/assets/wechat/class.html
index 01628c2f4..f9618411d 100644
--- a/public/assets/wechat/class.html
+++ b/public/assets/wechat/class.html
@@ -1,6 +1,6 @@
-
{{course.name}}邀请码
+
{{course.name}}邀请码
diff --git a/public/javascripts/wechat/directives/ellipsis.js b/public/javascripts/wechat/directives/ellipsis.js
new file mode 100644
index 000000000..a036ef81b
--- /dev/null
+++ b/public/javascripts/wechat/directives/ellipsis.js
@@ -0,0 +1,17 @@
+/**
+ * Created by Tim on 7/22/16.
+ */
+app.directive('ellipsisShow',function(){
+ return{
+ restrict: 'A',
+ scope: {},
+ link: function(scope, element){
+ var textWrap = element.children().eq(0);
+ var textHeight = textWrap[0].scrollHeight;
+ console.log(textWrap[0].innerHTML);
+ while (textHeight > 100) {
+ textWrap[0].innerTEXT = "replaced";
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/public/javascripts/wechat/directives/input_auto.js b/public/javascripts/wechat/directives/input_auto.js
index 1f2550882..9cd77188b 100644
--- a/public/javascripts/wechat/directives/input_auto.js
+++ b/public/javascripts/wechat/directives/input_auto.js
@@ -6,7 +6,7 @@ app.directive('inputAuto',function(){
var copyContainer = element.parent().children().children().eq(0);
var sendButton = element.next();
element.on('input',function(){
- console.log(sendButton);
+ //console.log(sendButton);
copyContainer.html(element[0].value);
var textHeight = copyContainer[0].scrollHeight-10;
element.css('height', textHeight + 'px');
diff --git a/public/stylesheets/weui/weixin.css b/public/stylesheets/weui/weixin.css
index c3a38415a..9eb8a670b 100644
--- a/public/stylesheets/weui/weixin.css
+++ b/public/stylesheets/weui/weixin.css
@@ -198,6 +198,7 @@ a.underline {text-decoration:underline;}
.resource-width {width:76%;}
.courseware-from-width {max-width:57%;}
.other-from-width {max-width:80%;}
+.course-name-width {width:68%;}
/*20160614班级列表*/
.course-diff-row {width:100%; height:28px; line-height:28px; vertical-align:middle; background-color:#fff; border-bottom:1px solid #ccc;}