mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-24 18:36:15 +08:00
[更新]修改产品品牌表单
This commit is contained in:
parent
6825f83aba
commit
7f4e9ca7fb
@ -11,23 +11,28 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label"></label>
|
<label class="col-sm-2 control-label label-required">品牌图片</label>
|
||||||
<div class='col-sm-8'>
|
<div class='col-sm-8'>
|
||||||
<div class="layui-inline ">
|
<table class="layui-table background-item margin-none" lay-size="sm" lay-skin="nob">
|
||||||
<div class="layui-input-inline well">
|
<thead>
|
||||||
<p class="color-desc label-required">品牌Logo图片</p>
|
<tr>
|
||||||
<input type="hidden" name="brand_logo" value="{$vo.brand_logo|default=''}">
|
<td>品牌LOGO</td>
|
||||||
<script>$('[name=brand_logo]').uploadOneImage()</script>
|
<td>品牌图片</td>
|
||||||
</div>
|
</tr>
|
||||||
</div>
|
</thead>
|
||||||
|
<tbody>
|
||||||
<div class="layui-inline">
|
<tr>
|
||||||
<div class="layui-input-inline well">
|
<td class="text-top" style="width:100px">
|
||||||
<p class="color-desc label-required">品牌封面图片</p>
|
<input type="hidden" name="brand_logo" value="{$vo.brand_logo|default=''}">
|
||||||
<input type="hidden" name="brand_cover" value="{$vo.brand_cover|default=''}">
|
<script>$('[name=brand_logo]').uploadOneImage()</script>
|
||||||
<script>$('[name=brand_cover]').uploadOneImage()</script>
|
</td>
|
||||||
</div>
|
<td class="text-top">
|
||||||
</div>
|
<input type="hidden" name="brand_cover" value="{$vo.brand_cover|default=''}">
|
||||||
|
<script>$('[name=brand_cover]').uploadOneImage()</script>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -63,5 +68,15 @@
|
|||||||
window.createEditor('[name="brand_detail"]', {height: 500});
|
window.createEditor('[name="brand_detail"]', {height: 500});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.background-item {
|
||||||
|
padding: 15px;
|
||||||
|
background: #efefef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.background-item thead tr {
|
||||||
|
background: #e0e0e0
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</form>
|
</form>
|
||||||
{/block}
|
{/block}
|
Loading…
x
Reference in New Issue
Block a user