截流自动化的商城平台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

detail.html 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {layout name="layout2" /}
  2. <style>
  3. .div-flex {
  4. display: flex;
  5. align-items: center;
  6. justify-content: left;
  7. }
  8. .image {
  9. height: 80px;
  10. width: 80px;
  11. }
  12. </style>
  13. <div class="layui-card-body">
  14. <!--基本信息-->
  15. <div class="layui-form" lay-filter="layuiadmin-form-order" id="layuiadmin-form-order">
  16. <input type="hidden" class="id" name="id" value="{$detail.id}">
  17. <div class="layui-form-item div-flex">
  18. <label class="layui-form-label ">产品来源</label>
  19. <div class="div-width">{$detail.source_type_text}</div>
  20. </div>
  21. <div class="layui-form-item div-flex">
  22. <label class="layui-form-label ">商品名称:</label>
  23. <div class="div-width">{$detail.name}</div>
  24. </div>
  25. <div class="layui-form-item div-flex">
  26. <label class="layui-form-label ">商品封面:</label>
  27. <div class="div-width"><img src="{$detail.cover_img}" class="image-show image"></div>
  28. </div>
  29. <!-- 价格形式-->
  30. <div class="layui-form-item div-flex">
  31. <label class="layui-form-label ">价格形式:</label>
  32. <div class="div-width">
  33. <span>{$detail.price_type_text}</span>
  34. <span>{$detail.price_tips}</span>
  35. </div>
  36. </div>
  37. <div class="layui-form-item div-flex">
  38. <label class="layui-form-label ">商品链接:</label>
  39. <div class="div-width">{$detail.url}</div>
  40. </div>
  41. <div class="layui-form-item div-flex">
  42. <label class="layui-form-label ">审核状态:</label>
  43. <div class="div-width">{$detail.audit_status_text}</div>
  44. </div>
  45. <div class="layui-form-item" style="text-align: center">
  46. <div class="layui-input-block">
  47. <button type="button" class="layui-btn layui-btn-sm layui-btn-primary width_160 " id="back">返回</button>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <script type="text/javascript">
  53. layui.use(['form'], function () {
  54. var $ = layui.$;
  55. //主图放大
  56. $(document).on('click', '.image-show', function () {
  57. var src = $(this).attr('src');
  58. like.showImg(src, 400);
  59. });
  60. $('#back').click(function () {
  61. var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name
  62. parent.layer.close(index);
  63. parent.layui.table.reload('like-table-lists');
  64. return true;
  65. });
  66. });
  67. </script>