+

diff --git a/src/assets/images/home/design-bg.jpg b/src/assets/images/home/aida-bg.jpg
similarity index 100%
rename from src/assets/images/home/design-bg.jpg
rename to src/assets/images/home/aida-bg.jpg
diff --git a/src/lang/en.ts b/src/lang/en.ts
index 4e63a2b..d7e3b4f 100644
--- a/src/lang/en.ts
+++ b/src/lang/en.ts
@@ -1,6 +1,8 @@
export default {
Login: {
+ signup: 'Sign up',
login: 'Log in',
+ logoff: 'Log off',
register: 'Register',
loginTip: 'Platform integrated with AiDA.
AiDA account login required.',
name: 'Name',
@@ -11,6 +13,7 @@ export default {
enterEmail: 'Enter your email',
enterPassword: 'Enter your password',
enterPasswordAgain: 'Enter your password again',
+ passwordTip: 'You must satisfy ALL password conditions to register.',
forgotPassword: 'Forget password?',
pleaseInputName: 'Please input the name',
nameLengthError: 'Name length must be between {min} and {max} characters',
@@ -37,7 +40,24 @@ export default {
wechatLogin: 'Sign in with Wechat',
indexTip: 'A multi-agent canvas for rapid, trend driven design iteration.',
sendCodeError: 'Send code error',
- retrievePassword: 'Retrieve password'
+ retrievePassword: 'Retrieve password',
+ emailVerification: 'Email Verification',
+ retrievePasswordTitle: 'Please enter your email address below to verify your identity.',
+ submit: 'Submit',
+ enterNewPassword: 'Enter a new password for
{email}',
+ passwordsDoNotMatch: 'Passwords do not match',
+ logOffTip: 'Are you sure to log off?',
+ },
+ RegisterSuccess: {
+ title1: 'Welcome to Stylish Parade!',
+ title2: 'Please switch to the Login tab to log in.',
+ title3: 'What awaits you in Stylish Parade',
+ item1title: 'Behind the design',
+ item1tip: 'Discover how designers bring ideas to life with AiDA — from first sketch to final look.',
+ item2title: 'Creative digital works',
+ item2tip: 'Unlock a growing library of inspiring digital works to refresh your creative mind.',
+ item3title: 'A fashion community',
+ item3tip: 'Join a space where fashion speaks — exchange ideas and connect with creators worldwide.',
},
Settings: {
title: 'Settings',
@@ -235,6 +255,8 @@ export default {
digitalItem:{
BestSelling: 'Best Selling',
Price: 'Price: Low to High',
+ SelectedFirst: 'Selected First',
+ DateAdded: 'Date Added',
NewestFirst: 'Newest First',
title: 'Digital Item',
info: 'Virtual fashion creations collected in your personal archive',
@@ -250,5 +272,52 @@ export default {
},
checked: {
All: 'All',
+ },
+ MainHeader: {
+ Home: 'Home',
+ CollectionStory: 'Collection Story',
+ Brand: 'Brand',
+ DigitalItem: 'Digital Item',
+ HiName: 'Hi, {name}',
+ MyWardrobe: 'My Wardrobe',
+ Notifications: 'Notifications',
+ Settings: 'Settings',
+ },
+ ShoppingCart: {
+ title: 'Shopping Cart',
+ listNullTitle: 'Your Cart is empty',
+ listNullTip: 'Discover new fashion assets and add them to your cart.',
+ dateTimeFormat: 'SM D, YYYY, h:mm A',
+ noLongerAvailable: 'No Longer Available',
+ delistedFromMarketplace: 'Delisted from marketplace',
+ remove: 'Remove',
+ removeTip: 'Are you sure to remove this item?',
+ total: 'Total',
+ digitalAssets: 'Digital assets. Creator retains copyright.',
+ checkout: 'Checkout',
+ exploreDigitalItems: 'Explore Digital Items',
+ orderSummary: 'Order Summary',
+ selected: 'Selected',
+ brands: 'Brands',
+ item: 'item',
+ checkoutSelected: 'Checkout Selected',
+ },
+ digitalDetail:{
+ Sketch: 'Sketch',
+ Illustration: 'Illustration',
+ Product: 'Product',
+ EditorialVisual: 'Editorial Visual',
+ Back: 'Back',
+ ReleaseIn: 'Release in',
+ CopyrightLicenseNotice: 'Copyright & License Notice',
+ LicenseIncludedInAsset: 'License Included in Asset',
+ LicenseIncludedInAssetInfo: 'All products on this platform are digital assets, not physical goods. Purchase grants a usage license only; copyright and intellectual property rights remain with the original creator, unless otherwise stated.',
+ BuyNow: 'Buy Now',
+ AddToCart: 'Add to Cart',
+ },
+ addShoppingCart:{
+ title: 'Added to your Shopping Cart',
+ statement: 'Digital Assets Only. No physical product included.',
+ button: 'Set Shopping Cart',
}
}
\ No newline at end of file
diff --git a/src/lang/zh-cn.ts b/src/lang/zh-cn.ts
index b51d165..8958ee7 100644
--- a/src/lang/zh-cn.ts
+++ b/src/lang/zh-cn.ts
@@ -1,6 +1,8 @@
export default {
Login: {
+ signup: '注册',
login: '登录',
+ logoff: '退出登录',
register: '注册',
loginTip: '与 AiDA 集成的平台。
需要登录 AiDA 账户。',
name: '姓名',
@@ -11,6 +13,7 @@ export default {
enterEmail: '请输入邮箱',
enterPassword: '请输入密码',
enterPasswordAgain: '请输入密码确认',
+ passwordTip: '你必须满足所有密码条件才能注册。',
forgotPassword: '忘记密码?',
pleaseInputName: '请输入姓名',
nameLengthError: '姓名长度必须在 {min} 到 {max} 个字符之间',
@@ -37,7 +40,24 @@ export default {
wechatLogin: '使用微信登录',
indexTip: '一个多智能体画布,用于快速、趋势驱动的设计迭代。',
sendCodeError: '发送验证码失败',
- retrievePassword: '找回密码'
+ retrievePassword: '找回密码',
+ emailVerification: '邮箱验证',
+ retrievePasswordTitle: '请输入您的邮箱地址以验证您的身份。',
+ submit: '提交',
+ enterNewPassword: '请输入新密码
{email}',
+ passwordsDoNotMatch: '两次输入密码不一致',
+ logOffTip: '确定退出登录吗?',
+ },
+ RegisterSuccess: {
+ title1: '欢迎来到 Stylish Parade!',
+ title2: '请切换到登录选项卡以登录。',
+ title3: '在 Stylish Parade 中等待你的发现',
+ item1title: '设计灵感',
+ item1tip: '了解设计师是如何借助 AiDA 将创意变为现实的——从最初的草图到最终的成品。',
+ item2title: '创意数字作品',
+ item2tip: '解锁一个增长的数字作品库,刷新你的创意。',
+ item3title: '时尚社区',
+ item3tip: '加入一个全球的时尚社区,与设计师分享创意。',
},
Settings: {
title: '设置',
@@ -235,6 +255,8 @@ export default {
digitalItem: {
BestSelling: "畅销优先",
Price: "价格:从低到高",
+ SelectedFirst: "已选优先",
+ DateAdded: "添加日期",
NewestFirst: "最新优先",
title: "数字藏品",
info: "收藏于个人档案中的虚拟时装作品",
@@ -250,5 +272,52 @@ export default {
},
checked: {
All: "全部"
+ },
+ MainHeader: {
+ Home: '首页',
+ CollectionStory: '系列故事',
+ Brand: '品牌',
+ DigitalItem: '数字藏品',
+ HiName: '你好,{name}',
+ MyWardrobe: '我的衣橱',
+ Notifications: '通知',
+ Settings: '设置',
+ },
+ ShoppingCart: {
+ title: '购物车',
+ listNullTitle: '你的购物车为空',
+ listNullTip: '发现新的时尚资产并将其添加到你的购物车。',
+ dateTimeFormat: 'YYYY-MM-DD HH:mm',
+ noLongerAvailable: '已下架',
+ delistedFromMarketplace: '已从市场移除',
+ remove: '删除',
+ removeTip: '确认删除吗?',
+ total: '总金额',
+ digitalAssets: '数字资产。创作者保留版权。',
+ checkout: '结账',
+ exploreDigitalItems: '探索数字单品',
+ orderSummary: '订单信息',
+ selected: '已选',
+ brands: '品牌',
+ item: '数字藏品',
+ checkoutSelected: '结账已选',
+ },
+ digitalDetail:{
+ Sketch: "草图",
+ Illustration: "插画",
+ Product: "产品",
+ EditorialVisual: "编辑视觉",
+ Back: "返回",
+ ReleaseIn: "发布于",
+ CopyrightLicenseNotice: "版权与许可声明",
+ LicenseIncludedInAsset: "资产包含许可",
+ LicenseIncludedInAssetInfo: "本平台所有产品均为数字资产,非实物商品。购买仅授予使用许可;版权及知识产权仍归原作者所有,除非另有说明。",
+ BuyNow: "立即购买",
+ AddToCart: "加入购物车"
+ },
+ addShoppingCart:{
+ title: "已添加到您的购物车",
+ statement: "仅限数字资产。不包含实体产品。",
+ button: "去购物车"
}
}
diff --git a/src/utils/tools.ts b/src/utils/tools.ts
index dab25f2..2ddd80c 100644
--- a/src/utils/tools.ts
+++ b/src/utils/tools.ts
@@ -210,4 +210,8 @@ export function FormatBytes(bytes, options: { decimals?: number, unitBig?: boole
const i = Math.floor(Math.log(bytes) / Math.log(k));
const value = bytes / Math.pow(k, i);
return `${Number(value.toFixed(decimals))} ${sizes[i]}`;
+}
+
+export const openAida = () => {
+ window.open('https://www.aida.com.hk/', '_blank')
}
\ No newline at end of file
diff --git a/src/views/brand/index.vue b/src/views/brand/index.vue
index 4f50ba0..52e233a 100644
--- a/src/views/brand/index.vue
+++ b/src/views/brand/index.vue
@@ -28,14 +28,19 @@ const searchHistory = ref([
])
let changeSearchBrandTime = null
+
const changeSearchBrand = () => {
- merchantList.value = []
+ if(!searchBrand.value)return
clearTimeout(changeSearchBrandTime)
- getDesignerList({
- keyword: searchBrand.value,
- }).then((res)=>{
- merchantList.value.push(...res)
- })
+ changeSearchBrandTime = setTimeout(()=>{
+ merchantList.value = []
+ getDesignerList({
+ keyword: searchBrand.value,
+ }).then((res)=>{
+ merchantList.value.push(...res)
+ })
+ },500)
+
// changeSearchBrandTime = setTimeout(()=>{
// getMerchantData.pageNum = 1
// getMerchantData.isShowMark = false
@@ -129,7 +134,7 @@ const {} = toRefs(data);
+
