Browse Source

处理商品分类view页面样式

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
82f319f0c4
  1. 12
      vendor/antgoods/goods/src/views/category/view.php

12
vendor/antgoods/goods/src/views/category/view.php

@ -27,10 +27,14 @@ $this->params['breadcrumbs'][] = $this->title;
'sort_order', 'sort_order',
'icon_type', 'icon_type',
'icon', 'icon',
'is_show',
'is_delete',
'created_at',
'updated_at',
[
'attribute' => 'is_show',
'value' => function ($model) {
return $model->is_show == \antgoods\goods\models\ars\Category::IS_SHOW_DISPLAY ? '显示':'隐藏';
}
],
'created_at:datetime',
'updated_at:datetime',
], ],
]) ?> ]) ?>

Loading…
Cancel
Save