148 lines
5.9 KiB
HTML
148 lines
5.9 KiB
HTML
{extend name="common/base"/}
|
|
{block name="style"}
|
|
<style>
|
|
.content-article img{max-width:88%!important; height:auto!important; margin:6px 0!important; border-radius:4px;}
|
|
</style>
|
|
{/block}
|
|
<!-- 主体 -->
|
|
{block name="body"}
|
|
<div class="layui-form p-4">
|
|
<h3 class="pb-3">详情</h3>
|
|
<table class="layui-table layui-table-form">
|
|
<tr>
|
|
<td class="layui-td-gray">商品名称<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="store_name" lay-verify="required" lay-reqText="请输入商品名称"
|
|
autocomplete="off" placeholder="请输入商品名称" class="layui-input" value="{$detail.store_name}" readonly></td>
|
|
</tr>
|
|
<!-- <tr>-->
|
|
<!-- <td class="layui-td-gray">平台商品分类<font>*</font></td>-->
|
|
<!-- <td colspan="3">-->
|
|
<!-- <div class="layui-col-md6">-->
|
|
<!-- <select name="cate_id" lay-verify="required" lay-search="">-->
|
|
<!-- <option value="" >请选择</option>-->
|
|
<!-- {volist name=':set_recursion(get_store_category())' id='vo'}-->
|
|
<!-- <option value="{$vo.id}" >{$vo.title}</option>-->
|
|
<!-- {/volist}-->
|
|
<!-- </select>-->
|
|
<!-- </div>-->
|
|
<!-- </td>-->
|
|
<!-- </tr>-->
|
|
<tr>
|
|
<td class="layui-td-gray">商户商品分类<font>*</font></td>
|
|
<td colspan="3">
|
|
<div class="layui-col-md6">
|
|
<select name="cate_id" lay-verify="required" lay-search="">
|
|
<option value="" >请选择</option>
|
|
{volist name=':set_recursion(get_store_category())' id='vo'}
|
|
<option value="{$vo.id}" {if $detail.cate_id==$vo.id} selected {/if}>{$vo.title}</option>
|
|
{/volist}
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray">品牌选择<font>*</font></td>
|
|
<td colspan="3">
|
|
<div class="layui-col-md6">
|
|
<select name="brand_id" lay-verify="required" lay-search="">
|
|
<option value="" >请选择</option>
|
|
{volist name='store_brand' id='vo'}
|
|
<option value="{$vo.brand_id}" {if $detail.brand_id==$vo.brand_id} selected {/if}>{$vo.brand_name}</option>
|
|
{/volist}
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="layui-td-gray" style="vertical-align:top;">商品封面图</td>
|
|
<td>
|
|
<div class="layui-upload">
|
|
<!-- <button type="button" class="layui-btn layui-btn-sm" id="upload_btn_thumb">-->
|
|
<!-- 上传缩略图(尺寸:428x270)-->
|
|
<!-- </button>-->
|
|
<div class="layui-upload-list" id="upload_box_thumb"
|
|
style="overflow: hidden;">
|
|
<img src="{$detail.image}"
|
|
onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;"
|
|
width="100" style="max-width: 100%; height:66px;"/>
|
|
<input type="hidden" name="image" value="{$detail.image}">
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray" style="vertical-align:top;">商品轮播图</td>
|
|
<td>
|
|
<div class="layui-upload">
|
|
<!-- <button type="button" class="layui-btn layui-btn-sm" id="upload_btn_thumb2">-->
|
|
<!-- 上传缩略图(尺寸:428x270)-->
|
|
<!-- </button>-->
|
|
<div class="layui-upload-list" id="upload_box_thumb2"
|
|
style="overflow: hidden;">
|
|
{volist name='detail.slider_image_arr' id='vo'}
|
|
{if $vo}
|
|
<img src="{$vo}"
|
|
onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;"
|
|
width="100" style="max-width: 100%; height:66px;" onclick="delMultipleImgs(this)"/>
|
|
{/if}
|
|
{/volist}
|
|
<input type="hidden" name="slider_image" value="{$detail.slider_image}">
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray">单位<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="unit_name" lay-verify="required" lay-reqText="请输入单位"
|
|
autocomplete="off" placeholder="请输入单位" class="layui-input" value="{$detail.unit_name}" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray">商品关键字<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="keyword" lay-verify="required" lay-reqText="请输入商品关键字"
|
|
autocomplete="off" placeholder="请输入商品关键字" class="layui-input" value="{$detail.keyword}" readonly></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="layui-td-gray">售价<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="price" lay-verify="required" lay-reqText="请输入商品关键字"
|
|
autocomplete="off" placeholder="请输入商品关键字" class="layui-input" value="{$detail.price}" readonly></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="layui-td-gray">成本价<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="cost" lay-verify="required" lay-reqText="请输入商品关键字"
|
|
autocomplete="off" placeholder="请输入商品关键字" class="layui-input" value="{$detail.cost}" readonly></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="layui-td-gray">市场价<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="ot_price" lay-verify="required" lay-reqText="请输入商品关键字"
|
|
autocomplete="off" placeholder="请输入商品关键字" class="layui-input" value="{$detail.ot_price}" readonly></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="layui-td-gray">库存<font>*</font></td>
|
|
<td colspan="7"><input type="text" name="stock" lay-verify="required" lay-reqText="请输入商品关键字"
|
|
autocomplete="off" placeholder="请输入商品关键字" class="layui-input" value="{$detail.stock}" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray" style="text-align:left">商品简介</td>
|
|
<td colspan="6">
|
|
<textarea class="layui-textarea" name="store_info" readonly>{$detail.store_info}</textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray" style="text-align:left">商品详情</td>
|
|
<td colspan="6">
|
|
<textarea class="layui-textarea" id="container_content" readonly>{$detail.content}</textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
{/block}
|
|
<!-- /主体 --> |