Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Shanxi_CCB_Card
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
余成
Shanxi_CCB_Card
Commits
7eeff5f4
Commit
7eeff5f4
authored
Sep 20, 2022
by
余成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接行方获取地址的方法
parent
fc8fe099
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
code0907v1.zip
code0907v1.zip
+0
-0
index.html
index.html
+20
-2
No files found.
code090
1
v1.zip
→
code090
7
v1.zip
View file @
7eeff5f4
No preview for this file type
index.html
View file @
7eeff5f4
...
...
@@ -9,8 +9,9 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,viewport-fit=cover"
/>
<!-- 百度地图sdk 判断是否是上海用户 -->
<
script
type=
"text/javascript"
src=
"https://api.map.baidu.com/api?v=2.0&ak=DD279b2a90afdf0ae7a3796787a0742e"
></script
>
<
!-- <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=x17dz3Kwh0xIBQReQF6SmMnaGtHwSelm"></script> --
>
<script
src=
"https://res.yunbusiness.ccb.com/tools/jhshThemeActivityTool.js"
></script>
<!-- swiper cdn -->
<script
src=
"https://cdn.bootcdn.net/ajax/libs/Swiper/6.8.1/swiper-bundle.min.js"
></script>
<link
href=
"https://cdn.bootcdn.net/ajax/libs/Swiper/6.8.1/swiper-bundle.min.css"
rel=
"stylesheet"
>
...
...
@@ -835,7 +836,7 @@
showDownLoadApp
();
},
300
);
}
else
{
// 端内
isShan
gha
i
(
targetUrl
)
isShan
x
i
(
targetUrl
)
}
}
/**
...
...
@@ -866,6 +867,23 @@
}
});
}
let
addressArry
=
[
"太原市"
,
"大同市"
,
"阳泉市"
,
"长治市"
,
"晋城市"
,
"朔州市"
,
"晋中市"
,
"运城市"
,
"忻州市"
,
"临汾市"
,
"吕梁市"
]
/**
* 判断是否是山西
*/
function
isShanxi
(
targetUrl
)
{
getPosition
(
function
(
data
){
console
.
log
(
'data: '
,
data
);
for
(
let
item
of
addressArry
)
{
if
(
item
==
data
.
cityName
)
{
toLink
(
targetUrl
);
return
}
}
Toast
(
"仅限山西省参与"
);
})
}
/**
* 引导下载app
...
...
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