diff --git a/vendor/antgoods/goods/src/views/category/_form.php b/vendor/antgoods/goods/src/views/category/_form.php index c2fe65f..d154648 100644 --- a/vendor/antgoods/goods/src/views/category/_form.php +++ b/vendor/antgoods/goods/src/views/category/_form.php @@ -14,8 +14,6 @@ use yii\widgets\ActiveForm; field($model, 'name')->textInput(['maxlength' => true]) ?> - field($model, 'pid')->textInput() ?> - field($model, 'goods_count')->textInput() ?> field($model, 'sort_order')->textInput() ?> diff --git a/vendor/antgoods/goods/src/views/category/create.php b/vendor/antgoods/goods/src/views/category/create.php index 1ecb4fa..624761d 100644 --- a/vendor/antgoods/goods/src/views/category/create.php +++ b/vendor/antgoods/goods/src/views/category/create.php @@ -5,8 +5,8 @@ use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model antgoods\goods\models\ars\Category */ -$this->title = '创建 Category'; -$this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']]; +$this->title = '创建商品分类'; +$this->params['breadcrumbs'][] = ['label' => '商品分类', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>
diff --git a/vendor/antgoods/goods/src/views/category/update.php b/vendor/antgoods/goods/src/views/category/update.php index a4a8106..4d8f354 100644 --- a/vendor/antgoods/goods/src/views/category/update.php +++ b/vendor/antgoods/goods/src/views/category/update.php @@ -5,10 +5,10 @@ use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model antgoods\goods\models\ars\Category */ -$this->title = '编辑 Category: ' . $model->name; -$this->params['breadcrumbs'][] = ['label' => 'Categories', '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'][] = '编辑 '; ?>