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
1e16eef0
Commit
1e16eef0
authored
Jun 06, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载页面修改
parent
be6aca52
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
213 additions
and
8 deletions
+213
-8
Index.php
application/app/controller/Index.php
+2
-2
download_c.html
application/app/view/index/download_c.html
+108
-0
Index.php
application/app_broker/controller/Index.php
+2
-2
download_b.html
application/app_broker/view/index/download_b.html
+98
-0
route.php
application/route.php
+2
-2
app_jump.js
public/app/js/app_jump.js
+1
-2
No files found.
application/app/controller/Index.php
View file @
1e16eef0
...
@@ -52,9 +52,9 @@ class Index
...
@@ -52,9 +52,9 @@ class Index
{
{
return
view
(
'index/agreement_app'
);
return
view
(
'index/agreement_app'
);
}
}
public
function
download
()
public
function
download
_c
()
{
{
return
view
(
'index/download'
);
return
view
(
'index/download
_c
'
);
}
}
public
function
more_pingjia
()
public
function
more_pingjia
()
{
{
...
...
application/app/view/index/download_c.html
0 → 100644
View file @
1e16eef0
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=10"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<link
rel=
"stylesheet"
href=
"/app/css/common.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/detail_zyy.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/xiazai.css"
>
</head>
<body>
<div
class=
"header_seat"
></div>
<div
class=
"headerbox"
>
<img
alt=
""
id=
"app_ban"
>
<!-- 按键-->
<a
href=
"javascript:;"
id=
"android_link"
class=
"img_a"
style=
"display:none"
><img
src=
"/app/images/android_download.png"
alt=
""
></a>
<a
href=
"https://itunes.apple.com/cn/app/id1326696107"
id=
"ios_link"
class=
"img_a2"
style=
"display:none"
><img
src=
"/app/images/iphone_download.png"
alt=
""
></a>
</div>
<!--编辑器输出-->
<!-- android-->
<footer
onclick=
'cancleshare()'
style=
''
id=
"footer_and"
class=
"footer_xia"
>
<div
style=
'width: 100%;'
class=
'fl'
>
<img
id=
"andimg"
src=
"/app/images/xiazai.png"
>
</div>
</footer>
<!-- iso-->
<footer
onclick=
'cancleshare()'
id=
"footerid_ios"
class=
"footer_xia"
>
</footer>
<script
src=
"/app/js/jquery.js"
></script>
<script
src=
"/app/js/common.js"
charset=
"UTF-8"
></script>
<script>
window
.
onload
=
function
()
{
$
(
'#app_ban'
).
attr
(
'src'
,
'/app/images/bg_download.png'
);
$
(
'title'
).
html
(
'下载'
);
$
(
'.xiazai-p-fuju'
).
show
();
//0是c端,2是b端
$
.
ajax
({
type
:
"get"
,
url
:
ServerHostTempC
+
"/api/getVersionNo"
,
timeout
:
10000
,
dataType
:
"json"
,
data
:
{
'type'
:
0
},
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
$
(
'#android_link'
).
attr
(
'href'
,
data
.
data
.
app_path
);
},
error
:
function
()
{
alert
(
"暂无最新app链接"
)
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
"timeout"
){
//处理超时的逻辑
alert
(
"请求超时"
);
}
}
});
var
u
=
navigator
.
userAgent
;
// 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
)
{
//苹果手机
//alert("苹果手机");
if
(
u
.
indexOf
(
'MicroMessenger'
)
>
-
1
)
{
}
$
(
".img_a2"
).
css
(
"top"
,
"9rem"
).
show
();
}
else
if
(
u
.
indexOf
(
'Windows Phone'
)
>
-
1
)
{
//winphone手机
// alert("winphone手机");
$
(
"#footer_and"
).
show
();
}
else
if
(
u
.
indexOf
(
'Windows NT'
)
>
-
1
)
{
//pc端
//alert('pc');
$
(
".img_a2,.img_a"
).
show
();
}
}
function
cancleshare
()
{
$
(
".footer_xia"
).
hide
();
}
//从location.href里获取参数
function
getUrlParam
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
decodeURI
(
window
.
location
.
search
).
substr
(
1
).
match
(
reg
);
if
(
r
!=
null
)
return
unescape
(
r
[
2
]);
return
null
;
}
</script>
</body>
</html>
application/app_broker/controller/Index.php
View file @
1e16eef0
...
@@ -105,9 +105,9 @@ class Index
...
@@ -105,9 +105,9 @@ class Index
return
view
(
'index/imagebody'
);
return
view
(
'index/imagebody'
);
}
}
public
function
xiazai
()
public
function
download_b
()
{
{
return
view
(
'index/
xiazai
'
);
return
view
(
'index/
download_b
'
);
}
}
public
function
__construct
()
public
function
__construct
()
...
...
application/app_broker/view/index/download_b.html
0 → 100644
View file @
1e16eef0
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=10"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<link
rel=
"stylesheet"
href=
"/app/css/common.css"
>
<link
rel=
"stylesheet"
href=
"/app/css/xiazai.css"
>
</head>
<body>
<div
class=
"header_seat"
></div>
<div
class=
"headerbox"
>
<img
alt=
""
id=
"app_ban"
>
<!-- 按键-->
<a
href=
"javascript:;"
id=
"android_link"
class=
"img_a"
style=
"display:none"
><img
src=
"/app/images/android_download.png"
alt=
""
></a>
<a
href=
"https://itunes.apple.com/cn/app/fu-ju-hao-fang-an-chang-gong-ju/id1292445456?l=en&mt=8"
id=
"ios_link"
class=
"img_a2"
style=
"display:none"
><img
src=
"/app/images/iphone_download.png"
alt=
""
></a>
</div>
<!--编辑器输出-->
<!-- android-->
<footer
onclick=
'cancleshare()'
style=
''
id=
"footer_and"
class=
"footer_xia"
>
<div
style=
'width: 100%;'
class=
'fl'
>
<img
id=
"andimg"
src=
"/app/images/xiazai.png"
>
</div>
</footer>
<!-- iso-->
<footer
onclick=
'cancleshare()'
id=
"footerid_ios"
class=
"footer_xia"
>
</footer>
<script
src=
"/app/js/jquery-1122-min.js"
charset=
"utf-8"
></script>
<script
src=
"/app/js/common.js"
charset=
"utf-8"
></script>
<script>
window
.
onload
=
function
()
{
$
(
'#app_ban'
).
attr
(
'src'
,
'/app/images/bg_download.png'
);
$
(
'title'
).
html
(
'下载'
);
$
(
'.xiazai-p-fuju'
).
show
();
//0是c端,2是b端
$
.
ajax
({
type
:
"get"
,
url
:
ServerHostTempC
+
"/api/getVersionNo"
,
timeout
:
10000
,
dataType
:
"json"
,
data
:
{
'type'
:
2
},
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
$
(
'#android_link'
).
attr
(
'href'
,
data
.
data
.
app_path
);
},
error
:
function
()
{
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
"timeout"
){
//处理超时的逻辑
alert
(
"请求超时"
);
}
}
});
var
u
=
navigator
.
userAgent
;
// 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
)
{
//苹果手机
//alert("苹果手机");
if
(
u
.
indexOf
(
'MicroMessenger'
)
>
-
1
)
{
}
$
(
".img_a2"
).
css
(
"top"
,
"9rem"
).
show
();
}
else
if
(
u
.
indexOf
(
'Windows Phone'
)
>
-
1
)
{
//winphone手机
// alert("winphone手机");
$
(
"#footer_and"
).
show
();
}
else
if
(
u
.
indexOf
(
'Windows NT'
)
>
-
1
)
{
//pc端
//alert('pc');
$
(
".img_a2,.img_a"
).
show
();
}
}
function
cancleshare
()
{
$
(
".footer_xia"
).
hide
();
}
</script>
</body>
</html>
application/route.php
View file @
1e16eef0
...
@@ -21,7 +21,7 @@ Route::group('app', [
...
@@ -21,7 +21,7 @@ Route::group('app', [
'share_register'
=>
[
'app/index/share_register'
,
[
'method'
=>
'get'
]
],
'share_register'
=>
[
'app/index/share_register'
,
[
'method'
=>
'get'
]
],
'agreement'
=>
[
'app/index/agreement'
,
[
'method'
=>
'get'
]
],
'agreement'
=>
[
'app/index/agreement'
,
[
'method'
=>
'get'
]
],
'agreement_app'
=>
[
'app/index/agreement_app'
,
[
'method'
=>
'get'
]
],
'agreement_app'
=>
[
'app/index/agreement_app'
,
[
'method'
=>
'get'
]
],
'download
'
=>
[
'app/index/download
'
,
[
'method'
=>
'get'
]
],
'download
_c'
=>
[
'app/index/download_c
'
,
[
'method'
=>
'get'
]
],
'getShopDetails'
=>
[
'app/index/getShopDetail'
,
[
'method'
=>
'get | post'
]
],
'getShopDetails'
=>
[
'app/index/getShopDetail'
,
[
'method'
=>
'get | post'
]
],
'getVersionNo'
=>
[
'app/index/getVersionNo'
,
[
'method'
=>
'get | post'
]
],
'getVersionNo'
=>
[
'app/index/getVersionNo'
,
[
'method'
=>
'get | post'
]
],
'feed'
=>
[
'app/index/feed'
,
[
'method'
=>
'get'
]
]
'feed'
=>
[
'app/index/feed'
,
[
'method'
=>
'get'
]
]
...
@@ -47,7 +47,7 @@ Route::group('app_broker', [
...
@@ -47,7 +47,7 @@ Route::group('app_broker', [
'timeline_pc'
=>
[
'app_broker/index/timeline_pc'
,
[
'method'
=>
'get'
]
],
'timeline_pc'
=>
[
'app_broker/index/timeline_pc'
,
[
'method'
=>
'get'
]
],
'customerinfo_customer_add'
=>
[
'app_broker/index/customerinfo_customer_add'
,
[
'method'
=>
'get'
]
],
'customerinfo_customer_add'
=>
[
'app_broker/index/customerinfo_customer_add'
,
[
'method'
=>
'get'
]
],
'customerinfo_details_new'
=>
[
'app_broker/index/customerinfo_details_new'
,
[
'method'
=>
'get'
]
],
'customerinfo_details_new'
=>
[
'app_broker/index/customerinfo_details_new'
,
[
'method'
=>
'get'
]
],
'
xiazai'
=>
[
'app_broker/index/xiazai
'
,
[
'method'
=>
'get'
]
],
'
download_b'
=>
[
'app_broker/index/download_b
'
,
[
'method'
=>
'get'
]
],
'imagebody'
=>
[
'app_broker/index/imagebody'
,
[
'method'
=>
'get'
]
],
'imagebody'
=>
[
'app_broker/index/imagebody'
,
[
'method'
=>
'get'
]
],
]);
]);
...
...
public/app/js/app_jump.js
View file @
1e16eef0
...
@@ -82,8 +82,7 @@ function jumpEvent(){
...
@@ -82,8 +82,7 @@ function jumpEvent(){
$
(
'#jump_link'
).
click
(
function
(
e
){
$
(
'#jump_link'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
var
_ym
=
(
~
ServerHost
.
indexOf
(
'estate.'
))?
'https://admin.tonglianjituan.com/mobile4.0/xiazai.html'
:
'https://develop.tonglianjituan.com/mobile4.0/xiazai.html'
;
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
location
.
href
=
_clientType
===
'b'
?
_ym
:
'download'
;
});
});
// var _ft = getUrlParam('ft');
// var _ft = getUrlParam('ft');
...
...
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