Merge branch 'guange_dev' into develop

This commit is contained in:
huang 2016-12-09 16:53:18 +08:00
commit 41b6c64af3
4 changed files with 7 additions and 2 deletions

View File

@ -286,6 +286,7 @@ class WechatsController < ActionController::Base
logger.info tmpurl
news = (1..1).each_with_object([]) { |n, memo| memo << { title: '绑定登录', content: "欢迎使用Trustie创新实践服务平台
www.trustie.net
" } }

View File

@ -142,7 +142,7 @@
<div class="post-container wechat-at" ng-show="showAtDialog">
<div loading-spinner></div>
<div class="class-detail-name"><span class="course-name-width hidden inline-block">选择您要@的人</span>
<button>取消</button>
<button ng-click="cancelAt()">取消</button>
</div>
<ul class="weixin-users-all">
<li ng-repeat="person in at_persons track by $index" ng-click="selectAtPerson($index)"><p class="fl ">{{person.name}}</p><p class="fl ">{{person.login}}</p></li>

View File

@ -50,6 +50,10 @@ app.controller('IssueController', ['$scope', '$http', '$routeParams', 'auth', 'c
vm.issue.comment += person.name + ' ';
};
vm.cancelAt = function(){
vm.showAtDialog = false;
}
common.init({
id: $routeParams.id,
scope: $scope,

View File

@ -283,4 +283,4 @@ a.underline {text-decoration:underline;}
.weixin-users-all li:hover{ background:#f4f4f4;}
/*弹出@选择对话框 guange*/
.wechat-at {position: fixed; top: 0; left:0; width: 100%; height: 100%; background-color: #ffffff;}
.wechat-at {position: absolute; z-index: 999; top: 0; left:0; width: 100%; height: 100%; background-color: #ffffff;}