语言适配

This commit is contained in:
X1627315083@163.com
2026-05-04 14:06:16 +08:00
parent b3d9bce440
commit 49398aac48
11 changed files with 83 additions and 35 deletions

View File

@@ -6,11 +6,13 @@ import selectMenu from '@/component/modules/selectMenu.vue'
import { Https } from '@/tool/https'
import { useRoute } from 'vue-router'
import { useStore } from 'vuex'
import { useI18n } from 'vue-i18n'
// 定义组件名称
defineOptions({
name: 'myListingsSelectItem'
})
const { t } = useI18n()
//const props = defineProps({
//})
//const emit = defineEmits([
@@ -22,15 +24,15 @@ const route = useRoute()
const domSize = ref('Small')
const domSizeList = ref([
{
label:'Small',
label:t('Header.Small'),
value:'Small',
},
{
label:'Medium',
label:t('Header.Medium'),
value:'Medium',
},
{
label:'Large',
label:t('Header.Large'),
value:'Large',
},
])
@@ -158,10 +160,10 @@ const {} = toRefs(data);
<template #right>
<div class="header-right">
<div class="chooseNum">
{{ chooseList.length }} sketches selected
{{ chooseList.length }} {{ t('Seller.sketchesSelected') }}
</div>
<div class="button" @click="next">
<span>Next</span>
<span>{{ $t('Seller.Next') }}</span>
<div class="icon">
<i class="fi fi-rr-arrow-small-right"></i>
</div>
@@ -173,7 +175,7 @@ const {} = toRefs(data);
<div class="title">
<div class="left">
<i class="fi fi-rs-comments"></i>
<span>Active Listings</span>
<span>{{ $t('Seller.ActiveListings') }}</span>
</div>
<div class="right">
<div class="generalModel_state">