From 033950babec04392c6910beef936c11e279d6435 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Tue, 20 Jan 2026 15:29:04 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=B0=E8=8A=B1?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=EF=BC=8C=E5=88=87=E6=8D=A2=E7=BA=BF=E7=A8=BF?= =?UTF-8?q?=E5=9B=BE=E5=8D=B0=E8=8A=B1=E5=82=A8=E5=AD=98=E6=9C=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/Detail/DesignDetail.vue | 4 ++-- src/component/Detail/canvas/index.vue | 2 ++ .../Detail/detailRight/editPrintElement.vue | 14 +++++------ src/store/Detail/designDetail.ts | 24 +++++++++++-------- 4 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/component/Detail/DesignDetail.vue b/src/component/Detail/DesignDetail.vue index f7afaf1b..c240ac61 100644 --- a/src/component/Detail/DesignDetail.vue +++ b/src/component/Detail/DesignDetail.vue @@ -101,7 +101,7 @@
- +
- +
@@ -207,7 +207,6 @@ export default defineComponent({ elList:[] as any, selectIndex:0, }) - watch const setOveralSingle = async ()=>{ await setItemPosition() @@ -263,7 +262,7 @@ export default defineComponent({ setItemPosition() store.commit('DesignDetail/setCurrentPrintElement',null) } - const previewDetailPrintData = ()=>{ + const previewDetailPrintData = (id:any = editPrintElementData.selectDetail?.id)=>{ let data:any = [] let index = 1 let setData = (item:any,index:number)=>{ @@ -310,7 +309,8 @@ export default defineComponent({ }) let value = { data, - str:props.type + str:props.type, + id:id, } store.commit('DesignDetail/setNewDetail',value) } @@ -453,9 +453,10 @@ export default defineComponent({ addPrintELement(newVal) } }) - watch(()=>((editPrintElementData.selectDetail?.id)),(newVal)=>{ + watch(()=>((editPrintElementData.selectDetail?.id)),(newVal,oldVal)=>{ if(!newVal)return - editPrintElementData.isSketchLoad = false, + if(oldVal)previewDetailPrintData(oldVal) + editPrintElementData.isSketchLoad = false editPrintElementData.printStyleList[props.type] = { single:[], overall:[], @@ -920,7 +921,6 @@ export default defineComponent({ } const inputFillScale = (scale:any)=>{ let arr = editPrintElementData.printStyleList[props.type].overall - console.log(arr,scale,editPrintElementData.imgDomIndex) arr[editPrintElementData.imgDomIndex].scale = [scale,scale] editPrintElementDom.pingpuRef.updataList([ { diff --git a/src/store/Detail/designDetail.ts b/src/store/Detail/designDetail.ts index 90c1f70c..f667dc7e 100644 --- a/src/store/Detail/designDetail.ts +++ b/src/store/Detail/designDetail.ts @@ -125,28 +125,32 @@ const DesignDetail : Module = { // if(item.id == state.selectDetail.id){ // } // }); + let select = state.selectDetail + if(value.id){ + select = state.designDetail.clothes.find((item:any) => item.id == value.id) + } let {data} = value let str = value.str || state.currentDetailType - if(!state.selectDetail)return - if(!state.selectDetail.newDetail){ - state.selectDetail.newDetail = {} + if(!select)return + if(!select.newDetail){ + select.newDetail = {} } if(str == 'sketch'){ - state.selectDetail.newDetail[str] = data + select.newDetail[str] = data }else if(str == 'color'){ - state.selectDetail.newDetail[str] = data + select.newDetail[str] = data }else if(str == 'print'){ - state.selectDetail.newDetail[str] = data + select.newDetail[str] = data }else if(str == 'element'){ - state.selectDetail.newDetail[str] = data + select.newDetail[str] = data }else if(str == 'models'){ // if(!state.designDetail.newModel)state.designDetail.newModel={} state.designDetail.newModel = JSON.parse(JSON.stringify(data)) }else{ - if(!state.selectDetail.newDetail[str])state.selectDetail.newDetail[str] = [] - const foundObjects = state.selectDetail.newDetail[str].filter((item:any) => item.id === data.id); + if(!select.newDetail[str])select.newDetail[str] = [] + const foundObjects = select.newDetail[str].filter((item:any) => item.id === data.id); if(foundObjects.length == 0){ - state.selectDetail.newDetail[str].push(data) + select.newDetail[str].push(data) } } }, From 008e14ec570a1c15d2f935f56211ec7166235485 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Tue, 20 Jan 2026 15:31:06 +0800 Subject: [PATCH 2/5] ifx --- src/component/Detail/detailRight/editPrintElement.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/Detail/detailRight/editPrintElement.vue b/src/component/Detail/detailRight/editPrintElement.vue index 4af59850..5da86c46 100644 --- a/src/component/Detail/detailRight/editPrintElement.vue +++ b/src/component/Detail/detailRight/editPrintElement.vue @@ -53,6 +53,7 @@ --> From 36923615513c7b4daeb55ea8cb9706cdc670c85c Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Tue, 20 Jan 2026 15:40:36 +0800 Subject: [PATCH 3/5] fix --- src/views/AwardPage/apply.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/AwardPage/apply.vue b/src/views/AwardPage/apply.vue index 9783f3b2..36a7998d 100644 --- a/src/views/AwardPage/apply.vue +++ b/src/views/AwardPage/apply.vue @@ -312,7 +312,7 @@ import type { Rule } from 'ant-design-vue/es/form' import { message } from 'ant-design-vue' import type { UploadChangeParam } from 'ant-design-vue' - import VerifycationCodeInput from './components/verificationCodeInput.vue' + import VerifycationCodeInput from './components/VerificationCodeInput.vue' import { Https } from '@/tool/https' import UploadStatus from './components/UploadStatus.vue' From aa193f08cb031e0adba97f3342c2ee740f5ff5e7 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Tue, 20 Jan 2026 15:42:17 +0800 Subject: [PATCH 4/5] =?UTF-8?q?style:=20=E9=A1=B5=E9=9D=A2=E5=8A=A8?= =?UTF-8?q?=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AwardPage/components/ApplySection.vue | 209 ++++++++ .../AwardPage/components/JudgesSection.vue | 227 +++++++++ .../AwardPage/components/PrizesSection.vue | 234 +++++++++ .../AwardPage/components/SelectionSection.vue | 173 +++++++ src/views/AwardPage/index.vue | 469 +----------------- 5 files changed, 851 insertions(+), 461 deletions(-) create mode 100644 src/views/AwardPage/components/ApplySection.vue create mode 100644 src/views/AwardPage/components/JudgesSection.vue create mode 100644 src/views/AwardPage/components/PrizesSection.vue create mode 100644 src/views/AwardPage/components/SelectionSection.vue diff --git a/src/views/AwardPage/components/ApplySection.vue b/src/views/AwardPage/components/ApplySection.vue new file mode 100644 index 00000000..ba40b94c --- /dev/null +++ b/src/views/AwardPage/components/ApplySection.vue @@ -0,0 +1,209 @@ + + + + + diff --git a/src/views/AwardPage/components/JudgesSection.vue b/src/views/AwardPage/components/JudgesSection.vue new file mode 100644 index 00000000..a0db9a18 --- /dev/null +++ b/src/views/AwardPage/components/JudgesSection.vue @@ -0,0 +1,227 @@ + + + + + diff --git a/src/views/AwardPage/components/PrizesSection.vue b/src/views/AwardPage/components/PrizesSection.vue new file mode 100644 index 00000000..f8823289 --- /dev/null +++ b/src/views/AwardPage/components/PrizesSection.vue @@ -0,0 +1,234 @@ + + + + + diff --git a/src/views/AwardPage/components/SelectionSection.vue b/src/views/AwardPage/components/SelectionSection.vue new file mode 100644 index 00000000..82a314bb --- /dev/null +++ b/src/views/AwardPage/components/SelectionSection.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/src/views/AwardPage/index.vue b/src/views/AwardPage/index.vue index 0abb68a5..3a04df79 100644 --- a/src/views/AwardPage/index.vue +++ b/src/views/AwardPage/index.vue @@ -114,142 +114,20 @@ -
-
Panel of Judges
- -
Expertise
-
-
- -
{{ item.name }}
-
{{ item.desc }}
-
-
-
-
-
-
Award & Prizes
- -
Recongnition
-
-
-
-
{{ item.money }}
-
{{ item.name }}
-
-
- {{ el }} -
-
-
-
-
-
-
How to Apply
-
Requirments
-
-
-
-
- -
{{ item.type }}
-
-
- {{ el }} -
-
-
-
-
-
-
- -
{{ rightRequirment.type }}
-
-
- {{ el }} -
-
-
-
-
-
-
-
Selection Criteria
- -
Evaluation
-
-
- -
{{ item.name }}
-
{{ item.desc }}
-
-
-
+ + + +