Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
99b7fea5
authored
Nov 13, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
pc跳转
parent
fca7001e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletions
src/util/index.js
src/views/risk/Index.vue
view/20.js
view/app.js
src/util/index.js
View file @
99b7fea5
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
}
else
if
(
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
))
{
}
else
if
(
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
))
{
platform
=
'ios'
platform
=
'ios'
}
else
{
}
else
{
platform
=
''
platform
=
'
pc
'
}
}
return
platform
;
return
platform
;
},
},
...
...
src/views/risk/Index.vue
View file @
99b7fea5
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
import
{
mapState
}
from
'vuex'
import
{
mapState
}
from
'vuex'
import
{
Toast
}
from
'vant'
;
import
{
Toast
}
from
'vant'
;
import
{
productionUrlPc
}
from
'../../api/index'
import
{
productionUrlPc
}
from
'../../api/index'
import
Util
from
'../../util/index'
export
default
{
export
default
{
name
:
'risk'
,
name
:
'risk'
,
...
@@ -59,6 +60,9 @@
...
@@ -59,6 +60,9 @@
}
}
},
},
created
()
{
created
()
{
if
(
Util
.
isUerAgent
()
==
'pc'
){
window
.
location
.
href
=
productionUrlPc
+
'home/risk '
;
}
this
.
imgSrc
=
productionUrlPc
+
'public/verify'
;
this
.
imgSrc
=
productionUrlPc
+
'public/verify'
;
},
},
watch
:
{
watch
:
{
...
...
view/20.js
View file @
99b7fea5
This diff is collapsed.
Click to expand it.
view/app.js
View file @
99b7fea5
This diff is collapsed.
Click to expand it.
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