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
42e96490
Commit
42e96490
authored
Sep 29, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijao
parent
eb1123fc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
index.html
dist/index.html
+1
-1
app.7523e0d78b1cecf348c5.js
dist/static/js/app.7523e0d78b1cecf348c5.js
+1
-0
main.js
src/main.js
+6
-0
index.js
src/router/index.js
+2
-2
No files found.
dist/index.html
View file @
42e96490
...
...
@@ -11,4 +11,4 @@
position
:
fixed
;
background
:
#f4f4f4
;
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.ed6d1273dc8c2d144766934b011e5890.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.c6fa84792a7ca7eb4395.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.f98788193b87d7d1f41a.js
></script></body></html>
\ No newline at end of file
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.ed6d1273dc8c2d144766934b011e5890.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
static/js/manifest.c6fa84792a7ca7eb4395.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.7523e0d78b1cecf348c5.js
></script></body></html>
\ No newline at end of file
dist/static/js/app.
f98788193b87d7d1f41a
.js
→
dist/static/js/app.
7523e0d78b1cecf348c5
.js
View file @
42e96490
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main.js
View file @
42e96490
...
...
@@ -51,6 +51,12 @@ Vue.component('scroll', scroll);
// 支付宝支付完成,订单状态查询
// 在支付宝里跳转
let
micromessenger
=
common
.
isWeixinBrowser
();
if
(
micromessenger
==
2
){
alert
(
micromessenger
);
alert
(
999999
)
// location.href = `http://${ window.location.host }/#/guidelines`
router
.
push
({
path
:
'guidelines'
})
}
let
timer
=
null
;
if
(
window
.
localStorage
.
out_trade_no
)
{
timer
=
setInterval
(()
=>
{
...
...
src/router/index.js
View file @
42e96490
...
...
@@ -605,14 +605,14 @@ router.beforeEach((to, from, next) => {
}
}
let
micromessenger
=
common
.
isWeixinBrowser
();
/*
let micromessenger = common.isWeixinBrowser();
if(micromessenger == 2){
alert(micromessenger);
alert(999999)
// location.href = `http://${ window.location.host }/#/guidelines`
next({ path: 'guidelines' })
return false;
}
}
*/
// 移动端判断
store
.
dispatch
(
'isMobile'
,
browser
.
versions
.
mobile
);
...
...
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