From 018240b03137905082f6a9bdb1570f17819373e0 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Tue, 1 Nov 2022 19:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E8=BE=A8=E7=8E=87?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/Noteedit.vue | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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;