mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
提交
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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');
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user