This commit is contained in:
daihh
2022-10-17 22:11:33 +08:00
parent 951d68fcfe
commit a13e4ddd88
2 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
</div>
<div class="newcote-text">
<el-input type="textarea" :autofocus="true" :style="`min-height:${inputHeight}px`" placeholder="好记性不如烂笔头,记录些什么吧~"
v-model="content_new" maxlength="200" :autosize="{ minRows: 6, maxRows: 20}"
v-model="content_new" maxlength="200" :autosize="{ minRows: 2, maxRows: 20}"
show-word-limit>
</el-input>
</div>
@@ -122,7 +122,7 @@ export default {
return {
inAnimationText:'笔记保存成功U币+2',
isEdit:false,
inputHeight:138,
inputHeight:70,
courseId:'',
inAnimation: false,
btnPlayTime:false,//是否显示添加视频时间
@@ -157,7 +157,7 @@ export default {
watch: {
//内容的高度
height(val){
this.inputHeight=(val-215);
this.inputHeight=(val-185);
console.log(this.inputHeight,'this.inputHeight');
if(this.inputHeight>500){
this.inputHeight=500;

View File

@@ -605,8 +605,8 @@
///console.log(h0,h,$this.controlHeight,'$this.controlHeight');
//按高度
//$this.controlHeight=h-99;
$this.controlHeight=h-39;
//console.log($this.controlHeight,'$this.controlHeight');
$this.controlHeight=h-95;
console.log(h,$this.controlHeight,'$this.controlHeight');
})
},