mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改品牌编辑表单
This commit is contained in:
parent
1b87c94fee
commit
5cd7f6f705
@ -1,42 +1,46 @@
|
||||
{extend name='admin@public/content'}
|
||||
|
||||
{block name="content"}
|
||||
<form class="layui-form layui-box padding-top-20" action="{:request()->url()}" data-auto="true" method="post">
|
||||
<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='form-horizontal layui-form padding-top-20'>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">产品品牌</label>
|
||||
<div class="layui-input-block">
|
||||
<input autofocus name="brand_title" value='{$vo.brand_title|default=""}' required="required" title="请输入产品品牌" placeholder="请输入产品品牌" class="layui-input">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">品牌名称</label>
|
||||
<div class='col-sm-8'>
|
||||
<input autofocus name="brand_title" value='{$vo.brand_title|default=""}' required="required" title="请输入品牌名称" placeholder="请输入品牌名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline ">
|
||||
<label class="layui-form-label"></label>
|
||||
<div class="layui-input-inline well">
|
||||
<p class="color-desc label-required">品牌Logo图片</p>
|
||||
<input type="hidden" name="brand_logo" value="{$vo.brand_logo|default=''}">
|
||||
<script>$('[name=brand_logo]').uploadOneImage()</script>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label"></label>
|
||||
<div class='col-sm-8'>
|
||||
<div class="layui-inline ">
|
||||
<div class="layui-input-inline well">
|
||||
<p class="color-desc label-required">品牌Logo图片</p>
|
||||
<input type="hidden" name="brand_logo" value="{$vo.brand_logo|default=''}">
|
||||
<script>$('[name=brand_logo]').uploadOneImage()</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
||||
<div class="layui-input-inline well">
|
||||
<p class="color-desc label-required">品牌封面图片</p>
|
||||
<input type="hidden" name="brand_cover" value="{$vo.brand_cover|default=''}">
|
||||
<script>$('[name=brand_cover]').uploadOneImage()</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
||||
<div class="layui-input-inline well">
|
||||
<p class="color-desc label-required">品牌封面图片</p>
|
||||
<input type="hidden" name="brand_cover" value="{$vo.brand_cover|default=''}">
|
||||
<script>$('[name=brand_cover]').uploadOneImage()</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">品牌描述</label>
|
||||
<div class="layui-input-block">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">品牌描述</label>
|
||||
<div class='col-sm-8'>
|
||||
<textarea placeholder="请输入品牌描述" title="请输入品牌描述" class="layui-textarea" name="brand_desc">{$vo.brand_desc|default=""}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">品牌内容</label>
|
||||
<div class="layui-input-block">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">品牌内容</label>
|
||||
<div class='col-sm-8'>
|
||||
<textarea name="brand_detail">{$vo.brand_detail|default=''|raw}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user