[前端-后台]统一了对于富文本编辑器的非空验证的提示字体大小和颜色,并写入css,但是对于公告管理页仍然保持简单的提示风格(bsAlert)[CI SKIP]
This commit is contained in:
@@ -55,3 +55,12 @@
|
||||
list-style-type: none;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.error-info {
|
||||
color: #dd4b39;
|
||||
font-family:
|
||||
Arial,Helvetica,sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
<textarea id="editor" placeholder="这里输入内容" autofocus ms-duplex="description"></textarea>
|
||||
|
||||
<div class="help-block with-errors"></div>
|
||||
<small ms-visible="description==''" style="color:red">请填写比赛描述</small>
|
||||
<p class="error-info" ms-visible="description==''">请填写比赛描述</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<textarea id="editor" placeholder="这里输入内容" autofocus ms-duplex="editDescription"></textarea>
|
||||
|
||||
<div class="help-block with-errors"></div>
|
||||
<small ms-visible="editDescription==''" style="color:red">请填写比赛描述</small>
|
||||
<p class="error-info" ms-visible="editDescription==''" >请填写比赛描述</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="form-group col-md-12">
|
||||
<label>题目描述</label>
|
||||
<textarea id="problemDescription" placeholder="这里输入内容(此内容不能为空)" ms-duplex="description"></textarea>
|
||||
<small ms-visible="description==''" style="color:red">请填写题目描述</small>
|
||||
<p class="error-info" ms-visible="description==''">请填写题目描述</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="form-group col-md-12">
|
||||
<label>题目描述</label>
|
||||
<textarea id="problemDescription" placeholder="这里输入内容(此内容不能为空)" ms-duplex="description"></textarea>
|
||||
<small ms-visible="description==''" style="color:red">请填写题目描述</small>
|
||||
<p class="error-info" ms-visible="description==''">请填写题目描述</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="form-group col-md-12">
|
||||
<label>题目描述</label>
|
||||
<textarea id="problemDescription" placeholder="这里输入内容(此内容不能为空)" ms-duplex="description"></textarea>
|
||||
<small ms-visible="description==''" style="color:red">请填写题目描述</small>
|
||||
<p class="error-info" ms-visible="description==''">请填写题目描述</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user