Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
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
95b00be5
authored
Jul 02, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
d84583a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
src/views/SelectIdentity.vue
src/views/SelectIdentity.vue
View file @
95b00be5
...
...
@@ -62,10 +62,7 @@ export default class SelectIdentity extends Vue {
private
dispatch_list
:
any
[]
=
[];
private
no_data
:
boolean
=
false
;
private
loading
:
any
;
private
androidIdVeri
:
string
=
"qqxb://native/identityVerification"
;
private
iosIdVeri
:
string
=
"https://www.qinqinxiaobao.com?pmode=native&url=identityVerification"
;
private
idVeri
:
string
=
"qqxb://native/identityVerification"
;
private
idVeri
:
string
=
"https://www.qinqinxiaobao.com?pmode=native&url=identityVerification&pname=%e8%ba%ab%e4%bb%bd%e8%ae%a4%e8%af%81"
;
get
id_no_encrytion
():
string
{
return
encodeURI
(
window
.
btoa
(
this
.
id_no
));
...
...
@@ -122,7 +119,6 @@ export default class SelectIdentity extends Vue {
//TODO: 跳转到实名认证
this
.
no_data
=
true
;
}
this
.
no_data
=
true
;
})
.
catch
(
err
=>
{
console
.
log
(
"err="
);
...
...
@@ -141,18 +137,8 @@ export default class SelectIdentity extends Vue {
}
async
created
()
{
let
u
=
navigator
.
userAgent
;
let
isAndroid
=
u
.
indexOf
(
"Android"
)
>
-
1
||
u
.
indexOf
(
"Adr"
)
>
-
1
;
//android终端
let
isIOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
);
//ios终端
if
(
isAndroid
)
{
this
.
idVeri
=
this
.
androidIdVeri
;
}
if
(
isIOS
)
{
this
.
idVeri
=
this
.
iosIdVeri
;
}
this
.
idVeri
=
'https://www.qinqinxiaobao.com?pmode=native&url=identityVerification&pname=%e8%ba%ab%e4%bb%bd%e8%ae%a4%e8%af%81'
;
console
.
log
(
'this.idVeri='
,
this
.
idVeri
);
console
.
log
(
"this.idVeri="
,
this
.
idVeri
);
this
.
loading
=
Toast
.
loading
({
duration
:
0
,
message
:
"加载中..."
,
...
...
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