2023-11-24
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<div>
|
||||
<!-- designDetailShow -->
|
||||
<a-modal class="design_detail_modal_component Guide_1_18"
|
||||
:class="[driver__.driver?'hideEvents':'']"
|
||||
v-model:visible="designDetailShow"
|
||||
:footer="null"
|
||||
width="65%"
|
||||
@@ -26,18 +25,18 @@
|
||||
<div class="detail_modal_body_img">
|
||||
<!-- <img class="detial_img" :src="designItemDetail.designItemUrl"> -->
|
||||
|
||||
<div v-show="imgDesignImg" class="detail_modal_body Guide_1_19" :class="[driver__.driver?'hideEvents':'']">
|
||||
<div v-show="imgDesignImg" class="detail_modal_body">
|
||||
<div class="detail_modal_body_nav">
|
||||
<div v-for="item,index in designItemDetail?.clothes" :class="{active:item.clothesOpen}" @click="clothesOpen(index)">
|
||||
<img :src="item?.path" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="detail_modal_model_content">
|
||||
<div class="detail_modal_item_back Guide_" :class="{active:body}" v-for="item,index in frontBack.back" :style="item.style">
|
||||
<div class="detail_modal_item_back" :class="{active:body}" v-for="item,index in frontBack.back" :style="item.style">
|
||||
<img :src="item.imageUrl" alt="">
|
||||
</div>
|
||||
<img class="detail_modal_model" :src="frontBack.body?.layersObject[0]?.imageUrl" alt="">
|
||||
<div class="detail_modal_item_front Guide_" :class="{active:body}" v-for="item,index in frontBack.front" :style="item.style" @click.stop="clothesDetail(item,index)">
|
||||
<div class="detail_modal_item_front Guide_1_19" :class="{active:body}" v-for="item,index in frontBack.front" :style="item.style" @click.stop="clothesDetail(item,index)">
|
||||
<img :src="item.imageUrl" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -418,6 +418,7 @@ export default defineComponent({
|
||||
|
||||
},
|
||||
putWorkspace(data:any,index:any){//修改workspace
|
||||
data.workSpaceName = this.workspaceItemName
|
||||
Https.axiosPost(Https.httpUrls.workspacesaveOrUpdate,data).then((rv: any) => {
|
||||
if (rv) {
|
||||
if(index){
|
||||
@@ -425,8 +426,14 @@ export default defineComponent({
|
||||
}else{
|
||||
this.getworkspace()
|
||||
}
|
||||
this.workspace.workspaceList[index].workSpaceName = this.workspaceItemName
|
||||
this.workspace.workspaceList[index].putName = false
|
||||
this.openType.addWorkspace = false
|
||||
console.log(123);
|
||||
|
||||
}
|
||||
}).catch((res)=>{
|
||||
console.log(321);
|
||||
});
|
||||
},
|
||||
deleteWorkspace(data:any){
|
||||
@@ -491,7 +498,6 @@ export default defineComponent({
|
||||
workSpaceName:this.workspaceItemName,
|
||||
}
|
||||
this.putWorkspace(data,'')
|
||||
this.openType.addWorkspace = false
|
||||
}else{
|
||||
let data:any
|
||||
this.workspace.workspaceList.forEach((item:any)=>{
|
||||
@@ -499,10 +505,8 @@ export default defineComponent({
|
||||
data = item
|
||||
}
|
||||
})
|
||||
data.workSpaceName = this.workspaceItemName
|
||||
this.putWorkspace(data,'')
|
||||
this.workspace.workspaceList[index].workSpaceName = this.workspaceItemName
|
||||
this.workspace.workspaceList[index].putName = false
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user