This commit is contained in:
X1627315083
2024-06-20 10:36:45 +08:00
parent 814dd1205c
commit dc93403506
28 changed files with 1506 additions and 394 deletions

View File

@@ -1,5 +1,4 @@
<template>
<keep-alive>
<div v-if="showCollectionModal">
<a-modal class="modal_component collection_modal Guide_1_2"
v-model:visible="showCollectionModal"
@@ -56,7 +55,6 @@
</div>
</a-modal>
</div>
</keep-alive>
</template>
<script lang="ts">
import { defineComponent ,createVNode, ref,onUnmounted , computed,provide } from 'vue'
@@ -101,6 +99,8 @@ export default defineComponent({
let collectionStep=ref(1)
provide('driver__',driver__)
let isShowMark = ref(false)
let styleRecommend = ref([])
provide('styleRecommend',styleRecommend)
onUnmounted(()=>{
let data = {
showCollectionModal:showCollectionModal.value,
@@ -116,6 +116,7 @@ export default defineComponent({
position,
showCollectionModal,
collectionStep,
styleRecommend,
}
},
@@ -203,6 +204,7 @@ export default defineComponent({
_this.showCollectionModal = false
_this.store.commit('clearAllData')
_this.collectionStep = 1
_this.styleRecommend = []
}
});
},
@@ -285,9 +287,12 @@ export default defineComponent({
},
//完成
async finishCollection(){
console.log(123123);
this.isShowMark = true
let sketchList = this.store.state.UploadFilesModule.sketchboard
let arr:any = []
console.log(sketchList);
sketchList.forEach((item:any) => {
let obj = {
designType:item.resData.designType,
@@ -302,6 +307,7 @@ export default defineComponent({
this.isShowMark = false
return
}
let elList = document.querySelectorAll('.img_block_item_sketch img')
Https.axiosPost(Https.httpUrls.sketchBoardsBoundingBox, data)
.then((rv: any) => {