613

parent c0f3f498
......@@ -24,7 +24,7 @@
<div id="app"></div>
<!-- built files will be auto injected -->
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<script src="static/vconsole/vconsole.min.js"></script>
<!-- <script src="static/vconsole/vconsole.min.js"></script> -->
<script>
</script>
......
......@@ -640,11 +640,13 @@
// });
// }
}else if(this.$route.query.back_id){
debugger
let dom = document.getElementsByClassName('cid'+this.$route.query.back_id);
if(dom.length>0&& dom[0].style.display !== 'none'){
this.scroll_to(dom[0].offsetTop)
}
}else{
setTimeout(() => {
let moneyDom = document.getElementsByClassName('money');
console.log(moneyDom[0].offsetParent.offsetTop)
......
......@@ -41,9 +41,9 @@ Vue.component('scroll', scroll);
/* eslint-disable no-new */
if(process.env.NODE_ENV != 'production'){
var vConsole = new VConsole();
}
// if(process.env.NODE_ENV != 'production'){
// var vConsole = new VConsole();
// }
router.beforeEach((to, from, next) => {
next()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment