product attribute
This commit is contained in:
parent
fc9c826b0c
commit
05410da29e
|
|
@ -18,16 +18,16 @@
|
|||
<div class="bg-light p-4">
|
||||
<div class="row">
|
||||
<div class="col-xxl-20 col-xl-3 col-lg-4 col-md-4 d-flex align-items-center mb-3">
|
||||
<label class="filter-title">商品名称</label>
|
||||
<label class="filter-title">{{ __('product.name') }}</label>
|
||||
<input type="text" v-model="filter.name" class="form-control" placeholder="name">
|
||||
</div>
|
||||
<div class="col-xxl-20 col-xl-3 col-lg-4 col-md-4 d-flex align-items-center mb-3">
|
||||
<label class="filter-title">sku</label>
|
||||
<label class="filter-title">{{ __('product.sku') }}</label>
|
||||
<input type="text" v-model="filter.sku" class="form-control" placeholder="sku">
|
||||
</div>
|
||||
|
||||
<div class="col-xxl-20 col-xl-3 col-lg-4 col-md-4 d-flex align-items-center mb-3">
|
||||
<label class="filter-title">分类</label>
|
||||
<label class="filter-title">{{ __('product.category') }}</label>
|
||||
<select v-model="filter.category_id" class="form-control">
|
||||
<option value="0">全部</option>
|
||||
@foreach ($categories as $_category)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* product.php
|
||||
*
|
||||
* @copyright 2022 opencart.cn - All Rights Reserved
|
||||
* @link http://www.guangdawangluo.com
|
||||
* @author Edward Yang <yangjin@opencart.cn>
|
||||
* @created 2022-08-02 14:22:41
|
||||
* @modified 2022-08-02 14:22:41
|
||||
*/
|
||||
|
||||
return [
|
||||
'name' => 'Name',
|
||||
'sku' => 'SKU',
|
||||
'price' => 'Price',
|
||||
'brand' => 'Brand',
|
||||
'category' => 'Category',
|
||||
];
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* product.php
|
||||
*
|
||||
* @copyright 2022 opencart.cn - All Rights Reserved
|
||||
* @link http://www.guangdawangluo.com
|
||||
* @author Edward Yang <yangjin@opencart.cn>
|
||||
* @created 2022-08-02 14:22:41
|
||||
* @modified 2022-08-02 14:22:41
|
||||
*/
|
||||
|
||||
return [
|
||||
'name' => '名称',
|
||||
'sku' => 'SKU',
|
||||
'price' => '价格',
|
||||
'brand' => '品牌',
|
||||
'category' => '分类',
|
||||
];
|
||||
Loading…
Reference in New Issue