每个模板都有自己的头部导航,文章和分类

This commit is contained in:
2020-05-12 22:18:15 +08:00
parent 2f7ec6793e
commit 713ed8e432
21 changed files with 80 additions and 49 deletions

View File

@@ -37,7 +37,7 @@ class CreateTableNav extends Migrator
$table->addColumn(Column::make('create_time','integer')->setSigned(false)->setLimit(10)->setComment('添加时间'));
$table->addColumn(ColumnFormat::timestamp('update_time'));
$table->addColumn(ColumnFormat::timestamp('delete_time'));
$table->addColumn(Column::make('type','integer')->setLimit(10)->setSigned(false)->setComment('类型,用于区分业务场景:1:PC导航,2:PC轮播图,3:PC友情链接'));
$table->addColumn(ColumnFormat::stringShort('type')->setComment('类型,用于区分业务场景:1:PC导航,2:PC轮播图,3:PC友情链接'));
$table->addColumn(Column::make('img','string')->setLimit(100)->setComment('图片'));
$table->addColumn(ColumnFormat::stringLong('desc')->setComment('副标题描述'));
$table->addColumn(Column::make('target','string')->setLimit(10)->setSigned(false)->setComment('网页链接打开对象,_BLANK,_SELF,iframe_name'));