Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite
This commit is contained in:
@@ -1734,7 +1734,7 @@ export default {
|
||||
step3Info: '详情信息已从AiDA自动填充,请检查并补充任何缺失的信息。',
|
||||
step4Title: '上架发布',
|
||||
step4Info: '发布后,你的设计将立即在市场上线。',
|
||||
showAgain: '不再提示',
|
||||
showAgain: '7天内不再提示',
|
||||
GetStarted: '开始体验',
|
||||
},
|
||||
SellerListEdit: {
|
||||
|
||||
@@ -1785,7 +1785,7 @@ export default {
|
||||
step3Info: 'Details are pre-filled from AiDA. Review and complete any missing information.',
|
||||
step4Title: 'Listing Live',
|
||||
step4Info: 'Publish and your design goes live on the marketplace.',
|
||||
showAgain: 'Don’t show me again',
|
||||
showAgain: 'Don’t show this again for 7 days',
|
||||
GetStarted: 'Get Started',
|
||||
},
|
||||
SellerListEdit:{
|
||||
|
||||
@@ -55,6 +55,7 @@ defineExpose({getCreateList})
|
||||
</script>
|
||||
<template>
|
||||
<div class="historyList">
|
||||
<div class="listBox">
|
||||
<div class="list">
|
||||
<div v-for="(item,index) in list" :key="index" class="item" @click="selectCollectionItem(item)">
|
||||
<div class="imgList">
|
||||
@@ -77,6 +78,7 @@ defineExpose({getCreateList})
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pagination">
|
||||
<a-pagination v-model:current="page" @change="getCreateList" :pageSize="6" :showSizeChanger="false" show-quick-jumper :total="total" show-less-items />
|
||||
</div>
|
||||
@@ -94,15 +96,18 @@ defineExpose({getCreateList})
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 3rem;
|
||||
> .list{
|
||||
> .listBox{
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
&::-webkit-scrollbar{
|
||||
display: none;
|
||||
}
|
||||
> .list{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
row-gap: 2.4rem; /* 垂直间距 3px */
|
||||
column-gap: 3.2rem; /* 横向间距 2px */
|
||||
align-content: start;
|
||||
overflow-y: auto;
|
||||
&::-webkit-scrollbar{
|
||||
display: none;
|
||||
}
|
||||
@@ -193,6 +198,8 @@ defineExpose({getCreateList})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .pagination{
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import { useRouter } from "vue-router"
|
||||
//])
|
||||
const router = useRouter()
|
||||
let getCollectionListData = reactive({
|
||||
process: [],
|
||||
process: ['SERIES_DESIGN','SINGLE_DESIGN'],
|
||||
projectName: '',
|
||||
|
||||
})
|
||||
@@ -21,11 +21,7 @@ const handleSearch = () => {
|
||||
historyListRef.value.getCreateList()
|
||||
}
|
||||
const setProcess = (type:any) => {
|
||||
if(type){
|
||||
getCollectionListData.process = [type]
|
||||
}else{
|
||||
getCollectionListData.process = []
|
||||
}
|
||||
getCollectionListData.process = type
|
||||
historyListRef.value.getCreateList()
|
||||
}
|
||||
const selectCollectionItem = (item:any) => {
|
||||
@@ -44,9 +40,9 @@ defineExpose({})
|
||||
<div class="content">
|
||||
<div class="title">
|
||||
<div class="left">
|
||||
<div :class="{active:!getCollectionListData.process?.[0]}" @click="setProcess('')">{{$t('Seller.All')}}</div>
|
||||
<div :class="{active:getCollectionListData.process[0] == 'SERIES_DESIGN'}" @click="setProcess('SERIES_DESIGN')">{{$t('Seller.SeriesDesign')}}</div>
|
||||
<div :class="{active:getCollectionListData.process[0] == 'SINGLE_DESIGN'}" @click="setProcess('SINGLE_DESIGN')">{{$t('Seller.SingleDesign')}}</div>
|
||||
<div :class="{active:getCollectionListData.process?.includes('SERIES_DESIGN') && getCollectionListData.process?.includes('SINGLE_DESIGN')}" @click="setProcess(['SERIES_DESIGN','SINGLE_DESIGN'])">{{$t('Seller.All')}}</div>
|
||||
<div :class="{active:getCollectionListData.process[0] == 'SERIES_DESIGN' && getCollectionListData.process.length == 1}" @click="setProcess(['SERIES_DESIGN'])">{{$t('Seller.SeriesDesign')}}</div>
|
||||
<div :class="{active:getCollectionListData.process[0] == 'SINGLE_DESIGN' && getCollectionListData.process.length == 1}" @click="setProcess(['SINGLE_DESIGN'])">{{$t('Seller.SingleDesign')}}</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="search_input flex flex-align-center">
|
||||
|
||||
Reference in New Issue
Block a user