diff --git a/.env.dev b/.env.dev index 5f371239..5c2f790a 100644 --- a/.env.dev +++ b/.env.dev @@ -10,3 +10,4 @@ VUE_APP_BASE_URL = 'https://develop.api.aida.com.hk' # 海波 # VUE_APP_BASE_URL = 'http://192.168.1.3:5567' +ss \ No newline at end of file diff --git a/src/component/Administrator/coupons/index.vue b/src/component/Administrator/coupons/index.vue index 9380859b..dc83c547 100644 --- a/src/component/Administrator/coupons/index.vue +++ b/src/component/Administrator/coupons/index.vue @@ -196,7 +196,7 @@ export default defineComponent({ width:150, }, { - title: 'Label Volmoney', + title: 'Total Earnings', align: "center", ellipsis: true, dataIndex: "totalEarnings", diff --git a/src/component/Detail/DesignDetail.vue b/src/component/Detail/DesignDetail.vue index 963ee141..2eacf9d4 100644 --- a/src/component/Detail/DesignDetail.vue +++ b/src/component/Detail/DesignDetail.vue @@ -119,9 +119,9 @@
-
+
-
+
{{current?.color?.tcx}}
{{current?.color?.name}}
@@ -736,7 +736,7 @@ export default defineComponent({ for(let index = 0;index0?this.currentIndex:0 data.designSingleItemDTOList[this.currentIndex] = { - color:`${this.current.color.r} ${this.current.color.g} ${this.current.color.b}`, + color:this.current?.color?.r?`${this.current.color.r} ${this.current.color.g} ${this.current.color.b}`:null, id:this.current.id?this.current.id:'', changed:this.current.changed?this.current.changed:false, designType:this.current.designType?this.current.designType:'Library', diff --git a/src/component/Detail/DesignDetailAlter.vue b/src/component/Detail/DesignDetailAlter.vue index 2a85a553..914adc92 100644 --- a/src/component/Detail/DesignDetailAlter.vue +++ b/src/component/Detail/DesignDetailAlter.vue @@ -228,8 +228,9 @@
-
+
+
@@ -606,14 +607,13 @@ export default defineComponent({ this.getLibraryList() }else{ let rgba = { - r:this.current.color.r+"", - g:this.current.color.g+"", - b:this.current.color.b+"", + r:this.current.color?.r+"", + g:this.current.color?.g+"", + b:this.current.color?.b+"", a:1 } let ind = 0 this.store.state.UploadFilesModule.allBoardData?.colorBoards?.forEach((item,index) => { - console.log(JSON.stringify(rgba) , JSON.stringify(item.rgbValue)); if(JSON.stringify(rgba) == JSON.stringify(item.rgbValue)){ ind+=1 }else{ diff --git a/src/component/Detail/DesignDetailEnd.vue b/src/component/Detail/DesignDetailEnd.vue index e896775f..2edcfd38 100644 --- a/src/component/Detail/DesignDetailEnd.vue +++ b/src/component/Detail/DesignDetailEnd.vue @@ -54,7 +54,7 @@
-
+
{{color.tcx}}
{{ color.name }}
diff --git a/src/component/HomePage/ExportModel.vue b/src/component/HomePage/ExportModel.vue index f480f701..bcddf2ab 100644 --- a/src/component/HomePage/ExportModel.vue +++ b/src/component/HomePage/ExportModel.vue @@ -80,7 +80,7 @@ :class="[key == 'disposeMoodboard'?'exportCanvasBox_item_dispose':'',imgItem?.upScaleChecked?'active':'']" draggable @dragstart="onDragstart(key,imgItem)" - @click.stop="isMoible?setDragstart(key,imgItem):''" + @click.stop="setDragstart(key,imgItem)" >
@@ -754,9 +754,11 @@ export default defineComponent({ } if(key == 'upImgFiles')imgWidth[key] = setImageWidth(key,img); - let url = imgUrl.split('?')[0] - var match = url.match(/^(?:https?:\/\/[^\/]+)\/(.*)/); - minioUrl = match[1] + // let url = imgUrl.split('?')[0] + // var match = url.match(/^(?:https?:\/\/[^\/]+)\/(.*)/); + const { pathname } = new URL(imgUrl); + const result = pathname.slice(1); + minioUrl = result // let id = let proportion = img.height / img.width; //计算图形宽高比例 // let imgWidth = setImageWidth(key) diff --git a/src/component/HomePage/ExportNewCoolection.vue b/src/component/HomePage/ExportNewCoolection.vue index 15057e4a..57d22d86 100644 --- a/src/component/HomePage/ExportNewCoolection.vue +++ b/src/component/HomePage/ExportNewCoolection.vue @@ -35,7 +35,7 @@
-
+
{{color.tcx}}
{{color.name}}
diff --git a/src/component/HomePage/NewCollectionReview.vue b/src/component/HomePage/NewCollectionReview.vue index 200fc2d6..ec4ff894 100644 --- a/src/component/HomePage/NewCollectionReview.vue +++ b/src/component/HomePage/NewCollectionReview.vue @@ -37,7 +37,7 @@
-
+
{{color.tcx}}
{{color.name}}
diff --git a/src/component/HomePage/scaleImage.vue b/src/component/HomePage/scaleImage.vue index 5db2c904..94ddcb05 100644 --- a/src/component/HomePage/scaleImage.vue +++ b/src/component/HomePage/scaleImage.vue @@ -1,10 +1,8 @@ - -