Commit 33c5853b authored by xinyuandu's avatar xinyuandu

百度推广

parent 128175bb
......@@ -75,6 +75,10 @@ class Index
{
return view('index/more_chengjiao');
}
public function baidu_send()
{
return view('index/baidu_send');
}
/**
* 楼盘详情
......
<!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/details.css">
<link rel="stylesheet" href="/app/css/lunbo.css">
<link rel="stylesheet" href="/app/css/details_tl.css">
<link>
<style>
.header_img{
width : 100%;
}
.w-h-100 {
width:100%;
height:100%;
}
.overflow {
overflow:hidden;
}
.w-50 {
width : 50%;
float:left;
}
.w-100{
width:100%;
}
.text-area {
width:100%;
background-color:#ffb757;
height:4.96rem;
margin-top:1.3rem;
}
.desc_title {
width:5.2rem;
position:absolute;
left:50%;
transform:translate(-50%,-50%);
}
.left_radio {
margin-top:0.84rem;
font-size:0.32rem;
color:#fffdf9;
width:48%;
text-align:right;
float:left;
padding-right:.1rem;
}
.right_radio {
margin-top:0.84rem;
font-size:0.32rem;
color:#fffdf9;
width:40%;
text-align:left;
float:left;
padding-left:.1rem;
}
.input_phone {
padding-left:0.36rem;
height:0.76rem;
width:5.16rem;
background-color:#ffffff
}
.left_text {
width:46%;
padding-right:4%;
font-family: PingFangSC-Regular;
font-size:.4rem;
color: #FFFFFF;
line-height: 28px;
text-align:right;
float:left;
margin-top:0.44rem;
}
.right_text{
width:46%;padding-left:4%;
font-family: PingFangSC-Regular;
font-size: .4rem;
color: #FFFFFF;
line-height: 28px;
text-align:left;
float:left;
margin-top:0.44rem;
}
.text-content{
width:100%;
font-family: PingFangSC-Regular;
font-size:.3rem ;
color: #FFFDF9;
line-height: 28px;
text-align:center;
margin-top:0.44rem;
}
.button_style {
width:5.16rem;height:0.76rem;
background-color:#fe7b4a;
box-shadow: 0 12px 12px -5px rgba(252,125,83,0.50);
border-radius: 3px;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #FFFFFF;
}
input[type="radio"] + label::before {
content: "\a0"; /*不换行空格*/
display: inline-block;
vertical-align: middle;
font-size: .36rem;
width: .26rem;
height: .26rem;
margin-right: .4em;
border-radius: 50%;
border: .1rem solid #ffffff;
text-indent: .15rem;
line-height: 1;
background-color:#ffffff;
}
input[type="radio"]:checked + label::before {
background-color: #ffb757;
background-clip: content-box;
padding:0rem;
}
</style>
</head>
<body style="background: #FFFFFF">
<div class="header_img" class="overflow">
<img src="/app/images/h57@2x.png" class="w-h-100"/>
</div>
<div class="shop_img_data overflow">
<div class="w-50 ">
<div style="text-align:center;margin-left:.7rem;">
<img src="/app/images/h59@2x.png" style="width:1.86rem;"/>
<div><span style="color:#ff5c50;font-size:0.38rem">32789套</span></div>
<div><span style="color:#F79130 ; font-size:0.22rem">真商铺量</span></div>
</div>
</div>
<div class="w-50 ">
<div style="text-align:center;margin-left:0rem;">
<img src="/app/images/h5 copy@2x.png" style="width:1.86rem;"/>
<div><span style="color:#ff5c50;font-size:0.38rem;">32789套</span></div>
<div><span style="color:#F79130 ; font-size:0.22rem;">真商铺量</span></div>
</div>
</div>
</div>
<div class="text-area overflow">
<img src="/app/images/h5@2x.png" class="desc_title overflow"/>
<div class="left_radio overflow">
<input type="radio" id="finding" name="type" value="0" checked="checked" /> <label for="finding">我要找铺</label>
</div>
<div class="right_radio overflow">
<input type="radio" id="sale" name="type" value="1" /> <label for="sale">我要找铺</label>
</div>
<div style="margin-top:1.72rem;text-align:center;">
<input type="text" id="phone" placeholder="请输入手机号码" class="input_phone"/>
</div>
<div class="w-100 overflow">
<div class="left_text">
<span>800找铺专家</span>
</div>
<div class="right_text">
<span>1对1选铺指导</span>
</div>
</div>
<div class="text-content">
<span>*注:领取后,凭手机号可抵扣500元现金</span>
</div>
</div>
<div class="header_img overflow">
<img src="/app/images/baidufoot.png" class="w-h-100"/>
</div>
<div style="width:100%;text-align:center;position:fixed;bottom:0.5rem;">
<button id="save" class="button_style">领取500元代金券</button>
</div>
<script src="/app/js/jquery-1122-min.js" charset="UTF-8"></script>
<script src="/app/js/baidu_send.js?new1"></script>
</body>
</html>
\ No newline at end of file
......@@ -24,7 +24,8 @@ Route::group('app', [
'download_c' => ['app/index/download_c', ['method' => 'get']],
'getShopDetails' => ['app/index/getShopDetail', ['method' => 'get | post']],
'getVersionNo' => ['app/index/getVersionNo', ['method' => 'get | post']],
'feed' => ['app/index/feed', ['method' => 'get']]
'feed' => ['app/index/feed', ['method' => 'get']],
'baidu_send' => ['app/index/baidu_send', ['method' => 'get']]
]);
Route::group('app_broker', [
......
/**
* Created by 刘丹 on 2017/10/16.
*/
(function() {
$('#save').click(function(){
var type = $("input[name='type']:checked").val();
var number = $('#phone').val();
if ( number != "" ){
alert("请输入电话号码");
}
if( !(number - 0 > -1) ){
alert("请输入正确的电话号码") ;
}
if (number.length > 11 ){
alert("请输入正确的电话号码") ;
}
var params = {
'type' : type,
'number' : number
}
console.log(number);
})
})();
$(document).ready(function(){
console.log("12312312321")
});
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