diff --git a/src/component/Detail/DesignDetail.vue b/src/component/Detail/DesignDetail.vue index 41b196f5..e2d74080 100644 --- a/src/component/Detail/DesignDetail.vue +++ b/src/component/Detail/DesignDetail.vue @@ -846,6 +846,7 @@ export default defineComponent({ this.imgDesignImg = true }, clothesOpen(index:any){ + if(this.deleteShow) return this.clothesDetail('',index) this.clothesOpenActive(index) }, diff --git a/src/component/Detail/DesignPrintOperation.vue b/src/component/Detail/DesignPrintOperation.vue index e0082b40..dcc60ef3 100644 --- a/src/component/Detail/DesignPrintOperation.vue +++ b/src/component/Detail/DesignPrintOperation.vue @@ -343,7 +343,7 @@ export default defineComponent({ this.printStyleList[index].style.zIndex = this.printZIndex++ this.printStyleList[index].transform = { scale:scale, - rotateZ:rotateZ, + rotateZ:rotateZ?rotateZ:0, } let imgDomWH = this.imgDom.getBoundingClientRect() let left = Number(this.printStyleList[index].style.left.replace(/px/g,'')) @@ -544,7 +544,7 @@ export default defineComponent({ transform:{ // scale:scale<.2?.2:scale,//0.2-3 // rotateZ:rotateZ1-rotateZ2, - rotateZ:this.printStyleList[index].transform.rotateZ!=0?this.printStyleList[index].transform.rotateZ:0 + rotateZ:this.printStyleList[index].transform.rotateZ?this.printStyleList[index].transform.rotateZ:0 }, designOpenrtionBtn:false } diff --git a/src/component/Detail/DesignPrintOperationMobile.vue b/src/component/Detail/DesignPrintOperationMobile.vue index f5b4b02f..d2ea18b8 100644 --- a/src/component/Detail/DesignPrintOperationMobile.vue +++ b/src/component/Detail/DesignPrintOperationMobile.vue @@ -343,7 +343,7 @@ export default defineComponent({ this.printStyleList[index].style.zIndex = this.printZIndex++ this.printStyleList[index].transform = { scale:scale, - rotateZ:rotateZ, + rotateZ:rotateZ?rotateZ:0, } let imgDomWH = this.imgDom.getBoundingClientRect() let left = Number(this.printStyleList[index].style.left.replace(/px/g,'')) @@ -546,7 +546,7 @@ export default defineComponent({ transform:{ // scale:scale<.2?.2:scale,//0.2-3 // rotateZ:rotateZ1-rotateZ2, - rotateZ:this.printStyleList[index].transform.rotateZ!=0?this.printStyleList[index].transform.rotateZ:0 + rotateZ:this.printStyleList[index].transform.rotateZ?this.printStyleList[index].transform.rotateZ:0 }, designOpenrtionBtn:false } diff --git a/src/router/index.ts b/src/router/index.ts index 6cf00b43..cf72e9b8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -137,6 +137,7 @@ router.beforeEach((to, from, next) => { // } else { // next({ name: 'upgrade' }); // } + // return // 检查路由是否存在 // 机房用户 let userInfo = JSON.parse(getCookie("userInfo") as any); diff --git a/src/tool/util.js b/src/tool/util.js index b5927373..8621cec0 100644 --- a/src/tool/util.js +++ b/src/tool/util.js @@ -1,6 +1,7 @@ import Fingerprint2 from 'fingerprintjs2';//获取浏览器唯一标识 -const isEmail = (email) => {//判断邮箱格式 - let reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/ +const isEmail = (email) => { + // let reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/ + let reg = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/ let result = reg.test(email) return result } diff --git a/src/views/Upgrade.vue b/src/views/Upgrade.vue index 32293322..a3171921 100644 --- a/src/views/Upgrade.vue +++ b/src/views/Upgrade.vue @@ -7,7 +7,7 @@
System maintenance
-
Due to system server upgrades, we will be conducting maintenance on Monday, March 4th, from 10:00 AM to 3:00 PM Hong Kong time. During this period, access to the AiDA system will be temporarily unavailable.
We apologize for any inconvenience this may cause and appreciate your understanding.
+
Due to system server upgrades, we will be conducting maintenance on Monday, March 27th, from 10:30 AM to 11:30 PM Hong Kong time. During this period, access to the AiDA system will be temporarily unavailable.
We apologize for any inconvenience this may cause and appreciate your understanding.
diff --git a/src/views/trialApproval.vue b/src/views/trialApproval.vue new file mode 100644 index 00000000..6d6a69a5 --- /dev/null +++ b/src/views/trialApproval.vue @@ -0,0 +1,573 @@ + + + \ No newline at end of file