Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into xh-youfangApp1.1

This commit is contained in:
xuhe@fangjia.com
2018-04-18 15:59:47 +08:00
25 changed files with 6108 additions and 220 deletions
@@ -27,8 +27,8 @@ Vue.component('city_increase_ranking',{
'<em class="up">{{!ci.oneMonthUpDownRange||ci.oneMonthUpDownRange==""?"暂无":Math.abs(100*ci.oneMonthUpDownRange).toFixed(2)+"%"}}<i class="icon" v-bind:class="[ci.oneMonthUpDownRange>0?&quot;icon-arrow-red&quot;:&quot;&quot;,ci.oneMonthUpDownRange<0?&quot;icon-arrow-green&quot;:&quot;&quot;]"></i></em>'+
'</div>'+
'<div class="col-20">'+
'<i class="button theme collection collection01 confirm-ok" v-bind:class="{dn:ci.follow}" v-on:click="follow(ci.city,$event, 0)" >关注</i>'+
'<i class="button collection collection02 confirm-ok" v-bind:class="{dn:!ci.follow}" v-on:click="abolish(ci.city,$event, 1)">取消</i>'+
'<i class="button collection collection02 confirm-ok" v-on:click="abolish(ci.city,$event, 1)" v-if="ci.follow">取消</i>'+
'<i class="button theme collection collection01 confirm-ok" v-on:click="follow(ci.city,$event, 0)" v-else>关注</i>'+
'</div>'+
'</div>'+
'</div>'+
@@ -53,7 +53,52 @@ Vue.component('city_increase_ranking',{
clicked('/views/user/passLogin.html',true,false,{},{},function(){
if(localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == ""){
}else{
$.confirm('您确定要关注'+city+"?", function () {
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
var msg = response.data.message;
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
}else{
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
var increaseList = cityIncreaseRankingData.cityIncreaseRankingList
if(increaseList && increaseList.length>0){
for(var i in increaseList){
var dd = increaseList[i];
if(dd.city == city){
if(type == 0){
dd.follow = true;
}else{
dd.follow = false;
}
break;
}
}
}
// reloadMyFocus()
// reloadCityPotentialRanking()
// reloadCityIncreaseRanking()
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
// loadMyCollectCity()
if(type == 0){
var curDatas = cityDetaiVue.$data.citys
if(curDatas && curDatas.length>=0){
if(!IsInArray(curDatas, city)){
cityDetaiVue.$data.citys.push(city);
}
}
}
}
}).catch(function(error){
console.log(error)
})
});
}
})
}else{
@@ -63,13 +108,30 @@ Vue.component('city_increase_ranking',{
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
}else{
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
var increaseList = cityIncreaseRankingData.cityIncreaseRankingList
if(increaseList && increaseList.length>0){
for(var i in increaseList){
var dd = increaseList[i];
if(dd.city == city){
if(type == 0){
dd.follow = true;
}else{
dd.follow = false;
}
break;
}
}
}
reloadMyFocus()
reloadCityPotentialRanking()
if(type == 0){
var curDatas = cityDetaiVue.$data.citys
if(curDatas && curDatas.length>0){
if(curDatas && curDatas.length>=0){
if(!IsInArray(curDatas, city)){
cityDetaiVue.$data.citys.push(city);
}
@@ -97,8 +159,25 @@ Vue.component('city_increase_ranking',{
$.confirm("您确定要取消关注?", function () {
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
var increaseList = cityIncreaseRankingData.cityIncreaseRankingList
if(increaseList && increaseList.length>0){
for(var i in increaseList){
var dd = increaseList[i];
if(dd.city == city){
if(type == 0){
dd.follow = true;
}else{
dd.follow = false;
}
break;
}
}
}
reloadMyFocus();
reloadCityPotentialRanking()
//plus.webview.getWebviewById('views/user/userInfo.html').reload()
@@ -33,8 +33,8 @@ Vue.component('city_potential_ranking',{
'</span>'+
'</div>'+
'<div class="col-20">'+
'<i class="button theme collection collection01" v-bind:class="{dn:cp.follow}" v-on:click="follow(cp.city,$event,0)">关注</i>'+
'<i class="button collection collection02" v-bind:class="{dn:!cp.follow}" v-on:click="abolish(cp.city,$event,1)">取消</i>'+
'<i class="button collection collection02 confirm-ok" v-on:click="abolish(cp.city,$event,1)" v-if="cp.follow" >取消</i>'+
'<i class="button theme collection collection01 confirm-ok" v-on:click="follow(cp.city,$event,0)" v-else>关注</i>'+
'</div>'+
'</div>'+
'</div>'+
@@ -78,8 +78,23 @@ Vue.component('city_potential_ranking',{
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
}else{
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
var rankList = cityPotentialRankingData.cityPotentialRankingList
if(rankList && rankList.length>0){
for(var i in rankList){
var dd = rankList[i];
if(dd.city == city){
if(type == 0){
dd.follow = true;
}else{
dd.follow = false;
}
break;
}
}
}
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload();
@@ -94,49 +109,88 @@ Vue.component('city_potential_ranking',{
}
})
}else{
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
var msg = response.data.message;
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
}else{
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
reloadMyFocus()
reloadCityIncreaseRanking()
if(type == 0){
var curDatas = cityDetaiVue.$data.citys
if(curDatas && curDatas.length>0){
if(!IsInArray(curDatas, city)){
cityDetaiVue.$data.citys.push(city);
$.confirm('您确定要关注'+city+"?", function () {
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
var msg = response.data.message;
if(msg != "取消关注成功" && msg != "关注成功"){
$.toast(msg);
}else{
//$(event.target).parent().children().removeClass("dn");
//$(event.target).addClass("dn");
var rankList = cityPotentialRankingData.cityPotentialRankingList
if(rankList && rankList.length>0){
for(var i in rankList){
var dd = rankList[i];
if(dd.city == city){
if(type == 0){
dd.follow = true;
}else{
dd.follow = false;
}
break;
}
}
}
reloadMyFocus()
reloadCityIncreaseRanking()
if(type == 0){
var curDatas = cityDetaiVue.$data.citys
if(curDatas && curDatas.length>=0){
if(!IsInArray(curDatas, city)){
cityDetaiVue.$data.citys.push(city);
}
}
}
//plus.webview.getWebviewById('views/user/userInfo.html').reload();
}
//plus.webview.getWebviewById('views/user/userInfo.html').reload();
}
}).catch(function(error){
console.log(error)
})
}).catch(function(error){
console.log(error)
})
});
}
},
abolish:function(city,event,type){
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
reloadMyFocus()
reloadCityIncreaseRanking()
var da = cityDetaiVue.$data.citys
if(da && da.length>0){
var index = da.indexOf(city)
if(index>0){
da.splice(index, 1)
cityDetaiVue.$data.citys = da;
$.confirm("您确定要取消关注?", function () {
axios.get("/rest/quotations/collectCity",{params:{city:city, type:type}}).then(function(response){
// $(event.target).parent().children().removeClass("dn");
// $(event.target).addClass("dn");
var rankList = cityPotentialRankingData.cityPotentialRankingList
if(rankList && rankList.length>0){
for(var i in rankList){
var dd = rankList[i];
if(dd.city == city){
if(type == 0){
dd.follow = true;
}else{
dd.follow = false;
}
break;
}
}
}
}
//plus.webview.getWebviewById('views/user/userInfo.html').reload();
}).catch(function(error){
console.log(error)
})
reloadMyFocus()
reloadCityIncreaseRanking()
var da = cityDetaiVue.$data.citys
if(da && da.length>0){
var index = da.indexOf(city)
if(index>0){
da.splice(index, 1)
cityDetaiVue.$data.citys = da;
}
}
//plus.webview.getWebviewById('views/user/userInfo.html').reload();
}).catch(function(error){
console.log(error)
})
});
}
},
mounted:function(){
@@ -159,7 +213,10 @@ function reloadCityPotentialRanking(){
})
cityPotentialRankingData.cityPotentialRankingList = response.data.data;
}).catch(function(error){
console.log(error)
})
}
}
@@ -75,8 +75,8 @@ function reloadMyFocus(){
$("#myFocusFirstPage").hide();
$("#myFocus").hide();
}else{
myFocusDatas.myFocusList = response.data.data;
$("#myFocus").show()
}
}).catch(function(error){
console.log(error)
+4 -3
View File
@@ -119,6 +119,7 @@
</div>
</div>
<div class="chart" id="chart01" style="height:270px;"></div>
<div class="topicTitle topicTitle01" style="position:relative;border-top:solid 1px #e7e7e7;">租金
<div class="content-block">
<div class="buttons-row theme" id="trendDiv2">
@@ -226,9 +227,9 @@ $.config = {router: false}
<script>
var city = "上海"
var region = "黄浦"
var name = "花园公寓 "
var city = "北京"
var region = "朝阳"
var name = "姜庄湖园林一期"
//var lat = 31.292437
//var lng = 121.48703
@@ -276,9 +276,12 @@ $.config = {router: false}
// evaluate_msg.msg=h.evaluateMsg
if(typeof(h.imgId)!="undefined"&&h.imgId!=null&&$.trim(h.imgId)!=""){
$("#img").attr("src",BASE_PATH+"/img/"+h.imgId);
$("#img").click(function(){
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){})
})
//控制贷款按钮是否可以显示,便于ios版本审核
if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){
$("#img").click(function(){
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){})
})
}
}
loadingChart(h.city,h.region,h.name,2)
//按照时间范围加载数据
+6 -8
View File
@@ -15,11 +15,9 @@
<link rel="stylesheet" href="../../css/theme-orange.css">
<style>
.popup-about03 ul,.popup-about04 ul{margin:0 0.5rem;border:solid 1px #e6e6ea;border-radius:6px;}
.popup-about03 .list-block.list-block01,.popup-about04 .list-block.list-block01{margin-top:0;}
.popup-about03 .list-block ul:before,.popup-about04 .list-block ul:before{height:0;}
.popup-about03 .list-block ul:after,.popup-about04 .list-block ul:after{height:0;}
.picker-item{padding:0 1rem;font-size:18px;}
.list-block ul:before{height:0;}
.list-block.mb05 ul:before{height:1px;}
.list-block.mb05 ul:after{height:0;}
.info-container input{float:none;width:100%;}
</style>
@@ -38,8 +36,8 @@
</button>-->
<h1 class="title">房产评估</h1>
</header>
<div class="content">
<div class="list-block media-list">
<div class="content f3">
<div class="list-block media-list mb05">
<ul>
<li>
<a class="item-link item-content">
@@ -119,7 +117,7 @@
</li>
</ul>
</div>
<div class="list-block media-list" id="liveStatusDiv" style="display: none;">
<div class="list-block media-list" id="liveStatusDiv" style="display:none;">
<ul>
<li>
<a class="item-link item-content">
+7 -2
View File
@@ -102,7 +102,7 @@
<i class="icon icon-evaluation03"></i>
<span>我要置换</span>
</div>-->
<div onclick="gotoLoanApply()">
<div onclick="gotoLoanApply()" id="gotoLoanApply" style="display: none;">
<i class="icon icon-personal03"></i>
<span>我要贷款</span>
</div>
@@ -333,7 +333,12 @@ var oriName;
function onPlusReady(){
var self = plus.webview.currentWebview();
houseId = self.houseId; //type为1时是我的房产
//houseId="106777351102136320";
//控制贷款按钮是否可以显示,便于ios版本审核
if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){
$('#gotoLoanApply').show();
}else{
$('#gotoLoanApply').hide();
}
init();
}
var baseInfo = new Vue({
+52 -54
View File
@@ -45,8 +45,8 @@
<a href="#tabQuotation0" class="tab-link button">添加</a>
</div>
<div class="tabs">
<div id="tabQuotation1" class="tab active" >
<div class="tabs" >
<div id="tabQuotation1" class="tab active" v-cloak>
<div class="card cardPrice cardPrice01 cardCity" id="countryInfo" v-cloak>
<div class="card-header">
<label>全国</label>
@@ -77,7 +77,7 @@
</span>
</div>
</div>
<div id="myFocusFirstPage">
<div id="myFocusFirstPage" v-cloak>
<my_focus></my_focus>
</div>
<div class="cardNearbyBox cardNearbyBox01 cardRankingBox cardRankingBox01" id="countryRank" v-cloak>
@@ -1211,6 +1211,7 @@ $.config = {router: false}
<script type='text/javascript' src='../../js/common.js' charset='utf-8'></script>
<script type="text/javascript" src="../../js/axios.min.js"></script>
<script type="text/javascript" src="../../js/axiosPlugin.js"></script>
<script type="text/javascript" src="../../js/quotations/cityDetail.js" ></script>
<script type="text/javascript" src="../component/myFocusComponent.js"></script>
<script type="text/javascript" src="../component/cityIncreaseRankingComponent.js"></script>
<script type="text/javascript" src="../component/cityPotentialRankingComponent.js"></script>
@@ -1218,7 +1219,9 @@ $.config = {router: false}
<script type="text/javascript" src="../component/cityChooseComponent.js"></script>
<script type="text/javascript" src="../../js/echarts.js" charset="utf-8"></script>
<script type="text/javascript" src="../../js/highcharts-4.2.3.js" charset="utf-8"></script>
<script type="text/javascript" src="../../js/quotations/cityDetail.js" ></script>
<script type="text/javascript" src="../../js/city.js" ></script>
<script>
var date = new Date();
@@ -1236,6 +1239,18 @@ $.config = {router: false}
}
});
var allCityVue = new Vue({
el: '#countryInfo',
data: {
nowYear : "",
nowMonth : "",
cityCount : "",
upRate : "",
downRate : "",
avgUpRate :"",
avgUownRate : ""
}
})
var cityDetaiVue = new Vue({
el: '#tabCityDiv',
data: {
@@ -1243,18 +1258,28 @@ $.config = {router: false}
}
})
var cityRankVue = new Vue({
el: '#countryRank',
data: {
datas : ""
}
})
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady(){
var city = "";
plus.geolocation.getCurrentPosition(function(p){
//province = p.address.province;
city = p.address.city;
//region = p.address.district;
if(city && city.endsWith("市")){
positionCity = city.substring(0, city.length-1)
var formatCity = formatBaiduCity(city);
positionCity = formatCity
city = formatCity;
$(".nowCity").html(city);
loadAllCityData();
}
//lng = p.coords.longitude;//获取到当前位置的经度
//lat = p.coords.latitude;//获取到当前位置的纬度;
}, function(e){
},
@@ -1273,27 +1298,7 @@ $.config = {router: false}
var cityPotentialRanking = new Vue({
el:"#cityPotentialRanking"
})
// var cityChoose = new Vue({
// el:"#cityChoose",
// data:{
// city:''
// }
// })
plus.geolocation.getCurrentPosition(function(p){
//province = p.address.province;
var cityStr = p.address.city;
if(cityStr){
$(".nowCity").html(cityStr.endsWith("市")?cityStr.substring(0,cityStr.length-1):cityStr);
}
//region = p.address.district;
}, function(e){
},
{
provider:'baidu',
enableHighAccuracy:true,
coordsType:'bd09ll'
}
);
/* button状态切换 */
@@ -1388,7 +1393,7 @@ $.config = {router: false}
}
//加载首页全国数据
$(function() {
function loadAllCityData(){
var date=new Date;
var year=date.getFullYear();
var month=date.getMonth()+1;
@@ -1398,19 +1403,14 @@ $.config = {router: false}
}
})
.then(function (response) {
new Vue({
el: '#countryInfo',
data: {
nowYear : year,
nowMonth : month,
cityCount : response.data.data.cityCount,
upRate : response.data.data.upRate,
downRate : response.data.data.downRate,
avgUpRate : response.data.data.avgUpRate,
avgUownRate : response.data.data.avgUownRate
}
})
allCityVue.nowYear = year;
allCityVue.nowMonth = month;
allCityVue.cityCount = response.data.data.cityCount;
allCityVue.upRate = response.data.data.upRate;
allCityVue.downRate = response.data.data.downRate;
allCityVue.avgUpRate = response.data.data.avgUpRate;
allCityVue.avgUownRate = response.data.data.avgUownRate;
})
.catch(function (error) {
console.log(error);
@@ -1423,19 +1423,15 @@ $.config = {router: false}
})
.then(function (response) {
//0:涨幅排行 1:潜力排行 2:均价排行
new Vue({
el: '#countryRank',
data: {
datas : response.data.data
}
})
cityRankVue.datas = response.data.data
})
.catch(function (error) {
console.log(error);
});
});
}
function addCityFocus(city){
//city=city.replace("<i></i>","")
@@ -1567,7 +1563,7 @@ function addFocus(city){
plus.webview.getWebviewById('views/user/userInfo.html').reload();
var curDatas = response.data.data
if(curDatas && curDatas.length>0){
if(curDatas && curDatas.length>=0){
if(!IsInArray(curDatas, city)){
cityDetaiVue.$data.citys.push(city);
}
@@ -1605,12 +1601,14 @@ function addFocus(city){
}
function hotCity(city){
clicked('../house/cityDetail.html',true,false,{},{city:city},function(){
clicked('../house/cityDetail.html',true,false,{},{city:city},function(){
});
}
function IsInArray(arr, val){
  var testStr=','+arr.join(",")+",";
  return testStr.indexOf(","+val+",")!=-1;
}
</script>
+13 -7
View File
@@ -115,7 +115,7 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script>
//初始化init
//初始化init(init方法必须调用,屏蔽后,无线下拉刷新无效果)
$.init();
//定义对象
@@ -282,11 +282,6 @@ function gotoLoanApply(houseId, city){
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: ""},function(){})
}
//界面加载
$(document).ready(function () {
checkIsLogin();
});
/* 分页构造数据 */
function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap) {
var html = '';
@@ -371,7 +366,12 @@ function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xq
}else{
html += "<a class='add alert-text-title'><i class='icon icon-houseLevel'></i>其它</a>";
}
html += '<a class="button theme add add01 add01a" href="#" onclick="gotoLoanApply(\''+result.id+'\', \''+result.city+'\')">立即申请</a></li>';
//控制贷款按钮是否可以显示,便于ios版本审核
if(localStorage.getItem("showLoanMenu")!=null && localStorage.getItem("showLoanMenu")=="true"){
html += '<a class="button theme add add01 add01a" href="#" onclick="gotoLoanApply(\''+result.id+'\', \''+result.city+'\')">立即申请</a></li>';
}else{
html += '</li>';
}
}
$('.infinite-scroll-bottom .list-container').append(html);
}
@@ -381,6 +381,12 @@ $(document).on('click','.alert-text-title', function () {
$.alert('房产等级是房屋在城市中的综合评级,由高至低分别为 豪宅、公寓、平房、草屋、山洞共5个级别。', '房产等级');
});
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady(){
checkIsLogin();
}
</script>
</body>
+12 -2
View File
@@ -104,7 +104,7 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script>
//调用mui.init方法
$.init()
@@ -164,6 +164,7 @@ function addManagement(id, houseStatus, liveStatus){
console.log(error);
});
}
//查询房产评估列表AJAX请求
function selectEvaluateList(){
//先清空列表
@@ -268,10 +269,13 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap
return htmlContent;
}
//立即评估
function openaddWindow(){
clicked('/views/house/add.html',true,false,{},{type:1},function(){
})
}
//评估报告详情
function openReportWindow(id){
clicked('/views/evaluate/evaluateReport.html',true,false,{},{hid:id})
}
@@ -286,7 +290,13 @@ function checkIsLogin(){
selectEvaluateList();
}
}
checkIsLogin()
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady(){
checkIsLogin();
}
</script>
</body>
+6
View File
@@ -124,6 +124,8 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script type="text/javascript" src="../../js/city.js" ></script>
<script>
document.addEventListener('plusready', onPlusReady, false);
var id; //= "186182250936643584";
@@ -238,6 +240,10 @@ function getPosition(){
province = p.address.province;
city = p.address.city;
region = p.address.district;
if(city){
city = formatBaiduCity(city);
}
}, function(e){
},
+3 -5
View File
@@ -102,8 +102,6 @@
<div class="topicContent" style="padding:0;padding-bottom:0.75rem;" id="rentTrendDiv">
<div class="chart" id="chart02" style="margin-top:0.75rem;"></div>
</div>
</div>
<div class="topic dn" id="mapDiv">
@@ -176,9 +174,9 @@ $.config = {router: false}
<script type='text/javascript' src='../../js/common.js' charset='utf-8'></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script>
var city = "上海"
var region = "黄浦"
var name = "花园公寓"
var city = "北京"
var region = "朝阳"
var name = "姜庄湖园林一期"
var lat;
var lng;
+6 -4
View File
@@ -251,7 +251,7 @@ $(document).on('click','.alert-text-title', function () {
$.alert('房产等级是房屋在城市中的综合评级,由高至低分别为 豪宅、公寓、平房、草屋、山洞共5个级别。', '房产等级');
});
//初始化init
//初始化init(init方法必须调用,屏蔽后,无线下拉刷新无效果)
$.init();
//定义个人手机号,贷款页面需要传参数
@@ -416,9 +416,11 @@ function openSettingPage() {
clicked('../setting/setting.html',true,false,{},{},function(){})
}
$(document).ready(function () {
checkIsLogin();
});
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady(){
checkIsLogin();
}
</script>