Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
SURPRISED
Commits
8f9c973f
Commit
8f9c973f
authored
Nov 14, 2019
by
Mac
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/surprised
parents
0ecd68fe
e331bca6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
7 deletions
+28
-7
coupons.html
html/coupons.html
+6
-2
downloadApp.html
html/downloadApp.html
+22
-5
font.png
images/down/font.png
+0
-0
jt.png
images/down/jt.png
+0
-0
No files found.
html/coupons.html
View file @
8f9c973f
...
...
@@ -421,7 +421,7 @@
function
getAllTicket
(
couponsUseScope
,
couponsType
,
couponEffectStatus
){
let
msg
=
{
pageIndex
:
1
,
pageSize
:
8
,
pageSize
:
1000
,
useState
:
1
,
lineId
:
0
,
lineteamId
:
0
,
...
...
@@ -516,7 +516,11 @@
}
$
(
'.coupons_Content'
).
html
(
str
);
}
else
{
layer
.
msg
(
res
.
message
);
layer
.
msg
(
'登录已过期,请重新登录'
);
setTimeout
(
function
(){
localStorage
.
removeItem
(
"u"
);
window
.
location
.
href
=
'http://activity.oytour.com/html/login.html'
;
},
2000
)
}
},
error
:
function
(
res
)
{
...
...
html/downloadApp.html
View file @
8f9c973f
...
...
@@ -50,7 +50,7 @@
bottom: 4rem;
width: 100%; */
}
#
tc
{
.
tc
{
position
:
fixed
;
top
:
0
;
height
:
100%
;
...
...
@@ -58,6 +58,12 @@
width
:
100%
;
display
:
none
;
}
.tc
.Img
{
text-align
:
right
;
padding-right
:
1rem
;
box-sizing
:
border-box
;
margin-top
:
1rem
;
}
</style>
</head>
...
...
@@ -71,7 +77,17 @@
<img
src=
"../images/dload_logo.png"
alt=
""
>
</div>
</div>
<div
id=
"tc"
></div>
<div
id=
"tc1"
class=
"tc"
></div>
<div
id=
"tc2"
class=
"tc"
>
<div
class=
"Img"
>
<div>
<img
src=
"../images/down/jt.png"
alt=
""
>
</div>
<div
style=
"margin-top:1rem"
>
<img
src=
"../images/down/font.png"
alt=
""
>
</div>
</div>
</div>
</div>
<script
type=
"text/javascript"
src=
"../js/jquery-1.10.2.js"
></script>
<script
type=
"text/javascript"
src=
"../js/md5.js"
></script>
...
...
@@ -87,8 +103,7 @@
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
&&
isAndroid
)
{
//不在微信中打开并且不在android
$
(
'#tc'
).
css
(
'display'
,
'block'
)
layer
.
msg
(
'请在浏览器中打开!'
)
$
(
'#tc2'
).
css
(
'display'
,
'block'
)
}
}
function
downLoad
(){
...
...
@@ -96,13 +111,15 @@
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
//获取判断用的对象
if
(
ua
.
match
(
/MicroMessenger/i
)
==
"micromessenger"
)
{
//在微信中打开
$
(
'#tc'
).
css
(
'display'
,
'block'
)
$
(
'#tc
1
'
).
css
(
'display'
,
'block'
)
}
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
;
//android终端或者uc浏览器
// var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if
(
isAndroid
){
window
.
location
.
href
=
'http://imgfile.oytour.com/app/oytourB2B.apk'
;
}
else
{
window
.
location
.
href
=
'https://apps.apple.com/us/app/%E5%8D%B0%E8%B1%A1%E5%90%8C%E4%B8%9A/id1471616669?l=zh&ls=1'
;
}
...
...
images/down/font.png
0 → 100644
View file @
8f9c973f
3.63 KB
images/down/jt.png
0 → 100644
View file @
8f9c973f
879 Bytes
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