2023-11-24

This commit is contained in:
X1627315083
2023-11-24 17:32:57 +08:00
parent e908818d8d
commit 28a0480bca
25 changed files with 42 additions and 45 deletions

View File

@@ -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>

View File

@@ -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
}
}

View File

@@ -294,7 +294,7 @@ export default defineComponent({
// bottom: 2.5rem;
right: 2.5rem;
// right: 5rem;
z-index: 9999;
z-index: 10003;
// width: 400px;
.robot_top{
// width: 25rem;