57 lines
1.3 KiB
HTML
57 lines
1.3 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;}
|
|
.layui-td-gray{
|
|
width: 110px;
|
|
}
|
|
</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="3">
|
|
<div class="layui-col-md6">
|
|
<select name="szxc_planting_type_id" lay-verify="required" lay-search="" disabled>
|
|
<option value="" >请选择</option>
|
|
{volist name='szxc_planting_type' id='vo'}
|
|
<option value="{$vo.id}" {if $detail.szxc_planting_type_id==$vo.id} selected {/if}>{$vo.name}</option>
|
|
{/volist}
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="layui-td-gray">简介<font>*</font></td>
|
|
<td colspan="6">
|
|
{$detail.synopsis}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="layui-td-gray">内容</td>
|
|
<td colspan="6">
|
|
{$detail.content|raw}
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
{/block}
|
|
<!-- /主体 -->
|
|
<!-- 脚本 -->
|
|
{block name="script"}
|
|
<script>
|
|
var moduleInit = ['tool', 'tagpicker', 'tinymce'];
|
|
function gouguInit() {
|
|
var form = layui.form, tool = layui.tool, tagpicker = layui.tagpicker,laydate = layui.laydate;
|
|
|
|
}
|
|
</script>
|
|
{/block}
|
|
<!-- /脚本 --> |