|
@@ -174,11 +174,11 @@
|
|
|
<div class="layui-input-inline">
|
|
|
<select name="content_type" lay-filter ="content_type">
|
|
|
{foreach [1=>'富文本',2=>'PDF'] as $ck=>$cv}
|
|
|
- {if !empty($item_info.content_type) && $item_info.content_type == $ck }
|
|
|
- <option selected data-cl_key="{$ck}" value="{$ck}">{$cv}</option>
|
|
|
- {else}
|
|
|
- <option data-cl_key="{$ck}" value="{$ck}">{$cv}</option>
|
|
|
- {/if}
|
|
|
+ {if !empty($content_type) && $content_type == $ck }
|
|
|
+ <option selected data-cl_key="{$ck}" value="{$ck}">{$cv}</option>
|
|
|
+ {else}
|
|
|
+ <option data-cl_key="{$ck}" value="{$ck}">{$cv}</option>
|
|
|
+ {/if}
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
</div>
|
|
@@ -188,7 +188,7 @@
|
|
|
<label class="layui-form-label label-required">PDF文件</label>
|
|
|
<label class="layui-col-xs10 relative">
|
|
|
<label class="layui-col-xs9 think-form-group-left">
|
|
|
- <input name="pdf" value='{$vo.pdf|default=""}' readonly placeholder="请上传" class="layui-input">
|
|
|
+ <input name="pdf" value='{$item_info.pdf|default=""}' readonly placeholder="请上传" class="layui-input">
|
|
|
</label>
|
|
|
<button type="button" class="layui-btn" id="test3"><i class="layui-icon"></i>上传文件</button>
|
|
|
</label>
|