截流自动化的商城平台
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

01.html 4.1KB

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