商品列表多语言

This commit is contained in:
Edward Yang 2022-08-26 17:12:57 +08:00
parent f1c3707302
commit 6063e26661
5 changed files with 16 additions and 6 deletions

View File

@ -42,11 +42,11 @@
</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">{{ __('common.status') }}</label>
<select v-model="filter.active" class="form-control">
<option value="">全部</option>
<option value="1">上架</option>
<option value="0">下架</option>
<option value="">{{ __('common.all') }}</option>
<option value="1">{{ __('product.active') }}</option>
<option value="0">{{ __('product.inactive') }}</option>
</select>
</div>
</div>

View File

@ -21,6 +21,8 @@ return [
'updated_success' => 'Updated Successfully!',
'edit_success' => 'Modify Success!',
'get_success' => 'Get Successfully!',
'all' => 'All',
'status' => 'Status',
'enable' => 'Enable',
'disable' => 'Disable',
'home' => 'Home',

View File

@ -16,5 +16,8 @@ return [
'brand' => 'Brand',
'category' => 'Category',
'model' => 'Model',
'quantity' => 'Quantity'
'quantity' => 'Quantity',
'active' => 'Active',
'inactive' => 'Inactive',
];

View File

@ -20,6 +20,8 @@ return [
'updated_success' => '更新成功!',
'edit_success' => '修改成功!',
'get_success' => '获取成功!',
'all' => '全部',
'status' => '状态',
'enable' => '启用',
'disable' => '禁用',
'home' => '首页',

View File

@ -16,5 +16,8 @@ return [
'brand' => '品牌',
'category' => '分类',
'model' => '型号',
'quantity' => '库存'
'quantity' => '库存',
'active' => '上架',
'inactive' => '下架',
];