From 3c4252c7591f28695b0c8f4b0188e6168dc839a9 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Tue, 19 Nov 2019 19:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=A0=B7=E5=BC=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/antgoods/goods/src/views/category/_form.php | 2 -- vendor/antgoods/goods/src/views/category/create.php | 4 ++-- vendor/antgoods/goods/src/views/category/update.php | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) 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'][] = '编辑 '; ?>