语言适配

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

@@ -36,15 +36,15 @@ const {} = toRefs(data);
<div class="maskBtn">
<div @click="$emit('editListing',item)">
<svgIcon name="seller-edit" :size="domSize == 'Small'?32:domSize == 'Medium'?40:48" />
<div>Edit</div>
<div>{{ $t('Seller.Edit') }}</div>
</div>
<div v-if="type == 'listings'" @click="$emit('draftListing',item)">
<svgIcon name="seller-draft" :size="domSize == 'Small'?32:domSize == 'Medium'?40:48" />
<div>Draft</div>
<div>{{ $t('Seller.Draft') }}</div>
</div>
<div v-else-if="type == 'drafts'" @click="$emit('publishListing',item)">
<svgIcon name="seller-share" :size="domSize == 'Small'?32:domSize == 'Medium'?40:48" />
<div>Publish</div>
<div>{{ $t('Seller.Publish') }}</div>
</div>
</div>
</div>