新增活动

This commit is contained in:
X1627315083
2024-12-31 11:05:33 +08:00
parent a65477353f
commit b6d590e124
7 changed files with 134 additions and 12 deletions

View File

@@ -8,7 +8,11 @@
"id": 2,
"title":"AiDA X SFT AI Fashion Award 2024",
"imgUrl": "/image/events/Fashion-Award-2024.png"
}
},{
"id": 3,
"title":"✨New Year 2025🎉Let's kick off the year with a burst of inspiration and design!",
"imgUrl": "/image/events/AiDA2025-En.jpg"
}
],
"eventsItem":[
{
@@ -88,6 +92,53 @@
]
}
]
},{
"id":3,
"title":"✨New Year 2025🎉Let's kick off the year with a burst of inspiration and design!",
"imgUrl": "/image/events/AiDA2025-En.jpg",
"textList":[
{
"paragraph":[
{
"text":"Share your work and get 1 month of free access to AiDA"
}
]
},{
"paragraph":[
{
"text":" Just do the following:"
}
]
},{
"paragraph":[
{
"text":" ✅Share your designs on AiDA's Gallery "
},{
"text":" ✅Add the tag #NewYear_2025 in the work description"
},{
"text":" ✅At least 20 likes "
}
]
},{
"paragraph":[
{
"text":"📅 Duration: January 1, 2025 January 31, 2025"
}
]
},{
"paragraph":[
{
"text":"Join in the fun and embark on a new year's journey of design. Mix your creativity with tech to make amazing, unique creations! Get your friends to help you seize this opportunity! Invite them to give your design some love with their likes💗"
}
]
},{
"paragraph":[
{
"text":"👍 AiDA is waiting for you to unlock a new world of design!"
}
]
}
]
}
]
}

View File

@@ -8,7 +8,11 @@
"id": 2,
"title":"AiDA X SFT AI时尚设计比赛2024",
"imgUrl": "/image/events/Fashion-Award-2024.png"
}
},{
"id": 3,
"title":"🎉搭上2025的列车打开新设计的大门",
"imgUrl": "/image/events/AiDA2025-Cn.jpg"
}
],
"eventsItem":[
{
@@ -88,6 +92,53 @@
]
}
]
},{
"id":3,
"title":"🎉搭上2025的列车打开新设计的大门",
"imgUrl": "/image/events/AiDA2025-Cn.jpg",
"textList":[
{
"paragraph":[
{
"text":"快来发布作品获得1个月免费使用AiDA的福利"
}
]
},{
"paragraph":[
{
"text":" 只需要:"
}
]
},{
"paragraph":[
{
"text":" ✅在AiDA将设计作品分享至广场/Gallery"
},{
"text":" ✅点赞至少20"
},{
"text":" ✅在作品描述加上tag #NewYear_2025"
}
]
},{
"paragraph":[
{
"text":"📅 活动时间2025.1.1—2025.1.31"
}
]
},{
"paragraph":[
{
"text":"快来参与,让我们共同开启新年的设计之旅,让创意与科技完美融合,创造出属于你的独一无二的作品!机会难得,叫上你的朋友们助你一臂之力,为你点上大拇指哦!"
}
]
},{
"paragraph":[
{
"text":"👍 点赞即启程AiDA等你来解锁设计新世界"
}
]
}
]
}
]
}

View File

@@ -109,7 +109,10 @@ export default defineComponent({
})
let portfolio:any = inject('portfolio')
let setPortfolio:any = inject('setPortfolio')
let tagList = ref([{id:1,tagName:'#AiDAworkshop_2024',title:'The process is simple: use AiDA to post your design work on the "Gallery ", and the one with the most likes(at least 20 likes) will be invited to the AiDA Workshop offline event in Hong Kong on November 14th, to exchange ideas with the Royal College of Art (RCA), Jae Lim, co-founder of the renowned fashion brand BESFXXK, and outstanding designers! '}])
let tagList = ref([
// {id:1,tagName:'#AiDAworkshop_2024',title:'The process is simple: use AiDA to post your design work on the "Gallery ", and the one with the most likes(at least 20 likes) will be invited to the AiDA Workshop offline event in Hong Kong on November 14th, to exchange ideas with the Royal College of Art (RCA), Jae Lim, co-founder of the renowned fashion brand BESFXXK, and outstanding designers! '},
{id:1,tagName:'#NewYear_2025',title:"✨New Year 2025🎉Let's kick off the year with a burst of inspiration and design!"}
])
// let textarea: any = ref(null)
// let setCopy = ()=>{
// textarea.value.select()

View File

@@ -8,12 +8,12 @@
</div>
<div class="page_content" >
<div class="page_content_itemBox">
<div class="page_content_item" v-for="item in eventsList" :key="item.id" v-fadeIn="isScroll">
<div class="page_content_item_img" @click="openEventsDetail(item)">
<img :src="item.imgUrl" alt="">
<div class="page_content_item" v-for="item,index in eventsList" :key="eventsList[eventsList.length-1-index].id" v-fadeIn="isScroll">
<div class="page_content_item_img" @click="openEventsDetail(eventsList[eventsList.length-1-index])">
<img :src="eventsList[eventsList.length-1-index].imgUrl" alt="">
</div>
<div class="page_content_item_time">{{ item.time }}</div>
<div class="page_content_item_title" @click="openEventsDetail(item)">{{ item.title }}</div>
<div class="page_content_item_time">{{ eventsList[eventsList.length-1-index].time }}</div>
<div class="page_content_item_title" @click="openEventsDetail(eventsList[eventsList.length-1-index])">{{ eventsList[eventsList.length-1-index].title }}</div>
</div>
</div>
<div class="page_loading_box" v-show="!isNoData">

View File

@@ -230,11 +230,12 @@
</template>
<script lang="ts">
import { defineComponent,ref ,onMounted} from "vue";
import { defineComponent,ref ,createVNode} from "vue";
import { Https } from "@/tool/https";
import { isEmail } from "@/tool/util";
import { setCookie ,WriteCookie } from "@/tool/cookie";
import { message } from "ant-design-vue";
import { message,Modal } from "ant-design-vue";
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
import VerificationCodeInput from "@/component/LoginPage/verificationCodeInput.vue";
import { useStore } from "vuex";
import { useI18n } from "vue-i18n";
@@ -462,7 +463,7 @@ export default defineComponent({
userId:this.userId
};
Https.axiosPost(Https.httpUrls.accountLogin, data).then(
(rv: any) => {
async (rv: any) => {
if (rv) {
if(rv.systemUser == 4){
rv.systemUser = 1
@@ -489,7 +490,23 @@ export default defineComponent({
this.turnToHomePage('/Square');
}else{
if(window.innerWidth < 768){
message.info("If you need to design, please log in using an iPad or computer.",10);
await new Promise((resolve, reject) => {
Modal.confirm({
title: 'If you need to design, please use iPad or computer to log in. Or check whether the browser zoom ratio is 100%. For iPad, set the zoom ratio by setting - APP - browser - zoom ratio. For computer, press ctrl + mouse scroll to set the zoom ratio.',
icon: createVNode(ExclamationCircleOutlined),
okText: 'Yes',
cancelText: 'No',
mask:false,
centered:true,
onOk() {
resolve('')
},
onCancel(){
resolve('')
}
});
})
// message.info("If you need to design, please log in using an iPad or computer.",10);
this.turnToHomePage('/Square');
}else{
this.turnToHomePage('/home');