dist
This commit is contained in:
1
dist/css/115.094994d1.css
vendored
1
dist/css/115.094994d1.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/194.a8ff4f2a.css
vendored
1
dist/css/194.a8ff4f2a.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/374.14325e54.css
vendored
Normal file
1
dist/css/374.14325e54.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/391.6be384c0.css
vendored
1
dist/css/391.6be384c0.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/391.70b5676b.css
vendored
Normal file
1
dist/css/391.70b5676b.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/43.76f60c61.css
vendored
1
dist/css/43.76f60c61.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/459.2379b0a6.css
vendored
Normal file
1
dist/css/459.2379b0a6.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/472.f0518774.css
vendored
Normal file
1
dist/css/472.f0518774.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/615.32681e4b.css
vendored
Normal file
1
dist/css/615.32681e4b.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/615.f4ba6074.css
vendored
1
dist/css/615.f4ba6074.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/710.18f68950.css
vendored
Normal file
1
dist/css/710.18f68950.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/css/865.6be384c0.css
vendored
1
dist/css/865.6be384c0.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/949.060964d0.css
vendored
1
dist/css/949.060964d0.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/949.76d5c656.css
vendored
Normal file
1
dist/css/949.76d5c656.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -1 +1 @@
|
||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>AiDA</title><link rel="stylesheet" href="./css/googleapis.css"><link rel="stylesheet" href="./css/roboto.css"><script defer="defer" src="/js/chunk-vendors.9c1ca004.js"></script><script defer="defer" src="/js/app.34b01207.js"></script><link href="/css/chunk-vendors.5e9dbdc9.css" rel="stylesheet"><link href="/css/app.f2225362.css" rel="stylesheet"></head><body><script src="./js/color-thief.js"></script><noscript><strong>We're sorry but aida doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>AiDA</title><link rel="stylesheet" href="./css/googleapis.css"><link rel="stylesheet" href="./css/roboto.css"><script defer="defer" src="/js/chunk-vendors.9c1ca004.js"></script><script defer="defer" src="/js/app.6960739e.js"></script><link href="/css/chunk-vendors.5e9dbdc9.css" rel="stylesheet"><link href="/css/app.145f97bf.css" rel="stylesheet"></head><body><script src="./js/color-thief.js"></script><noscript><strong>We're sorry but aida doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
1
dist/js/374.6b7f130a.js
vendored
Normal file
1
dist/js/374.6b7f130a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/43.7be4f131.js
vendored
1
dist/js/43.7be4f131.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/459.ba8603d5.js
vendored
Normal file
1
dist/js/459.ba8603d5.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/865.8c2a1d80.js
vendored
1
dist/js/865.8c2a1d80.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -110,7 +110,7 @@
|
||||
:headers="{ Authorization: token }"
|
||||
v-model:file-list="uploadList"
|
||||
:before-upload="beforeUpload"
|
||||
:maxCount="8 - uploadList.length"
|
||||
:maxCount="8"
|
||||
accept=".jpg,.png,.jpeg,.bmp"
|
||||
@change="(file) => upFileUploadChange(file)"
|
||||
>
|
||||
@@ -580,18 +580,18 @@ export default defineComponent({
|
||||
let fileList = this.uploadList.filter(
|
||||
(v) => v.status === "done"
|
||||
);
|
||||
if (this.uploadList.length >= 8) {
|
||||
message.info(this.t('DesignDetailAlter.jsContent2'));
|
||||
} else {
|
||||
// this.store.commit("setSketchboardFile", fileList);
|
||||
this.uploadList = fileList
|
||||
// this.store.commit("clearMoodTemplateId");
|
||||
if(this.selectCode == 'Sketchboard'){
|
||||
this.apparelList = this.uploadList
|
||||
}else{
|
||||
this.printList = this.uploadList
|
||||
}
|
||||
this.uploadList = fileList
|
||||
// this.store.commit("clearMoodTemplateId");
|
||||
if(this.selectCode == 'Sketchboard'){
|
||||
this.apparelList = this.uploadList
|
||||
}else{
|
||||
this.printList = this.uploadList
|
||||
}
|
||||
// if (this.uploadList.length > 8) {
|
||||
// message.info(this.t('DesignDetailAlter.jsContent2'));
|
||||
// } else {
|
||||
// // this.store.commit("setSketchboardFile", fileList);
|
||||
// }
|
||||
}else{
|
||||
bor = false
|
||||
}
|
||||
|
||||
@@ -60,7 +60,8 @@
|
||||
<img :src="designOpenrtionList[0].path">
|
||||
</div>
|
||||
</div>
|
||||
<div class="subitOkPreviewBtn Guide_1_25" @click.stop="setPreview">{{ $t('DesignPrintOperation.preview') }}</div>
|
||||
<div class="subitOkPreviewBtn" @click.stop="setPreview">{{ $t('DesignPrintOperation.preview') }}</div>
|
||||
<div class="subitOkPreviewBtn Guide_1_25_1" @click.stop="setOK">OK</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -98,6 +99,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="designOpenrtion_right">
|
||||
<div class="designOpenrtion_entirety_img">
|
||||
<img :src="currentFullBodyView" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mark_loading" v-show="loadingShow">
|
||||
<a-spin size="large" />
|
||||
@@ -108,7 +114,7 @@
|
||||
|
||||
<script >
|
||||
import { defineComponent, h,createVNode, ref ,computed, inject,nextTick} from "vue";
|
||||
import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
// import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
import { useStore } from "vuex";
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
import { Https } from "@/tool/https";
|
||||
@@ -160,7 +166,8 @@ export default defineComponent({
|
||||
height:''
|
||||
})
|
||||
let loadingShow = ref(false)
|
||||
|
||||
let currentFullBodyView = ref('')
|
||||
let body = ref(false)
|
||||
let {t} = useI18n()
|
||||
return {
|
||||
designOpenrtion,
|
||||
@@ -180,6 +187,8 @@ export default defineComponent({
|
||||
loadingShow,
|
||||
setRevocation,
|
||||
t,
|
||||
currentFullBodyView,
|
||||
body,
|
||||
};
|
||||
},
|
||||
data() {
|
||||
@@ -238,6 +247,11 @@ export default defineComponent({
|
||||
},
|
||||
methods: {
|
||||
init(){
|
||||
let designItemDetail = JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail))
|
||||
this.currentFullBodyView = designItemDetail.currentFullBodyView? designItemDetail.currentFullBodyView:designItemDetail.designItemUrl
|
||||
if(designItemDetail.others.length == 0){
|
||||
this.body = true
|
||||
}
|
||||
let DesignPrintOperationParent = this.$parent
|
||||
this.designOpenrtion = true
|
||||
this.clearModal()
|
||||
@@ -510,7 +524,10 @@ export default defineComponent({
|
||||
}
|
||||
// let x = sketch.width-Number(this.print.width.replace(/px/g,''))
|
||||
// let y = sketch.height-Number(this.print.height.replace(/px/g,''))
|
||||
let x = sketch?.width-this.print.width.replace(/px/g,'')*scale
|
||||
let x = sketch?.width - this.print.width.replace(/px/g,'')*scale
|
||||
if(!this.overallSingle){
|
||||
x = sketch?.width - this.print.width.replace(/px/g,'')*scale/2
|
||||
}
|
||||
let y = sketch?.height-this.print.height.replace(/px/g,'')*scale
|
||||
this.printStyleList[index]={
|
||||
centers:{
|
||||
@@ -639,7 +656,7 @@ export default defineComponent({
|
||||
Https.axiosPost(Https.httpUrls.designSingle, data).then(
|
||||
(rv) => {
|
||||
// designItemDetail.clothes[index].printObject.path = rv.clothes[0].printObject.path
|
||||
|
||||
this.currentFullBodyView = rv.currentFullBodyView
|
||||
designItemDetail.currentFullBodyView = rv.currentFullBodyView
|
||||
designItemDetail.clothes[index].printObject.ifSingle = this.overallSingle
|
||||
designItemDetail.clothes[index].layersObject = rv.clothes[index].layersObject
|
||||
@@ -659,7 +676,7 @@ export default defineComponent({
|
||||
this.store.commit("setDesignPreviewData", data);
|
||||
this.setRevocation(designItemDetail,data)
|
||||
this.loadingShow = false
|
||||
this.designOpenrtion = false
|
||||
// this.designOpenrtion = false
|
||||
// this.closeModal()
|
||||
if(this.driver__.driver){
|
||||
nextTick().then(()=>{
|
||||
@@ -671,6 +688,9 @@ export default defineComponent({
|
||||
this.loadingShow = false
|
||||
});
|
||||
},
|
||||
setOK(){
|
||||
this.designOpenrtion = false
|
||||
},
|
||||
clearModal(){
|
||||
this.printAmount = 1//显示数量
|
||||
this.designOpenrtion = true//modal页面关闭
|
||||
@@ -760,7 +780,20 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.designOpenrtion_right{
|
||||
height: 50rem;
|
||||
position: absolute;
|
||||
right: 2rem;
|
||||
left: auto;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
.designOpenrtion_entirety_img{
|
||||
height: 100%;
|
||||
img{
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.designOpenrtion_open{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
@@ -903,6 +936,7 @@ export default defineComponent({
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
display: flex;
|
||||
&.active{
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<a-modal
|
||||
class="designOpenrtion_modal"
|
||||
class="designOpenrtion_modal Guide_1_24"
|
||||
v-model:visible="designOpenrtion"
|
||||
:class="[driver__.driver?'hideEvents':'']"
|
||||
:footer="null"
|
||||
@@ -61,6 +61,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="subitOkPreviewBtn" @click.stop="setPreview">{{ $t('DesignPrintOperation.preview') }}</div>
|
||||
<div class="subitOkPreviewBtn Guide_1_25_1" @click.stop="setOK">OK</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -97,6 +98,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="designOpenrtion_right">
|
||||
<div class="designOpenrtion_entirety_img">
|
||||
<img :src="currentFullBodyView" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mark_loading" v-show="loadingShow">
|
||||
<a-spin size="large" />
|
||||
@@ -107,7 +113,7 @@
|
||||
|
||||
<script >
|
||||
import { defineComponent, h,createVNode, ref ,computed, inject,nextTick} from "vue";
|
||||
import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
// import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
import { useStore } from "vuex";
|
||||
import { Https } from "@/tool/https";
|
||||
import { Modal,message } from 'ant-design-vue';
|
||||
@@ -236,6 +242,11 @@ export default defineComponent({
|
||||
},
|
||||
methods: {
|
||||
init(){
|
||||
let designItemDetail = JSON.parse(JSON.stringify(this.store.state.DesignDetailModule.designItemDetail))
|
||||
this.currentFullBodyView = designItemDetail.currentFullBodyView? designItemDetail.currentFullBodyView:designItemDetail.designItemUrl
|
||||
if(designItemDetail.others.length == 0){
|
||||
this.body = true
|
||||
}
|
||||
let DesignPrintOperationParent = this.$parent
|
||||
this.designOpenrtion = true
|
||||
this.clearModal()
|
||||
@@ -669,6 +680,9 @@ export default defineComponent({
|
||||
this.loadingShow = false
|
||||
});
|
||||
},
|
||||
setOK(){
|
||||
this.designOpenrtion = false
|
||||
},
|
||||
clearModal(){
|
||||
this.printAmount = 1//显示数量
|
||||
this.designOpenrtion = true//modal页面关闭
|
||||
@@ -758,7 +772,20 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.designOpenrtion_right{
|
||||
height: 50rem;
|
||||
position: absolute;
|
||||
right: 2rem;
|
||||
left: auto;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
.designOpenrtion_entirety_img{
|
||||
height: 100%;
|
||||
img{
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.designOpenrtion_open{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
||||
@@ -156,7 +156,7 @@ import { useStore } from "vuex";
|
||||
import { defineComponent, createVNode,nextTick, computed,ref,Ref} from "vue";
|
||||
import { UserOutlined, DownOutlined } from "@ant-design/icons-vue";
|
||||
import { Https } from "@/tool/https";
|
||||
import type { MenuProps } from "ant-design-vue";
|
||||
// import type { MenuProps } from "ant-design-vue";
|
||||
import { Modal,message,Upload} from 'ant-design-vue';
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
|
||||
@@ -42,10 +42,9 @@
|
||||
|
||||
<script >
|
||||
import { defineComponent, h,createVNode, ref ,computed, inject,nextTick} from "vue";
|
||||
import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
// import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
import { useStore } from "vuex";
|
||||
import { Modal,message } from 'ant-design-vue';
|
||||
import GO from '@/tool/GO';
|
||||
// import { Modal,message } from 'ant-design-vue';
|
||||
import { Https } from "@/tool/https";
|
||||
export default defineComponent({
|
||||
// props: ["frontBack"],
|
||||
|
||||
@@ -42,10 +42,7 @@
|
||||
|
||||
<script >
|
||||
import { defineComponent, h,createVNode, ref ,computed, inject,nextTick} from "vue";
|
||||
import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
import { useStore } from "vuex";
|
||||
import { Modal,message } from 'ant-design-vue';
|
||||
import GO from '@/tool/GO';
|
||||
import { Https } from "@/tool/https";
|
||||
export default defineComponent({
|
||||
// props: ["frontBack"],
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
import { defineComponent,inject } from 'vue'
|
||||
import 'vue-cropper/dist/index.css'
|
||||
import { VueCropper } from "vue-cropper";
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
// import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
import {base64toFile} from '@/tool/util'
|
||||
export default defineComponent({
|
||||
props:['cropperFileData','isUpload'],
|
||||
|
||||
@@ -187,7 +187,7 @@ import { useStore } from "vuex";
|
||||
import GO from "@/tool/GO";
|
||||
import { getCookie } from "@/tool/cookie";
|
||||
import { getUploadUrl } from "@/tool/util";
|
||||
import { forEach } from "jszip";
|
||||
// import { forEach } from "jszip";
|
||||
import scaleImage from "@/component/HomePage/scaleImage.vue";
|
||||
import { openGuide,driverObj__,driverIndex__ } from "@/tool/guide";
|
||||
import { useI18n } from "vue-i18n";
|
||||
@@ -587,6 +587,7 @@ export default defineComponent({
|
||||
}
|
||||
if(item.checked){
|
||||
item.checked = false
|
||||
this.collectionElementid = ''
|
||||
}else{
|
||||
this.sketchboardList.forEach((v:any)=>{
|
||||
if(v.checked){
|
||||
@@ -594,8 +595,8 @@ export default defineComponent({
|
||||
}
|
||||
})
|
||||
item.checked = true
|
||||
this.collectionElementid = item.id
|
||||
}
|
||||
this.collectionElementid = item.id
|
||||
this.level2Type = item.category
|
||||
if(this.driver__.driver){
|
||||
driverObj__.moveNext()
|
||||
|
||||
@@ -267,17 +267,6 @@ export default defineComponent({
|
||||
imgData.jsContent1 = this.t('uploadFile.jsContent1',{maxImg:maxImg})
|
||||
this.store.commit("addGenerateMaterialFils", imgData);
|
||||
},
|
||||
//改变页码
|
||||
changePage(current: number, pageSize: number){
|
||||
this.currentPage = current
|
||||
this.pageSize = pageSize
|
||||
this.getLibraryList('')
|
||||
},
|
||||
|
||||
handleChange(){
|
||||
this.getLibraryList('')
|
||||
},
|
||||
|
||||
//选择所有的图片
|
||||
getLibraryList(str:any){
|
||||
let workspace = this.store.state.Workspace.workspace
|
||||
@@ -338,15 +327,6 @@ export default defineComponent({
|
||||
).catch((res)=>{
|
||||
this.isShowLoading = false
|
||||
});
|
||||
},
|
||||
closeModal(){
|
||||
this.myMaterialModalShow = false
|
||||
this.searchPictureName = ''
|
||||
this.designType = null
|
||||
this.imgList = []
|
||||
this.currentPage = 1
|
||||
this.pageSize = 10
|
||||
this.total = 0
|
||||
},
|
||||
showFileCategory(file: any) {
|
||||
file.categoryShow = true;
|
||||
|
||||
@@ -170,7 +170,6 @@ import GO from "@/tool/GO";
|
||||
import moodb from "@/tool/moodb";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
import { driver } from "driver.js";
|
||||
export default defineComponent({
|
||||
components: { Material, MoodTemplate, Generate,layout,layoutMobile },
|
||||
setup() {
|
||||
|
||||
@@ -100,9 +100,14 @@ export default defineComponent({
|
||||
// this.sketchList = []
|
||||
// this.sketch = [[],[],[]]
|
||||
// this.sketchList = this.allBoardData.sketchboardFiles
|
||||
if(JSON.stringify(newVal)!=JSON.stringify(oldVal)){
|
||||
if(oldVal){
|
||||
if(JSON.stringify(newVal)!=JSON.stringify(oldVal)){
|
||||
this.setSketch()
|
||||
}
|
||||
}else{
|
||||
this.setSketch()
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
immediate: true
|
||||
@@ -126,7 +131,7 @@ export default defineComponent({
|
||||
sketch1.num = 0
|
||||
sketch2.num = 1
|
||||
sketch3.num = 2
|
||||
if(this.sketchList){
|
||||
if(this.sketchList && this.sketchList!=null){
|
||||
for (let i = 0; i < this.sketchList.length; i++) {
|
||||
let arr = [sketch1,sketch2,sketch3]
|
||||
let image = new Image()
|
||||
|
||||
@@ -578,9 +578,9 @@ export default defineComponent({
|
||||
version:generage.printModel.num,//为1就是Print
|
||||
gender:'',
|
||||
}
|
||||
if(generateType == 'image'||generateType == 'text-image'){
|
||||
if(generateType == 'image'){
|
||||
if(generage?.collectionElementid){
|
||||
|
||||
data.text = ''
|
||||
}else{
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent4')
|
||||
@@ -606,9 +606,28 @@ export default defineComponent({
|
||||
);
|
||||
return
|
||||
}
|
||||
}
|
||||
if(generateType == 'image'){
|
||||
data.text = ''
|
||||
}else if(generateType == 'text-image'){
|
||||
if(generage?.collectionElementid){
|
||||
if(this.captionGeneration){
|
||||
let arr = this.captionGeneration.split(/\s+/).length
|
||||
if(arr > 75){
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent5')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else{
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent6')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else{
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent4')
|
||||
);
|
||||
return
|
||||
}
|
||||
}
|
||||
this.loadingShow = true
|
||||
Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
||||
|
||||
@@ -231,7 +231,7 @@ export default defineComponent({
|
||||
}
|
||||
})
|
||||
},
|
||||
scaleImage(img){
|
||||
scaleImage(img:any){
|
||||
let scaleImage:any = this.$refs.scaleImage
|
||||
img.forEach((item:any) => {
|
||||
item.imgUrl = item.presignedUrl
|
||||
|
||||
@@ -681,37 +681,57 @@ export default defineComponent({
|
||||
version:1,//为1就是Print
|
||||
gender:this.workspace.sex,
|
||||
}
|
||||
if(generateType == 'image'||generateType == 'text-image'){
|
||||
if(generateType == 'image'){
|
||||
if(generage?.collectionElementid){
|
||||
data.text = ''
|
||||
}else{
|
||||
message.info(
|
||||
this.t('SketchboardUpload.jsContent5')
|
||||
this.t('PrintboardUpload.jsContent4')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else if(generateType == 'text'){
|
||||
// this.beforeUpload(false)
|
||||
data.collectionElementId = ''
|
||||
data.level2Type = ''
|
||||
// this.beforeUpload(false)
|
||||
if(this.captionGeneration){
|
||||
let arr = this.captionGeneration.split(/\s+/).length
|
||||
if(arr > 75){
|
||||
message.info(
|
||||
this.t('SketchboardUpload.jsContent6')
|
||||
this.t('PrintboardUpload.jsContent5')
|
||||
);
|
||||
return
|
||||
|
||||
}
|
||||
}else{
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent6')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else if(generateType == 'text-image'){
|
||||
if(generage?.collectionElementid){
|
||||
if(this.captionGeneration){
|
||||
let arr = this.captionGeneration.split(/\s+/).length
|
||||
if(arr > 75){
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent5')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else{
|
||||
message.info(
|
||||
this.t('PrintboardUpload.jsContent6')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else{
|
||||
message.info(
|
||||
this.t('SketchboardUpload.jsContent7')
|
||||
|
||||
this.t('PrintboardUpload.jsContent4')
|
||||
);
|
||||
return
|
||||
}
|
||||
}
|
||||
if(generateType == 'image'){
|
||||
data.text = ''
|
||||
}
|
||||
this.loadingShow = true
|
||||
Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
||||
(rv) => {
|
||||
|
||||
@@ -73,7 +73,7 @@ import {useStore} from 'vuex'
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
import GO from "@/tool/GO";
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { position } from 'html2canvas/dist/types/css/property-descriptors/position'
|
||||
// import { position } from 'html2canvas/dist/types/css/property-descriptors/position'
|
||||
export default defineComponent({
|
||||
components:{
|
||||
Generate,
|
||||
@@ -230,7 +230,10 @@ export default defineComponent({
|
||||
top.forEach((positionItem:any) => {
|
||||
if(item.category == positionItem && item.pin){
|
||||
numTop++
|
||||
}else{
|
||||
}
|
||||
});
|
||||
top.forEach((positionItem:any) => {
|
||||
if(item.category == positionItem && item.pin){
|
||||
numBottom++
|
||||
}
|
||||
});
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, h, ref ,computed,reactive, nextTick} from "vue";
|
||||
import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
// import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
import { useStore } from "vuex";
|
||||
import GO from "@/tool/GO";
|
||||
import moodb from "@/tool/moodb";
|
||||
|
||||
@@ -50,9 +50,9 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, h, ref ,computed,reactive, nextTick} from "vue";
|
||||
import { Https } from "@/tool/https";
|
||||
import { getCookie } from "@/tool/cookie";
|
||||
import domTurnImg from '@/tool/domTurnImg'
|
||||
// import { Https } from "@/tool/https";
|
||||
// import { getCookie } from "@/tool/cookie";
|
||||
// import domTurnImg from '@/tool/domTurnImg'
|
||||
import { downloadIamge } from "@/tool/util";
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<div class="select_block">
|
||||
<a-select
|
||||
ref="select"
|
||||
v-model:value="sex.name"
|
||||
v-model:value="sex.label"
|
||||
:options="sexList"
|
||||
>
|
||||
<template #suffixIcon
|
||||
|
||||
@@ -51,12 +51,12 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent,ref,createVNode,watch,nextTick,inject} from 'vue'
|
||||
import { Https } from "@/tool/https";
|
||||
import {dataURLtoFile,base64toFile} from "@/tool/util"
|
||||
// import {dataURLtoFile,base64toFile} from "@/tool/util"
|
||||
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
||||
import { getCookie } from "@/tool/cookie";
|
||||
// import { getCookie } from "@/tool/cookie";
|
||||
import 'vue-cropper/dist/index.css'
|
||||
import { VueCropper } from "vue-cropper";
|
||||
import { useStore } from "vuex";
|
||||
// import { useStore } from "vuex";
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Modal,message,Upload,CascaderProps } from 'ant-design-vue';
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ const driverObj__ = driver({
|
||||
{ element: '.Guide_1_23', popover: { title: '', description: 'Click here to layout the selected print' } },
|
||||
// { element: '.Guide_1_24', popover: { title: '', description: 'Description' } },
|
||||
{ element: '.Guide_1_25', popover: { title: '', description: 'Preview printed design here.' ,side: "right",align: 'end' } },
|
||||
{ element: '.Guide_1_25_1', popover: { title: '', description: 'Save printed design here.' ,side: "right",align: 'end' } },
|
||||
{ element: '.Guide_1_26', popover: { title: '', description: 'Click here to finalize your modification.' } },
|
||||
{ element: '.Guide_1_31', popover: { title: '', description: 'Click here to export the collection you just designed.' } },
|
||||
{ element: '.Guide_1_99', popover: { title: 'Begin Your Design', description: 'Your guide is complete, and now the canvas is yours to create freely. For more insights and details, check out our demo video on the homepage at <a href="https://code-create.com.hk/aida/" style="pointer-events: auto;" target="_blank">https://code-create.com.hk/aida/</a><br>You can restart the tutorial at any time by simply telling the robot that you want to.' } },
|
||||
|
||||
@@ -380,7 +380,6 @@ import { useStore } from "vuex";
|
||||
import { Https } from "@/tool/https";
|
||||
import { getCookie } from "@/tool/cookie";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import type { ShowSearchType } from 'ant-design-vue/es/cascader';
|
||||
import { ElCascader } from 'element-plus'
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@@ -1150,7 +1149,7 @@ export default defineComponent({
|
||||
version:this.selectCode == 'Printboard'?this.printModel.num:1,//为1就是Print
|
||||
gender:this.selectCode == 'Sketchboard'?this.sex.value:'',
|
||||
}
|
||||
if(generateType == 'image'||generateType == 'text-image'){
|
||||
if(generateType == 'image'){
|
||||
if(generageImg?.id){
|
||||
data.text = ''
|
||||
}else{
|
||||
@@ -1179,9 +1178,29 @@ export default defineComponent({
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
if(generateType == 'image'){
|
||||
data.text = ''
|
||||
}else if(generateType == 'text-image'){
|
||||
if(generageImg?.id){
|
||||
if(this.captionGeneration){
|
||||
let arr = this.captionGeneration.split(/\s+/).length
|
||||
if(arr > 75){
|
||||
message.warning(
|
||||
this.t('LibraryPage.jsContent6')
|
||||
);
|
||||
return
|
||||
|
||||
}
|
||||
}else{
|
||||
message.info(
|
||||
this.t('LibraryPage.jsContent7')
|
||||
);
|
||||
return
|
||||
}
|
||||
}else{
|
||||
message.warning(
|
||||
this.t('LibraryPage.jsContent9')
|
||||
);
|
||||
return
|
||||
}
|
||||
}
|
||||
this.isShowMark = true
|
||||
Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
||||
|
||||
Reference in New Issue
Block a user