Commit e8e24317 authored by xishifeng's avatar xishifeng

经纪人详情评论别表,成交列表路由添加

parent 5505d875
......@@ -30,6 +30,14 @@ class Index
{
return view('index/agent_detail');
}
public function more_pingjia()
{
return view('index/more_pingjia');
}
public function more_chengjiao()
{
return view('index/more_chengjiao');
}
/**
* 楼盘详情
* @return \think\Response
......
......@@ -43,6 +43,8 @@ Route::rule(['/city/:name' => 'error/index'] , '' ,'GET');*/
Route::group('app', [
'index' => [ 'app/index/index', [ 'method' => 'get' ] ],
'agent_detail' => [ 'app/index/agent_detail', [ 'method' => 'get' ] ],
'more_pingjia' => [ 'app/index/more_pingjia', [ 'method' => 'get' ] ],
'more_chengjiao' => [ 'app/index/more_chengjiao', [ 'method' => 'get' ] ],
'share_detail' => [ 'app/index/share_detail', [ 'method' => 'get' ] ],
'getShopDetails' => [ 'app/index/getShopDetail', [ 'method' => 'get | post' ] ],
]);
......
@charset "utf-8";
body{
display: none;
}
.user-info-area{
background-image: url('/app/images/bg_yellow.png');
background-size: 7.5rem 2.3rem;
......
This diff is collapsed.
......@@ -61,47 +61,49 @@ function Compatible(obj) {
//xishifeng 2017-05-08
//同联和福居的有区别
function h5Page(token, fn) {
$.ajax({
type: "post",
url: ServerHost + "/AppTab5/about_Token",
data: {
'token': token
},
dataType: "json",
success: function(data) {
if(typeof data === 'object'){
if(data['status'] == '0'){
console.log(data.msg);
setLoginStorage(data, token, 'agents');
fn(data);
}else{
try{
layer.open({
content: data.msg,
skin: 'msg',
time: 2
});
}catch(e){
alert(data.msg);
}
}
}else{
try{
layer.open({
content: 'token验证接口数据错误',
skin: 'msg',
time: 2
});
}catch(e){
alert('token验证接口数据错误');
}
};
},
error: function() {
console.warn("获取token失败");
}
});
localStorage.setItem('token', token);
fn();
// $.ajax({
// type: "post",
// url: ServerHost + "/AppTab5/about_Token",
// data: {
// 'token': token
// },
// dataType: "json",
// success: function(data) {
// if(typeof data === 'object'){
// if(data['status'] == '0'){
// console.log(data.msg);
// setLoginStorage(data, token, 'agents');
// fn(data);
// }else{
// try{
// layer.open({
// content: data.msg,
// skin: 'msg',
// time: 2
// });
// }catch(e){
// alert(data.msg);
// }
//
// }
// }else{
// try{
// layer.open({
// content: 'token验证接口数据错误',
// skin: 'msg',
// time: 2
// });
// }catch(e){
// alert('token验证接口数据错误');
// }
// };
// },
// error: function() {
// console.warn("获取token失败");
// }
// });
}
//每次登录时设置缓存数据 by xishifeng
......
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