Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
h5-base
Commits
4c3023f9
Commit
4c3023f9
authored
Jun 13, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
613
parent
c0f3f498
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
index.html
index.html
+1
-1
index.vue
src/components/map/index.vue
+2
-0
main.js
src/main.js
+3
-3
No files found.
index.html
View file @
4c3023f9
...
...
@@ -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>
...
...
src/components/map/index.vue
View file @
4c3023f9
...
...
@@ -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
)
...
...
src/main.js
View file @
4c3023f9
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment