lexicalonoff.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <!--[if lt IE 9]>
  10. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  11. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  12. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  13. <![endif]-->
  14. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
  15. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
  16. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
  17. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
  18. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  20. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/webuploader/0.1.5/webuploader.css" />
  21. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  22. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  23. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  24. <script type="text/javascript" src="${ctx}/assets/lib/icheck/jquery.icheck.min.js"></script>
  25. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
  26. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/validate-methods.js"></script>
  27. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
  28. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  29. <script type="text/javascript" src="${ctx}/assets/static/h-ui.admin/js/H-ui.admin.js"></script>
  30. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  31. <!--/_footer /作为公共模版分离出去-->
  32. <!--请在下方写此页面业务相关的脚本-->
  33. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  34. <script type="text/javascript" src="${ctx}/assets/lib/webuploader/0.1.5/webuploader.min.js"></script>
  35. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.config.js"></script>
  36. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.all.js"> </script>
  37. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
  38. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  39. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/colorpicker/evol-colorpicker.css" />
  40. <link href="${ctx}/assets/lib/design/bootstrap.css" rel="stylesheet">
  41. <script type="text/javascript" src="${ctx}/assets/lib/design/bootstrap.min.js"></script>
  42. <script type="text/javascript" src="${ctx}/assets/lib/colorpicker/evol-colorpicker.js"></script>
  43. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/on-off/css/style.css" />
  44. <!--[if IE 6]>
  45. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  46. <script>DD_belatedPNG.fix('*');</script>
  47. <![endif]-->
  48. <script type="text/javascript">
  49. //选择标题颜色板初始化
  50. function setOnFlagTag()
  51. {
  52. var strFieldValue=$('#DIC_tag_onflag').is(':checked');
  53. $('#form-article').attr('action','${ctx}/myconsole/dic_lexicalonflag/saveOrUpdate?FieldName=DIC_tag_onflag&FieldValue='+strFieldValue);
  54. if($('#form-article').valid()){
  55. $('#form-article').ajaxSubmit(resultHandle);
  56. }
  57. }
  58. function setOnFlagTaboo()
  59. {
  60. var strFieldValue=$('#DIC_taboo_onflag').is(':checked');
  61. $('#form-article').attr('action','${ctx}/myconsole/dic_lexicalonflag/saveOrUpdate?FieldName=DIC_taboo_onflag&FieldValue='+strFieldValue);
  62. if($('#form-article').valid()){
  63. $('#form-article').ajaxSubmit(resultHandle);
  64. }
  65. }
  66. function setOnFlagHot()
  67. {
  68. var strFieldValue=$('#DIC_hot_onflag').is(':checked');
  69. $('#form-article').attr('action','${ctx}/myconsole/dic_lexicalonflag/saveOrUpdate?FieldName=DIC_hot_onflag&FieldValue='+strFieldValue);
  70. if($('#form-article').valid()){
  71. $('#form-article').ajaxSubmit(resultHandle);
  72. }
  73. }
  74. function setOnFlagEasyerror()
  75. {
  76. var strFieldValue=$('#DIC_easyerror_onflag').is(':checked');
  77. $('#form-article').attr('action','${ctx}/myconsole/dic_lexicalonflag/saveOrUpdate?FieldName=DIC_easyerror_onflag&FieldValue='+strFieldValue);
  78. if($('#form-article').valid()){
  79. $('#form-article').ajaxSubmit(resultHandle);
  80. }
  81. }
  82. function resultHandle(data){
  83. }
  84. </script>
  85. <title>我的桌面</title>
  86. </head>
  87. <body>
  88. <form id="form-article" method="post">
  89. <div class="container-fluid" style="margin-top:0px;">
  90. <div class="row cl" >
  91. &nbsp;
  92. </div>
  93. <div class="row cl" >
  94. <div class="col-md-6">
  95. <label class="form-label col-md-5" style="font-size:20px;"> Tag词</label>
  96. <div class="switch demo3_s">
  97. <input type="checkbox" onclick=setOnFlagTag() id=DIC_tag_onflag name=DIC_tag_onflag ${onflag.DIC_tag_onflag}>
  98. <label><i></i></label>
  99. </div>
  100. </div>
  101. <div class="col-md-6">
  102. <label class="form-label col-md-5" style="font-size:20px;"> 敏感词</label>
  103. <div class="switch demo3_s">
  104. <input type="checkbox" onclick=setOnFlagTaboo() id=DIC_taboo_onflag name=DIC_taboo_onflag ${onflag.DIC_taboo_onflag}>
  105. <label><i></i></label>
  106. </div>
  107. </div>
  108. <!--右边列结束 -->
  109.  </div> <!--整个行结束 -->
  110. <div class="row cl" >
  111. <div class="col-md-6">
  112. <label class="form-label col-md-5" style="font-size:20px;"> 热点词</label>
  113. <div class="switch demo3_s">
  114. <input type="checkbox" onclick=setOnFlagHot() id=DIC_hot_onflag name=DIC_hot_onflag ${onflag.DIC_hot_onflag}>
  115. <label><i></i></label>
  116. </div>
  117. </div>
  118. <div class="col-md-6">
  119. <label class="form-label col-md-5" style="font-size:20px;"> 易错词</label>
  120. <div class="switch demo3_s">
  121. <input type="checkbox" onclick=setOnFlagEasyerror() id=DIC_easyerror_onflag name=DIC_easyerror_onflag ${onflag.DIC_easyerror_onflag}>
  122. <label><i></i></label>
  123. </div>
  124. </div>
  125. <!--右边列结束 -->
  126.  </div> <!--整个行结束 -->
  127. </div> <!--容器结束 -->
  128. </form>
  129. </body>
  130. </html>