增加input为空时的提示,修改部分html错误
This commit is contained in:
parent
311d90d565
commit
85542095a6
|
@ -2,22 +2,22 @@
|
||||||
<div class="ur_editor radio">
|
<div class="ur_editor radio">
|
||||||
<div class="ur_editor_title">
|
<div class="ur_editor_title">
|
||||||
<label >问题: </label>
|
<label >问题: </label>
|
||||||
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题" value="单选题">
|
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题"/>
|
||||||
<input type="checkbox" name="required" value="true" checked="">
|
<input type="checkbox" name="required" value="true" checked=""/>
|
||||||
<label >必答</label>
|
<label >必答</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="ur_editor_content">
|
<div class="ur_editor_content">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="ur_item">
|
<li class="ur_item">
|
||||||
<label >选项 <span class="ur_index">01</span>: </label>
|
<label >选项 <span class="ur_index">01</span>: </label>
|
||||||
<input type="text" name="option" value="新建选项">
|
<input type="text" name="option" placeholder="新建选项"/>
|
||||||
<a class="icon_add" title="向下插入选项"></a>
|
<a class="icon_add" title="向下插入选项"></a>
|
||||||
<a class="icon_remove" title="删除"></a>
|
<a class="icon_remove" title="删除"></a>
|
||||||
</li>
|
</li>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<li class="ur_item">
|
<li class="ur_item">
|
||||||
<label >选项 <span class="ur_index">01</span>: </label>
|
<label >选项 <span class="ur_index">01</span>: </label>
|
||||||
<input type="text" name="option" value="新建选项">
|
<input type="text" name="option" placeholder="新建选项"/>
|
||||||
<a class="icon_add" title="向下插入选项"></a>
|
<a class="icon_add" title="向下插入选项"></a>
|
||||||
<a class="icon_remove" title="删除"></a>
|
<a class="icon_remove" title="删除"></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -2,22 +2,22 @@
|
||||||
<div class="ur_editor checkbox">
|
<div class="ur_editor checkbox">
|
||||||
<div class="ur_editor_title">
|
<div class="ur_editor_title">
|
||||||
<label >问题: </label>
|
<label >问题: </label>
|
||||||
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题" value="多选题">
|
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题" value="多选题"/>
|
||||||
<input type="checkbox" name="required" value="true" checked="">
|
<input type="checkbox" name="required" value="true" checked=""/>
|
||||||
<label >必答</label>
|
<label >必答</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="ur_editor_content">
|
<div class="ur_editor_content">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="ur_item">
|
<li class="ur_item">
|
||||||
<label >选项 <span class="ur_index">01</span>: </label>
|
<label >选项 <span class="ur_index">01</span>: </label>
|
||||||
<input type="text" name="option" value="新建选项">
|
<input type="text" name="option" placeholder="新建选项"/>
|
||||||
<a class="icon_add" title="向下插入选项"></a>
|
<a class="icon_add" title="向下插入选项"></a>
|
||||||
<a class="icon_remove" title="删除"></a>
|
<a class="icon_remove" title="删除"></a>
|
||||||
</li>
|
</li>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<li class="ur_item">
|
<li class="ur_item">
|
||||||
<label >选项 <span class="ur_index">01</span>: </label>
|
<label >选项 <span class="ur_index">01</span>: </label>
|
||||||
<input type="text" name="option" value="新建选项">
|
<input type="text" name="option" placeholder="新建选项"/>
|
||||||
<a class="icon_add" title="向下插入选项"></a>
|
<a class="icon_add" title="向下插入选项"></a>
|
||||||
<a class="icon_remove" title="删除"></a>
|
<a class="icon_remove" title="删除"></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="ur_editor textarea"> <!--编辑多行文字start-->
|
<div class="ur_editor textarea"> <!--编辑多行文字start-->
|
||||||
<div class="ur_editor_title">
|
<div class="ur_editor_title">
|
||||||
<label for="ur_question_title">问题: </label>
|
<label for="ur_question_title">问题: </label>
|
||||||
<input id="ur_question_title" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题" value="多行文字">
|
<input id="ur_question_title" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题"/>
|
||||||
<input type="checkbox" name="required" value="true" id="ur_question_require">
|
<input type="checkbox" name="required" value="true" id="ur_question_require"/>
|
||||||
<label for="ur_question_require">必答</label>
|
<label for="ur_question_require">必答</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="ur_editor_toolbar">
|
<div class="ur_editor_toolbar">
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="ur_editor text "> <!--编辑单行文字start-->
|
<div class="ur_editor text "> <!--编辑单行文字start-->
|
||||||
<div class="ur_editor_title">
|
<div class="ur_editor_title">
|
||||||
<label for="ur_question_title">问题: </label>
|
<label for="ur_question_title">问题: </label>
|
||||||
<input id="ur_question_title_1" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题" value="单行主观">
|
<input id="ur_question_title_1" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题"/>
|
||||||
<input type="checkbox" name="required" value="true" id="ur_question_require_2">
|
<input type="checkbox" name="required" value="true" id="ur_question_require_2"/>
|
||||||
<label for="ur_question_require">必答</label>
|
<label for="ur_question_require">必答</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="ur_editor_footer">
|
<div class="ur_editor_footer">
|
||||||
|
|
Loading…
Reference in New Issue