2023-11-6-1
This commit is contained in:
@@ -334,6 +334,12 @@ li {
|
|||||||
width: 0.57142857rem;
|
width: 0.57142857rem;
|
||||||
height: 0.91428571rem;
|
height: 0.91428571rem;
|
||||||
}
|
}
|
||||||
|
.ant-select-multiple .ant-select-selection-search {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.ant-select-multiple .ant-select-selection-search-input {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.ant-checkbox-checked .ant-checkbox-inner {
|
.ant-checkbox-checked .ant-checkbox-inner {
|
||||||
background-color: #767676;
|
background-color: #767676;
|
||||||
border-color: #d9d9d9 !important;
|
border-color: #d9d9d9 !important;
|
||||||
@@ -343,6 +349,23 @@ li {
|
|||||||
.ant-checkbox-input:focus + .ant-checkbox-inner {
|
.ant-checkbox-input:focus + .ant-checkbox-inner {
|
||||||
border-color: #d9d9d9 !important;
|
border-color: #d9d9d9 !important;
|
||||||
}
|
}
|
||||||
|
.libraryPageCascader {
|
||||||
|
border-radius: 1rem;
|
||||||
|
}
|
||||||
|
.libraryPageCascader .cascader_btn_max {
|
||||||
|
height: 4rem;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
border-bottom: 1px solid #e1e1e1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.libraryPageCascader .cascader_btn_max .cascader_btn1 {
|
||||||
|
margin: 0 1rem;
|
||||||
|
}
|
||||||
|
.libraryPageCascader .ant-cascader-menu {
|
||||||
|
margin-top: 4rem;
|
||||||
|
}
|
||||||
.collection_modal .ant-modal-body,
|
.collection_modal .ant-modal-body,
|
||||||
.design_detail_modal_component .ant-modal-body,
|
.design_detail_modal_component .ant-modal-body,
|
||||||
.designOpenrtion_modal .ant-modal-body,
|
.designOpenrtion_modal .ant-modal-body,
|
||||||
|
|||||||
@@ -383,6 +383,12 @@ ul,li{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ant-select-multiple .ant-select-selection-search{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.ant-select-multiple .ant-select-selection-search-input{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
.ant-checkbox-checked .ant-checkbox-inner{
|
.ant-checkbox-checked .ant-checkbox-inner{
|
||||||
background-color: #767676;
|
background-color: #767676;
|
||||||
border-color: #d9d9d9 !important;
|
border-color: #d9d9d9 !important;
|
||||||
@@ -390,6 +396,24 @@ ul,li{
|
|||||||
.ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner{
|
.ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner{
|
||||||
border-color: #d9d9d9 !important;
|
border-color: #d9d9d9 !important;
|
||||||
}
|
}
|
||||||
|
.libraryPageCascader{
|
||||||
|
border-radius: 1rem;
|
||||||
|
.cascader_btn_max{
|
||||||
|
height: 4rem;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
border-bottom: 1px solid rgb(225 225 225);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.cascader_btn1{
|
||||||
|
margin: 0 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ant-cascader-menu{
|
||||||
|
margin-top: 4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//collection 弹窗
|
//collection 弹窗
|
||||||
.collection_modal,.design_detail_modal_component,.designOpenrtion_modal,.library_page{
|
.collection_modal,.design_detail_modal_component,.designOpenrtion_modal,.library_page{
|
||||||
|
|
||||||
|
|||||||
@@ -245,18 +245,6 @@ export default defineComponent({
|
|||||||
window.removeEventListener('beforeunload',beforeunload)
|
window.removeEventListener('beforeunload',beforeunload)
|
||||||
}
|
}
|
||||||
window.addEventListener('beforeunload',beforeunload)
|
window.addEventListener('beforeunload',beforeunload)
|
||||||
let onresizeTime:any
|
|
||||||
let this_ = this
|
|
||||||
window.onresize = () => {
|
|
||||||
return (() => {
|
|
||||||
clearTimeout(onresizeTime)
|
|
||||||
onresizeTime = setTimeout(async ()=>{
|
|
||||||
await this_.setImgSize()
|
|
||||||
},500)
|
|
||||||
|
|
||||||
})()
|
|
||||||
}
|
|
||||||
|
|
||||||
let userInfo:any = getCookie("userInfo")
|
let userInfo:any = getCookie("userInfo")
|
||||||
this.userInfo = JSON.parse(userInfo);
|
this.userInfo = JSON.parse(userInfo);
|
||||||
// let url = Https.httpUrls.getDesignDetail + `?designItemId=34242&designPythonOutfitId=34004`
|
// let url = Https.httpUrls.getDesignDetail + `?designItemId=34242&designPythonOutfitId=34004`
|
||||||
@@ -408,6 +396,17 @@ export default defineComponent({
|
|||||||
height:body.layersObject[0].imageSize?.[1]*ratio+'px',
|
height:body.layersObject[0].imageSize?.[1]*ratio+'px',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
let onresizeTime:any
|
||||||
|
let this_ = this
|
||||||
|
window.onresize = () => {
|
||||||
|
return (() => {
|
||||||
|
clearTimeout(onresizeTime)
|
||||||
|
onresizeTime = setTimeout(async ()=>{
|
||||||
|
await this_.setImgSize()
|
||||||
|
},500)
|
||||||
|
|
||||||
|
})()
|
||||||
|
}
|
||||||
this.frontBack = {
|
this.frontBack = {
|
||||||
front:front,
|
front:front,
|
||||||
back:back,
|
back:back,
|
||||||
|
|||||||
@@ -259,14 +259,12 @@ export default defineComponent({
|
|||||||
hex = '#FFFFFF'
|
hex = '#FFFFFF'
|
||||||
}
|
}
|
||||||
this.selectIndex = index
|
this.selectIndex = index
|
||||||
this.selectColor = color?.r ? {rgba:{r:color.r,g:color.g,b:color.b,a:color.a? color.a: 1},hex:hex} : {}
|
|
||||||
// this.fileList = []
|
|
||||||
this.tcxColor = ''
|
this.tcxColor = ''
|
||||||
this.pantongName = ''
|
this.pantongName = ''
|
||||||
this.pantongNameList = []
|
this.pantongNameList = []
|
||||||
// this.selectColorList= []
|
|
||||||
this.reviewColor= {}
|
this.reviewColor= {}
|
||||||
this.getColorBg = false
|
this.getColorBg = false
|
||||||
|
// this.selectColor = color?.r ? {rgba:{r:color.r,g:color.g,b:color.b,a:color.a? color.a: 1},hex:hex} : {}
|
||||||
},
|
},
|
||||||
|
|
||||||
//通过tcx获取颜色
|
//通过tcx获取颜色
|
||||||
|
|||||||
@@ -69,10 +69,11 @@
|
|||||||
:before-upload="beforeUpload"
|
:before-upload="beforeUpload"
|
||||||
v-model:file-list="fileList"
|
v-model:file-list="fileList"
|
||||||
multiple
|
multiple
|
||||||
:maxCount="8 - moodboarList.length+fileList.length"
|
:maxCount="8 - moodboarList.length+fileList.length"
|
||||||
accept=".jpg,.png,.jpeg,.bmp"
|
accept=".jpg,.png,.jpeg,.bmp"
|
||||||
@change="(file) => fileUploadChange(file)"
|
@change="(file) => fileUploadChange(file)"
|
||||||
>
|
>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="upload_tip_block"
|
class="upload_tip_block"
|
||||||
v-show=" moodboarList.length < 8"
|
v-show=" moodboarList.length < 8"
|
||||||
@@ -84,6 +85,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="upload_max_tip">
|
||||||
|
<span class="icon iconfont icon-zhuyi"></span>
|
||||||
|
<span>{{ $t('MoodboardUpload.Maximum') }}</span>
|
||||||
|
</div>
|
||||||
<!-- <div class="upload_max_tip">
|
<!-- <div class="upload_max_tip">
|
||||||
<span class="icon iconfont icon-zhuyi"></span>
|
<span class="icon iconfont icon-zhuyi"></span>
|
||||||
<span
|
<span
|
||||||
@@ -536,6 +541,8 @@ export default defineComponent({
|
|||||||
height: 30rem;
|
height: 30rem;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
border-right: 1px solid #e5e5e5;
|
border-right: 1px solid #e5e5e5;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
&.moodboard_body::-webkit-scrollbar {
|
&.moodboard_body::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -592,6 +599,7 @@ export default defineComponent({
|
|||||||
margin: 0 1rem 1rem 0;
|
margin: 0 1rem 1rem 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
img{
|
img{
|
||||||
width: auto;
|
width: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@@ -78,6 +78,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="upload_max_tip">
|
||||||
|
<span class="icon iconfont icon-zhuyi"></span>
|
||||||
|
<span>{{ $t('PrintboardUpload.Maximum') }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Material v-show="openClick == 2" ref="Material" msg="Printboard" @confirmSelect="confirmSelect"></Material>
|
<Material v-show="openClick == 2" ref="Material" msg="Printboard" @confirmSelect="confirmSelect"></Material>
|
||||||
<Generate v-show="openClick == 3" ref="Generate" msg="Printboard" @generateCheckbox="getgenerateCheckbox"></Generate>
|
<Generate v-show="openClick == 3" ref="Generate" msg="Printboard" @generateCheckbox="getgenerateCheckbox"></Generate>
|
||||||
@@ -638,6 +642,8 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.printboard_body{
|
.printboard_body{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
// height: calc(100% - 5rem);
|
// height: calc(100% - 5rem);
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-top: 2.5rem;
|
padding-top: 2.5rem;
|
||||||
@@ -726,6 +732,18 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.upload_max_tip {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
color: #030303;
|
||||||
|
|
||||||
|
.icon-zhuyi {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
margin-right: 0.7rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.delete_like_file_block{
|
.delete_like_file_block{
|
||||||
@@ -788,6 +806,7 @@ export default defineComponent({
|
|||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
img{
|
img{
|
||||||
width: auto;
|
width: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@@ -138,6 +138,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="upload_max_tip">
|
||||||
|
<span class="icon iconfont icon-zhuyi"></span>
|
||||||
|
<span>{{ $t('SketchboardUpload.Maximum') }}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Material
|
<Material
|
||||||
@@ -700,12 +704,14 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.sketchboard_body {
|
.sketchboard_body {
|
||||||
// height: calc(100% - 5rem);
|
// height: calc(100% - 5rem);
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-top: 2.5rem;
|
padding-top: 2.5rem;
|
||||||
height: 30rem;
|
height: 30rem;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
border-right: 1px solid #e5e5e5;
|
border-right: 1px solid #e5e5e5;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
&.moodboard_body::-webkit-scrollbar {
|
&.moodboard_body::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -783,7 +789,18 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.upload_max_tip {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
color: #030303;
|
||||||
|
|
||||||
|
.icon-zhuyi {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
margin-right: 0.7rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.delete_like_file_block{
|
.delete_like_file_block{
|
||||||
@@ -847,6 +864,7 @@ export default defineComponent({
|
|||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
img{
|
img{
|
||||||
// width: 100%;
|
// width: 100%;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
@@ -280,13 +280,9 @@ export default defineComponent({
|
|||||||
// imgBoxSize.style.backgroundImage = 'url('+require('@assets/images/library/lemaleBG.png')')'
|
// imgBoxSize.style.backgroundImage = 'url('+require('@assets/images/library/lemaleBG.png')')'
|
||||||
|
|
||||||
let cropper:any = this.$refs.cropper
|
let cropper:any = this.$refs.cropper
|
||||||
console.log(cropper);
|
|
||||||
|
|
||||||
cropper.cropH = cropper.scale*cropper.trueHeight
|
cropper.cropH = cropper.scale*cropper.trueHeight
|
||||||
cropper.cropW = cropper.cropH/2.125
|
cropper.cropW = cropper.cropH/2.125
|
||||||
cropper.cropOffsertX = cropper.getImgAxis().x1+(cropper.scale*cropper.trueWidth/2-cropper.cropW/2)
|
cropper.cropOffsertX = cropper.getImgAxis().x1+(cropper.scale*cropper.trueWidth/2-cropper.cropW/2)
|
||||||
console.log(cropper.getImgAxis().x1,cropper.scale*cropper.trueWidth/2,cropper.cropW/2);
|
|
||||||
|
|
||||||
cropper.cropOffsertY = cropper.getImgAxis().y1
|
cropper.cropOffsertY = cropper.getImgAxis().y1
|
||||||
imgBoxSize.addEventListener('mousemove',this.startMove)
|
imgBoxSize.addEventListener('mousemove',this.startMove)
|
||||||
this.setImageSize()
|
this.setImageSize()
|
||||||
@@ -307,7 +303,6 @@ export default defineComponent({
|
|||||||
let position = imgBoxSize.getBoundingClientRect()
|
let position = imgBoxSize.getBoundingClientRect()
|
||||||
let position1 = imgbox.getBoundingClientRect()
|
let position1 = imgbox.getBoundingClientRect()
|
||||||
let cropper:any = this.$refs.cropper
|
let cropper:any = this.$refs.cropper
|
||||||
console.log(position1,position);
|
|
||||||
this.imgBox = {
|
this.imgBox = {
|
||||||
width:cropper.cropW,
|
width:cropper.cropW,
|
||||||
height:cropper.cropH,
|
height:cropper.cropH,
|
||||||
@@ -387,8 +382,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
},
|
},
|
||||||
setPoint(){
|
setPoint(){
|
||||||
console.log();
|
let file = this.printObject.file
|
||||||
let printObject = JSON.parse(JSON.stringify(this.printObject))
|
let url = this.printObject.url
|
||||||
this.printObject = {
|
this.printObject = {
|
||||||
"shoulderLeft": [
|
"shoulderLeft": [
|
||||||
0.3338,
|
0.3338,
|
||||||
@@ -414,8 +409,8 @@ export default defineComponent({
|
|||||||
0.6764,
|
0.6764,
|
||||||
0.4715
|
0.4715
|
||||||
],
|
],
|
||||||
file:printObject.file,
|
file:file,
|
||||||
url:printObject.url
|
url:url
|
||||||
}
|
}
|
||||||
this.getDefaultPointList(this.imgBox,'setPoint')
|
this.getDefaultPointList(this.imgBox,'setPoint')
|
||||||
},
|
},
|
||||||
@@ -506,8 +501,6 @@ export default defineComponent({
|
|||||||
this.moveOriginal.posX = 0
|
this.moveOriginal.posX = 0
|
||||||
this.moveOriginal.posY = 0 // 1为边框
|
this.moveOriginal.posY = 0 // 1为边框
|
||||||
|
|
||||||
console.log(this.moveOriginal);
|
|
||||||
|
|
||||||
this.startDian = true
|
this.startDian = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -554,8 +547,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
restoreLocationList(){
|
restoreLocationList(){
|
||||||
this.locationList = []
|
this.locationList = []
|
||||||
console.log(this.locationList);
|
|
||||||
|
|
||||||
this.pointList = JSON.parse(JSON.stringify(this.oldPointList))
|
this.pointList = JSON.parse(JSON.stringify(this.oldPointList))
|
||||||
this.locationList = JSON.parse(JSON.stringify(this.oldLocationList))
|
this.locationList = JSON.parse(JSON.stringify(this.oldLocationList))
|
||||||
},
|
},
|
||||||
@@ -571,27 +562,42 @@ export default defineComponent({
|
|||||||
// })
|
// })
|
||||||
let cropper:any = this.$refs.cropper,
|
let cropper:any = this.$refs.cropper,
|
||||||
that = this
|
that = this
|
||||||
|
if(this.userInfo.userId == 88 || this.userInfo.userId == 83){
|
||||||
cropper.getCropData(async (value:any) => {
|
if(this.modelType == 'System'){
|
||||||
// 转换为File对象
|
if(this.printObject.templateId){
|
||||||
|
this.printObject.id = this.printObject.libraryId
|
||||||
if(this.printObject.templateId){
|
|
||||||
this.printObject.id = this.printObject.libraryId
|
|
||||||
this.confrimSubmit()
|
|
||||||
}else{
|
|
||||||
let file:any = base64toFile(value,this.printObject.file.name);
|
|
||||||
// console.log(file,this.printObject,'-=-=--==-');
|
|
||||||
file.uid = this.printObject.file.uid
|
|
||||||
this.printObject.file = file
|
|
||||||
this.customRequest().then((rv:any)=>{
|
|
||||||
this.isShowMark = false
|
|
||||||
this.printObject.id = rv.id
|
|
||||||
this.confrimSubmit()
|
this.confrimSubmit()
|
||||||
}).catch((res:any)=>{
|
}else{
|
||||||
this.isShowMark = false
|
this.customRequest().then((rv:any)=>{
|
||||||
|
this.isShowMark = false
|
||||||
|
this.printObject.id = rv.id
|
||||||
|
this.confrimSubmit()
|
||||||
|
}).catch((res:any)=>{
|
||||||
|
this.isShowMark = false
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
cropper.getCropData(async (value:any) => {
|
||||||
|
// 转换为File对象
|
||||||
|
if(this.printObject.templateId){
|
||||||
|
this.printObject.id = this.printObject.libraryId
|
||||||
|
this.confrimSubmit()
|
||||||
|
}else{
|
||||||
|
let file:any = base64toFile(value,this.printObject.file.name);
|
||||||
|
file.uid = this.printObject.file.uid
|
||||||
|
this.printObject.file = file
|
||||||
|
this.customRequest().then((rv:any)=>{
|
||||||
|
this.isShowMark = false
|
||||||
|
this.printObject.id = rv.id
|
||||||
|
this.confrimSubmit()
|
||||||
|
}).catch((res:any)=>{
|
||||||
|
this.isShowMark = false
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
confrimSubmit(){
|
confrimSubmit(){
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ export default {
|
|||||||
Library:'收藏',
|
Library:'收藏',
|
||||||
Generate:'生成',
|
Generate:'生成',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'最多可上传10张图片,每张图片最大2M',
|
||||||
Thumbnail:'选择的服装缩略图',
|
Thumbnail:'选择的服装缩略图',
|
||||||
inputContent1:'生成图片的标题',
|
inputContent1:'生成图片的标题',
|
||||||
maximumLength:'输入的内容超过允许输入的最大长度',
|
maximumLength:'输入的内容超过允许输入的最大长度',
|
||||||
@@ -164,6 +165,7 @@ export default {
|
|||||||
Library:'收藏',
|
Library:'收藏',
|
||||||
Generate:'生成',
|
Generate:'生成',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'最多可上传10张图片,每张图片最大2M',
|
||||||
Thumbnail:'选择的印花缩略图',
|
Thumbnail:'选择的印花缩略图',
|
||||||
inputContent1:'生成图片的标题',
|
inputContent1:'生成图片的标题',
|
||||||
maximumLength:'输入的内容超过允许输入的最大长度',
|
maximumLength:'输入的内容超过允许输入的最大长度',
|
||||||
@@ -193,6 +195,7 @@ export default {
|
|||||||
Library:'收藏',
|
Library:'收藏',
|
||||||
Generate:'生成',
|
Generate:'生成',
|
||||||
Delete:'删除',
|
Delete:'删除',
|
||||||
|
Maximum:'最多可上传10张图片,每张图片最大2M',
|
||||||
Thumbnail:'选择的情绪板缩略图',
|
Thumbnail:'选择的情绪板缩略图',
|
||||||
layout:'布局',
|
layout:'布局',
|
||||||
jsContent1:'您最多可以选择8张图片',
|
jsContent1:'您最多可以选择8张图片',
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
Library:'Library',
|
Library:'Library',
|
||||||
Generate:'Generate',
|
Generate:'Generate',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Maximum 10 images can be uploaded, Maximum 2M per image',
|
||||||
Thumbnail:'Thumbnail preview of selected sketchboard',
|
Thumbnail:'Thumbnail preview of selected sketchboard',
|
||||||
inputContent1:'Caption generation',
|
inputContent1:'Caption generation',
|
||||||
maximumLength:'The entered content exceeds the maximum length.',
|
maximumLength:'The entered content exceeds the maximum length.',
|
||||||
@@ -166,6 +167,7 @@ export default {
|
|||||||
Library:'Library',
|
Library:'Library',
|
||||||
Generate:'Generate',
|
Generate:'Generate',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Maximum 10 images can be uploaded, Maximum 2M per image',
|
||||||
Thumbnail:'Thumbnail preview of selected printboard',
|
Thumbnail:'Thumbnail preview of selected printboard',
|
||||||
inputContent1:'Caption generation',
|
inputContent1:'Caption generation',
|
||||||
maximumLength:'The entered content exceeds the maximum length.',
|
maximumLength:'The entered content exceeds the maximum length.',
|
||||||
@@ -195,6 +197,7 @@ export default {
|
|||||||
Library:'Library',
|
Library:'Library',
|
||||||
Generate:'Generate',
|
Generate:'Generate',
|
||||||
Delete:'Delete',
|
Delete:'Delete',
|
||||||
|
Maximum:'Maximum 10 images can be uploaded, Maximum 2M per image',
|
||||||
Thumbnail:'Thumbnail preview of selected moodboard',
|
Thumbnail:'Thumbnail preview of selected moodboard',
|
||||||
layout:'layout',
|
layout:'layout',
|
||||||
jsContent1:'You can select up to 8 images',
|
jsContent1:'You can select up to 8 images',
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ export default {
|
|||||||
Library:'Bibliothèque',
|
Library:'Bibliothèque',
|
||||||
Generate:'Générer',
|
Generate:'Générer',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Un maximum de 10 images peuvent être téléchargées, maximum 2 M par image',
|
||||||
Thumbnail:'Aperçu miniature du tableau de croquis sélectionné',
|
Thumbnail:'Aperçu miniature du tableau de croquis sélectionné',
|
||||||
inputContent1:'Génération de sous-titres',
|
inputContent1:'Génération de sous-titres',
|
||||||
maximumLength:'Le contenu saisi dépasse la longueur maximale.',
|
maximumLength:'Le contenu saisi dépasse la longueur maximale.',
|
||||||
@@ -167,6 +168,7 @@ export default {
|
|||||||
Library:'Bibliothèque',
|
Library:'Bibliothèque',
|
||||||
Generate:'Générer',
|
Generate:'Générer',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Un maximum de 10 images peuvent être téléchargées, maximum 2 M par image',
|
||||||
Thumbnail:"Aperçu miniature de la carte d'impression sélectionnée",
|
Thumbnail:"Aperçu miniature de la carte d'impression sélectionnée",
|
||||||
inputContent1:'Génération de sous-titres',
|
inputContent1:'Génération de sous-titres',
|
||||||
maximumLength:'Le contenu saisi dépasse la longueur maximale.',
|
maximumLength:'Le contenu saisi dépasse la longueur maximale.',
|
||||||
@@ -196,6 +198,7 @@ export default {
|
|||||||
Library:'Bibliothèque',
|
Library:'Bibliothèque',
|
||||||
Generate:'Générer',
|
Generate:'Générer',
|
||||||
Delete:'Supprimer',
|
Delete:'Supprimer',
|
||||||
|
Maximum:'Un maximum de 10 images peuvent être téléchargées, maximum 2 M par image',
|
||||||
Thumbnail:'Aperçu miniature du moodboard sélectionné',
|
Thumbnail:'Aperçu miniature du moodboard sélectionné',
|
||||||
layout:'mise en page',
|
layout:'mise en page',
|
||||||
jsContent1:"Vous pouvez sélectionner jusqu'à 8 images",
|
jsContent1:"Vous pouvez sélectionner jusqu'à 8 images",
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
Library:'Biblioteca',
|
Library:'Biblioteca',
|
||||||
Generate:'creare',
|
Generate:'creare',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'È possibile caricare un massimo di 10 immagini, massimo 2 milioni per immagine',
|
||||||
Thumbnail:'Anteprima in miniatura dello sketchboard selezionato',
|
Thumbnail:'Anteprima in miniatura dello sketchboard selezionato',
|
||||||
inputContent1:'Generazione didascalie',
|
inputContent1:'Generazione didascalie',
|
||||||
maximumLength:'Il contenuto inserito supera la lunghezza massima.',
|
maximumLength:'Il contenuto inserito supera la lunghezza massima.',
|
||||||
@@ -166,6 +167,7 @@ export default {
|
|||||||
Library:'Biblioteca',
|
Library:'Biblioteca',
|
||||||
Generate:'creare',
|
Generate:'creare',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'È possibile caricare un massimo di 10 immagini, massimo 2 milioni per immagine',
|
||||||
Thumbnail:'Anteprima in miniatura della scheda di stampa selezionata',
|
Thumbnail:'Anteprima in miniatura della scheda di stampa selezionata',
|
||||||
inputContent1:'Generazione didascalie',
|
inputContent1:'Generazione didascalie',
|
||||||
maximumLength:'Il contenuto inserito supera la lunghezza massima.',
|
maximumLength:'Il contenuto inserito supera la lunghezza massima.',
|
||||||
@@ -195,6 +197,7 @@ export default {
|
|||||||
Library:'Biblioteca',
|
Library:'Biblioteca',
|
||||||
Generate:'creare',
|
Generate:'creare',
|
||||||
Delete:'Eliminare',
|
Delete:'Eliminare',
|
||||||
|
Maximum:'È possibile caricare un massimo di 10 immagini, massimo 2 milioni per immagine',
|
||||||
Thumbnail:'Anteprima in miniatura della moodboard selezionata',
|
Thumbnail:'Anteprima in miniatura della moodboard selezionata',
|
||||||
layout:'disposizione',
|
layout:'disposizione',
|
||||||
jsContent1:'È possibile selezionare fino a 8 immagini',
|
jsContent1:'È possibile selezionare fino a 8 immagini',
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
Library:'集める',
|
Library:'集める',
|
||||||
Generate:'生成する',
|
Generate:'生成する',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'画像は最大10枚アップロード可能、1枚あたり最大2M',
|
||||||
Thumbnail:'選択したスケッチボードのサムネイル プレビュー',
|
Thumbnail:'選択したスケッチボードのサムネイル プレビュー',
|
||||||
inputContent1:'キャプションの生成',
|
inputContent1:'キャプションの生成',
|
||||||
maximumLength:'入力した内容が最大長を超えています.',
|
maximumLength:'入力した内容が最大長を超えています.',
|
||||||
@@ -166,6 +167,7 @@ export default {
|
|||||||
Library:'集める',
|
Library:'集める',
|
||||||
Generate:'生成する',
|
Generate:'生成する',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'画像は最大10枚アップロード可能、1枚あたり最大2M',
|
||||||
Thumbnail:'選択したプリントボードのサムネイル プレビュー',
|
Thumbnail:'選択したプリントボードのサムネイル プレビュー',
|
||||||
inputContent1:'キャプションの生成',
|
inputContent1:'キャプションの生成',
|
||||||
maximumLength:'入力した内容が最大長を超えています.',
|
maximumLength:'入力した内容が最大長を超えています.',
|
||||||
@@ -195,6 +197,7 @@ export default {
|
|||||||
Library:'集める',
|
Library:'集める',
|
||||||
Generate:'生成する',
|
Generate:'生成する',
|
||||||
Delete:'消去',
|
Delete:'消去',
|
||||||
|
Maximum:'画像は最大10枚アップロード可能、1枚あたり最大2M',
|
||||||
Thumbnail:'選択したムードボードのサムネイル プレビュー',
|
Thumbnail:'選択したムードボードのサムネイル プレビュー',
|
||||||
layout:'レイアウト',
|
layout:'レイアウト',
|
||||||
jsContent1:'最大8枚の画像を選択できます',
|
jsContent1:'最大8枚の画像を選択できます',
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
Library:'도서관',
|
Library:'도서관',
|
||||||
Generate:'생성하다',
|
Generate:'생성하다',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'최대 10개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M',
|
||||||
Thumbnail:'선택한 스케치보드의 썸네일 미리보기',
|
Thumbnail:'선택한 스케치보드의 썸네일 미리보기',
|
||||||
inputContent1:'캡션 생성',
|
inputContent1:'캡션 생성',
|
||||||
maximumLength:'입력한 내용이 최대 길이를 초과했습니다.',
|
maximumLength:'입력한 내용이 최대 길이를 초과했습니다.',
|
||||||
@@ -166,6 +167,7 @@ export default {
|
|||||||
Library:'도서관',
|
Library:'도서관',
|
||||||
Generate:'생성하다',
|
Generate:'생성하다',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'최대 10개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M',
|
||||||
Thumbnail:'선택한 프린트보드의 썸네일 미리보기',
|
Thumbnail:'선택한 프린트보드의 썸네일 미리보기',
|
||||||
inputContent1:'캡션 생성',
|
inputContent1:'캡션 생성',
|
||||||
maximumLength:'입력한 내용이 최대 길이를 초과했습니다.',
|
maximumLength:'입력한 내용이 최대 길이를 초과했습니다.',
|
||||||
@@ -195,6 +197,7 @@ export default {
|
|||||||
Library:'도서관',
|
Library:'도서관',
|
||||||
Generate:'생성하다',
|
Generate:'생성하다',
|
||||||
Delete:'삭제',
|
Delete:'삭제',
|
||||||
|
Maximum:'최대 10개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M',
|
||||||
Thumbnail:'선택한 무드보드의 썸네일 미리보기',
|
Thumbnail:'선택한 무드보드의 썸네일 미리보기',
|
||||||
layout:'정렬하려면',
|
layout:'정렬하려면',
|
||||||
jsContent1:'최대 8개의 이미지를 선택할 수 있습니다.',
|
jsContent1:'최대 8개의 이미지를 선택할 수 있습니다.',
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
Library:'Библиотека',
|
Library:'Библиотека',
|
||||||
Generate:'Генерировать',
|
Generate:'Генерировать',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Можно загрузить максимум 10 изображений, максимум 2 М на изображение.',
|
||||||
Thumbnail:'Предварительный просмотр миниатюр выбранной эскизной панели',
|
Thumbnail:'Предварительный просмотр миниатюр выбранной эскизной панели',
|
||||||
inputContent1:'Создание подписей',
|
inputContent1:'Создание подписей',
|
||||||
maximumLength:'Введенный контент превышает максимальную длину.',
|
maximumLength:'Введенный контент превышает максимальную длину.',
|
||||||
@@ -166,6 +167,7 @@ export default {
|
|||||||
Library:'Библиотека',
|
Library:'Библиотека',
|
||||||
Generate:'Генерировать',
|
Generate:'Генерировать',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Можно загрузить максимум 10 изображений, максимум 2 М на изображение.',
|
||||||
Thumbnail:'Предварительный просмотр миниатюр выбранной печатной платы',
|
Thumbnail:'Предварительный просмотр миниатюр выбранной печатной платы',
|
||||||
inputContent1:'Создание подписей',
|
inputContent1:'Создание подписей',
|
||||||
maximumLength:'Введенный контент превышает максимальную длину.',
|
maximumLength:'Введенный контент превышает максимальную длину.',
|
||||||
@@ -195,6 +197,7 @@ export default {
|
|||||||
Library:'Библиотека',
|
Library:'Библиотека',
|
||||||
Generate:'Генерировать',
|
Generate:'Генерировать',
|
||||||
Delete:'Удалить',
|
Delete:'Удалить',
|
||||||
|
Maximum:'Можно загрузить максимум 10 изображений, максимум 2 М на изображение.',
|
||||||
Thumbnail:'Предварительный просмотр миниатюр выбранного мудборда',
|
Thumbnail:'Предварительный просмотр миниатюр выбранного мудборда',
|
||||||
layout:'макет',
|
layout:'макет',
|
||||||
jsContent1:'Вы можете выбрать до 8 изображений',
|
jsContent1:'Вы можете выбрать до 8 изображений',
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ export default {
|
|||||||
Library:'ห้องสมุด',
|
Library:'ห้องสมุด',
|
||||||
Generate:'กำเนิด',
|
Generate:'กำเนิด',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ',
|
||||||
Thumbnail:'ภาพตัวอย่างขนาดย่อของกระดานร่างภาพที่เลือก',
|
Thumbnail:'ภาพตัวอย่างขนาดย่อของกระดานร่างภาพที่เลือก',
|
||||||
inputContent1:'การสร้างคำบรรยายภาพ',
|
inputContent1:'การสร้างคำบรรยายภาพ',
|
||||||
maximumLength:'เนื้อหาที่ป้อนเกินความยาวสูงสุด.',
|
maximumLength:'เนื้อหาที่ป้อนเกินความยาวสูงสุด.',
|
||||||
@@ -164,6 +165,7 @@ export default {
|
|||||||
Library:'ห้องสมุด',
|
Library:'ห้องสมุด',
|
||||||
Generate:'กำเนิด',
|
Generate:'กำเนิด',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ',
|
||||||
Thumbnail:'ภาพตัวอย่างขนาดย่อของบอร์ดพิมพ์ที่เลือก',
|
Thumbnail:'ภาพตัวอย่างขนาดย่อของบอร์ดพิมพ์ที่เลือก',
|
||||||
inputContent1:'การสร้างคำบรรยายภาพ',
|
inputContent1:'การสร้างคำบรรยายภาพ',
|
||||||
maximumLength:'เนื้อหาที่ป้อนเกินความยาวสูงสุด.',
|
maximumLength:'เนื้อหาที่ป้อนเกินความยาวสูงสุด.',
|
||||||
@@ -193,6 +195,7 @@ export default {
|
|||||||
Library:'ห้องสมุด',
|
Library:'ห้องสมุด',
|
||||||
Generate:'กำเนิด',
|
Generate:'กำเนิด',
|
||||||
Delete:'ลบ',
|
Delete:'ลบ',
|
||||||
|
Maximum:'สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ',
|
||||||
Thumbnail:'ภาพตัวอย่างขนาดย่อของมูดบอร์ดที่เลือก',
|
Thumbnail:'ภาพตัวอย่างขนาดย่อของมูดบอร์ดที่เลือก',
|
||||||
layout:'เลย์เอาต์',
|
layout:'เลย์เอาต์',
|
||||||
jsContent1:'คุณสามารถเลือกได้สูงสุด 8 ภาพ',
|
jsContent1:'คุณสามารถเลือกได้สูงสุด 8 ภาพ',
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
Library:'Thư viện',
|
Library:'Thư viện',
|
||||||
Generate:'Phát ra',
|
Generate:'Phát ra',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh',
|
||||||
Thumbnail:'Xem trước hình thu nhỏ của bảng phác thảo đã chọn',
|
Thumbnail:'Xem trước hình thu nhỏ của bảng phác thảo đã chọn',
|
||||||
inputContent1:'Tạo phụ đề',
|
inputContent1:'Tạo phụ đề',
|
||||||
maximumLength:'Nội dung đã nhập vượt quá độ dài tối đa.',
|
maximumLength:'Nội dung đã nhập vượt quá độ dài tối đa.',
|
||||||
@@ -166,6 +167,7 @@ export default {
|
|||||||
Library:'Thư viện',
|
Library:'Thư viện',
|
||||||
Generate:'Phát ra',
|
Generate:'Phát ra',
|
||||||
PIN:'PIN',
|
PIN:'PIN',
|
||||||
|
Maximum:'Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh',
|
||||||
Thumbnail:'Xem trước hình thu nhỏ của bảng in đã chọn',
|
Thumbnail:'Xem trước hình thu nhỏ của bảng in đã chọn',
|
||||||
inputContent1:'Tạo phụ đề',
|
inputContent1:'Tạo phụ đề',
|
||||||
maximumLength:'Nội dung đã nhập vượt quá độ dài tối đa.',
|
maximumLength:'Nội dung đã nhập vượt quá độ dài tối đa.',
|
||||||
@@ -195,6 +197,7 @@ export default {
|
|||||||
Library:'Thư viện',
|
Library:'Thư viện',
|
||||||
Generate:'Phát ra',
|
Generate:'Phát ra',
|
||||||
Delete:'Xóa bỏ',
|
Delete:'Xóa bỏ',
|
||||||
|
Maximum:'Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh',
|
||||||
Thumbnail:'Xem trước hình thu nhỏ của bảng tâm trạng đã chọn',
|
Thumbnail:'Xem trước hình thu nhỏ của bảng tâm trạng đã chọn',
|
||||||
layout:'cách trình bày',
|
layout:'cách trình bày',
|
||||||
jsContent1:'Bạn có thể chọn tối đa 8 hình ảnh',
|
jsContent1:'Bạn có thể chọn tối đa 8 hình ảnh',
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ let flexible = (designWidth, maxWidth,minWidth) =>{
|
|||||||
var doc = document, win = window, docEl = doc.documentElement, remStyle = document.createElement("style"), tid;
|
var doc = document, win = window, docEl = doc.documentElement, remStyle = document.createElement("style"), tid;
|
||||||
designWidth = designWidth || 1920;
|
designWidth = designWidth || 1920;
|
||||||
maxWidth = maxWidth || 2560;
|
maxWidth = maxWidth || 2560;
|
||||||
minWidth = minWidth || 1024;
|
minWidth = minWidth || 1440;
|
||||||
function refreshRem() {
|
function refreshRem() {
|
||||||
var width = docEl.getBoundingClientRect().width;
|
var width = docEl.getBoundingClientRect().width;
|
||||||
maxWidth = maxWidth || 1920;
|
maxWidth = maxWidth || 1920;
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ export default defineComponent({
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 9rem;
|
padding: 0 9rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 1024px;
|
min-width: 1440px;
|
||||||
position: relative;
|
position: relative;
|
||||||
.page_content {
|
.page_content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -994,7 +994,7 @@ export default defineComponent({
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 9rem;
|
padding: 0 9rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 1024px;
|
min-width: 1440px;
|
||||||
position: relative;
|
position: relative;
|
||||||
// left: 50%;
|
// left: 50%;
|
||||||
// margin-left: -50%;
|
// margin-left: -50%;
|
||||||
@@ -1304,7 +1304,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
.ant-modal-mask{
|
.ant-modal-mask{
|
||||||
background: linear-gradient(45deg, #eee4f3, #f3f4e6);
|
background: linear-gradient(45deg, #eee4f3, #f3f4e6);
|
||||||
min-width: 1024px;
|
min-width: 1440px;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: calc(100% - 7rem);
|
height: calc(100% - 7rem);
|
||||||
@@ -1314,11 +1314,11 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
.ant-modal-centered{
|
.ant-modal-centered{
|
||||||
top: 7rem;
|
top: 7rem;
|
||||||
min-width: 1024px;
|
min-width: 1440px;
|
||||||
// left: 50%;
|
// left: 50%;
|
||||||
// margin-left: -50%;
|
// margin-left: -50%;
|
||||||
.ant-modal{
|
.ant-modal{
|
||||||
min-width: .65*1024px;
|
min-width: .65*1440px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -90,13 +90,19 @@
|
|||||||
<div class="content_search_block">
|
<div class="content_search_block">
|
||||||
<input class="search_input" :placeholder="$t('LibraryPage.inputContent1')" v-model="searchPictureName" @keydown.enter="getLibraryList()">
|
<input class="search_input" :placeholder="$t('LibraryPage.inputContent1')" v-model="searchPictureName" @keydown.enter="getLibraryList()">
|
||||||
<a-cascader
|
<a-cascader
|
||||||
|
@click.stop="dropdownVisibleChange"
|
||||||
|
ref="cascader"
|
||||||
v-model:value="value"
|
v-model:value="value"
|
||||||
style="width: 60%"
|
style="width: 60%"
|
||||||
multiple
|
multiple
|
||||||
max-tag-count="responsive"
|
max-tag-count="responsive"
|
||||||
:options="options"
|
:options="options"
|
||||||
placeholder="Please select"
|
placeholder="Please select"
|
||||||
></a-cascader>
|
:show-search="{ filter }"
|
||||||
|
:open="labelOpen"
|
||||||
|
dropdownClassName="libraryPageCascader"
|
||||||
|
>
|
||||||
|
</a-cascader>
|
||||||
<!-- <div class="search_icon_block" @click="getLibraryList()"><span class="icon iconfont icon-sousuo"></span></div> -->
|
<!-- <div class="search_icon_block" @click="getLibraryList()"><span class="icon iconfont icon-sousuo"></span></div> -->
|
||||||
<div class="generage_btn search_icon_block" @click="getLibraryList()"><span class="icon iconfont icon-sousuo"></span></div>
|
<div class="generage_btn search_icon_block" @click="getLibraryList()"><span class="icon iconfont icon-sousuo"></span></div>
|
||||||
|
|
||||||
@@ -280,7 +286,7 @@
|
|||||||
v-model:visible="renameVisivle"
|
v-model:visible="renameVisivle"
|
||||||
:footer="null"
|
:footer="null"
|
||||||
title="Rename Pic"
|
title="Rename Pic"
|
||||||
width="56rem"
|
width="65%"
|
||||||
:maskClosable="false"
|
:maskClosable="false"
|
||||||
:centered="true"
|
:centered="true"
|
||||||
@onCancel="closeRenameModal"
|
@onCancel="closeRenameModal"
|
||||||
@@ -322,7 +328,7 @@ import { useStore } from "vuex";
|
|||||||
import { Https } from "@/tool/https";
|
import { Https } from "@/tool/https";
|
||||||
import { getCookie } from "@/tool/cookie";
|
import { getCookie } from "@/tool/cookie";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
|
import type { ShowSearchType } from 'ant-design-vue/es/cascader';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
HeaderComponent,
|
HeaderComponent,
|
||||||
@@ -409,7 +415,7 @@ export default defineComponent({
|
|||||||
value: 'little',
|
value: 'little',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
label: 'Toy Fish',
|
label: `'Toy Fish'`,
|
||||||
value: 'fish',
|
value: 'fish',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -425,6 +431,10 @@ export default defineComponent({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
const filter: ShowSearchType['filter'] = (inputValue, path) => {
|
||||||
|
return path.some(option => option.label.toLowerCase().indexOf(inputValue.toLowerCase()) > -1);
|
||||||
|
};
|
||||||
|
let labelOpen = ref(false)
|
||||||
return {
|
return {
|
||||||
menuList,
|
menuList,
|
||||||
selectImgList,
|
selectImgList,
|
||||||
@@ -457,7 +467,9 @@ export default defineComponent({
|
|||||||
printModel,
|
printModel,
|
||||||
value: ref<string[]>([]),
|
value: ref<string[]>([]),
|
||||||
options,
|
options,
|
||||||
|
filter,
|
||||||
t,
|
t,
|
||||||
|
labelOpen,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data(this_) {
|
data(this_) {
|
||||||
@@ -483,6 +495,7 @@ export default defineComponent({
|
|||||||
this.getLibraryList()
|
this.getLibraryList()
|
||||||
this.getSex()
|
this.getSex()
|
||||||
this.token = getCookie("token") || "";
|
this.token = getCookie("token") || "";
|
||||||
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|
||||||
@@ -723,8 +736,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
|
|
||||||
customRequest(event:any){
|
customRequest(event:any){
|
||||||
console.log(222);
|
|
||||||
|
|
||||||
if(this.selectCode == "Models"){
|
if(this.selectCode == "Models"){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -951,27 +962,67 @@ export default defineComponent({
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// this.isShowMark = true
|
this.isShowMark = true
|
||||||
// Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
Https.axiosPost(Https.httpUrls.sketchAndPrintGenerate, data).then(
|
||||||
// (rv) => {
|
(rv) => {
|
||||||
// if(rv){
|
if(rv){
|
||||||
// let arr
|
let arr
|
||||||
// rv.generatedCollectionItems.forEach((v:any,index:number)=>{
|
rv.generatedCollectionItems.forEach((v:any,index:number)=>{
|
||||||
// arr = {
|
arr = {
|
||||||
// id:v.generateItemId,
|
id:v.generateItemId,
|
||||||
// imgUrl:v.generateItemUrl,
|
imgUrl:v.generateItemUrl,
|
||||||
// }
|
}
|
||||||
// this.generateList.push(arr)
|
this.generateList.push(arr)
|
||||||
// console.log(this.generateList);
|
})
|
||||||
|
this.isShowMark = false
|
||||||
// })
|
}
|
||||||
// this.isShowMark = false
|
}
|
||||||
// }
|
).catch(res=>{
|
||||||
// }
|
this.isShowMark = false
|
||||||
// ).catch(res=>{
|
});
|
||||||
// this.isShowMark = false
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
dropdownVisibleChange(){
|
||||||
|
this.labelOpen = true
|
||||||
|
document.addEventListener('click',this.setClick)
|
||||||
|
nextTick().then(()=>{
|
||||||
|
let cascader = document.getElementsByClassName('libraryPageCascader')[0]
|
||||||
|
let cascaderChild = cascader.children[0].children[0]
|
||||||
|
console.log(cascader.children,cascaderChild);
|
||||||
|
cascader.addEventListener('click',(event)=>{
|
||||||
|
event.stopPropagation()
|
||||||
|
})
|
||||||
|
if(cascader.children[0].children[0].children.length > 1){
|
||||||
|
}else{
|
||||||
|
|
||||||
|
let button1:any = document.createElement("span")
|
||||||
|
button1.classList.add('started_btn','cascader_btn1')
|
||||||
|
let button2:any = document.createElement("span")
|
||||||
|
button2.classList.add('started_btn','cascader_btn2')
|
||||||
|
let divMax:any = document.createElement("div")
|
||||||
|
divMax.classList.add('cascader_btn_max')
|
||||||
|
button1.textContent = '新增'
|
||||||
|
button2.textContent = '删除'
|
||||||
|
button1.addEventListener('click',this.addLabel,false)
|
||||||
|
button2.addEventListener('click',this.removeLabel,false)
|
||||||
|
divMax.appendChild(button1)
|
||||||
|
divMax.appendChild(button2)
|
||||||
|
cascaderChild?.insertAdjacentElement("afterbegin", divMax);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
setClick(){
|
||||||
|
this.labelOpen = false
|
||||||
|
document.removeEventListener('click',this.setClick)
|
||||||
|
},
|
||||||
|
removeClick(){
|
||||||
|
},
|
||||||
|
addLabel(){
|
||||||
|
this.labelOpen = false
|
||||||
|
},
|
||||||
|
removeLabel(){
|
||||||
|
this.labelOpen = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
@@ -981,7 +1032,7 @@ export default defineComponent({
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 9rem;
|
padding: 0 9rem;
|
||||||
min-width: 1024px;
|
min-width: 1440px;
|
||||||
position: relative;
|
position: relative;
|
||||||
.page_content {
|
.page_content {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -1109,7 +1160,7 @@ export default defineComponent({
|
|||||||
.content_search_block{
|
.content_search_block{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 75rem;
|
width: 75rem;
|
||||||
.search_input{
|
.search_input{
|
||||||
// width: 20.8rem;
|
// width: 20.8rem;
|
||||||
// padding-left: 1.5rem;
|
// padding-left: 1.5rem;
|
||||||
@@ -1148,6 +1199,7 @@ export default defineComponent({
|
|||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.library_right_header{
|
.library_right_header{
|
||||||
|
|||||||
Reference in New Issue
Block a user