Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0886f5cf
authored
Dec 12, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
bb42b399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
1 deletions
src/views/alipay/index.vue
src/views/alipay/index.vue
View file @
0886f5c
...
...
@@ -80,7 +80,7 @@
<img
class=
"logoIcon"
src=
"../images/djLogin.png"
/>
</div>
</div>
<van-dialog
v-model=
"show"
confirm-button-text=
"知道了"
confirm-button-color=
"#347BFF"
>
<van-dialog
v-model=
"show"
confirm-button-text=
"知道了"
confirm-button-color=
"#347BFF"
@
confirm=
"handleConfirm"
>
<img
class=
"errorIcon"
src=
"https://img02.glsx.com.cn/weapp/resource/saas/h5/image/error.png"
/>
<div
class=
"text "
>
当前收款码已停用,请联系销售人员
</div>
<div
class=
"text text_bottom"
>
重新提供新的收款码,谢谢~
</div>
...
...
@@ -193,6 +193,47 @@ export default {
this
.
getTitleByModule
()
},
methods
:
{
handleConfirm
()
{
function
isWeiXin
()
{
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
return
true
;
}
else
{
return
false
;
}
}
function
isPc
()
{
var
userAgent
=
navigator
.
userAgent
;
let
Agents
=
[
"Android"
,
"iPhone"
,
"SymbianOS"
,
"Windows Phone"
,
"iPad"
,
"iPod"
];
var
flag
=
true
;
for
(
let
v
=
0
;
v
<
Agents
.
length
;
v
++
)
{
if
(
userAgent
.
indexOf
(
Agents
[
v
])
>
0
)
{
flag
=
false
;
break
;
}
}
return
flag
;
}
var
userAgent
=
navigator
.
userAgent
;
if
(
isWeiXin
())
{
WeixinJSBridge
.
call
(
'closeWindow'
);
}
if
(
!
isPc
())
{
window
.
opener
=
null
;
window
.
open
(
'about:blank'
,
'_self'
,
''
).
close
();
}
if
(
userAgent
.
indexOf
(
"Firefox"
)
!=
-
1
||
userAgent
.
indexOf
(
"Chrome"
)
!=
-
1
)
{
window
.
location
.
href
=
"about:blank"
;
}
else
{
window
.
opener
=
null
;
window
.
open
(
"about:blank"
,
"_self"
);
window
.
close
();
}
},
// 如果id不住名单中,就弹框提升并禁用cer
setDisabledList
(
id
)
{
const
{
prohibitedList
}
=
baseConfig
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment