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>
|
||||||
<div class="newcote-text">
|
<div class="newcote-text">
|
||||||
<el-input type="textarea" :autofocus="true" :style="`min-height:${inputHeight}px`" placeholder="好记性不如烂笔头,记录些什么吧~"
|
<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>
|
show-word-limit>
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
@@ -122,7 +122,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
inAnimationText:'笔记保存成功,U币+2',
|
inAnimationText:'笔记保存成功,U币+2',
|
||||||
isEdit:false,
|
isEdit:false,
|
||||||
inputHeight:138,
|
inputHeight:70,
|
||||||
courseId:'',
|
courseId:'',
|
||||||
inAnimation: false,
|
inAnimation: false,
|
||||||
btnPlayTime:false,//是否显示添加视频时间
|
btnPlayTime:false,//是否显示添加视频时间
|
||||||
@@ -157,7 +157,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
//内容的高度
|
//内容的高度
|
||||||
height(val){
|
height(val){
|
||||||
this.inputHeight=(val-215);
|
this.inputHeight=(val-185);
|
||||||
console.log(this.inputHeight,'this.inputHeight');
|
console.log(this.inputHeight,'this.inputHeight');
|
||||||
if(this.inputHeight>500){
|
if(this.inputHeight>500){
|
||||||
this.inputHeight=500;
|
this.inputHeight=500;
|
||||||
|
|||||||
@@ -605,8 +605,8 @@
|
|||||||
///console.log(h0,h,$this.controlHeight,'$this.controlHeight');
|
///console.log(h0,h,$this.controlHeight,'$this.controlHeight');
|
||||||
//按高度
|
//按高度
|
||||||
//$this.controlHeight=h-99;
|
//$this.controlHeight=h-99;
|
||||||
$this.controlHeight=h-39;
|
$this.controlHeight=h-95;
|
||||||
//console.log($this.controlHeight,'$this.controlHeight');
|
console.log(h,$this.controlHeight,'$this.controlHeight');
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user