<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>FH Admin</title>
    <!-- HTML5 Shim and Respond.js IE10 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 10]>
		<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
		<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->
    <!-- Meta -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="author" content="FH Admin QQ313596790" />

    <link rel="icon" href="../../../assets/images/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="../../../assets/fonts/fontawesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="../../../assets/plugins/animation/css/animate.min.css">
    <link rel="stylesheet" href="../../../assets/css/style.css">

    <!-- 日期插件 -->
    <link rel="stylesheet" href="../../../assets/plugins/material-datetimepicker/css/bootstrap-material-datetimepicker.css">

    <!-- select插件 -->
    <link rel="stylesheet" href="../../../assets/plugins/select2/css/select2.min.css">
    <link rel="stylesheet" href="../../../assets/plugins/multi-select/css/multi-select.css">
  <link rel="stylesheet" href="../../../plugins/fhdrag/style.css">

  <!--引入弹窗组件start-->
  <script type="text/javascript" src="../../../plugins/fhdrag/drag.js"></script>
  <script type="text/javascript" src="../../../plugins/fhdrag/dialog.js"></script>
  <!--引入弹窗组件end-->
    <!-- vue -->
	<script src="../../../assets/js-vue/vue.js"></script>
    <!--全局配置-->
    <script src="../../../assets/js-v/config.js"></script>

    <style type="text/css">
	.yulantu{
		z-index: 9999999999999999;
		position:absolute;
		border:3px solid #438EB9;
		display: none;
	}
	</style>

</head>

<body style="background-color: white">

    <!-- [加载状态 ] start -->
    <div class="loader-bg">
        <div class="loader-track">
            <div class="loader-fill"></div>
        </div>
    </div>
    <!-- [ 加载状态  ] End -->

    <!-- [ 主内容区 ] start -->
        <div class="pcoded-wrapper" id="app">
            <div class="pcoded-content">
                <div class="pcoded-inner-content">
                    <div class="main-body">
                        <div class="page-wrapper">
                            <!-- [ Main Content ] start -->
                            <div class="row">

								<div style="width: 100%;">
									<div id="showform">
										<div class="input-group input-group-sm mb-3" style="margin-top: -10px;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">题目</span></span>
		                                    </div>
		                                    <input type="text" class="form-control" ref="TITLE" id="TITLE" v-model="pd.TITLE" maxlength="255" placeholder="这里输入题目" title="题目">
		                                </div>
		                                <div class="input-group input-group-sm mb-3" style="margin-top: -10px;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">图片</span></span>
		                                    </div>
		                                    <input type="text" class="form-control" ref="FILEPATH" id="FILEPATH" v-model="FILEPATH" maxlength="1000" placeholder="请点击右侧的按钮，选择图片 （非必录）" title="图片" readonly="readonly" v-on:mouseover="showImg(FILEPATH,'yulantu');" v-on:mouseout="hideImg('yulantu');">
		                                    <div class="yulantu" id="yulantu"></div>
		                                    <a v-on:click="selectPictures" class="btn btn-light btn-sm" title="选择图片" style="width: 23px;height:30px;margin-top:1px;cursor:pointer;margin-left: 3px;">
												<i class="feather icon-image" style="margin-top:-6px;margin-left: -6px;"></i>
											</a>
											<a v-on:click="FILEPATH = ''" class="btn btn-light btn-sm" title="清除图片" style="width: 23px;height:30px;margin-top:1px;cursor:pointer;margin-left: 3px;">
												<div style="margin-left: -6px;">清</div>
											</a>
		                                </div>
							            <div class="input-group input-group-sm mb-3" style="margin-top: -10px;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">选项</span></span>
		                                    </div>
		                                    <input type="text" class="form-control" ref="FHFOPTION" id="FHFOPTION" v-model="FHFOPTION" maxlength="2000" placeholder="这里输入选项 （输入完按回车键）" title="选项">
		                                    <a v-on:click="addField" class="btn btn-light btn-sm" title="增加选项" style="width: 23px;height:30px;margin-top:1px;cursor:pointer;margin-left: 3px;">
												<i class="feather icon-plus" style="margin-top:-6px;margin-left: -6px;"></i>
											</a>
											<a v-on:click="removeField" class="btn btn-light btn-sm" title="删除选项" style="width: 23px;height:30px;margin-top:1px;cursor:pointer;margin-left: 3px;">
												<i class="feather icon-minus" style="margin-top:-6px;margin-left: -6px;"></i>
											</a>
		                                </div>
		                                <table class="table-bordered" style="margin-top: -10px;width: 100%" border="1">
											<tbody id="fields"></tbody>
										</table>
							            <div class="input-group input-group-sm mb-3" style="margin-top: 5px;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">答案</span></span>
		                                    </div>
		                                    <input type="text" class="form-control" ref="ANSWER" id="ANSWER" v-model="ANSWER" maxlength="26" placeholder="这里输入大写字母 (不要加标点符号)" title="答案" readonly="readonly">
		                                </div>
							            <div class="input-group input-group-sm mb-3" style="margin-top: -10px;background-color: white;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">类型</span></span>
		                                    </div>
		                                    <select ref="TYPE" id="TYPE" v-model="TYPE"  title="类型" data-placeholder="类型" style="width:225px;padding-left:10px;border: 1px solid #CED4DA;transparent;appearance:none;-moz-appearance:none;-webkit-appearance:none;"></select>
		                                </div>
							            <div class="input-group input-group-sm mb-3" style="margin-top: -10px;background-color: white;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">级别</span></span>
		                                    </div>
		                                    <select ref="LEVEL" id="LEVEL" v-model="LEVEL"  title="级别" data-placeholder="级别" style="width:225px;padding-left:10px;border: 1px solid #CED4DA;transparent;appearance:none;-moz-appearance:none;-webkit-appearance:none;"></select>
		                                </div>
							            <div class="input-group input-group-sm mb-3" style="margin-top: -10px;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">状态</span></span>
		                                    </div>
		                                    <div class="switch switch-alternative d-inline m-r-10" style="padding-left: 15px;padding-bottom: 9px;">
	                                            <input type="checkbox" id="switch-a-1" v-model="STATE">
	                                            <label for="switch-a-1" class="cr"></label>
	                                            	{{STATE?'启用':'停用'}}
                                       		</div>
		                                </div>
							            <div class="input-group input-group-sm mb-3" style="margin-top: -10px;">
		                                    <div class="input-group-prepend">
		                                        <span class="input-group-text" style="width: 79px;"><span style="width: 100%;">解析</span></span>
		                                    </div>
		                                    <input type="text" class="form-control" ref="REMARKS" id="REMARKS" v-model="pd.REMARKS" maxlength="255" placeholder="这里输入答案解析" title="解析">
		                                </div>
							            <div class="input-group" style="margin-top:10px;background-color: white" >
							            	<span style="width: 100%;text-align: center;">
							            		<a class="btn btn-light btn-sm" v-on:click="save">保存</a>
<!--							            		<a class="btn btn-light btn-sm" onclick="top.Dialog.close()">取消</a>-->
							            	</span>
							            </div>
							       </div>
						           <!-- [加载状态 ] start -->
								    <div id="jiazai" style="display:none;margin-top:50px;">
								    	<div class="d-flex justify-content-center">
	                                        <div class="spinner-border" style="width: 3rem; height: 3rem;" role="status">
                                                <span class="sr-only">Loading...</span>
                                            </div>
                                        </div>
                                    </div>
								    <!-- [ 加载状态  ] End -->
								</div>

                            </div>
                            <!-- [ Main Content ] end -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    <!-- [ 主内容区 ] end -->

<script type="text/javascript" src="../../../assets/js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="../../../assets/js/pre-loader.js"></script>
<script src="../../../assets/plugins/sweetalert/js/sweetalert.min.js"></script>

<!-- 日期插件 -->
<script src="../../../assets/js/pages/moment-with-locales.min.js"></script>
<script src="../../../assets/plugins/material-datetimepicker/js/bootstrap-material-datetimepicker.js"></script>
<script src="../../../assets/js/pages/form-picker-custom.js"></script>

<!-- select插件 -->
<script src="../../../assets/plugins/select2/js/select2.full.min.js"></script>
<script src="../../../assets/plugins/multi-select/js/jquery.quicksearch.js"></script>
<script src="../../../assets/plugins/multi-select/js/jquery.multi-select.js"></script>
<script src="../../../assets/js/pages/form-select-custom.js"></script>

<!-- 表单验证提示 -->
<script src="../../../assets/js/jquery.tips.js"></script>

<!-- 本页面js -->
<script type="text/javascript" src="../../../assets/js-v/exam/multipleselection_edit.js"></script>

</body>
</html>