浏览代码

取消定位置底

Karsa 2 年之前
父节点
当前提交
bee4c71cb2

+ 1 - 1
src/views/hzyb/components/leaveMessage/index.vue

@@ -322,7 +322,7 @@ const delMessageHandle = ({ comment_id }) => {
 	}
 
 	.message-list-cont {
-		padding: 40px 30px;
+		padding: 70px 30px;
 		background: #F5F6FA;
 		.message-section {
 			.section-label {

+ 0 - 8
src/views/hzyb/report/ChapterDetail.vue

@@ -243,14 +243,6 @@ export default {
                   }) 
               }
           }
-        }else {
-            if(this.fromPage !== 'message') return
-
-            this.$nextTick(() => {
-                let height = document.getElementsByClassName('main-box')[0].getBoundingClientRect().height;
-                // document.getElementById('messgaeBoardCont').scrollIntoView();
-                window.scrollTo(0,height)
-            })
         }
 
         //向小程序发送分享数据

+ 0 - 7
src/views/hzyb/report/Detail.vue

@@ -252,13 +252,6 @@ export default {
                             }) 
                         }
                     }
-                } else {
-                    if(this.fromPage !== 'message') return
-                    this.$nextTick(() => {
-                        let height = document.getElementsByClassName('main-box')[0].getBoundingClientRect().height;
-                        // document.getElementById('messgaeBoardCont').scrollIntoView();
-                        window.scrollTo(0,height)
-                    })
                 }
                 //向小程序发送分享数据
                 wx.miniProgram.postMessage({