Browse Source

修改antgoods模块品牌管理模块样式

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
69d7929a88
  1. 5
      vendor/antgoods/goods/src/models/searchs/BrandSearch.php
  2. 2
      vendor/antgoods/goods/src/views/brand/_form.php
  3. 4
      vendor/antgoods/goods/src/views/brand/create.php
  4. 2
      vendor/antgoods/goods/src/views/brand/index.php
  5. 6
      vendor/antgoods/goods/src/views/brand/update.php
  6. 5
      vendor/antgoods/goods/src/views/brand/view.php

5
vendor/antgoods/goods/src/models/searchs/BrandSearch.php

@ -54,9 +54,8 @@ class BrandSearch extends Brand
],
'id',
'name',
'is_delete',
'created_at',
'updated_at',
'created_at:datetime',
'updated_at:datetime',
[
'class' => 'iron\grid\ActionColumn',
'align' => 'center',

2
vendor/antgoods/goods/src/views/brand/_form.php

@ -14,8 +14,6 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'is_delete')->textInput() ?>
<div class="form-group">
<?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
<?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>

4
vendor/antgoods/goods/src/views/brand/create.php

@ -5,8 +5,8 @@ use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model antgoods\goods\models\ars\Brand */
$this->title = '创建 Brand';
$this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']];
$this->title = '创建品牌';
$this->params['breadcrumbs'][] = ['label' => '品牌管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="brand-create">

2
vendor/antgoods/goods/src/views/brand/index.php

@ -7,7 +7,7 @@ use iron\grid\GridView;
/* @var $searchModel common\models\searchs\BrandSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Brands';
$this->title = '品牌管理';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="row">

6
vendor/antgoods/goods/src/views/brand/update.php

@ -5,10 +5,10 @@ use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model antgoods\goods\models\ars\Brand */
$this->title = '编辑 Brand: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Brands', 'url' => ['index']];
$this->title = '编辑品牌: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => '品牌管理', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update ';
$this->params['breadcrumbs'][] = '编辑 ';
?>
<div class="brand-update">

5
vendor/antgoods/goods/src/views/brand/view.php

@ -22,9 +22,8 @@ $this->params['breadcrumbs'][] = $this->title;
'attributes' => [
'id',
'name',
'is_delete',
'created_at',
'updated_at',
'created_at:datetime',
'updated_at:datetime',
],
]) ?>

Loading…
Cancel
Save