修复按钮bug

This commit is contained in:
2023-06-30 16:03:11 +08:00
parent 31957f2b0e
commit a726c8a12d
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class CreateTablePost extends Migrator
$table->addColumn(ColumnFormat::integer('hits')->setComment('访问量')); $table->addColumn(ColumnFormat::integer('hits')->setComment('访问量'));
$table->addColumn(ColumnFormat::stringUrl('jump_to_url')->setComment('跳转链接')); $table->addColumn(ColumnFormat::stringUrl('jump_to_url')->setComment('跳转链接'));
$table->addColumn(ColumnFormat::integerTypeStatus('jump_to_url_status')->setComment('0:不显示,1:显示连接,2:自动跳转')); $table->addColumn(ColumnFormat::integerTypeStatus('jump_to_url_status')->setComment('0:不显示,1:显示连接,2:自动跳转'));
$table->addColumn(ColumnFormat::integerTypeStatus('jump_to_btn_title')->setComment('跳转按钮名称')); $table->addColumn(ColumnFormat::stringShort('jump_to_btn_title')->setComment('跳转按钮名称'));
$table->addColumn(ColumnFormat::stringUrl('author_name')->setComment('作者名称')); $table->addColumn(ColumnFormat::stringUrl('author_name')->setComment('作者名称'));
$table->addColumn(ColumnFormat::integer('sort')->setComment('排序,越大越靠前')); $table->addColumn(ColumnFormat::integer('sort')->setComment('排序,越大越靠前'));
$table->addColumn(ColumnFormat::stringShort('type')->setComment('类型,1:文章,有分类有标签,2:页面,无分类无标签,N:其他形式用,用于区分不同的用途')); $table->addColumn(ColumnFormat::stringShort('type')->setComment('类型,1:文章,有分类有标签,2:页面,无分类无标签,N:其他形式用,用于区分不同的用途'));

View File

@@ -56,7 +56,7 @@
{/notempty} {/notempty}
{notempty name='$current_category.desc'} {notempty name='$current_category.desc'}
<div class="category-plus-title"> <div class="category-plus-title">
<blockquote class="layui-elem-quote layui-quote-nm">{$current_category.desc}</blockquote> <blockquote class="layui-elem-quote layui-quote-nm">{$current_category.desc|raw}</blockquote>
</div> </div>
{/notempty} {/notempty}
<div class="post-container"> <div class="post-container">