119 lines
5.9 KiB
Plaintext
119 lines
5.9 KiB
Plaintext
|
|
<div class="ui_dialog" id="dialog_preview">
|
||
|
|
<table style="margin-left: 20px;width: 96%;height: 86px;">
|
||
|
|
<tr>
|
||
|
|
<td style="text-align: center;font-size: 24px;">
|
||
|
|
<span id="title_name_p"></span>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td>
|
||
|
|
<span id="title_description_p"></span>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
<div id="eqlist2_preview" style="margin-left: 40px;height: calc(100% - 90px);">
|
||
|
|
<table class="grid_data">
|
||
|
|
<thead>
|
||
|
|
<tr style="display: none">
|
||
|
|
<td style="width: 0px;padding: 0"></td>
|
||
|
|
<td>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr>
|
||
|
|
<td style="width: 0px;padding: 0"></td>
|
||
|
|
<td>
|
||
|
|
<div class="q_question">
|
||
|
|
<span style="display: none" class="qid">{{value.id}}</span>
|
||
|
|
<span style="display: none" class="ques_id">{{value.ques_id}}</span>
|
||
|
|
Q<span id="q_numid" class="qxh">{{value.num}}</span><span>、</span>
|
||
|
|
<span class="qtm" style="width:80%;word-break:normal;white-space:pre-wrap;overflow:hidden;">{{value.subject}}</span>
|
||
|
|
<span style="font-weight: bold">
|
||
|
|
{{if value.type=="单选题"}}单选题{{/if}}
|
||
|
|
{{if value.type=="多选题"}}多选题{{/if}}
|
||
|
|
{{if value.type=="判断题"}}判断题{{/if}}
|
||
|
|
{{if value.type=="问答题"}}问答题{{/if}}
|
||
|
|
{{if value.type=="填空题"}}填空题{{/if}}
|
||
|
|
</span>
|
||
|
|
<span class="qtype" style="display: none" >{{value.type}}</span>
|
||
|
|
<span style="font-weight: bold">
|
||
|
|
{{if value.ismust=="1"}}(必答){{/if}}
|
||
|
|
{{if value.ismust=="0"}}(选答){{/if}}
|
||
|
|
</span>
|
||
|
|
<span class="qbd" style="display: none" >{{value.ismust}}</span>
|
||
|
|
<#if pg=="1">
|
||
|
|
<span style="float:right">分</span>
|
||
|
|
<span id = "sco" class="score" style="float:right;">{{value.score}}</span>
|
||
|
|
</#if>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{{if value.type=="单选题"}}
|
||
|
|
{{if (value.optiona.length)}}
|
||
|
|
<div class="q_item"><input name="cbA" id="cbA" type="checkbox" value="A"/>A <span>{{ value.optiona}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optionb.length)}}
|
||
|
|
<div class="q_item"><input name="cbB" id="cbB" type="checkbox" value="B"/>B <span>{{ value.optionb}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optionc.length)}}
|
||
|
|
<div class="q_item"><input name="cbC" id="cbC" type="checkbox" value="C"/>C <span>{{ value.optionc}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optiond.length)}}
|
||
|
|
<div class="q_item"><input name="cbD" id="cbD" type="checkbox" value="D"/>D <span>{{ value.optiond}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{/if}}
|
||
|
|
|
||
|
|
{{if value.type=="多选题"}}
|
||
|
|
{{if (value.optiona.length)}}
|
||
|
|
<div class="q_item"><input name="cbA" id="cbA" type="checkbox" value="A" />A <span>{{ value.optiona}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optionb.length)}}
|
||
|
|
<div class="q_item"><input name="cbB" id="cbB" type="checkbox" value="B" />B <span>{{ value.optionb}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optionc.length)}}
|
||
|
|
<div class="q_item"><input name="cbC" id="cbC" type="checkbox" value="C" />C <span>{{ value.optionc}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optiond.length)}}
|
||
|
|
<div class="q_item"><input name="cbD" id="cbD" type="checkbox" value="D" />D <span>{{ value.optiond}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optione.length)}}
|
||
|
|
<div class="q_item"><input name="cbE" id="cbE" type="checkbox" value="E" />E <span>{{ value.optione}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{if (value.optionf.length)}}
|
||
|
|
<div class="q_item"><input name="cbF" id="cbF" type="checkbox" value="F" />F <span>{{ value.optionf}}</span></div>
|
||
|
|
{{/if}}
|
||
|
|
{{/if}}
|
||
|
|
|
||
|
|
{{if value.type=="判断题"}}
|
||
|
|
<div class="q_item"><input name="yes" id="yes" type="checkbox" value="A"/>A 对</div>
|
||
|
|
<div class="q_item"><input name="no" id="no" type="checkbox" value="B"/>B 错</div>
|
||
|
|
{{/if}}
|
||
|
|
|
||
|
|
{{if value.type=="填空题"}}
|
||
|
|
<span>填空题答案格式:第一空答案,第二空答案,第三空答案</span><br/>
|
||
|
|
<span>答案:</span><textarea id="blank" class="blank" style="width:80%;background:#F3F0F0;"></textarea>
|
||
|
|
{{/if}}
|
||
|
|
|
||
|
|
{{if value.type=="问答题"}}
|
||
|
|
<span>答案:</span>
|
||
|
|
<textarea id="answer" class="answer" style="width:80%;background:#F3F0F0;" rows="5"></textarea>
|
||
|
|
{{/if}}
|
||
|
|
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<#if pg=="1">
|
||
|
|
<div style="margin: 10px;">
|
||
|
|
<#-- style="visibility: hidden"占位隐藏-->
|
||
|
|
<span class="icon icon_add16" style="visibility: hidden"></span>
|
||
|
|
<span style="float: right;width: 20%;">
|
||
|
|
试卷总共:<input id="sum_preview" style="width:25px" readonly="readonly"/> 题,合计<input id="sum_score_preview" style="width:25px" readonly="readonly"/>分
|
||
|
|
</span>
|
||
|
|
</div>
|
||
|
|
</#if>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|