...
|
...
|
@@ -177,6 +177,32 @@ |
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>列表页缩略图2</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
<div style="text-align: center;">
|
|
|
<input type="hidden" name="post[index_thumbnail2]" id="index_thumbnail2"
|
|
|
value="{$post.index_thumbnail2|default=''}">
|
|
|
<a href="javascript:uploadOneImage('图片上传','#index_thumbnail2');">
|
|
|
<if condition="empty($post.index_thumbnail2)">
|
|
|
<img src="__TMPL__/public/assets/images/default-thumbnail.png"
|
|
|
id="index_thumbnail2-preview"
|
|
|
width="135" style="cursor: pointer"/>
|
|
|
<else/>
|
|
|
<img src="{:cmf_get_image_preview_url($post.index_thumbnail2)}"
|
|
|
id="index_thumbnail2-preview"
|
|
|
width="135" style="cursor: pointer"/>
|
|
|
</if>
|
|
|
</a>
|
|
|
<input type="button" class="btn btn-sm btn-cancel-index_thumbnail2" value="取消图片">
|
|
|
</div>
|
|
|
<div style="margin-top:30px;">
|
|
|
<span class="form-required">图片参考尺寸:600*600</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>发布时间</th>
|
|
|
</tr>
|
|
|
<tr>
|
...
|
...
|
@@ -225,6 +251,12 @@ |
|
|
$('#thumbnail').val('');
|
|
|
});
|
|
|
|
|
|
//列表页缩略图2
|
|
|
$('.btn-cancel-index_thumbnail2').click(function () {
|
|
|
$('#index_thumbnail2-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
|
|
|
$('#index_thumbnail2').val('');
|
|
|
});
|
|
|
|
|
|
$('#more-template-select').val("{$post.more.template|default=''}");
|
|
|
});
|
|
|
|
...
|
...
|
|