This commit is contained in:
X1627315083
2023-12-22 17:33:53 +08:00
parent 15d0b78a0f
commit 66a104c74f
4 changed files with 30 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -661,6 +661,10 @@ export default defineComponent({
item.categoryShow = false; item.categoryShow = false;
} }
this.setSketchLibrary(file) this.setSketchLibrary(file)
let DesignDetailEnd = this.$refs.DesignDetailEnd
if(DesignDetailEnd.sketchImg.id == file.id){
this.selectImgItem(file)
}
}, },
hiddenFileCategory() { hiddenFileCategory() {
for (let item of this.clothesList) { for (let item of this.clothesList) {

View File

@@ -57,7 +57,7 @@
</div> </div>
</div> </div>
<div class="result_apparel_print_img"> <div class="result_apparel_print_img">
<img v-show="type_==1" class="result_appare_img" :src="sketchImg?.id_?sketchImg?.path:current?.path" :title="current?.type"> <img v-show="type_==1" class="result_appare_img" :src="sketchImg?.path?sketchImg?.path:current?.path" :title="current?.type">
<!-- <img v-show="type_==2" class="result_print_img" :src="current?.path" :title="current?.type" @click="setPrint"> --> <!-- <img v-show="type_==2" class="result_print_img" :src="current?.path" :title="current?.type" @click="setPrint"> -->
<div v-show="type_==2" class="result_print_img" @click="setPrint" :title="current?.type"> <div v-show="type_==2" class="result_print_img" @click="setPrint" :title="current?.type">
<img v-for="item in current.layersObject" :src="item.imageUrl" alt=""> <img v-for="item in current.layersObject" :src="item.imageUrl" alt="">
@@ -173,6 +173,7 @@ export default defineComponent({
//模型 //模型
setSketchImg(v){ setSketchImg(v){
this.sketchImg.id_ = v.id this.sketchImg.id_ = v.id
this.sketchImg.id = v.id
this.sketchImg.path = v.url this.sketchImg.path = v.url
this.sketchImg.minIOPath = v.minIOPath this.sketchImg.minIOPath = v.minIOPath
this.sketchImg.type = v.level2Type this.sketchImg.type = v.level2Type
@@ -250,7 +251,7 @@ export default defineComponent({
}, },
soleId(arr,index){ soleId(arr,index){
let randomNum = Math.floor(100 + Math.random() * 900); let randomNum = Math.floor(100 + Math.random() * 900);
arr[index].id = this.sketchImg.id_? Number(this.sketchImg.id_+(randomNum+"")):this.current.id_ arr[index].id = this.sketchImg.id_? Number(this.sketchImg.id_+(randomNum+"")):this.current.id
if(this.hasDuplicateId(arr)){ if(this.hasDuplicateId(arr)){
this.soleId(arr,index) this.soleId(arr,index)
}else{ }else{
@@ -285,6 +286,7 @@ export default defineComponent({
data.designSingleItemDTOList[index].scale = 1 data.designSingleItemDTOList[index].scale = 1
} }
data.designSingleItemDTOList = this.soleId(data.designSingleItemDTOList,index) data.designSingleItemDTOList = this.soleId(data.designSingleItemDTOList,index)
console.log(this.sketchImg);
this.sketchImg.id_ = data.designSingleItemDTOList[index].id this.sketchImg.id_ = data.designSingleItemDTOList[index].id
data.designSingleItemDTOList[index].path =this.sketchImg.minIOPath? this.sketchImg.minIOPath: this.current.minIOPath data.designSingleItemDTOList[index].path =this.sketchImg.minIOPath? this.sketchImg.minIOPath: this.current.minIOPath
data.designSingleItemDTOList[index].type =this.sketchImg.type? this.sketchImg.type: this.current.type data.designSingleItemDTOList[index].type =this.sketchImg.type? this.sketchImg.type: this.current.type
@@ -299,7 +301,7 @@ export default defineComponent({
let color = `${this.$parent.selectColor.rgba.r} ${this.$parent.selectColor.rgba.g} ${this.$parent.selectColor.rgba.b}` let color = `${this.$parent.selectColor.rgba.r} ${this.$parent.selectColor.rgba.g} ${this.$parent.selectColor.rgba.b}`
data.designSingleItemDTOList[index].color = color data.designSingleItemDTOList[index].color = color
} }
console.log(data);
data.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone data.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone
this.loadingShow = true this.loadingShow = true
Https.axiosPost(Https.httpUrls.designSingle, data).then( Https.axiosPost(Https.httpUrls.designSingle, data).then(

View File

@@ -3,7 +3,7 @@
<div class="page_content"> <div class="page_content">
<img <img
class="page_content_bg" class="page_content_bg"
src="@/assets/images/homePage/bg.png" src="@/assets/images/homePage/bg1.jpg"
/> />
<div class="page_content_body"> <div class="page_content_body">
<HeaderComponent></HeaderComponent> <HeaderComponent></HeaderComponent>
@@ -136,7 +136,7 @@ export default defineComponent({
title: 'Email', title: 'Email',
align: "center", align: "center",
ellipsis: true, ellipsis: true,
width: 200, width: 170,
dataIndex: "email", dataIndex: "email",
key: "email", key: "email",
}, },
@@ -158,7 +158,7 @@ export default defineComponent({
title: 'State', title: 'State',
align: "center", align: "center",
ellipsis: true, ellipsis: true,
width: 100, width: 150,
dataIndex: "status", dataIndex: "status",
key: "status", key: "status",
customRender: (record: any) => { customRender: (record: any) => {
@@ -177,7 +177,7 @@ export default defineComponent({
title: 'Address', title: 'Address',
align: "center", align: "center",
ellipsis: true, ellipsis: true,
width: 100, width: 150,
dataIndex: "country", dataIndex: "country",
key: "country", key: "country",
}, },
@@ -185,7 +185,7 @@ export default defineComponent({
title: 'Surname', title: 'Surname',
align: "center", align: "center",
ellipsis: true, ellipsis: true,
width: 100, width: 150,
dataIndex: "surname", dataIndex: "surname",
key: "surname", key: "surname",
}, },
@@ -202,7 +202,7 @@ export default defineComponent({
key: "operation", key: "operation",
align: "center", align: "center",
fixed: "right", fixed: "right",
width: 150, width: 200,
// slots:{customRender:'action'} // slots:{customRender:'action'}
Operations: true, Operations: true,
}, },
@@ -391,7 +391,6 @@ export default defineComponent({
position: relative; position: relative;
.page_content { .page_content {
position: relative; position: relative;
.page_content_bg { .page_content_bg {
position: absolute; position: absolute;
width: 100%; width: 100%;
@@ -413,6 +412,7 @@ export default defineComponent({
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 5rem; margin-top: 5rem;
color: #fff;
.range_picker { .range_picker {
width: 36rem; width: 36rem;
height: 4.8rem; height: 4.8rem;
@@ -450,7 +450,6 @@ export default defineComponent({
border: 0.1rem solid #f1f1f1; border: 0.1rem solid #f1f1f1;
font-size: 1.6rem; font-size: 1.6rem;
font-weight: 400; font-weight: 400;
&::placeholder { &::placeholder {
color: #c2c2c2; color: #c2c2c2;
} }
@@ -492,9 +491,11 @@ export default defineComponent({
transform: translateY(6rem); transform: translateY(6rem);
z-index: 2; z-index: 2;
display: none; display: none;
margin-left: -2rem;
.username{ .username{
padding: 0 2rem; padding: 0 2rem;
background: #fff; background: #ffffff;
color: #000;
} }
.username:hover{ .username:hover{
background: #e1e1e1; background: #e1e1e1;
@@ -510,9 +511,12 @@ export default defineComponent({
margin-top: 2.6rem; margin-top: 2.6rem;
width: 100%; width: 100%;
height: calc(100% - 13.7rem); height: calc(100% - 13.7rem);
background: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.3);
padding-bottom: 3rem; padding-bottom: 3rem;
border-radius: 2rem;
backdrop-filter: blur(3rem);
overflow: hidden;
box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.38);
.ant-table { .ant-table {
background: transparent; background: transparent;
} }
@@ -526,19 +530,22 @@ export default defineComponent({
width: 0 !important; width: 0 !important;
} }
} }
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
background: #ffffff; background: #ffffff00;
color: #fff;
border-bottom: none;
backdrop-filter: blur(1rem);
} }
.ant-table-tbody > tr > td { .ant-table-tbody > tr > td {
border: none; border: none;
background: transparent; background: transparent;
// color: #fff;
} }
.ant-table-tbody > tr { .ant-table-tbody > tr {
&:hover > td { &:hover > td {
background: #ffffff; background: #ffffff3a;
} }
} }