fix
This commit is contained in:
@@ -310,7 +310,7 @@
|
||||
</div>
|
||||
<div class="content_img_name"></div>
|
||||
</div>
|
||||
<div class="no_data_block" v-show="!imgList.length && !isShowMark">
|
||||
<div class="no_data_block" v-show="!generateList.length && !isShowMark">
|
||||
<img src="@/assets/images/homePage/null_img.png">
|
||||
</div>
|
||||
</div>
|
||||
@@ -361,6 +361,37 @@
|
||||
</div>
|
||||
</template>
|
||||
</el-cascader>
|
||||
<div v-show="selectCode == 'Sketchboard'" class="collection_rename_title">{{$t('LibraryPage.Category')}}</div>
|
||||
<!-- <div v-show="selectCode == 'Sketchboard'" class="collection_rename_title">{{$t('LibraryPage.Category')}}</div> -->
|
||||
<div v-show="selectCode == 'Sketchboard'" class="rename_form_content">
|
||||
<div class="select_block">
|
||||
<a-select
|
||||
ref="select"
|
||||
v-model:value="editSex.value"
|
||||
:options="sexList"
|
||||
@change="getPosition"
|
||||
>
|
||||
<template #suffixIcon
|
||||
><span
|
||||
class="icon iconfont icon-xiala"
|
||||
style="color: #343579"
|
||||
></span
|
||||
></template>
|
||||
</a-select>
|
||||
<a-select
|
||||
ref="select"
|
||||
v-model:value="editDesignType.value"
|
||||
:options="disignTypeList"
|
||||
>
|
||||
<template #suffixIcon
|
||||
><span
|
||||
class="icon iconfont icon-xiala"
|
||||
style="color: #343579"
|
||||
></span
|
||||
></template>
|
||||
</a-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rename_button_list">
|
||||
<div class="rename_button_item rename_cancel_button" @click="closeRenameModal()">{{ $t('LibraryPage.Cancel') }}</div>
|
||||
<div class="rename_button_item rename_submit_button" @click="confrimRename()">{{ $t('LibraryPage.Sure') }}</div>
|
||||
@@ -431,6 +462,12 @@ export default defineComponent({
|
||||
let disignTypeList:any = [
|
||||
|
||||
]
|
||||
let editSex:any = ref({
|
||||
value:''
|
||||
})
|
||||
let editDesignType:any = ref({
|
||||
value:''
|
||||
})
|
||||
let imgList = ref([])
|
||||
let currentPage:any = ref(1)
|
||||
let pageSize:any = ref(18)
|
||||
@@ -506,6 +543,8 @@ export default defineComponent({
|
||||
sexList,
|
||||
sex,
|
||||
disignTypeList,
|
||||
editSex,
|
||||
editDesignType,
|
||||
designType,
|
||||
imgList,
|
||||
currentPage,
|
||||
@@ -607,6 +646,7 @@ export default defineComponent({
|
||||
})
|
||||
});
|
||||
this.designType = arr[0]
|
||||
this.editDesignType = arr[0]
|
||||
this.disignTypeList = arr
|
||||
// this.workspaceItem.position = this.singleTypeList[0].label
|
||||
}
|
||||
@@ -807,7 +847,17 @@ export default defineComponent({
|
||||
).catch((res)=>{
|
||||
});
|
||||
}
|
||||
|
||||
let data3 = {
|
||||
libraryId:this.renameType === 'single' ? [this.selectSingleImg.id] : this.selectImgList,
|
||||
level2Type:this.editDesignType.value,
|
||||
}
|
||||
if(this.selectCode == 'Sketchboard'){
|
||||
await Https.axiosPost(Https.httpUrls.setSketchLibrary,data3).then(
|
||||
(rv) => {
|
||||
}
|
||||
).catch((res)=>{
|
||||
});
|
||||
}
|
||||
// if(bor){
|
||||
|
||||
// }
|
||||
@@ -819,6 +869,8 @@ export default defineComponent({
|
||||
//打开修改名称弹窗
|
||||
showRenameModal(data:any,type:any){
|
||||
this.newPicName = ''
|
||||
this.editSex = this.sex
|
||||
this.editDesignType = this.designType
|
||||
if(type =='batch' && !this.selectImgList.length){ //批量但未选中
|
||||
this.newPicName = ''
|
||||
return
|
||||
@@ -1577,7 +1629,6 @@ export default defineComponent({
|
||||
.librart_headr_right{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.select_block{
|
||||
// background: #FFFFFF;
|
||||
color: #1A1A1A !important;
|
||||
@@ -1906,6 +1957,37 @@ export default defineComponent({
|
||||
color:#adabb9
|
||||
}
|
||||
}
|
||||
.select_block{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 1.8rem;
|
||||
color:#adabb9;
|
||||
font-weight: 300;
|
||||
.ant-select{
|
||||
border-radius: 4px;
|
||||
width: 48%;
|
||||
border: 0.1rem solid #d9d9d9 !important;
|
||||
.ant-select-arrow{
|
||||
.icon-xiala{
|
||||
margin-left: -0rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ant-select-selection-item{
|
||||
color:#262626;
|
||||
font-weight: 300;
|
||||
}
|
||||
.ant-select-selector{
|
||||
margin-left: 0rem;
|
||||
color:#adabb9;
|
||||
width: 100%;
|
||||
padding-left: 2.1rem;
|
||||
}
|
||||
.icon-xiala{
|
||||
color: #adabb9 !important;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rename_button_list{
|
||||
|
||||
Reference in New Issue
Block a user