fix
This commit is contained in:
@@ -94,8 +94,14 @@
|
|||||||
>
|
>
|
||||||
</a-slider>
|
</a-slider>
|
||||||
<div class="habit_System_Designer_text_max">
|
<div class="habit_System_Designer_text_max">
|
||||||
<div class="habit_System_Designer_text">{{ $t('Habit.System') }}</div>
|
<div class="habit_System_Designer_text">
|
||||||
<div class="habit_System_Designer_text">{{ $t('Habit.Designer') }}</div>
|
|
||||||
|
{{ $t('Habit.System') }}<span>(100%)</span>
|
||||||
|
</div>
|
||||||
|
<div class="habit_System_Designer_text">
|
||||||
|
|
||||||
|
{{ $t('Habit.Designer') }}<span>(100%)</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="habit_model" :class="[driver__.index == 3?driver__.driver?'Guide_active':'':'']">
|
<div class="habit_model" :class="[driver__.index == 3?driver__.driver?'Guide_active':'':'']">
|
||||||
@@ -614,9 +620,8 @@ export default defineComponent({
|
|||||||
this.workspaceItem.systemDesignerPercentage = num
|
this.workspaceItem.systemDesignerPercentage = num
|
||||||
},
|
},
|
||||||
formatter(value: number) {
|
formatter(value: number) {
|
||||||
// let num = Math.abs((value-50)*2)
|
let num = Math.abs((value-50)*2)
|
||||||
|
return `${num}%`;
|
||||||
return `${value}%`;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
//根据id设置当前参数
|
//根据id设置当前参数
|
||||||
@@ -916,7 +921,14 @@ export default defineComponent({
|
|||||||
.habit_System_Designer_text_max {
|
.habit_System_Designer_text_max {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
.habit_System_Designer_text {
|
.habit_System_Designer_text {
|
||||||
|
>span{
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #2d2e76;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -504,7 +504,7 @@ export default defineComponent({
|
|||||||
// }
|
// }
|
||||||
if(this.searchPictureName){
|
if(this.searchPictureName){
|
||||||
let arr = this.searchPictureName.split(/\s+/).length
|
let arr = this.searchPictureName.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('Generate.jsContent4')
|
this.t('Generate.jsContent4')
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -723,7 +723,7 @@ export default defineComponent({
|
|||||||
// this.beforeUpload(false)
|
// this.beforeUpload(false)
|
||||||
if(this.captionGeneration){
|
if(this.captionGeneration){
|
||||||
let arr = this.captionGeneration.split(/\s+/).length
|
let arr = this.captionGeneration.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('PrintboardUpload.jsContent5')
|
this.t('PrintboardUpload.jsContent5')
|
||||||
);
|
);
|
||||||
@@ -740,7 +740,7 @@ export default defineComponent({
|
|||||||
if(this.useGenerate.imgId){
|
if(this.useGenerate.imgId){
|
||||||
if(this.captionGeneration){
|
if(this.captionGeneration){
|
||||||
let arr = this.captionGeneration.split(/\s+/).length
|
let arr = this.captionGeneration.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('PrintboardUpload.jsContent5')
|
this.t('PrintboardUpload.jsContent5')
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -686,7 +686,7 @@ export default defineComponent({
|
|||||||
// this.beforeUpload(false)
|
// this.beforeUpload(false)
|
||||||
if(this.captionGeneration){
|
if(this.captionGeneration){
|
||||||
let arr = this.captionGeneration.split(/\s+/).length
|
let arr = this.captionGeneration.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('PrintboardUpload.jsContent5')
|
this.t('PrintboardUpload.jsContent5')
|
||||||
);
|
);
|
||||||
@@ -703,7 +703,7 @@ export default defineComponent({
|
|||||||
if(this.useGenerate.imgId){
|
if(this.useGenerate.imgId){
|
||||||
if(this.captionGeneration){
|
if(this.captionGeneration){
|
||||||
let arr = this.captionGeneration.split(/\s+/).length
|
let arr = this.captionGeneration.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('PrintboardUpload.jsContent5')
|
this.t('PrintboardUpload.jsContent5')
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -213,6 +213,7 @@
|
|||||||
@keydown.enter="getgenerate" :readonly="checkbox[0].type && selectCode != 'Moodboard'"
|
@keydown.enter="getgenerate" :readonly="checkbox[0].type && selectCode != 'Moodboard'"
|
||||||
:placeholder="$t('LibraryPage.inputContent2')"
|
:placeholder="$t('LibraryPage.inputContent2')"
|
||||||
v-model="captionGeneration">
|
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">
|
<div v-show="!isGenerate[selectCode]" class="generage_btn started_btn" @click.stop="getgenerate">
|
||||||
{{ $t('LibraryPage.Generate') }}
|
{{ $t('LibraryPage.Generate') }}
|
||||||
<!-- <div v-show="isGenerate"><a-spin size="large" /></div> -->
|
<!-- <div v-show="isGenerate"><a-spin size="large" /></div> -->
|
||||||
@@ -1152,7 +1153,7 @@ export default defineComponent({
|
|||||||
// this.beforeUpload(false)
|
// this.beforeUpload(false)
|
||||||
if(this.captionGeneration){
|
if(this.captionGeneration){
|
||||||
let arr = this.captionGeneration.split(/\s+/).length
|
let arr = this.captionGeneration.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('LibraryPage.jsContent6')
|
this.t('LibraryPage.jsContent6')
|
||||||
);
|
);
|
||||||
@@ -1170,7 +1171,7 @@ export default defineComponent({
|
|||||||
if(generageImg?.id){
|
if(generageImg?.id){
|
||||||
if(this.captionGeneration){
|
if(this.captionGeneration){
|
||||||
let arr = this.captionGeneration.split(/\s+/).length
|
let arr = this.captionGeneration.split(/\s+/).length
|
||||||
if(arr > 75){
|
if(arr > 250){
|
||||||
message.info(
|
message.info(
|
||||||
this.t('LibraryPage.jsContent6')
|
this.t('LibraryPage.jsContent6')
|
||||||
);
|
);
|
||||||
@@ -1528,6 +1529,7 @@ export default defineComponent({
|
|||||||
color: #C2C2C2;
|
color: #C2C2C2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search_cascader{
|
.search_cascader{
|
||||||
// width: 53%;
|
// width: 53%;
|
||||||
width: 38rem;
|
width: 38rem;
|
||||||
@@ -1681,8 +1683,14 @@ export default defineComponent({
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
.input_box{
|
.input_box{
|
||||||
background:initial;
|
background:initial;
|
||||||
|
position: relative;
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
&:hover{
|
||||||
|
.search_textarea{
|
||||||
|
display: block
|
||||||
|
}
|
||||||
|
}
|
||||||
input{
|
input{
|
||||||
width: 30rem;
|
width: 30rem;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
@@ -1690,6 +1698,15 @@ export default defineComponent({
|
|||||||
cursor: no-drop;
|
cursor: no-drop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.search_textarea{
|
||||||
|
height: auto;
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 30rem;
|
||||||
|
top: 0rem;
|
||||||
|
border: 1px solid #f6f5fa;
|
||||||
|
}
|
||||||
.started_btn{
|
.started_btn{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user