|
@@ -67,7 +67,7 @@ const option1 = ref<Record<string, any>[]>([
|
|
])
|
|
])
|
|
|
|
|
|
const option2 = ref<Record<string, any>[]>([
|
|
const option2 = ref<Record<string, any>[]>([
|
|
- { label: 'All Category', value: 0 },
|
|
|
|
|
|
+ { label: t('search.filterCategory'), value: 0 },
|
|
])
|
|
])
|
|
async function getCategoryList() {
|
|
async function getCategoryList() {
|
|
const res = await categoryList({ page: 1, size: 20 })
|
|
const res = await categoryList({ page: 1, size: 20 })
|
|
@@ -129,7 +129,7 @@ onLoad(() => {
|
|
<wd-drop-menu-item v-model="formData.cateId" :options="option2" @change="queryList(1, 20)" />
|
|
<wd-drop-menu-item v-model="formData.cateId" :options="option2" @change="queryList(1, 20)" />
|
|
</wd-drop-menu>
|
|
</wd-drop-menu>
|
|
<view class="flex-1">
|
|
<view class="flex-1">
|
|
- <wd-sort-button v-model="formData.sortWay" title="Best Sellers" @change="queryList(1, 20)" />
|
|
|
|
|
|
+ <wd-sort-button v-model="formData.sortWay" :title="t('search.filterSellers')" @change="queryList(1, 20)" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|