修复部分bug和页面调整
This commit is contained in:
@@ -188,7 +188,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<CollectionModal ref="collectionModal" @finishCollection="finishCollection()"></CollectionModal>
|
||||
<KeepAlive>
|
||||
<CollectionModal ref="collectionModal" @finishCollection="finishCollection()"></CollectionModal>
|
||||
</KeepAlive>
|
||||
<DesignDetail ref="designDetail" @finishRedesign="finishRedesign"></DesignDetail>
|
||||
<ExportNewCoolection id="exportNewCoolection"></ExportNewCoolection>
|
||||
<ExportModel ref="ExportModel" @setTask="setTask"></ExportModel>
|
||||
@@ -459,7 +461,7 @@ export default defineComponent({
|
||||
this.getHistoryChoose(this.$route.params.id, "normal");
|
||||
this.store.commit("setDesignCollectionList",[]);
|
||||
} else {
|
||||
this.store.commit("clearAllData");
|
||||
// this.store.commit("clearAllData");
|
||||
}
|
||||
},
|
||||
directives:{
|
||||
|
||||
@@ -203,18 +203,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="input_box" :class="{active:inputShow}">
|
||||
<input
|
||||
class="search_input"
|
||||
@input="ifMaximumLength"
|
||||
:maxlength='inputShow?0:9999'
|
||||
:class="{active:checkbox[0].type && selectCode != 'Moodboard'}"
|
||||
@keydown.enter="getgenerate" :readonly="checkbox[0].type && selectCode != 'Moodboard'"
|
||||
:placeholder="$t('LibraryPage.inputContent2')"
|
||||
v-model="captionGeneration">
|
||||
<div class="generage_btn started_btn" @click.stop="getgenerate">{{ $t('LibraryPage.Generate') }}</div>
|
||||
<span>{{ $t('LibraryPage.maximumLength') }}</span>
|
||||
<div class="input_border">
|
||||
<div class="input_box" :class="{active:inputShow}">
|
||||
<input
|
||||
class="search_input "
|
||||
@input="ifMaximumLength"
|
||||
:maxlength='inputShow?0:9999'
|
||||
:class="{active:checkbox[0].type && selectCode != 'Moodboard'}"
|
||||
@keydown.enter="getgenerate" :readonly="checkbox[0].type && selectCode != 'Moodboard'"
|
||||
:placeholder="$t('LibraryPage.inputContent2')"
|
||||
v-model="captionGeneration">
|
||||
<div class="generage_btn started_btn" @click.stop="getgenerate">{{ $t('LibraryPage.Generate') }}</div>
|
||||
<span>{{ $t('LibraryPage.maximumLength') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div v-show="selectCode == 'Printboard'" class="printModel">
|
||||
<div @click.stop="PrintModel">{{ printModel.name }}</div>
|
||||
@@ -1594,24 +1595,31 @@ export default defineComponent({
|
||||
span {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 500;
|
||||
bottom: -.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.input_box{
|
||||
background:initial;
|
||||
padding: 1.5rem 0;
|
||||
input{
|
||||
width: 30rem;
|
||||
height: 3rem;
|
||||
&.active{
|
||||
cursor: no-drop;
|
||||
.input_border{
|
||||
background: rgba(0, 0, 0, 0);
|
||||
padding: 0;
|
||||
.input_box{
|
||||
background:initial;
|
||||
padding: 1.5rem 0;
|
||||
padding: 0;
|
||||
input{
|
||||
width: 30rem;
|
||||
height: 3rem;
|
||||
&.active{
|
||||
cursor: no-drop;
|
||||
}
|
||||
}
|
||||
|
||||
.generage_btn{
|
||||
margin: 0 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.generage_btn{
|
||||
margin: 0 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.printModel{
|
||||
font-size: 1.4rem;
|
||||
font-weight: 500;
|
||||
@@ -1658,6 +1666,16 @@ export default defineComponent({
|
||||
height: 8rem;
|
||||
margin: 0;
|
||||
margin-right: 2rem;
|
||||
.delete_file_block{
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
span{
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.upload_component{
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user