课程管理中,对课程,班级名称编辑时,字体变灰
This commit is contained in:
parent
ae0a4f8ce4
commit
6063932840
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
<div class="blue-title">管理课程</div>
|
<div class="blue-title">管理课程</div>
|
||||||
<form novalidate name="classForm">
|
<form novalidate name="classForm">
|
||||||
<div class="course-list-row f13 c-grey3 mt30"><span class="fl ml15 c-grey3">课程</span><input class="new-class-input ml25 c-black" ng-model="syllabus.tmptitle" required placeholder="请输入课程名" /></div>
|
<div class="course-list-row f13 c-grey3 mt30"><span class="fl ml15 c-grey3">课程</span><input ng-change="fadeText()" ng-class="['new-class-input ml25', {'c-grey':change} ]" ng-model="syllabus.tmptitle" required placeholder="请输入课程名" /></div>
|
||||||
|
|
||||||
<div class="course-list-row f13 c-grey3 mt10" ng-repeat="course in syllabus.courses" ng-show="course.can_setting"><span class="fl ml15 c-grey3">班级</span><input required class="new-class-input ml25 c-black" ng-model="course.tmpname" placeholder="请输入班级名" /><a ng-click="deleteClass($index)" class="fr mr10 c-grey6 delete-class-link">删除</a></div>
|
<div class="course-list-row f13 c-grey3 mt10" ng-repeat="course in syllabus.courses" ng-show="course.can_setting"><span class="fl ml15 c-grey3">班级</span><input ng-change="fadeText()" required ng-class="['new-class-input ml25', {'c-grey':change} ]" ng-model="course.tmpname" placeholder="请输入班级名" /><a ng-click="deleteClass($index)" class="fr mr10 c-grey6 delete-class-link">删除</a></div>
|
||||||
<div class="tac"><a ng-click="addClass()" class="link-blue2 f13 mt15 inline-block add-class-link">+新增班级</a></div>
|
<div class="tac"><a ng-click="addClass()" class="link-blue2 f13 mt15 inline-block add-class-link">+新增班级</a></div>
|
||||||
<a ng-click="newClass(classForm, syllabus)" ng-class="['finish-btn', {'btn-disabled':!classForm.$valid} ]" >完成</a>
|
<a ng-click="newClass(classForm, syllabus)" ng-class="['finish-btn', {'btn-disabled':!classForm.$valid} ]" >完成</a>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -107,4 +107,8 @@ app.controller('EditClassController', ['$scope', '$http', 'auth', 'config', 'ale
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vm.fadeText = function () {
|
||||||
|
$scope.change = true;
|
||||||
|
}
|
||||||
|
|
||||||
}] );
|
}] );
|
|
@ -43,7 +43,7 @@ blockquote {border:1px solid #d4d4d4; padding: 0.6em; margin: 5px 0.4em 5px 1.4e
|
||||||
.mr55 {margin-right:55px;}
|
.mr55 {margin-right:55px;}
|
||||||
.c-red {color:#e81a1a;}
|
.c-red {color:#e81a1a;}
|
||||||
.c-blue {color:#269ac9;}
|
.c-blue {color:#269ac9;}
|
||||||
.c-grey {color:#9a9a9a;}
|
.c-grey {color:#9a9a9a !important;}
|
||||||
.c-grey2 {color:#707070;}
|
.c-grey2 {color:#707070;}
|
||||||
.c-grey3 {color:#555555;}
|
.c-grey3 {color:#555555;}
|
||||||
.c-grey4 {color:#888888;}
|
.c-grey4 {color:#888888;}
|
||||||
|
|
Loading…
Reference in New Issue