update.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script class="include" system="" path="inc/" file="head">include()</script>
  5. <!--<link rel="stylesheet" href="../script/lib/layui/admin/modules/plugin/formselects/formselects.css" media="all" />-->
  6. <style>
  7. textarea{
  8. padding-top: 5px;
  9. }
  10. .dever-color {
  11. /*width: 100%;*/
  12. }
  13. .dever_form_add_child {
  14. padding:15px;
  15. }
  16. .dever_form_delete {
  17. float: right;
  18. margin-right: 10px;
  19. color: red;
  20. }
  21. .dever_score_child {
  22. margin: 15px;
  23. }
  24. .layui-tab-title {
  25. height: 100%;
  26. white-space: inherit;
  27. }
  28. .layui-input {
  29. min-width: 100px;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div id="load_style" style="display:none;">
  35. </div>
  36. <div class="topbar">
  37. <div class="banner dever-layout" style="display:none;">
  38. <a target="_blank"></a>
  39. <span>项目名称</span>
  40. </div>
  41. </div>
  42. <div id="content_1" style="display:none;"></div>
  43. <div id="content_2">
  44. <div class="layui-fluid">
  45. <div style="display:none;"><span id="list-name">网站设置</span> > <span id="list-project"></span></div>
  46. <form method="post" class="layui-form form1" target="f1" role="form" autocomplete="off" lay-filter="form-filter">
  47. <style id="load_css"></style>
  48. <input type="hidden" name="function" id="function" value="msg"/>
  49. <input type="hidden" name="url" id="url" />
  50. <input type="hidden" name="project" id="project" />
  51. <input type="hidden" name="table" id="table" />
  52. <input type="hidden" name="alias" id="alias" />
  53. <input type="hidden" name="fast" id="fast" />
  54. <input type="hidden" name="dever_submit" id="dever_submit" />
  55. <input type="hidden" name="menu_id" id="menu_id" />
  56. <input type="hidden" name="mul_ids" id="mul_ids" />
  57. <input type="hidden" name="mul_load" id="mul_load" />
  58. <input type="hidden" name="update_where_id" id="update_where_id"/>
  59. <input type="hidden" name="copy_num" id="copy_num" value="0"/>
  60. <iframe id="f1" name="f1" style="display:none;"></iframe>
  61. <div class="layui-row layui-col-space15" id="data_content">
  62. </div>
  63. <div id="valid"></div>
  64. <div id="struct" style="display:none;"></div>
  65. </form>
  66. </div>
  67. </div>
  68. <script class="include" system="" path="inc/" file="script">include()</script>
  69. <script id="update_script">
  70. var form;
  71. var skuTable;
  72. layui.config({
  73. base: '../script/lib/layui/admin/' //静态资源所在路径
  74. ,version:true
  75. }).extend({
  76. index: 'lib/index', //主入口模块
  77. //formSelects: 'plugin/formselects/formselects',
  78. skuTable: 'plugin/skuTable',
  79. sortable: 'plugin/sortable'
  80. }).use(['index', 'contlist', 'table', 'form', 'skuTable'], function(){
  81. var table = layui.table;
  82. form = layui.form;
  83. //var formSelects = layui.formSelects;
  84. if (window.screen.width < 500) {
  85. //$('.layui-tab').css({'overflow' : 'auto'});
  86. }
  87. skuTable = layui.skuTable;
  88. if ($('#sku_spec_type').length) {
  89. sku($('#sku_spec_type'));
  90. }
  91. init();
  92. });
  93. </script>
  94. </body>
  95. </html>