From 5c7782113c8036c7a9a71633716be4e45f9dba3c Mon Sep 17 00:00:00 2001
From: X1627315083 <1627315083@qq.com>
Date: Wed, 15 Jan 2025 11:23:23 +0800
Subject: [PATCH 28/71] =?UTF-8?q?=E4=BB=98=E6=AC=BE=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Transaction/TransactionTable.vue | 8 ++
src/component/HomePage/MoodboardUpload.vue | 2 +-
.../WorksPage/newScaleImageMobile.vue | 5 ++
src/tool/canvasGeneralCopy.js | 81 +++----------------
src/views/HomeView/HomeView.vue | 20 ++++-
5 files changed, 42 insertions(+), 74 deletions(-)
diff --git a/src/component/Administrator/Transaction/TransactionTable.vue b/src/component/Administrator/Transaction/TransactionTable.vue
index b171ad38..bdfc145d 100644
--- a/src/component/Administrator/Transaction/TransactionTable.vue
+++ b/src/component/Administrator/Transaction/TransactionTable.vue
@@ -268,6 +268,14 @@ export default defineComponent({
width:100,
fixed: "left",
sorter: true,
+ },
+ {
+ title: "Payer",
+ align: "center",
+ dataIndex: "payer",
+ key: "payer",
+ width:150,
+ ellipsis:true,
},
{
title: "Platform",
diff --git a/src/component/HomePage/MoodboardUpload.vue b/src/component/HomePage/MoodboardUpload.vue
index d26d6c68..b305f821 100644
--- a/src/component/HomePage/MoodboardUpload.vue
+++ b/src/component/HomePage/MoodboardUpload.vue
@@ -550,7 +550,6 @@ export default defineComponent({
display: flex;
flex-direction: column;
flex-shrink: 0;
- width: 50%;
// width: 50rem*1.2);
.switch_type_list {
display: flex;
@@ -640,6 +639,7 @@ export default defineComponent({
flex: 1;
margin-left: calc(3rem*1.2);
display: flex;
+ min-width: calc(57rem*1.2);
flex-direction: column;
overflow: hidden;
.modal_layout,.modal_accomplish{
diff --git a/src/component/WorksPage/newScaleImageMobile.vue b/src/component/WorksPage/newScaleImageMobile.vue
index 3cb5a231..46e1acd3 100644
--- a/src/component/WorksPage/newScaleImageMobile.vue
+++ b/src/component/WorksPage/newScaleImageMobile.vue
@@ -7,6 +7,7 @@
:footer="null"
:get-container="() => $refs.newScaleImageMobileModal"
width="100%"
+ height="70%"
:maskClosable="false"
:centered="true"
:closable="false"
@@ -630,6 +631,10 @@ export default defineComponent({
background: #39215b;
}
}
+.generalModel_closeIcon{
+ border-radius: 50%;
+ background: #949494;
+}
.newScaleImageMobile_modal {
box-shadow: none;
height: 100%;
diff --git a/src/tool/canvasGeneralCopy.js b/src/tool/canvasGeneralCopy.js
index e7f2215b..93c8e84c 100644
--- a/src/tool/canvasGeneralCopy.js
+++ b/src/tool/canvasGeneralCopy.js
@@ -401,7 +401,8 @@ class MyCanvas {
}
});
}
- if(str == 'dashed' || str == 'dashedPencil' || str != 'movePosition'){
+ if(str == 'dashed' || str == 'dashedPencil'){
+ // if(str == 'dashed' || str == 'dashedPencil' || str != 'movePosition'){
if(this.layer.selectLayer.group.custom.groupType == 'Grid')this.setGroupGrid('all')
this.clipPath = {
isImg:false,
@@ -474,7 +475,7 @@ class MyCanvas {
// }
this.dashed.state = false
}
- let dashedGroup = MyCanvas.canvas.getObjects().filter(obj => obj.custom.dashed)[0];
+ let dashedGroup = MyCanvas.canvas.getObjects().filter(obj => obj?.custom?.dashed)[0];
if(this.dashed.state && (this.operation == 'dashed' || this.operation == 'dashedPencil') && dashedGroup)return
if(!this.dashed.state && (this.operation == 'dashed' || this.operation == 'dashedPencil') && !event.target?.custom?.dashed && dashedGroup){
MyCanvas.canvas.remove(dashedGroup)
@@ -624,12 +625,13 @@ class MyCanvas {
});
MyCanvas.canvas.bringToFront(this.createPatterning.polyLineBtn);//设置优先级最高
}else if(this.operation){
+ console.log(23232);
this.createPatterning.state = false
MyCanvas.canvas.renderAll();
if(this.operation == 'dashed'){
await this.setDashed(this.createPatterning.current)
}else{
- this.addLayer({target:this.createPatterning.current})
+ this.addLayer({target:this.createPatterning?.current})
this.setOperation('movePosition')
}
this.clearPatterning()//临时图形置为空并且添加撤回对象里面
@@ -693,71 +695,9 @@ class MyCanvas {
dashed:true
}
})
+ console.log(223);
MyCanvas.canvas.add(group)
})
-
- // this.addLayer({target:obj})//更新参数
- // for (let index = 0; index < elements.length; index++) {
- // const item = elements[index];
- // await new Promise((resolve, reject) => {
- // if(this.isAddToLayer(item)){
- // item.clone((cloned)=>{
- // this.setClone(item,cloned)
- // if(item.custom?.layerId != -1){
- // temporar.add(cloned)
- // }
- // resolve()
- // })
- // }
- // })
- // }
- // const {left,height,top,width} = position
- // let scale = 1.2/MyCanvas.canvas.getZoom()<1?1.2:1.2/MyCanvas.canvas.getZoom()
- // let data = temporar.toDataURL({left,height:height+scale,top,width:width+scale});
- // let img = await this.createImage({minioUrl:data})
- // img.set({scaleX:1,scaleY:1})
- // MyCanvas.canvas.forEachObject((item) =>{
- // if(item.custom.isSelectable)return
- // if(!this.isAddToLayer(item))return
- // let imgScale = {
- // pX:(item.scaleX?item.scaleX:1),
- // pY:(item.scaleY?item.scaleY:1),
- // }
- // let scaleWH = item.width / (item.width * imgScale.pX)
- // let rect = new fabric.Rect({
- // left:left * scaleWH - item.left - item.width / 2,
- // top:top * scaleWH - item.top - item.height / 2,
- // width:width * scaleWH,
- // height:height * scaleWH,
- // })
- // let group
- // if(item.clipPath){
- // item.clipPath.clone(cloned =>{
- // group = cloned
- // })
- // }else{
- // group = new fabric.Group([],)
- // }
- // group.set({
- // width:item.width * imgScale.pX,
- // height:item.height * imgScale.pY,
- // left: -item.width * imgScale.pX / 2,
- // top: -item.height * imgScale.pY / 2,
- // inverted:true,
- // })
- // group.add(rect)
- // item.set({clipPath:group})
- // MyCanvas.canvas.renderAll(); // 请求重绘画布
- // })
- // img.set({
- // left:left,
- // top:top,
- // custom:{
- // layerId:this.layer.selectLayer.id,
- // },
- // // hasControls:false,
- // })
- // MyCanvas.canvas.add(img)
}
async setGridOrObject(id,str){
this.layer.list.forEach((item) => {
@@ -897,7 +837,6 @@ class MyCanvas {
async setLiquefactionImgObj(liquefaction,data){
if(liquefaction.type == 'upImgFiles'){
await new Promise((resolve, reject) => {
- console.log(liquefaction.img);
liquefaction.img.setSrc(data, (value)=>{
delete liquefaction.img.minioUrl
resolve()
@@ -1229,7 +1168,6 @@ class MyCanvas {
setMove(){
MyCanvas.canvas.isDrawingMode = false
MyCanvas.canvas.forEachObject((obj) =>{
- console.log(obj,this.isSelectable(obj));
if(this.isSelectable(obj)){
obj.selectable = true
}else{
@@ -1533,7 +1471,11 @@ class MyCanvas {
item.moveTo(index)
})
- if(!options?.target?.custom?.dashed && this.layer.selectLayer.group.custom.groupType == 'Grid')this.setGroupGrid('all')
+ if(!options?.target?.custom?.dashed && this.layer.selectLayer.group.custom.groupType == 'Grid'){
+ console.log(this.layer.selectLayer.group);
+ this.layer.selectLayer.group.add(options.target)
+ // this.setGroupGrid('all')
+ }
MyCanvas.canvas.renderAll();
@@ -1930,7 +1872,6 @@ class MyCanvas {
if(str == 'loadingCompleted'){
// this.reverseCanvasState.push(canvasAsJson);
}
- console.log(JSON.parse(canvasAsJson))
this.normalCanvasState.push({canvasAsJson,layerList,layerId});
if (this.isLoadCanvas) {
this.reverseCanvasState = []
diff --git a/src/views/HomeView/HomeView.vue b/src/views/HomeView/HomeView.vue
index 41a51f80..847ddae7 100644
--- a/src/views/HomeView/HomeView.vue
+++ b/src/views/HomeView/HomeView.vue
@@ -398,8 +398,8 @@ export default defineComponent({
let collItemDom = ref()
let domHidden = ref(JSON.parse(sessionStorage.getItem('domHidden') as any) || false);
let recycleDomHidden = ref(false);
- if(likeDesignCollectionList.value.length>0){
- JSON.parse(sessionStorage.getItem('recycleDomHidden') as any) || false
+ if(designCollectionList.value.length>0){
+ recycleDomHidden.value = JSON.parse(sessionStorage.getItem('recycleDomHidden') as any) || false
}
let getDesignTime = null as any;
const setSystemDesigner = (time:any)=>{
@@ -433,7 +433,19 @@ export default defineComponent({
})
},time)
}
-
+ const setDesignItemStyle = ()=>{
+ posiitonData.value.generateElList = []
+ let elArr = collItemDom.value.querySelectorAll('.content_img_GetWidth')
+ designCollectionList.value.forEach((item:any,index:any)=>{
+ posiitonData.value.generateElList.push({
+ el: elArr[index],
+ sort: designCollectionList.value.length - index - 1,
+ index: designCollectionList.value.length - index - 1,
+ userLikeSortId:item.designItemId
+ });
+ })
+
+ }
const setDeleteDesign = (index:any)=>{
store.commit("setDeleteDesignCollectionList",index);
@@ -629,6 +641,7 @@ export default defineComponent({
chooseIsDesign,
portfolio,
setSystemDesigner,
+ setDesignItemStyle,
showDesignMark,
...toRefs(collItemSize),
likeItemDom,
@@ -792,6 +805,7 @@ export default defineComponent({
// };
// designDetail.showDesignDetailModal(data);
this.setSystemDesigner(0)
+ this.setDesignItemStyle()
},
directives:{
mousewheel:{
From efc89902cd430259b06f5e2f2dc1459e04cd920b Mon Sep 17 00:00:00 2001
From: X1627315083 <1627315083@qq.com>
Date: Thu, 16 Jan 2025 09:47:28 +0800
Subject: [PATCH 29/71] fix
---
public/js/fabric.brushes.js | 6 ++--
src/component/HomePage/bindEmail.vue | 2 +-
src/store/userHabit/userHabit.ts | 5 ++++
src/tool/canvasGeneralCopy.js | 41 ++++++++++++++++++++++------
src/views/HomeView/HomeView.vue | 4 +++
5 files changed, 47 insertions(+), 11 deletions(-)
diff --git a/public/js/fabric.brushes.js b/public/js/fabric.brushes.js
index e6ecf90c..c5e63310 100644
--- a/public/js/fabric.brushes.js
+++ b/public/js/fabric.brushes.js
@@ -127,7 +127,6 @@ fabric.Point.prototype.normalize = function(thickness) {
* This makes the drawing editable, it can be moved, rotated, scaled, skewed etc.
*/
fabric.BaseBrush.prototype.convertToPath = function() {
- console.log(this.canvas.upperCanvasEl);
var pixelRatio = this.canvas.getRetinaScaling(),
c = fabric.util.copyCanvasElement(this.canvas.upperCanvasEl),
xy = fabric.util.trimCanvas(c),
@@ -147,13 +146,16 @@ fabric.BaseBrush.prototype.convertToPath = function() {
strokeWidth: this._width,
stroke: 'black',
fill:'transparent',
+ custom:{
+ dashed:true
+ },
}).setCoords();
let group = new fabric.Group([pathElemetn],{
left:((xy.x)/pixelRatio-pointerX)/this.canvas.getZoom(),
top:((xy.y)/pixelRatio-pointerY)/this.canvas.getZoom(),
custom:{
dashed:true
- }
+ },
})
this.canvas.add(group).clearContext(this.canvas.contextTop);
diff --git a/src/component/HomePage/bindEmail.vue b/src/component/HomePage/bindEmail.vue
index e2b231b5..548b3886 100644
--- a/src/component/HomePage/bindEmail.vue
+++ b/src/component/HomePage/bindEmail.vue
@@ -51,7 +51,7 @@
:class="{active:!!email && bindType != 'Modify'}"
placeholder="Enter your email address"
v-model="email"
- :disabled="!!email && bindType != 'Modify'"
+ :disabled="!!userDetail.email && bindType != 'Modify'"
@keydown.enter="submitPerLogin()"
/>
diff --git a/src/store/userHabit/userHabit.ts b/src/store/userHabit/userHabit.ts
index 57977168..739badf5 100644
--- a/src/store/userHabit/userHabit.ts
+++ b/src/store/userHabit/userHabit.ts
@@ -210,6 +210,8 @@ const userHabit : Module
= {
state.userDetail.occupation = data.occupation//头像
state.userDetail.usernameModify = data.usernameModify//当月剩余修改次数
state.userDetail.isBeginner = data.isBeginner == 1 ? true : false;//是否完成新手指引
+ console.log(data);
+
if(
(!data.email && state.userDetail.email == '-------------') ||
(!data.country && !state.userDetail.country) ||
@@ -345,7 +347,10 @@ const userHabit : Module = {
let getUserDetail = ()=>{
return new Promise((resolve,reject) => {
Https.axiosPost(Https.httpUrls.accountDetail).then((rv: any) => {
+ console.log(rv,'rv1');
if(rv){
+ console.log(rv,'rv');
+
context.commit('setUserDetail',rv)
}
resolve('')
diff --git a/src/tool/canvasGeneralCopy.js b/src/tool/canvasGeneralCopy.js
index 93c8e84c..b5a48c74 100644
--- a/src/tool/canvasGeneralCopy.js
+++ b/src/tool/canvasGeneralCopy.js
@@ -429,8 +429,7 @@ class MyCanvas {
getActiveObject &&
getActiveObject.custom.dashed &&
this.layer.selectLayer.group.custom?.groupType == 'Grid' &&
- this.operation == 'movePosition' &&
- getActiveObject._objects.length == 1
+ this.operation == 'movePosition'
){
this.setclipPathImg()
}
@@ -625,7 +624,6 @@ class MyCanvas {
});
MyCanvas.canvas.bringToFront(this.createPatterning.polyLineBtn);//设置优先级最高
}else if(this.operation){
- console.log(23232);
this.createPatterning.state = false
MyCanvas.canvas.renderAll();
if(this.operation == 'dashed'){
@@ -642,8 +640,7 @@ class MyCanvas {
async setclipPathImg(){//裁剪图片
if(!this.clipPath.clipGroup)return
this.clipPath.isImg = true
-
- let clipPathElement = this.clipPath.clipGroup._objects.filter(obj => obj.type != 'image')[0]
+ let clipPathElement = this.clipPath.clipGroup._objects.filter(obj => obj.custom)[0]
let imgBG = MyCanvas.canvas.getObjects().filter(obj => obj.custom.isSelectable && obj.type == 'rect')[0];
let position = {
left:this.clipPath.clipGroup?.left - (imgBG.left?imgBG.left:0),
@@ -1432,7 +1429,8 @@ class MyCanvas {
height: MyCanvas.canvas.height
}))
}
- addLayer(options){
+ async addLayer(options){
+ console.log(options);
if(this.createPatterning.state)return
this.clipPath.clipGroup = MyCanvas.canvas.getObjects().filter(obj => obj.custom?.dashed)?.[0];
if (options.target.type === 'group' && options.target.custom?.layerId) return;
@@ -1472,8 +1470,35 @@ class MyCanvas {
})
if(!options?.target?.custom?.dashed && this.layer.selectLayer.group.custom.groupType == 'Grid'){
- console.log(this.layer.selectLayer.group);
- this.layer.selectLayer.group.add(options.target)
+ await new Promise((resolve, reject) => {
+ let clipPathElement = this.clipPath.clipGroup._objects.filter(obj => obj.custom)[0]
+ let clipPathLect = this.clipPath.clipGroup.left
+ let clipPathTop = this.clipPath.clipGroup.top
+
+ clipPathElement.clone((clipPathElementCloned)=>{
+ clipPathElementCloned.set({
+ // left:this.clipPath.clipGroup.left,
+ // top:this.clipPath.clipGroup.top,
+ left:clipPathLect,
+ top:clipPathTop,
+ absolutePositioned:true,
+ })
+ let optionLect = (options.target.left - this.clipPath.clipGroup.left) - this.clipPath.clipGroup.width/2
+ let optionTop = (options.target.top - this.clipPath.clipGroup.top) - this.clipPath.clipGroup.height/2
+ options.target.clone((cloned)=>{
+ cloned.set({
+ left:optionLect,
+ top:optionTop,
+ clipPath:clipPathElementCloned,
+ })
+ this.clipPath.clipGroup.add(cloned)
+ console.log(this.clipPath.clipGroup);
+ MyCanvas.canvas.remove(options.target)
+ resolve()
+ })
+ })
+ })
+
// this.setGroupGrid('all')
}
diff --git a/src/views/HomeView/HomeView.vue b/src/views/HomeView/HomeView.vue
index 847ddae7..b8799aa4 100644
--- a/src/views/HomeView/HomeView.vue
+++ b/src/views/HomeView/HomeView.vue
@@ -804,6 +804,10 @@ export default defineComponent({
// type: 'dislike',
// };
// designDetail.showDesignDetailModal(data);
+ window.addEventListener('resize', ()=> {
+ this.setSystemDesigner(0)
+ this.setDesignItemStyle()
+ })
this.setSystemDesigner(0)
this.setDesignItemStyle()
},
From f9728336b32ac43f9c0e20ca9d25860ed83fc2de Mon Sep 17 00:00:00 2001
From: X1627315083 <1627315083@qq.com>
Date: Thu, 16 Jan 2025 10:21:15 +0800
Subject: [PATCH 30/71] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=B9=E7=AA=97bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/component/HomePage/bindEmail.vue | 46 +++++++++++++++++++++++-----
src/router/index.ts | 4 ++-
src/store/userHabit/userHabit.ts | 5 ---
3 files changed, 41 insertions(+), 14 deletions(-)
diff --git a/src/component/HomePage/bindEmail.vue b/src/component/HomePage/bindEmail.vue
index 548b3886..cab4fc2e 100644
--- a/src/component/HomePage/bindEmail.vue
+++ b/src/component/HomePage/bindEmail.vue
@@ -16,13 +16,17 @@
>
+
@@ -145,12 +149,14 @@ import { useStore } from "vuex";
import { useI18n } from "vue-i18n";
import { setLang } from "@/tool/guide";
import { country } from "@/tool/country";
+import { useRouter } from "vue-router";
export default defineComponent({
components: {
VerificationCodeInput,
},
setup(prop, { emit }){
const bindType = ''
+ const router = useRouter()
let timer:any = 0;
const {locale} = useI18n()
const store = useStore();
@@ -180,6 +186,7 @@ export default defineComponent({
register.email = email == '-------------'?'':email
})
return{
+ router,
store,
timer,
userDetail,
@@ -358,6 +365,9 @@ export default defineComponent({
},
cancelDsign(){
this.store.commit('setIsBindEmail', false)
+ },
+ setBack(){
+ this.router.push({path:'/login'})
}
},
});
@@ -382,9 +392,29 @@ export default defineComponent({
}
\ No newline at end of file
From b5124abbfa4a84c73f6fff081202b9eb18d73923 Mon Sep 17 00:00:00 2001
From: X1627315083 <1627315083@qq.com>
Date: Fri, 17 Jan 2025 17:16:01 +0800
Subject: [PATCH 32/71] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/images/icon/details_color.png | Bin 0 -> 639 bytes
src/assets/images/icon/details_elements.png | Bin 0 -> 1248 bytes
src/assets/images/icon/details_print.png | Bin 0 -> 748 bytes
src/assets/images/icon/details_sketch.png | Bin 0 -> 498 bytes
src/assets/style/style.css | 23 +-
src/assets/style/style.less | 29 ++-
.../Account/frontPage/cancelRenewal.vue | 3 +-
.../Account/frontPage/mylnformation.vue | 15 +-
src/component/DetailCopy/designDetail.vue | 206 +++++++++++++++++
.../DetailCopy/editSketchPosition.vue | 0
src/component/DetailCopy/libraryList.vue | 218 ++++++++++++++++++
src/component/DetailCopy/sketchLeft.vue | 164 +++++++++++++
src/component/DetailCopy/uploadList.vue | 209 +++++++++++++++++
src/component/HomePage/ExportModel.vue | 5 +-
src/store/homeStore/homeStore.ts | 2 +-
src/tool/canvasGeneralCopy.js | 8 +-
src/views/HomeMain.vue | 2 +-
src/views/HomeView/HomeView.vue | 52 +++--
src/views/LoginPage.vue | 6 +-
19 files changed, 896 insertions(+), 46 deletions(-)
create mode 100644 src/assets/images/icon/details_color.png
create mode 100644 src/assets/images/icon/details_elements.png
create mode 100644 src/assets/images/icon/details_print.png
create mode 100644 src/assets/images/icon/details_sketch.png
create mode 100644 src/component/DetailCopy/designDetail.vue
create mode 100644 src/component/DetailCopy/editSketchPosition.vue
create mode 100644 src/component/DetailCopy/libraryList.vue
create mode 100644 src/component/DetailCopy/sketchLeft.vue
create mode 100644 src/component/DetailCopy/uploadList.vue
diff --git a/src/assets/images/icon/details_color.png b/src/assets/images/icon/details_color.png
new file mode 100644
index 0000000000000000000000000000000000000000..6233167d9945ef4e779ea4a933b2907766dbc275
GIT binary patch
literal 639
zcmV-_0)YLAP)x00009a7bBm000XU
z000XU0RWnu7ytkO0drDELIAGL9O(c600d`2O+f$vv5yP86LeUDF(jtSE#e_IR^`_L+*X=8-d7`%ww>_
zp9iJiA@@2wFb`YLNA5O0(=P|YJZR-`Q|@ClGv*DmPeI?089FJZSd+GXKHfkoT#}CYUg-y?=>E{4KnBWpe9{o!u$yR$KumBnxXBSFS!mn
zgL9g7rg&|c_y7Ody`%rkoSHT9+mCH`kzt^CPQ->db3KE)ebAxbb6m_;RzFFPhVj`u
zr=`Z76WtE;k%5|B(Ek-{(o=F`@eqUmDAMDMbSy};%3ASxb0nm}kTCE4_1vB`6UmTx
z5wqihU0eX+!h9UUAJJ}9bH?N5d_f`#2yWyx@eT0^7nnTvnnh?zhXmTSuIciwt9P|`
z?Xvys-nw;Y9j-`BPBVh<3AATov`jrR-eARunSCzYr!X8}qzX-F-H>Yd|8jieHu$KE
Z;U7zdH0x0GBP9R;002ovPDHLkV1hr@B)|Xw
literal 0
HcmV?d00001
diff --git a/src/assets/images/icon/details_elements.png b/src/assets/images/icon/details_elements.png
new file mode 100644
index 0000000000000000000000000000000000000000..c08eabb488c78138b6e7a76e1dfbd81dd48f971d
GIT binary patch
literal 1248
zcmV<61Rwi}P)0X{%3A(u8-*;91aV2cX$2E%ge3I0165ULanW>zw;82
zV{dP7wxOXRLQTUL#$z7ltKIPR_4WJ6$Vk}XaG2tCI-QZ@<6|*~cV}nEhYmADJmKNt
zp`WQ_aCmt5OPuk%w#UauPe(_`?8?eYl-zE&v+nM0si>&vfoXs;WS^OtaopbCM%$E8
zwzjtREhi^uTOM&&)tE=%edSaJM-qO;-=;^&Sn@!RSGBYzXR8djU-_z5hjKj+&f2J49adUIS
ztib*Ky*-V8iv>XlApj$j^YZef!oosjN$Bkc$sY0Z0XD6;eT3g+C)m6bo`A6bcED
zGb0l*E)WPfR*dV2atc6PQ;9%F@egO_TA
zl4xUVYik_3&A#xon1}iCH-Nq;lTB4#d_j?$B0@c>7N86)i_y{1pxFe(^V;G`Pfkwy
z&(F_YFE1~;THMywww<4!@8ioeH6WuOA0O_;#YGP@fV#T6kP+S#z5*NjAAzk2wWd}-
zm3tCO!1(WDg2Z-2&hES4?{_mDWMySZm6ereRaI3#6RjNtmY$ye_rk)0ht|6wZ(C}h
zeV5hL)P&mG+y7N{q1V^fV^o=&dJAbkjfkQ+rW2rmP2a4^!+7Ei#)t~N?qkWgMc7)k
zAW1fZX6-EF)aKKFv8dwo_4SGK^Yc++xJB&rNWB)IIB=H_55L@lnp=bmB_A{^dmSj)
z;NYM{ya6pg-*r(eI1QI^YA!TYnOlWakX9iTq*YLJi-r!KpsO_ADYxU@qE#-G
zj;Ey}&ep
z(~E5RnPJPm!Eh|a#|HUm5O7*ap+z3_Ug7Sm$7AQ~
z0_9LC{gm|_!;_CvB+1Dq(JlPOD~1vzjg#-#PVqO4fMa(yIawf`+g2!ty7PNVB&~e-
zQS=ZGPTpe#44Li)JQ+Q$yaqp@%!b)RiX4S;iZ_9+
z?rfKMK9CT(lJeicZet%l2T6i|N1FrfqK84r=R+R|{y}AqXgi4+#w5ubOTXtC9IapQ
zZ~HKE)0m?%N%EVARGI%Ucmp3X>MZoKmqxh)mNH?(XVO^pe^hr`<7?w~cQG@>5P7d@X
z#Nc$y)%P?0>yLL7vn6TJ!l#Lxo3K3~0p`Ldl9957dM0yPh~0M1CCrDyQIL%K
e++;0+o7jKDrD-}4ArsXA0000%nibb}NW8YF;HpC-NIyZi5w=#x(b
zGy>ynWZqhE)A_r2b3q7vv6c!JSO0zaL~it?iGF
z++OBG=3Cc3pzlFj;5|^Uj{T%-C*$^Di_5cR=!d~+LR4?@KeRDR(1u53_c9e>Tff*v
zqvOS))Y4@_U9xE72r{h0WYKF08hoMyt}SR_x_x^c?Wl1Zf(C}6=&SnC+zD<$(7pmq2pr%`V%N4#}qibbQ5R?&ls>U1Db;tj_}oMTqlOWV8w98anMWp*5cqKW{&6<
zmrDZ2GLrVXIJ(L(N7Vkjv}89y#sov6Yf1(M3#U+^e`FH+d(xv50m5lNiW(nkiKwtn
zPgdxA&wIZv0tZk%c)+>{1g>0xe?XR`B1=+{C8@}gRAfmivLqGv3H#PEFQ8-cJEjy#
oj^&v3aIMZZ^ml?Pu{XsXKX-!L)mB(0AOHXW07*qoM6N<$f(aJT=l}o!
literal 0
HcmV?d00001
diff --git a/src/assets/style/style.css b/src/assets/style/style.css
index 4036e047..a2af9c91 100644
--- a/src/assets/style/style.css
+++ b/src/assets/style/style.css
@@ -714,7 +714,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.generalModel_state .generalModel_state_item > input {
height: 2.5rem !important;
border-radius: 4rem;
- padding: 2rem !important;
+ padding: calc(2rem - 1px * 2) !important;
box-sizing: content-box;
background-color: #f3f3f3;
background-color: #fff;
@@ -738,7 +738,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.generalModel_state .generalModel_state_item .range_picker {
height: 2.5rem !important;
border-radius: 4rem;
- padding: 2rem !important;
+ padding: calc(2rem - 1px * 2) !important;
box-sizing: content-box;
background-color: #f3f3f3;
background-color: #fff;
@@ -872,6 +872,15 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
box-shadow: none;
height: calc(65rem*1.2);
}
+.generalModel.fullScreen {
+ max-width: 100%;
+}
+.generalModel.fullScreen .ant-modal-content {
+ border-radius: 0rem;
+}
+.generalModel.fullScreen .ant-modal-body {
+ padding: 2.5rem 3rem;
+}
.generalModel .ant-modal-content {
border-radius: 3rem;
height: 100%;
@@ -1098,10 +1107,6 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.sketchboard_upload_modal .switch_type_list.showEvents * {
pointer-events: auto;
}
-.ant-modal-wrap {
- height: 100vh;
- overflow: auto;
-}
.ant-btn:hover,
.ant-btn:focus,
.ant-btn:active,
@@ -1610,10 +1615,14 @@ textarea:focus {
.upload_item .upload_file_item .ant-upload-picture-card-wrapper .ant-upload-select-picture-card {
width: calc(6rem*1.2);
height: calc(6rem*1.2);
- border: calc(0.3rem*1.2) solid #ededed;
+ border: calc(0.3rem*1.2) solid #000;
border-radius: calc(1rem*1.2);
margin: 0;
}
+.upload_item .upload_file_item .ant-upload-picture-card-wrapper .ant-upload-select-picture-card .fi-br-upload {
+ font-size: 2rem;
+ color: #000;
+}
.upload_item .upload_file_item.upload_file_item:last-child {
margin: 0;
}
diff --git a/src/assets/style/style.less b/src/assets/style/style.less
index cd3e3932..c7589b62 100644
--- a/src/assets/style/style.less
+++ b/src/assets/style/style.less
@@ -781,7 +781,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
>input{
height: 2.5rem !important;
border-radius: 4rem;
- padding: 2rem !important;
+ padding: calc(2rem - 1px * 2) !important;
box-sizing: content-box;
background-color: #f3f3f3;
background-color: #fff;
@@ -805,7 +805,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-picker-range,.ant-select-selector,.range_picker{
height: 2.5rem !important;
border-radius: 4rem;
- padding: 2rem !important;
+ padding: calc(2rem - 1px * 2) !important;
box-sizing: content-box;
background-color: #f3f3f3;
background-color: #fff;
@@ -946,6 +946,15 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
position: relative;
box-shadow: none;
height: calc(65rem*1.2);
+ &.fullScreen{
+ max-width: 100%;
+ .ant-modal-content{
+ border-radius: 0rem;
+ }
+ .ant-modal-body{
+ padding: 2.5rem 3rem;
+ }
+ }
.ant-modal-content{
border-radius: 3rem;
height: 100%;
@@ -1192,12 +1201,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
}
}
-.ant-modal-wrap{
- height: 100vh;
- // overflow: hidden;
- overflow: auto;
- // position: fixed;
-}
+// .ant-modal-wrap{
+// height: 100vh;
+// overflow: auto;
+// }
// .driver-overlay-animated{
// z-index: 10002 !important;
// }
@@ -1742,9 +1749,13 @@ textarea:focus{
.ant-upload-select-picture-card {
width: calc(6rem*1.2);
height: calc(6rem*1.2);
- border: calc(0.3rem*1.2) solid #ededed;
+ border: calc(0.3rem*1.2) solid #000;
border-radius: calc(1rem*1.2);
margin: 0;
+ .fi-br-upload{
+ font-size: 2rem;
+ color: #000;
+ }
}
diff --git a/src/component/Account/frontPage/cancelRenewal.vue b/src/component/Account/frontPage/cancelRenewal.vue
index f48cd1a0..11288b34 100644
--- a/src/component/Account/frontPage/cancelRenewal.vue
+++ b/src/component/Account/frontPage/cancelRenewal.vue
@@ -98,7 +98,8 @@ export default defineComponent({
\ No newline at end of file
diff --git a/src/component/DetailCopy/editSketchPosition.vue b/src/component/DetailCopy/editSketchPosition.vue
new file mode 100644
index 00000000..e69de29b
diff --git a/src/component/DetailCopy/libraryList.vue b/src/component/DetailCopy/libraryList.vue
new file mode 100644
index 00000000..9b33a1fc
--- /dev/null
+++ b/src/component/DetailCopy/libraryList.vue
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
![]()
+
+
+
+
+

+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/component/DetailCopy/sketchLeft.vue b/src/component/DetailCopy/sketchLeft.vue
new file mode 100644
index 00000000..8f544a71
--- /dev/null
+++ b/src/component/DetailCopy/sketchLeft.vue
@@ -0,0 +1,164 @@
+
+
+
Current Print
+
+

+
+
+
+ {{ $t('DesignDetailAlter.Upload') }}
+
+
+ {{ $t('DesignDetailAlter.Library') }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/component/DetailCopy/uploadList.vue b/src/component/DetailCopy/uploadList.vue
new file mode 100644
index 00000000..5cf36973
--- /dev/null
+++ b/src/component/DetailCopy/uploadList.vue
@@ -0,0 +1,209 @@
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
upFileUploadChange(file)"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/component/HomePage/ExportModel.vue b/src/component/HomePage/ExportModel.vue
index 9b9e21c1..ce8738b3 100644
--- a/src/component/HomePage/ExportModel.vue
+++ b/src/component/HomePage/ExportModel.vue
@@ -1267,13 +1267,13 @@ export default defineComponent({
let oldOperation = ''
let canvasKeyDown = (event) => {
let keys = ['Enter','Delete','ControlLeft','KeyZ','ShiftLeft','KeyC','KeyV','BracketLeft','BracketRight','KeyI','KeyD','KeyO','Backquote']
- if(keys.indexOf(event.key) > -1){
+ if(keys.indexOf(event.code) > -1){
event.preventDefault();
}
if(keyDown.indexOf(event.code)>-1){
}else{
keyDown.push(event.code)
- if(event.key === 'Enter' && operation.value == 'fold'){
+ if(event.code === 'Enter' && operation.value == 'fold'){
foldEnd('Enter')
}else if(event.key === 'Delete'){
deleteObject()
@@ -1288,7 +1288,6 @@ export default defineComponent({
}else if(keyDown.indexOf('BracketLeft') > -1){
let width = canvasPencilWidth.value[operation.value]
canvasPencilWidth.value[operation.value] = (width - 5) < 3?3:(width - 5)
- console.log(canvasPencilWidth.value[operation.value]);
setPencilWidth()
}else if(keyDown.indexOf('BracketRight') > -1){
let width = canvasPencilWidth.value[operation.value]
diff --git a/src/store/homeStore/homeStore.ts b/src/store/homeStore/homeStore.ts
index bd85806e..154ca1d9 100644
--- a/src/store/homeStore/homeStore.ts
+++ b/src/store/homeStore/homeStore.ts
@@ -37,7 +37,7 @@ const HomeStoreModule : Module = {
},
setDeleteDesignCollectionList(state,data){
let obj = state.designCollectionList.splice(data,1)
- state.deleteDesignCollectionList.unshift(...obj)
+ // state.deleteDesignCollectionList.unshift(...obj)
},
cancelDeleteDesignCollectionList(state,data){
let obj = state.deleteDesignCollectionList.splice(data,1)
diff --git a/src/tool/canvasGeneralCopy.js b/src/tool/canvasGeneralCopy.js
index b5a48c74..73a586a0 100644
--- a/src/tool/canvasGeneralCopy.js
+++ b/src/tool/canvasGeneralCopy.js
@@ -683,6 +683,11 @@ class MyCanvas {
}
await obj.clone((cloned)=>{
let {width,height,left,top} = position
+ cloned.set({
+ custom:{
+ dashed:true
+ }
+ })
// cloned.set({left:cloned.strokeWidth/2,top:cloned.strokeWidth/2})
let group = new fabric.Group([cloned],{
left:left + cloned.strokeWidth/2,
@@ -1471,7 +1476,8 @@ class MyCanvas {
if(!options?.target?.custom?.dashed && this.layer.selectLayer.group.custom.groupType == 'Grid'){
await new Promise((resolve, reject) => {
- let clipPathElement = this.clipPath.clipGroup._objects.filter(obj => obj.custom)[0]
+ console.log(this.clipPath.clipGroup);
+ let clipPathElement = this.clipPath.clipGroup._objects.filter(obj => obj.custom?.dashed)[0]
let clipPathLect = this.clipPath.clipGroup.left
let clipPathTop = this.clipPath.clipGroup.top
diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue
index 4b072e2c..168a0a33 100644
--- a/src/views/HomeMain.vue
+++ b/src/views/HomeMain.vue
@@ -128,7 +128,7 @@
-->
-
+
diff --git a/src/views/HomeView/HomeView.vue b/src/views/HomeView/HomeView.vue
index b8799aa4..b2399397 100644
--- a/src/views/HomeView/HomeView.vue
+++ b/src/views/HomeView/HomeView.vue
@@ -188,9 +188,9 @@
)
">
-
+