1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
- <div class="layui-card-body think-box-shadow padding-left-40">
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">众筹标题</span>
- <input name="title" autocomplete="off" value='0' class="layui-input" type="text">
- </label>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">众筹单价</span>
- <input name="price" autocomplete="off" value='0' class="layui-input" type="number">
- </label>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">众筹总分</span>
- <input name="number" autocomplete="off" value='100' class="layui-input" type="number">
- </label>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">众筹时间</span>
- <input name="time" autocomplete="off" class="layui-input" type="text">
- </label>
- </div>
- <div class="layui-form-item">
- <span class="color-green label-required-prev">众筹LOGO及轮播展示图片</span>
- <table class="layui-table">
- <thead>
- <tr>
- <th class="text-center">LOGO</th>
- <th class="text-left">展示图片</th>
- </tr>
- <tr>
- <td width="90px" class="text-center"><input name="logo" type="hidden" value="{$vo.logo|default=''}"></td>
- <td width="auto" class="text-left"><input name="image" type="hidden" value="{$vo.image|default=''}"></td>
- </tr>
- </thead>
- </table>
- <script>$('[name="logo"]').uploadOneImage(), $('[name="image"]').uploadMultipleImage()</script>
- </div>
- <div class="layui-form-item block">
- <span class="label-required-prev color-green">众筹详细内容</span>
- <textarea name="content">{$vo.content|default=''|raw}</textarea>
- </div>
- <div class="layui-form-item text-center">
- {notempty name='vo.id'}<input type="hidden" name="id" value="{$vo.id}">{/notempty}
- <button class="layui-btn layui-btn-danger" ng-click="hsitoryBack()" type="button">取消编辑</button>
- <button class="layui-btn" type="submit">保存数据</button>
- </div>
- </div>
- </form>
- <!--<script>-->
- <!-- window.form.render();-->
- <!-- require(['ckeditor', 'angular'], function () {-->
- <!-- window.createEditor('[name="content"]', {height: 500});-->
- <!-- })-->
- <!--</script>-->
|