footer collectionstory语言适配
This commit is contained in:
@@ -29,11 +29,11 @@ const searchHistory = ref([
|
||||
|
||||
let changeSearchBrandTime = null
|
||||
const changeSearchBrand = () => {
|
||||
merchantList.value = []
|
||||
clearTimeout(changeSearchBrandTime)
|
||||
getDesignerList({
|
||||
keyword: searchBrand.value,
|
||||
}).then((res)=>{
|
||||
merchantList.value = []
|
||||
merchantList.value.push(...res)
|
||||
})
|
||||
// changeSearchBrandTime = setTimeout(()=>{
|
||||
@@ -103,6 +103,11 @@ const viewProfile = (item) => {
|
||||
})
|
||||
}
|
||||
|
||||
const setSearchHistory = (item) => {
|
||||
searchBrand.value = item
|
||||
changeSearchBrand()
|
||||
}
|
||||
|
||||
onMounted(()=>{
|
||||
const value = localStorage.getItem('brandSearchHistory');
|
||||
if(value)searchHistory.value = JSON.parse(value)
|
||||
@@ -113,7 +118,7 @@ defineExpose({})
|
||||
const {} = toRefs(data);
|
||||
</script>
|
||||
<template>
|
||||
<div class="brand">
|
||||
<div class="brand">
|
||||
<div class="header-img" :class="{'active': searchBrand.length > 0}">
|
||||
<img src="@/assets/images/brand/brandBg.png" alt="">
|
||||
<div class="text-box">
|
||||
@@ -129,7 +134,7 @@ const {} = toRefs(data);
|
||||
</div>
|
||||
</div>
|
||||
<div class="merchantList" v-if="searchBrand.length > 0">
|
||||
<brand-item v-for="item in merchantList" :key="item.name" :item="item" @viewProfile="viewProfile"></brand-item>
|
||||
<brand-item v-for="item in merchantList" :key="item.sellerId" :item="item" @viewProfile="viewProfile"></brand-item>
|
||||
<div class="end" v-show="!getMerchantData.isNoData && !getMerchantData.isShowMark">- The End-</div>
|
||||
<!-- <div v-show="!getMerchantData.isNoData" class="material_content_list_loding">
|
||||
<span class="page_loading" v-show="!getMerchantData.isShowMark" v-observe="getBrandList"></span>
|
||||
@@ -153,7 +158,7 @@ const {} = toRefs(data);
|
||||
<span>Searching History</span>
|
||||
</div>
|
||||
<div class="history">
|
||||
<div v-for="item in searchHistory" :key="item" @click.stop="searchBrand = item" class="item">
|
||||
<div v-for="item in searchHistory" :key="item" @click.stop="setSearchHistory(item)" class="item">
|
||||
<span>{{item}}</span>
|
||||
<div class="icon" @click.stop="deleteHistory(item)">
|
||||
<SvgIcon name="brand-delete" size="18" />
|
||||
@@ -287,7 +292,7 @@ const {} = toRefs(data);
|
||||
.end{
|
||||
font-family: 'KaiseiOpti-Regular';
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 140%;
|
||||
height: 7rem;
|
||||
display: flex;
|
||||
|
||||
@@ -15,17 +15,17 @@ const {} = toRefs(data);
|
||||
</script>
|
||||
<template>
|
||||
<div class="joinUs">
|
||||
<div class="title">Join Our Designer Community</div>
|
||||
<div class="title">{{ $t('collectionStory.joinUs.title') }}</div>
|
||||
<div class="info">
|
||||
<div>
|
||||
Join our community of visionaries and publish your collection story.
|
||||
{{ $t('collectionStory.joinUs.info') }}
|
||||
</div>
|
||||
<div>
|
||||
We are currently seeking collections that deeply integrate the AiDA creative workflow, specifically those that resonate through powerful core concepts and evocative inspiration.
|
||||
{{ $t('collectionStory.joinUs.info2') }}
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
This architecture is designed to elevate your exposure through profound "propositional expression," ensuring that soulful, story-driven designs achieve higher market premiums and superior sales conversion.
|
||||
{{ $t('collectionStory.joinUs.info3') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -24,19 +24,21 @@ const {} = toRefs(data);
|
||||
<img class="banner" src="@/assets/images/collectionStory/collection_story_banner.png" alt="">
|
||||
<div class="back">
|
||||
<SvgIcon name="collectionStory-back" size="20" />
|
||||
<div class="text">Back to Home</div>
|
||||
<div class="text">{{ $t('collectionStory.back') }}</div>
|
||||
</div>
|
||||
<div class="title-content">
|
||||
<div class="title-box">
|
||||
<div class="title">
|
||||
We’re Seeking
|
||||
{{ $t('collectionStory.title') }}
|
||||
</div>
|
||||
<div class="info">
|
||||
Fashion Voice Worth Featuring.
|
||||
{{ $t('collectionStory.description') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="button">
|
||||
<a href="mailto:info@code-create.com.hk">Contact Us if Interested</a>
|
||||
<a href="mailto:info@code-create.com.hk">
|
||||
{{ $t('collectionStory.button') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -222,7 +222,7 @@ defineExpose({})
|
||||
> .left{
|
||||
border-right: 0.5px solid #C4C4C4;
|
||||
.imgBox{
|
||||
padding: 0 30px;
|
||||
padding: 0 3rem;
|
||||
}
|
||||
}
|
||||
> .right{
|
||||
|
||||
Reference in New Issue
Block a user