master
wangxinglong 2022-02-09 15:19:29 +08:00
parent 2aa4b5a61d
commit 6282f88425
3 changed files with 44 additions and 63 deletions

View File

@ -140,14 +140,39 @@
<!-- <textarea class="layui-textarea" name="characteristic">{ $item['characteristic']}</textarea>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-item">
<label class="layui-form-label required">介绍</label>
<div class="layui-input-block">
<div class="editor"></div>
<textarea class="layui-textarea" name="intro" style="display:none;">{$item['intro']}</textarea>
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label required">介绍</label>-->
<!-- <div class="layui-input-block">-->
<!-- <div class="editor"></div>-->
<!-- <textarea class="layui-textarea" name="intro" style="display:none;">{$item['intro']}</textarea>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-item layui-row field-div current-field-cover" >
<label class="layui-form-label">内容组图:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div">
<div class=" layui-col-xs12 layui-col-md8">
<input class="layui-input upload-file-value" name="intro" type="text" value="{$item['intro']}">
<div class="layui-form-mid layui-word-aux">图片尺寸:请选择合适尺寸</div>
</div>
<div class="layui-col-xs12 layui-col-md3">
<span>
<button type="button" class="layui-btn layui-btn-danger upload-btn" data-multiple="true">
<i class="fa fa-upload"></i> 上传
</button>
</span>
<span><button type="button" class="layui-btn layui-btn-primary upload-choose-btn" data-url="/manager/attachment/image"
data-type="image"
data-multiple="true"
><i class="fa fa-list"></i> 选择</button></span>
</div>
<ul class="layui-row layui-col-xs12 layui-col-md9 preview-list layui-col-space5"></ul>
</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label required">商圈</label>
<div class="layui-input-block">

View File

@ -199,39 +199,17 @@
<textarea name="item[intro]" class="layui-textarea"></textarea>
</div>
</div>
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">内容</label>-->
<!-- <div class="layui-input-block editor-text">-->
<!-- <div class="editor"></div>-->
<!-- <textarea name="item[content]" id="ueditor" class="layui-textarea"></textarea>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-item layui-row field-div current-field-cover" >
<label class="layui-form-label">内容组图:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div">
<div class=" layui-col-xs12 layui-col-md8">
<input class="layui-input upload-file-value" name="item[content]" type="text" value="">
<div class="layui-form-mid layui-word-aux">图片尺寸:请选择合适尺寸</div>
</div>
<div class="layui-col-xs12 layui-col-md3">
<span>
<button type="button" class="layui-btn layui-btn-danger upload-btn" data-multiple="true">
<i class="fa fa-upload"></i> 上传
</button>
</span>
<span><button type="button" class="layui-btn layui-btn-primary upload-choose-btn" data-url="/manager/attachment/image"
data-type="image"
data-multiple="true"
><i class="fa fa-list"></i> 选择</button></span>
</div>
<ul class="layui-row layui-col-xs12 layui-col-md9 preview-list layui-col-space5"></ul>
</div>
<div class="layui-form-item">
<label class="layui-form-label">内容</label>
<div class="layui-input-block editor-text">
<div class="editor"></div>
<textarea name="item[content]" id="ueditor" class="layui-textarea"></textarea>
</div>
</div>
<fieldset class="layui-elem-field layui-field-title site-title">
<legend><a name="compatibility">请填写完整整数 总和为100</a></legend>
</fieldset>

View File

@ -201,40 +201,18 @@
</div>
</div>
<!-- <div class="layui-form-item">-->
<!-- <label class="layui-form-label">内容</label>-->
<!-- <div class="layui-input-block editor-text">-->
<!-- <div class="editor"></div>-->
<!-- <textarea name="item[content]" id="ueditor" class="layui-textarea">{ $item["content"]|raw}</textarea>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-form-item layui-row field-div current-field-cover" >
<label class="layui-form-label">内容组图:</label>
<div class="layui-inline layui-col-xs12 layui-col-md8">
<div class="layui-row upload-file-div">
<div class=" layui-col-xs12 layui-col-md8">
<input class="layui-input upload-file-value" name="item[content]" type="text" value="{$item["content"]|raw}">
<div class="layui-form-mid layui-word-aux">图片尺寸:请选择合适尺寸</div>
</div>
<div class="layui-col-xs12 layui-col-md3">
<span>
<button type="button" class="layui-btn layui-btn-danger upload-btn" data-multiple="true">
<i class="fa fa-upload"></i> 上传
</button>
</span>
<span><button type="button" class="layui-btn layui-btn-primary upload-choose-btn" data-url="/manager/attachment/image"
data-type="image"
data-multiple="true"
><i class="fa fa-list"></i> 选择</button></span>
</div>
<ul class="layui-row layui-col-xs12 layui-col-md9 preview-list layui-col-space5"></ul>
</div>
<div class="layui-form-item">
<label class="layui-form-label">内容</label>
<div class="layui-input-block editor-text">
<div class="editor"></div>
<textarea name="item[content]" id="ueditor" class="layui-textarea">{ $item["content"]|raw}</textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label required">排序</label>
<div class="layui-input-block">