update.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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="update_where_id" id="update_where_id"/>
  57. <input type="hidden" name="copy_num" id="copy_num" value="0"/>
  58. <iframe id="f1" name="f1" style="display:none;"></iframe>
  59. <div class="layui-row layui-col-space15" id="data_content">
  60. </div>
  61. <div id="valid"></div>
  62. <div id="struct" style="display:none;"></div>
  63. </form>
  64. </div>
  65. </div>
  66. <script class="include" system="" path="inc/" file="script">include()</script>
  67. <script id="update_script">
  68. var form;
  69. var skuTable;
  70. layui.config({
  71. base: '../script/lib/layui/admin/' //静态资源所在路径
  72. ,version:true
  73. }).extend({
  74. index: 'lib/index', //主入口模块
  75. //formSelects: 'plugin/formselects/formselects',
  76. skuTable: 'plugin/skuTable',
  77. sortable: 'plugin/sortable'
  78. }).use(['index', 'contlist', 'table', 'form', 'skuTable'], function(){
  79. var table = layui.table;
  80. form = layui.form;
  81. //var formSelects = layui.formSelects;
  82. if (window.screen.width < 500) {
  83. //$('.layui-tab').css({'overflow' : 'auto'});
  84. }
  85. skuTable = layui.skuTable;
  86. if ($('#sku_spec_type').length) {
  87. sku($('#sku_spec_type'));
  88. }
  89. init();
  90. });
  91. </script>
  92. </body>
  93. </html>