sku.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. </form>
  2. <form class="layui-form form10" action="" target="f10" method="post">
  3. <input type="hidden" name="info_id" id="info_id" value="">
  4. <input type="hidden" name="function" id="function" value="skuMsg">
  5. <iframe id="f10" name="f10" style="display:none;"></iframe>
  6. <div class="layui-form-item">
  7. <table class="layui-table" id="sku">
  8. <thead>
  9. <tr>
  10. <th>昵称</th>
  11. <th>加入时间</th>
  12. <th>签名</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. <tr>
  17. <td>贤心</td>
  18. <td>2016-11-29</td>
  19. <td>人生就像是一场修行</td>
  20. </tr>
  21. <tr>
  22. <td>许闲心</td>
  23. <td>2016-11-28</td>
  24. <td>于千万人之中遇见你所遇见的人,于千万年之中,时间的无涯的荒野里…</td>
  25. </tr>
  26. </tbody>
  27. </table>
  28. </div>
  29. <div class="layui-form-item">
  30. <div class="">
  31. <button type="button" class="layui-btn" onclick="saveSku()">保存</button>
  32. </div>
  33. </div>
  34. <script>
  35. function saveSku()
  36. {
  37. $('.form10').submit();
  38. }
  39. function skuMsg()
  40. {
  41. showAlert('保存成功');
  42. }
  43. </script>