Browse Source

修改商品分类样式字段

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
3c4252c759
  1. 2
      vendor/antgoods/goods/src/views/category/_form.php
  2. 4
      vendor/antgoods/goods/src/views/category/create.php
  3. 6
      vendor/antgoods/goods/src/views/category/update.php

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

@ -14,8 +14,6 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'pid')->textInput() ?>
<?= $form->field($model, 'goods_count')->textInput() ?> <?= $form->field($model, 'goods_count')->textInput() ?>
<?= $form->field($model, 'sort_order')->textInput() ?> <?= $form->field($model, 'sort_order')->textInput() ?>

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

@ -5,8 +5,8 @@ use yii\helpers\Html;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $model antgoods\goods\models\ars\Category */ /* @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; $this->params['breadcrumbs'][] = $this->title;
?> ?>
<div class="category-create"> <div class="category-create">

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

@ -5,10 +5,10 @@ use yii\helpers\Html;
/* @var $this yii\web\View */ /* @var $this yii\web\View */
/* @var $model antgoods\goods\models\ars\Category */ /* @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'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update ';
$this->params['breadcrumbs'][] = '编辑 ';
?> ?>
<div class="category-update"> <div class="category-update">

Loading…
Cancel
Save