//滚动到指定位置
ScrollPosition(){
let that = this;
uni.createSelectorQuery().select(".top-comment").boundingClientRect(function(res){//定位到你要的class的位置
console.log("标签获取====>",typeof(res.top))
uni.pageScrollTo({
scrollTop:res.top,
duration: 300
});
}).exec()
},