截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

01.html 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <div class="layui-form-item">
  2. <label for="title" class="layui-form-label"><span style="color:red;">*</span>配置标题:</label>
  3. <div class="layui-input-inline">
  4. <input type="text" name="title" id="title" value="{$detail.title}" lay-verType="tips" lay-verify="required" autocomplete="off" class="layui-input">
  5. </div>
  6. </div>
  7. <div class="layui-form-item">
  8. <label for="cid" class="layui-form-label"><span style="color:red;">*</span>配置分类:</label>
  9. <div class="layui-input-inline">
  10. <select name="cid" id="cid" lay-verType="tips" lay-verify="required">
  11. {volist name="category" id="vo"}
  12. <option value="{$vo.id}" {if $detail.cid==$vo.id}selected{/if}>{$vo.name}</option>
  13. {/volist}
  14. </select>
  15. </div>
  16. </div>
  17. <div class="layui-form-item">
  18. <label for="cid" class="layui-form-label"><span style="color:red;">*</span>配置行业:</label>
  19. <div class="layui-input-inline">
  20. <select name="yid" id="yid" lay-verType="tips" lay-verify="required">
  21. {volist name="category2" id="vo"}
  22. <option value="{$vo.id}" {if $detail.yid==$vo.id}selected{/if}>{$vo.name}</option>
  23. {/volist}
  24. </select>
  25. </div>
  26. </div>
  27. <div class="layui-form-item" style="display: none;">
  28. <label for="intro" class="layui-form-label">版本号:</label>
  29. <div class="layui-input-inline">
  30. <input type="text" name="version" id="version" autocomplete="off" class="layui-input" value="{$detail.version}" />
  31. </div>
  32. </div>
  33. <div class="layui-form-item">
  34. <label for="intro" class="layui-form-label">配置简介:</label>
  35. <div class="layui-input-inline">
  36. <input type="text" name="intro" id="intro" value="{$detail.intro}" autocomplete="off" class="layui-input">
  37. </div>
  38. </div>
  39. <div class="layui-form-item">
  40. <label for="sort" class="layui-form-label">配置排序:</label>
  41. <div class="layui-input-inline">
  42. <input type="text" name="sort" id="sort" value="{$detail.sort}" autocomplete="off" class="layui-input">
  43. </div>
  44. </div>
  45. <div class="layui-form-item" style="display: none;">
  46. <label class="layui-form-label">封面图:</label>
  47. <div class="layui-input-block">
  48. <div class="like-upload-image">
  49. {if $detail.image}
  50. <div class="upload-image-div">
  51. <img src="{$detail.image}" alt="img">
  52. <input type="hidden" name="image" value="{$detail.image}">
  53. <div class="del-upload-btn">x</div>
  54. </div>
  55. <div class="upload-image-elem" style="display:none;"><a class="add-upload-image"> + 添加图片</a></div>
  56. {else}
  57. <div class="upload-image-elem"><a class="add-upload-image"> + 添加图片</a></div>
  58. {/if}
  59. </div>
  60. <div class="layui-form-mid layui-word-aux">建议尺寸:200*150像素</div>
  61. </div>
  62. </div>
  63. <div class="layui-form-item" style="display: none;">
  64. <label class="layui-form-label">商城公告:</label>
  65. <div class="layui-input-inline">
  66. <input type="radio" name="is_notice" value="1" title="是" {if $detail.is_notice==1}checked{/if}>
  67. <input type="radio" name="is_notice" value="0" title="否" {if $detail.is_notice==0}checked{/if}>
  68. </div>
  69. </div>
  70. <div class="layui-form-item">
  71. <label class="layui-form-label">配置状态:</label>
  72. <div class="layui-input-inline">
  73. <input type="radio" name="is_show" value="1" title="显示" {if $detail.is_show==1}checked{/if}>
  74. <input type="radio" name="is_show" value="0" title="隐藏" {if $detail.is_show==0}checked{/if}>
  75. </div>
  76. </div>
  77. <div class="layui-form-item" style="display: none;">
  78. <label for="content" class="layui-form-label">配置内容:</label>
  79. <div class="layui-input-block">
  80. <textarea name="content" id="content" lay-verify="content">{$detail.content|raw}</textarea>
  81. </div>
  82. </div>