Commit 82dfbeb7 authored by 刘丹's avatar 刘丹

下载

parent a934d42a
...@@ -35,9 +35,14 @@ class Index ...@@ -35,9 +35,14 @@ class Index
public function share_register() public function share_register()
{ {
<<<<<<< Updated upstream
return view('index/share_register'); return view('index/share_register');
} }
=======
return view('index/share_register');
}
>>>>>>> Stashed changes
public function agent_detail() public function agent_detail()
{ {
return view('index/agent_detail'); return view('index/agent_detail');
...@@ -45,6 +50,7 @@ class Index ...@@ -45,6 +50,7 @@ class Index
public function agreement() public function agreement()
{ {
<<<<<<< Updated upstream
return view('index/agreement'); return view('index/agreement');
} }
...@@ -53,6 +59,18 @@ class Index ...@@ -53,6 +59,18 @@ class Index
return view('index/agreement_app'); return view('index/agreement_app');
} }
=======
return view('index/agreement');
}
public function agreement_app()
{
return view('index/agreement_app');
}
public function download()
{
return view('index/download');
}
>>>>>>> Stashed changes
public function more_pingjia() public function more_pingjia()
{ {
return view('index/more_pingjia'); return view('index/more_pingjia');
......
<!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();
$.ajax({
type: "post",
url: "/app/getVersionNo",
timeout: 10000,
dataType: "json",
beforeSend: function() {},
success: function(data) {
$('#android_link').attr('href',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();
}
//从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>
...@@ -21,6 +21,7 @@ Route::group('app', [ ...@@ -21,6 +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' ] ],
'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' ] ],
]); ]);
......
This diff is collapsed.
.headerbox {
width: 100%;
position: relative;
}
.headerbox img {
width: 4.3rem;
float: left;
}
.headerbox .img_a {
position: absolute;
top: 2.6rem;
left: 1.6rem;
}
.headerbox .img_a2 {
position: absolute;
top: 3.5rem;
left:1.6rem;
}
.xiazabox {
text-align: center;
background: #F0F0F0
}
.xiazabox ul li {
width: 50%;
float: left;
}
.xiazabox ul li .box001 {
padding: 0 0.4rem;
}
.xiazabox ul li img {
width: 1.5rem;
margin-bottom: -1rem;
}
.xiazabox ul li span {
font-size: 0.4rem;
color: #333;
}
.xiazabox ul li p {
font-size: 0.22rem;
color: #666;
}
.footerbox002 {
font-size: 0.22rem;
text-align: center;
color: #666;
background: #F0F0F0;
padding: 1.5rem 0 0.5rem 0;
display: none;
}
.headerbox a:hover {
}
#app_ban {
width: 100%;
}
#footer_and {
position: fixed;
left: 0px;
right: 0px;
bottom: 0px;
top: 0px;
background: rgba(34, 34, 34, 0.85) none repeat scroll 0% 0%;
z-index: 1000;
display: none
}
#andimg {
width: 5.5rem;
margin-right: 0.3rem;
float: right;
}
#footerid_ios {
position: fixed;
left: 0px;
right: 0px;
bottom: 0px;
top: 0px;
z-index: 1000;
display: none
}
#isoimg {
width: 5.5rem;
margin-right: 0.3rem;
float: right;
}
.xiazai_p {
font-size: 0.4rem;
text-align: center;
}
.xiazai_p2 {
text-indent: 0.3rem;
line-height: 0.45rem;
width: 6.9rem;
margin: 0 auto;
margin-top: 0.1rem;
}
.xiazai_p3 {
text-align: center;
margin-top: 0.3rem;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment