Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
ZheShangBank_TaoQuan_20240612
Commits
e5dd6a4e
Commit
e5dd6a4e
authored
Jun 25, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码
parent
bfc1f8bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
13 deletions
+54
-13
分享落地页.html
分享落地页.html
+54
-13
No files found.
分享落地页.html
View file @
e5dd6a4e
...
@@ -57,6 +57,7 @@
...
@@ -57,6 +57,7 @@
height
:
16.24rem
;
height
:
16.24rem
;
background-image
:
url("//yun.duiba.com.cn/polaris/landBg.548680b684c921adc9443e009e6023ab74b4d0a4.jpg")
;
background-image
:
url("//yun.duiba.com.cn/polaris/landBg.548680b684c921adc9443e009e6023ab74b4d0a4.jpg")
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
position
:
absolute
;
}
}
.btn
{
.btn
{
...
@@ -68,6 +69,33 @@
...
@@ -68,6 +69,33 @@
background-image
:
url("//yun.duiba.com.cn/polaris/%E6%8C%89%E9%92%AE.026f26596b6711d71192d7dc64b34a488cda8cfa.png")
;
background-image
:
url("//yun.duiba.com.cn/polaris/%E6%8C%89%E9%92%AE.026f26596b6711d71192d7dc64b34a488cda8cfa.png")
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.tip
{
position
:
fixed
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
0.7
);
display
:
none
;
}
.tip_bg
{
position
:
absolute
;
right
:
0.37rem
;
top
:
0.2rem
;
width
:
4.7rem
;
height
:
3.5rem
;
}
.tip_txt
{
position
:
absolute
;
left
:
4.35rem
;
top
:
2.73rem
;
transform
:
translate
(
-50%
,
-50%
);
color
:
#fff
;
font-size
:
0.26rem
;
}
</style>
</style>
</head>
</head>
...
@@ -78,25 +106,38 @@
...
@@ -78,25 +106,38 @@
</div>
</div>
<div
class=
"tip"
>
<div
class=
"tip"
>
<div
class=
"tip_txt"
></div>
<img
class=
"tip_bg"
src=
"//yun.duiba.com.cn/spark/assets/a0f5d5b5050c33ae50114aa510e737cf1592fd39.png"
>
<div
class=
"tip_txt"
>
请在默认浏览器中打开
</div>
</div>
</div>
<script>
<script>
function
isWeChat
()
{
const
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
()
return
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
}
function
showShareGuide
(
txt
)
{
const
tip
=
document
.
querySelector
(
'.tip'
)
tip
.
style
.
display
=
'block'
tip
.
querySelector
(
'.tip_txt'
).
innerText
=
txt
}
var
appActivityId
=
'20240709'
var
appActivityId
=
'20240709'
function
clickBtn
()
{
function
clickBtn
()
{
//
if (isWeChat()) {
if
(
isWeChat
())
{
//
showShareGuide("请在默认浏览器中打开")
showShareGuide
(
"请在默认浏览器中打开"
)
//
} else {
}
else
{
location
.
href
=
'smsczbmbank://push_czbank?tag=thdmktact&activityId='
+
appActivityId
;
location
.
href
=
'smsczbmbank://push_czbank?tag=thdmktact&activityId='
+
appActivityId
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
const
oA
=
document
.
createElement
(
"a"
);
const
oA
=
document
.
createElement
(
"a"
);
oA
.
href
=
'http://m.czbank.com'
;
oA
.
href
=
'http://m.czbank.com'
;
document
.
body
.
appendChild
(
oA
);
document
.
body
.
appendChild
(
oA
);
oA
.
click
();
oA
.
click
();
oA
.
remove
();
oA
.
remove
();
},
3000
);
},
3000
);
//
}
}
}
}
...
...
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