diff --git a/src/views/user/Noteedit.vue b/src/views/user/Noteedit.vue index c05ff51d..c8eb63a1 100644 --- a/src/views/user/Noteedit.vue +++ b/src/views/user/Noteedit.vue @@ -6,13 +6,13 @@ {{isShowTip}} 历史记录 -
+
{{getHMS(editdata.playTime)}}
-
@@ -64,6 +64,7 @@ export default { data () { return { getHMS, + editContent: 'edit-content', imgContent:[], fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, isShowList:false, @@ -79,6 +80,7 @@ export default { histdata:[], id:'', timer:null, + rowNum:16 }; }, mounted(){ @@ -87,6 +89,13 @@ export default { this.timer = setInterval(()=>{ this.savedata(1); },30000); + + let screenWidth = window.screen.availWidth; + if (screenWidth <= 1440) { + this.editContent = 'edit-content-low'; + this.rowNum = 11; + } + }, methods:{ toCoursePage(){ @@ -305,6 +314,12 @@ export default { min-height: 380px; background-color: #F5F5F5; } + +.edit-content-low{ + min-height: 200px; + background-color: #F5F5F5; +} + .note-text{ font-size: 14px; font-weight: 400;