fix
This commit is contained in:
@@ -213,6 +213,7 @@
|
||||
@keydown.enter="getgenerate" :readonly="checkbox[0].type && selectCode != 'Moodboard'"
|
||||
:placeholder="$t('LibraryPage.inputContent2')"
|
||||
v-model="captionGeneration">
|
||||
<!-- <textarea class="search_textarea " cols="30" rows="10"></textarea> -->
|
||||
<div v-show="!isGenerate[selectCode]" class="generage_btn started_btn" @click.stop="getgenerate">
|
||||
{{ $t('LibraryPage.Generate') }}
|
||||
<!-- <div v-show="isGenerate"><a-spin size="large" /></div> -->
|
||||
@@ -1152,7 +1153,7 @@ export default defineComponent({
|
||||
// this.beforeUpload(false)
|
||||
if(this.captionGeneration){
|
||||
let arr = this.captionGeneration.split(/\s+/).length
|
||||
if(arr > 75){
|
||||
if(arr > 250){
|
||||
message.info(
|
||||
this.t('LibraryPage.jsContent6')
|
||||
);
|
||||
@@ -1170,7 +1171,7 @@ export default defineComponent({
|
||||
if(generageImg?.id){
|
||||
if(this.captionGeneration){
|
||||
let arr = this.captionGeneration.split(/\s+/).length
|
||||
if(arr > 75){
|
||||
if(arr > 250){
|
||||
message.info(
|
||||
this.t('LibraryPage.jsContent6')
|
||||
);
|
||||
@@ -1528,6 +1529,7 @@ export default defineComponent({
|
||||
color: #C2C2C2;
|
||||
}
|
||||
}
|
||||
|
||||
.search_cascader{
|
||||
// width: 53%;
|
||||
width: 38rem;
|
||||
@@ -1681,8 +1683,14 @@ export default defineComponent({
|
||||
padding: 0;
|
||||
.input_box{
|
||||
background:initial;
|
||||
position: relative;
|
||||
padding: 1.5rem 0;
|
||||
padding: 0;
|
||||
&:hover{
|
||||
.search_textarea{
|
||||
display: block
|
||||
}
|
||||
}
|
||||
input{
|
||||
width: 30rem;
|
||||
height: 3rem;
|
||||
@@ -1690,6 +1698,15 @@ export default defineComponent({
|
||||
cursor: no-drop;
|
||||
}
|
||||
}
|
||||
.search_textarea{
|
||||
height: auto;
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 30rem;
|
||||
top: 0rem;
|
||||
border: 1px solid #f6f5fa;
|
||||
}
|
||||
.started_btn{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user