Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
a378e1c4
Commit
a378e1c4
authored
Jun 28, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载页修改
parent
4b4a85ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
download_c.html
application/app/view/index/download_c.html
+9
-4
download_b.html
application/app_broker/view/index/download_b.html
+10
-4
No files found.
application/app/view/index/download_c.html
View file @
a378e1c4
...
...
@@ -52,7 +52,15 @@
},
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
$
(
'#android_link'
).
attr
(
'href'
,
data
.
data
.
app_path
);
$
(
document
).
on
(
'click'
,
'#android_link'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
if
(
~
navigator
.
userAgent
.
indexOf
(
'MicroMessenger'
)){
$
(
"#footer_and"
).
show
();
}
else
{
location
.
href
=
data
.
data
.
app_path
;
}
});
},
error
:
function
()
{
alert
(
"暂无最新app链接"
)
...
...
@@ -71,9 +79,6 @@
// alert(u);
if
(
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
)
{
//安卓手机
//alert("安卓手机");
if
(
u
.
indexOf
(
'MicroMessenger'
)
>
-
1
)
{
$
(
"#footer_and"
).
show
();
}
$
(
".img_a"
).
css
(
"top"
,
"9rem"
).
show
();
//alert(123);
}
else
if
(
u
.
indexOf
(
'iPhone'
)
>
-
1
)
{
//苹果手机
...
...
application/app_broker/view/index/download_b.html
View file @
a378e1c4
...
...
@@ -50,7 +50,16 @@
},
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
$
(
'#android_link'
).
attr
(
'href'
,
data
.
data
.
app_path
);
$
(
document
).
on
(
'click'
,
'#android_link'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
if
(
~
navigator
.
userAgent
.
indexOf
(
'MicroMessenger'
)){
$
(
"#footer_and"
).
show
();
}
else
{
location
.
href
=
data
.
data
.
app_path
;
}
});
},
error
:
function
()
{
...
...
@@ -69,9 +78,6 @@
// alert(u);
if
(
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
)
{
//安卓手机
//alert("安卓手机");
if
(
u
.
indexOf
(
'MicroMessenger'
)
>
-
1
)
{
$
(
"#footer_and"
).
show
();
}
$
(
".img_a"
).
css
(
"top"
,
"9rem"
).
show
();
//alert(123);
}
else
if
(
u
.
indexOf
(
'iPhone'
)
>
-
1
)
{
//苹果手机
...
...
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