feat(i18n): 添加拍卖品详情页面的国际化支持
- 在 zh-CN.json 文件中添加了 "text8": "拍卖品详情" 的翻译项 - 在 artDetail 页面中使用 definePageMeta 设置国际化文本 - 移除了 ItemList 组件中不必要的 loading 属性
This commit is contained in:
parent
17a080e529
commit
0eafa906e6
@ -1,7 +1,9 @@
|
||||
<script setup>
|
||||
import itemDetail from '@/components/itemDetail/index.vue'
|
||||
import {userArtwork} from "~/api/goods/index.js";
|
||||
|
||||
definePageMeta({
|
||||
i18n: 'detail.text8'
|
||||
})
|
||||
const route = useRoute()
|
||||
const detail = ref({})
|
||||
const uuid = route.query.uuid
|
||||
|
@ -69,7 +69,6 @@ const openShow = async (item) => {
|
||||
<img
|
||||
:src="item.artwork?.hdPic"
|
||||
class="w-full object-cover rounded-4px"
|
||||
loading="lazy"
|
||||
/>
|
||||
<div
|
||||
class="absolute rounded-2px overflow-hidden line-height-12px left-[8px] top-[8px] h-[17px] w-[45px] flex items-center justify-center bg-[#2b53ac] text-[12px] text-[#fff]"
|
||||
|
@ -84,6 +84,7 @@
|
||||
"text5": "画作简介",
|
||||
"text6": "起拍价",
|
||||
"text7": "竞价表",
|
||||
"text8": "拍卖品详情",
|
||||
},
|
||||
"art_detail_page": {
|
||||
"button": "去支付",
|
||||
|
Loading…
Reference in New Issue
Block a user