Merge branch 'YOUFANGAPP1.1.2' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1.2
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/**服务端地址**/
|
||||
//var BASE_PATH = "http://youfang.fangjia.com";
|
||||
//var BASE_PATH = "http://192.168.10.128:8084";
|
||||
//var BASE_PATH = "http://192.168.10.164:8084";
|
||||
var BASE_PATH = "http://192.168.10.164:8084";
|
||||
//var BASE_PATH = "http://192.168.10.53:8084";
|
||||
var BASE_PATH = "http://192.168.10.47:8086";
|
||||
//var BASE_PATH = "http://192.168.10.47:8086";
|
||||
//var BASE_PATH = "http://192.168.10.161:8084";
|
||||
//var BASE_PATH = "http://192.168.10.170:8084";
|
||||
//var BASE_PATH = "http://192.168.10.171:8084";
|
||||
|
||||
+62
-34
@@ -1,6 +1,6 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
[v-cloak]{display:none;}
|
||||
|
||||
/* 公用 */
|
||||
*{font-size:16px;font-family:arial,"华文细黑";}
|
||||
ul li{list-style:none;}
|
||||
@@ -12,11 +12,18 @@ em{font-style:normal;color:#333;}
|
||||
em.up{color:#EB5F34;}
|
||||
em.down{color:#88D053;}
|
||||
*/
|
||||
|
||||
::-webkit-scrollbar{display:none;}
|
||||
.bt{border-top:solid 0.5rem #f3f3f3;}
|
||||
.bb{border-bottom:solid 0.5rem #f3f3f3;}
|
||||
|
||||
::../../images{display:none;}
|
||||
|
||||
.tac{text-align:center;}
|
||||
.dn{display:none;}
|
||||
.di{display:inline;}
|
||||
|
||||
.page,.page-group{background:#f3f3f3;}
|
||||
.content{background:#fff;color:#333;z-index:1;}
|
||||
.content.f3{background:#f3f3f3;}
|
||||
.popup{background:#f3f3f3;}
|
||||
@@ -276,7 +283,7 @@ em.down{color:#88D053;}
|
||||
.list-block .item-subtitle div em i{width:7px;height:10px;margin-left:0.2rem;}
|
||||
.list-block .item-subtitle div label{display:block;font-size:0.7rem;color:#666;text-align:center;max-width:100%;}
|
||||
.list-block .item-subtitle div p{margin-bottom:0;}
|
||||
.list-block .item-subtitle div.price{position:absolute;bottom:-0.3rem;right:0;}
|
||||
.list-block .item-subtitle div.price{position:absolute;bottom:-0.3rem;right:0.5rem;}
|
||||
.list-block .item-subtitle div.price em{font-size:0.8rem;color:#EB5F34;}
|
||||
.list-block .item-subtitle div.price em strong{font-size:1.4rem;color:#EB5F34;font-weight:bold;margin-right:0.1rem;}
|
||||
.list-block .item-subtitle div.priceBox01 em{display:block;color:#333;}
|
||||
@@ -294,9 +301,9 @@ em.down{color:#88D053;}
|
||||
.list-block .item-inner .item-media{width:1.2rem;height:1.2rem;float:left;margin-right:0.2rem;}
|
||||
.list-block .item-inner .item-media img{width:100%;}
|
||||
|
||||
.list-block .add{background:none;font-size:0.75rem;color:#F18D00;position:absolute;top:0;right:0;padding:0.5rem 0.75rem;}
|
||||
.list-block .add01{padding:0 0.5rem;top:1.1rem;right:0.75rem;}
|
||||
.list-block .add01a{top:inherit;bottom:0.75rem;right:0.75rem;}
|
||||
.list-block .add{background:none;font-size:0.75rem;color:#F18D00;position:absolute;top:0;right:0;padding:0.5rem 1.25rem;}
|
||||
.list-block .add01{padding:0 0.5rem;top:1rem;right:0.75rem;}
|
||||
.list-block .add01a{top:inherit;bottom:0.75rem;right:1.25rem;}
|
||||
.list-block .delete{width:1.5rem;height:1.55rem;background:url(../images/delete.png) no-repeat center center;background-size:100%;position:absolute;top:-1px;right:0;}
|
||||
.starBox{position:absolute;top:0.6rem;right:1.25rem;font-size:0.7rem;color:#666;text-align:right;}
|
||||
.starBox .star{display:block;}
|
||||
@@ -325,8 +332,9 @@ em.down{color:#88D053;}
|
||||
.content-padded + .newCss ul{padding-bottom:0;}
|
||||
|
||||
.list-block .item-content label.label-checkbox{float:left;padding-left:0;}
|
||||
.list-block .item-content label.label-checkbox:last-child{margin-left:0.8rem;}
|
||||
.list-block .item-content label.label-checkbox .item-media{width:auto;height:auto;padding:0;margin:0;}
|
||||
label.label-checkbox i.icon-form-checkbox{margin-right:0.5rem;}
|
||||
label.label-checkbox i.icon-form-checkbox{margin-right:0.3rem;}
|
||||
label.label-checkbox i.current{background:url(../images/checkImg.png) no-repeat center center #F18D00;background-size:0.55rem;border:none;}
|
||||
.item-media i.check{width:24px;height:24px;border-radius:1.1rem;border:solid 1px #c7c7cc;margin:0;}
|
||||
.item-media i.checked{background:url(../images/checkImg.png) no-repeat center center #F18D00;border:solid 1px #F18D00;background-size:0.55rem;}
|
||||
@@ -411,7 +419,6 @@ input::-webkit-input-placeholder{
|
||||
.list-block .item-subtitle small.small01:nth-of-type(2){background:#fff7e7;color:#f5b715;}
|
||||
.list-block .item-subtitle small.small01:nth-of-type(3){background:#e9f8f0;color:#88D053;}
|
||||
.list-block .item-subtitle small.small04{color:#fff;}
|
||||
.delete_btn{width:12px;height:15px;background:url(../images/delete.png) no-repeat left center;background-size:100%;float:right;margin-right:0.75rem;margin-top:0.3rem;}
|
||||
|
||||
/* 卡片 */
|
||||
.card{border-radius:0;box-shadow:none;}
|
||||
@@ -444,7 +451,7 @@ input::-webkit-input-placeholder{
|
||||
.cardPrice01{border-bottom:solid 0.5rem #f3f3f3;}
|
||||
.cardPrice01 .card-content{background:url(../images/cardBg01.png) no-repeat center bottom;background-size:100%;}
|
||||
.cardPrice01 .card-content-inner{padding-top:0.5rem;padding-bottom:4rem;}
|
||||
.cardPrice01 .card-footer{width:100%;padding:0 0.75rem;background:none;position:absolute;bottom:0;}
|
||||
.cardPrice01 .card-footer{width:100%;padding:0 0.75rem;background:none;position:absolute;bottom:0.3rem;}
|
||||
.cardPrice01 .card-footer span{width:50%;border-right:none;text-align:left;}
|
||||
.cardPrice01 .card-footer span:last-child{text-align:right;}
|
||||
|
||||
@@ -465,7 +472,7 @@ input::-webkit-input-placeholder{
|
||||
.cardNearby .card-footer{font-size:0.65rem;color:#999;min-height:1.5rem;margin-top:-0.2rem;}
|
||||
|
||||
.cardNearbyBox01{background:none;margin-top:-0.5rem;}
|
||||
.cardNearbyBox01 .cardNearby../../images{margin-bottom:0.25rem;}
|
||||
.cardNearbyBox01 .cardNearbyWin{margin-bottom:0.25rem;}
|
||||
.cardNearbyBox01 .cardNearby{border:solid 1px #e7e7e7;}
|
||||
.cardNearbyBox01 .cardNearby .card-header{padding-top:0.25rem;line-height:1.2rem;}
|
||||
|
||||
@@ -531,6 +538,9 @@ input::-webkit-input-placeholder{
|
||||
.cardInfo03 .card-content-inner div.vote02 label{color:#8698F0;text-align:left;}
|
||||
.cardInfo03 .card-content-inner em{font-size:1rem;color:#F18D00;text-align:center;line-height:45px;position:absolute;left:48%;}
|
||||
|
||||
.cardInfo01 .cardInfoPlaceholder{width:100%;height:180px;background:url(../images/cardInfoPlaceholderImg.png) no-repeat center center;background-size:20%;border:solid 1px #e7e7e7;}
|
||||
.cardInfo02 .cardInfoPlaceholder{width:6.5rem;height:5.2rem;background:url(../images/cardInfoPlaceholderImg.png) no-repeat center center;background-size:30%;border:solid 1px #e7e7e7;}
|
||||
|
||||
.icon-eye-white{width:0.89rem;height:0.57rem;background:url(../images/icon-eye-white.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
|
||||
.icon-eye-grey{width:0.85rem;height:0.6rem;background:url(../images/icon-eye-grey.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
|
||||
.icon-eye-orange{width:0.7rem;height:0.5rem;background:url(../images/icon-eye-orange.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:baseline;}
|
||||
@@ -648,6 +658,7 @@ input::-webkit-input-placeholder{
|
||||
.popup .bar .searchbar .icon-left{padding:0;line-height:38px;color:#666;}
|
||||
.popup .bar .searchbar .search-input input{height:36px;border:solid 1px #e6e6ea;}
|
||||
.bar.bar-nav01{height:auto;overflow:hidden;padding-left:0.5rem;padding-right:0.5rem;}
|
||||
.bar.bar-nav01 .title{margin-left:-0.5rem;}
|
||||
.bar.bar-nav01 .button-link{color:#F18D00;}
|
||||
|
||||
/* 底部 */
|
||||
@@ -704,7 +715,6 @@ input::-webkit-input-placeholder{
|
||||
.topic .topicTitle > div:nth-child(2){text-align:right;float:right;}
|
||||
.topic .topicTitle > div:nth-child(2) p label{color:#999;}
|
||||
.topic .topicTitle > div:nth-child(2) p em{color:#EB5F34;}
|
||||
|
||||
.topic .topicTitle.topicTitle01{border-bottom:none;}
|
||||
.topic .topicContent .topicTitle01{color:#333;margin-top:0;font-size:0.8rem;}
|
||||
.topic .topicContent .topicTitle01 em{font-size:1.2rem;}
|
||||
@@ -854,7 +864,7 @@ input::-webkit-input-placeholder{
|
||||
.topic .topicContent .topicContent_bottom01 label em{color:#EB5F34;margin-left:0.1rem;}
|
||||
|
||||
/* 广告 */
|
||||
.ad{display:block;border-bottom:solid 0.5rem #f3f3f3;}
|
||||
.ad{display:block;}
|
||||
.ad img{width:100%;}
|
||||
|
||||
/* 图表 */
|
||||
@@ -867,12 +877,6 @@ input::-webkit-input-placeholder{
|
||||
.icon-chart01a{width:0.9rem;height:0.8rem;background:url(../images/icon-chart01a.png) no-repeat center center;background-size:100%;float:left;}
|
||||
.icon-chart01{width:0.9rem;height:0.8rem;background:url(../images/icon-chart01.png) no-repeat center center;background-size:100%;float:left;}
|
||||
|
||||
|
||||
/*
|
||||
#tabChart{width:100%;height:360px;}
|
||||
#tabChart1{width:100%;position:absolute;z-index:1;}
|
||||
#tabChart2{width:100%;display:block;position:absolute;z-index:-1;}
|
||||
*/
|
||||
.scoreBox{height:130px;position:relative;}
|
||||
.score{width:250px;height:250px;margin:0 auto;margin-top:1rem;}
|
||||
.scoreText{width:250px;height:150px;position:absolute;top:0;left:50%;margin-left:-125px;}
|
||||
@@ -894,7 +898,6 @@ input::-webkit-input-placeholder{
|
||||
|
||||
.topic .topicTitle > div.content-block{padding:0;margin:0;position:absolute;top:0.6rem;right:0;z-index:100;}
|
||||
.topic .date{text-align:right;font-size:0.75rem;color:#ccc;padding-right:0.75rem;margin:0;}
|
||||
.buttons-row .button{height:1.35rem;line-height:1.35rem;}
|
||||
.buttons-row01 .button{border-radius:0.1rem;margin-left:0.5rem;padding:0;font-size:0.65rem;}
|
||||
.buttons-row01 .button:first-child,.buttons-row01 .button:last-child{border-radius:0.1rem;}
|
||||
.buttons-row01a .button{width:22%;}
|
||||
@@ -954,6 +957,7 @@ input::-webkit-input-placeholder{
|
||||
.cardCity01 .card-header label{font-size:1rem;color:#333;}
|
||||
.cardCity01 .card-header .button{top:0.6rem;}
|
||||
.cardCity01 .card-content-inner{padding-bottom:5rem;}
|
||||
|
||||
.cardCity01 .card-footer{bottom:1.5rem;}
|
||||
|
||||
.cardCity02{background:url(../images/rankingBg.png) no-repeat center 5rem;background-size:100%;padding:0 0.75rem;padding-top:2.5rem;padding-bottom:0.8rem;border-bottom:none;position:relative;}
|
||||
@@ -963,17 +967,22 @@ input::-webkit-input-placeholder{
|
||||
.cardCity02 .card-footer span:nth-child(2) em{color:#333;}
|
||||
.cardCity02 .card-footer img{width:3.65rem;position:absolute;top:-1.825rem;left:50%;margin-left:-1.825rem;}
|
||||
|
||||
.list-block.media-list.cityList ul:before{height:0;}
|
||||
.list-block.media-list.cityList ul:after{height:0;}
|
||||
.list-block.media-list.cityList .item-inner{padding-right:0;padding-top:0;padding-bottom:0;min-height:1.5rem;}
|
||||
.list-block.media-list.cityList .item-inner:after{height:0;}
|
||||
.list-block.media-list.cityList .item-subtitle{color:#333;}
|
||||
.list-block.media-list.cityList ul li:nth-child(1) .item-subtitle{color:#999;}
|
||||
.list-block.media-list.cityList .item-subtitle div:first-child{margin-left:0;}
|
||||
.list-block.media-list.cityList .item-subtitle div.col-20:last-child em{color:#F18D00;}
|
||||
.list-block.media-list.cityList .item-subtitle div.col-20{position:relative;}
|
||||
.list-block.media-list.cityList .item-subtitle div.col-20 .button{width:auto;height:1.1rem;top:0;left:0;right:inherit;font-style:normal;line-height:1rem;}
|
||||
.list-block.media-list.cityList .item-subtitle div.col-25 .star .icon{margin-right:0;}
|
||||
.list-block.cityList ul:before{height:0;}
|
||||
.list-block.cityList ul:after{height:0;}
|
||||
.list-block.cityList ul.list-container{margin-bottom:0.5rem;}
|
||||
.list-block.cityList .item-inner{padding-right:0;padding-top:0;padding-bottom:0;min-height:1.5rem;}
|
||||
.list-block.cityList .item-inner:after{height:0;}
|
||||
.list-block.cityList .item-subtitle{color:#333;}
|
||||
.list-block.cityList ul li:nth-child(1) .item-subtitle div{color:#999;}
|
||||
.list-block.cityList ul.list-container > div .item-subtitle div{color:#999;}
|
||||
.list-block.cityList .item-subtitle div:first-child{margin-left:0;}
|
||||
.list-block.cityList .item-subtitle div.col-20{position:relative;height:1.1rem;}
|
||||
.list-block.cityList .item-subtitle div.col-20:last-child em{color:#F18D00;}
|
||||
.list-block.cityList .item-subtitle div.col-20 .button{width:auto;height:1.1rem;top:0;left:0;right:inherit;font-style:normal;line-height:1rem;}
|
||||
.list-block.cityList .item-subtitle div.col-25 .star .icon{margin-right:0;}
|
||||
.list-block.cityList .item-subtitle div em{font-size:0.7rem;}
|
||||
.list-block.cityList .item-subtitle div img{width:1rem;margin:0 auto;}
|
||||
.list-block.cityList > p{font-size:0.7rem;color:#999;text-align:center;}
|
||||
|
||||
.list-block.dataList ul:before{height:0;}
|
||||
.list-block.dataList ul:after{height:0;}
|
||||
@@ -1079,7 +1088,7 @@ input::-webkit-input-placeholder{
|
||||
.contentSuggest .noData a{text-decoration:underline;}
|
||||
.contentSuggest .noData a.button{text-decoration:none;}
|
||||
|
||||
.topBg02{background:#ecf6ff;border-bottom:solid 1px #e7e7e7;color:#333;text-align:justify;padding-top:1rem;margin-bottom:0.5rem;}
|
||||
.topBg02{background:#fff;border-bottom:solid 1px #e7e7e7;color:#333;text-align:justify;padding-top:1rem;}
|
||||
.topBg02 p{font-size:0.75rem;}
|
||||
.topBg02 p label{color:#999;font-size:0.75rem;}
|
||||
.topBg02 p em{color:#EB5F34;font-size:0.75rem;}
|
||||
@@ -1152,9 +1161,11 @@ input::-webkit-input-placeholder{
|
||||
.contentText{background:#fff;}
|
||||
|
||||
.topBg01{width:100%;background:url(../images/topBg.png) no-repeat center top;background-size:100%;border-bottom:solid 1px #e7e7e7;padding:1.2rem 0.75rem;padding-bottom:0;color:#fff;overflow:hidden;position:relative;}
|
||||
.topBg01 img{width:3rem;height:3rem;margin:0 auto;margin-top:0.6rem;}
|
||||
.topBg01 p{font-size:0.7rem;color:#333;text-align:center;margin-top:0.6rem;}
|
||||
.topBg01 p .button{width:4rem;margin:0 auto;}
|
||||
.topBg01 > img{width:3rem;height:3rem;margin:0 auto;margin-top:0.6rem;}
|
||||
.topBg01 > p{text-align:center;}
|
||||
.topBg01 > p label{font-size:0.7rem;color:#333;display:block;margin-top:0.6rem;position:relative;}
|
||||
.topBg01 > p label a{font-size:0.7rem;position:absolute;right:0;top:0;}
|
||||
.topBg01 > p .button{width:4rem;margin:0 auto;}
|
||||
|
||||
.tabs .noData img{width:30%;margin:0 auto;margin-top:3rem;}
|
||||
|
||||
@@ -1162,6 +1173,18 @@ input::-webkit-input-placeholder{
|
||||
.topic .topicContent .topicContent_center.homeWin{width:540px;overflow:hidden;}
|
||||
.topic .topicContent .topicContent_center.homeWin div{width:90px;}
|
||||
|
||||
/* 税费计算 */
|
||||
.buttons-tab .button{color:#999;}
|
||||
|
||||
/* 分享 */
|
||||
.shareBox{height:66px;padding-left:0;padding-right:0.5rem;border-top:solid 1px #e7e7e7;bottom:0;}
|
||||
.shareBox ul:before{height:0;}
|
||||
.shareBox .list-block .item-media img{width:2.3rem;height:2.3rem;}
|
||||
.shareBox .list-block .item-title{font-size:0.75rem;line-height:1.2rem;}
|
||||
.shareBox .list-block .item-title em{color:#F18D00;}
|
||||
.shareBox .button{top:0.5rem;}
|
||||
.shareBox .icon-close{width:10px;height:10px;background:url(../images/icon-close.png) no-repeat center center;background-size:100%;position:absolute;top:0.25rem;right:0.25rem;}
|
||||
|
||||
/* 出错页面 */
|
||||
.contentError{padding-top:30%;}
|
||||
.contentError img{width:30%;margin:0 auto;}
|
||||
@@ -1381,6 +1404,7 @@ input[type=range]::-webkit-slider-thumb {
|
||||
.textAlignLeft01{left:110px;}
|
||||
label.spacing01{margin-right:41px;}
|
||||
label.spacing02{margin-right:42px;}
|
||||
small.spacing{letter-spacing:32px;}
|
||||
small.spacing01a{margin-right:3.7px;}
|
||||
.rangeNote span.span01{margin-right:8.5%;}
|
||||
.rangeNote span.span01a{margin-left:8%;}
|
||||
@@ -1396,6 +1420,7 @@ input[type=range]::-webkit-slider-thumb {
|
||||
.list-block .item-title span.c3a{max-width:180px;}
|
||||
label.spacing01{margin-right:11px;}
|
||||
label.spacing02{margin-right:12px;}
|
||||
small.spacing{letter-spacing:28px;}
|
||||
.rangeNote span.span01{margin-right:8.5%;}
|
||||
.rangeNote span.span01a{margin-left:9%;}
|
||||
.rangeNote span.span02{margin-right:8%;}
|
||||
@@ -1404,6 +1429,7 @@ input[type=range]::-webkit-slider-thumb {
|
||||
.rangeNote span.span05{margin-right:13%;}
|
||||
}
|
||||
@media(max-width:320px){
|
||||
.topic .topicTitle{font-size:0.75rem;}
|
||||
.list-block .item-title span.c3a{max-width:112px;}
|
||||
.list-block .item-title label{max-width:100px;}
|
||||
label.spacing01{margin-right:11px;}
|
||||
@@ -1419,8 +1445,10 @@ input[type=range]::-webkit-slider-thumb {
|
||||
.cardInfo02 img{width:5rem;height:4rem;}
|
||||
.cardInfo02 .item-subtitle{margin-top:0;}
|
||||
.cardCity .card-footer span em strong{font-size:0.9rem;}
|
||||
.list-block.media-list.cityList ul li:nth-child(1) .item-subtitle div{font-size:0.6rem;}
|
||||
.list-block.cityList ul li:nth-child(1) .item-subtitle div{font-size:0.6rem;}
|
||||
.list-block.cityList ul.list-container > div .item-subtitle div{font-size:0.6rem;}
|
||||
.adBoxApp{width:88%;}
|
||||
.bar-nav01c + .picker-modal-inner .picker-items-col .picker-item{padding:0 5rem;}
|
||||
}
|
||||
@media(min-height:750px){
|
||||
.bar-tab{bottom:1.7rem;}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 53 KiB |
@@ -8,6 +8,10 @@ var assetsLevel = new Vue({
|
||||
}
|
||||
})
|
||||
|
||||
function getAssetsLevelDetail(){
|
||||
|
||||
}
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
|
||||
function onPlusReady(){
|
||||
|
||||
@@ -50,7 +50,8 @@ function selectNewsCollectList(){
|
||||
mc_pageSize = response.data.data.limit;
|
||||
mc_totalPages = response.data.data.totalPages;
|
||||
mc_totalRecords = response.data.data.totalRecords;
|
||||
tab.mc_num = mc_totalRecords;
|
||||
// tab.mc_num = mc_totalRecords;
|
||||
$("#mc_num").html("收藏("+mc_totalRecords+")")
|
||||
mcAddItems(mc_itemsPerLoad, mc_lastIndex, dataObj);
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
|
||||
@@ -20,7 +20,8 @@ function addEstate(number, lastIndex) {
|
||||
return;
|
||||
}
|
||||
mf_totalCount = data.totalCount;
|
||||
tab.mf_num = mf_totalCount;
|
||||
// tab.mf_num = mf_totalCount;
|
||||
$("#mf_num").html("关注("+mf_totalCount+")")
|
||||
// 生成新条目的HTML
|
||||
var html = '';
|
||||
$.each(data['results'], function(i){
|
||||
|
||||
@@ -30,8 +30,8 @@ function selectHouseInfoList(){
|
||||
var houseInfoTotalMap = resultsMap.houseInfoTotalMap;
|
||||
//调整统计num的顺序
|
||||
mh_totalRecords = resultsMap.houseInfoPageList.totalRecords;
|
||||
tab.mh_num = mh_totalRecords;
|
||||
|
||||
// tab.mh_num = mh_totalRecords;
|
||||
$("#mh_num").html("房产("+mh_totalRecords+")")
|
||||
if(resultList != null && resultList.length == 0){
|
||||
// 删除加载提示符
|
||||
$('#loadTip1').hide();
|
||||
|
||||
@@ -23,7 +23,8 @@ function addMessage(loadNum,startNum){
|
||||
return;
|
||||
}
|
||||
mm_totalCount = response.data.data.totalCount;
|
||||
tab.mm_num = mm_totalCount;
|
||||
// tab.mm_num = mm_totalCount;
|
||||
$("#mm_num").html("消息("+mm_totalCount+")")
|
||||
var html="";
|
||||
$.each(messageList,function(){
|
||||
// var clickStr = "";
|
||||
|
||||
@@ -0,0 +1,205 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>全国下跌列表</title>
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.css">
|
||||
<link rel="stylesheet" href="../../css/main.css">
|
||||
<link rel="stylesheet" href="../../css/theme-orange.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-group">
|
||||
<div class="page page-current">
|
||||
<header class="bar bar-nav barBorder">
|
||||
<button class="button button-link button-nav pull-left" onclick="history.go(-1)">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<button class="button button-link button-nav pull-right">
|
||||
<span class="icon icon-share"></span>
|
||||
</button>
|
||||
<h1 class="title">全国下跌列表</h1>
|
||||
</header>
|
||||
<div class="content infinite-scroll infinite-scroll-bottom" data-distance="50">
|
||||
<div class="list-block media-list cityList" style="margin-top:0.8rem;" id="tableList">
|
||||
<ul class="list-container">
|
||||
<div class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-subtitle row">
|
||||
<div class="col-15 tac">排名</div>
|
||||
<div class="col-25">城市</div>
|
||||
<div class="col-33">{{month}}月均价</div>
|
||||
<div class="col-25">{{month}}月跌幅</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<li v-for="item in list">
|
||||
<a class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-subtitle row">
|
||||
<div class="col-15 tac">{{item.rangeLevel}}</div>
|
||||
<div class="col-25">{{item.city}}</div>
|
||||
<div class="col-33">{{item.avgPrice}}元/㎡</div>
|
||||
<div class="col-25">
|
||||
<em class="up">{{Math.abs(item.markup*100).toFixed(2)}}%<i class="icon icon-arrow-green"></i></em>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p v-if="end">没有更多数据</p>
|
||||
<p v-else>上拉查看更多排名</p>
|
||||
</div>
|
||||
<!-- 加载提示符 -->
|
||||
<div class="infinite-scroll-preloader">
|
||||
<div class="preloader"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="http://g.alicdn.com/sj/lib/zepto/zepto.js" charset="utf-8"></script>
|
||||
|
||||
<script>
|
||||
|
||||
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
||||
Zepto = $
|
||||
$.config = {router: false}
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../../js/light7.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../js/cn.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../config.js"></script>
|
||||
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
||||
<script type="text/javascript" src="../../js/vue.js"></script>
|
||||
<script type="text/javascript" src="../../js/mui.min.js" charset="utf-8"></script>
|
||||
<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>
|
||||
var date = new Date();
|
||||
var month = date.getMonth()+1+'月';
|
||||
|
||||
var pageBean=new Vue({
|
||||
data:{
|
||||
pageNo:1,
|
||||
pageSize:10
|
||||
}
|
||||
});
|
||||
|
||||
var tableList = new Vue({
|
||||
el: '#tableList',
|
||||
data: {
|
||||
month : month,
|
||||
end : false,
|
||||
list:[]
|
||||
},
|
||||
methods: {
|
||||
menu:function() {
|
||||
if(this.end){
|
||||
console.log("已显示全部");
|
||||
this.end = true;
|
||||
}else{
|
||||
axios.get("/rest/quotations/queryMarkDownTopByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}})
|
||||
.then(function (response) {
|
||||
this.end = response.data.data.end;
|
||||
tableList.list = tableList.list.concat(response.data.data.list);
|
||||
pageBean.pageNo=pageBean.pageNo+1;
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted:function() {
|
||||
window.addEventListener('scroll', this.menu());
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady(){
|
||||
axios.get("/rest/quotations/queryMarkDownTopByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}})
|
||||
.then(function (response) {
|
||||
tableList.month = month;
|
||||
tableList.end = response.data.data.end;
|
||||
tableList.list = response.data.data.list;
|
||||
pageBean.pageNo=pageBean.pageNo+1;
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
/* 排行页面底部无限加载事件
|
||||
$.init();
|
||||
$(function() {
|
||||
// 加载flag
|
||||
var loading = false;
|
||||
// 最多可加载的条目
|
||||
var maxItems = 366;
|
||||
|
||||
// 每次加载添加多少条目
|
||||
var itemsPerLoad = 10;
|
||||
|
||||
function addItems(number, lastIndex) {
|
||||
// 生成新条目的HTML
|
||||
var html = '';
|
||||
for (var i = lastIndex + 1; i <= lastIndex + number; i++) {
|
||||
html += '<li><a class="item-content"><div class="item-inner"><div class="item-subtitle row"><div class="col-15 tac">' + i + '</div><div class="col-25">上海</div><div class="col-33">15689元/㎡</div><div class="col-25"><em class="up">8.98%<i class="icon icon-arrow-green"></i></em></div></div></div></a></li>';
|
||||
}
|
||||
// 添加新条目
|
||||
$('.list-block.cityList ul').append(html);
|
||||
|
||||
}
|
||||
//预先加载10条
|
||||
addItems(itemsPerLoad, 0);
|
||||
|
||||
// 上次加载的序号
|
||||
var lastIndex = 10;
|
||||
|
||||
// 注册'infinite'事件处理函数
|
||||
$(document).on('infinite', '.infinite-scroll-bottom',function() {
|
||||
|
||||
// 如果正在加载,则退出
|
||||
if (loading) return;
|
||||
|
||||
// 设置flag
|
||||
loading = true;
|
||||
|
||||
// 模拟1s的加载过程
|
||||
setTimeout(function() {
|
||||
// 重置加载flag
|
||||
loading = false;
|
||||
|
||||
if (lastIndex >= maxItems) {
|
||||
// 加载完毕,则注销无限加载事件,以防不必要的加载
|
||||
$.detachInfiniteScroll($('.infinite-scroll'));
|
||||
// 删除加载提示符
|
||||
$('.infinite-scroll-preloader').remove();
|
||||
return;
|
||||
}
|
||||
|
||||
// 添加新条目
|
||||
addItems(itemsPerLoad, lastIndex);
|
||||
// 更新最后加载的序号
|
||||
lastIndex = $('.list-block.cityList ul li').length;
|
||||
//容器发生改变,如果是js滚动,需要刷新滚动
|
||||
$.refreshScroller();
|
||||
}, 1000);
|
||||
});
|
||||
});*/
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,244 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>城市涨幅排行</title>
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.css">
|
||||
<link rel="stylesheet" href="../../css/main.css">
|
||||
<link rel="stylesheet" href="../../css/theme-orange.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-group">
|
||||
<div class="page page-current">
|
||||
<header class="bar bar-nav barBorder">
|
||||
<button class="button button-link button-nav pull-left" onclick="history.go(-1)">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<button class="button button-link button-nav pull-right">
|
||||
<span class="icon icon-share"></span>
|
||||
</button>
|
||||
<h1 class="title">城市涨幅排行</h1>
|
||||
</header>
|
||||
<div class="content infinite-scroll infinite-scroll-bottom" data-distance="50" id="tableList">
|
||||
<div class="card cardPrice cardCity cardCity02">
|
||||
<div class="card-footer">
|
||||
<span>
|
||||
<em><strong>{{avgPrice}}</strong>元/㎡</em>
|
||||
<label>{{month}}月均价</label>
|
||||
</span>
|
||||
<span>
|
||||
<em><strong>{{city}}</strong></em>
|
||||
</span>
|
||||
<span>
|
||||
<em><strong>{{Math.abs(markup*100).toFixed(2)}}</strong>%<i class="icon icon-arrow-red"></i></em>
|
||||
<label>近30天涨幅</label>
|
||||
</span>
|
||||
<img src="../../images/rankingCup01.png">
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-block media-list cityList">
|
||||
<ul class="list-container">
|
||||
<div class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-subtitle row">
|
||||
<div class="col-15 tac">排名</div>
|
||||
<div class="col-25">城市</div>
|
||||
<div class="col-33">{{month}}月均价</div>
|
||||
<div class="col-25">近30天涨幅</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<li v-for="item in list">
|
||||
<a class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-subtitle row">
|
||||
<div class="col-15 tac">
|
||||
<img v-if="item.rangeLevel==1" src="../../images/rankingImg01a.png">
|
||||
<img v-else-if="item.rangeLevel==2" src="../../images/rankingImg02a.png">
|
||||
<img v-else-if="item.rangeLevel==3" src="../../images/rankingImg03a.png">
|
||||
<div v-else>{{item.rangeLevel}}</div>
|
||||
</div>
|
||||
<div class="col-25">{{item.city}}</div>
|
||||
<div class="col-33">{{item.avgPrice}}元/㎡</div>
|
||||
<div class="col-25">
|
||||
<em class="up">{{Math.abs(item.markup*100).toFixed(2)}}%<i class="icon icon-arrow-red"></i></em>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p>上拉查看更多排名</p>
|
||||
<!-- <p>没有更多数据</p>-->
|
||||
</div>
|
||||
<!-- 加载提示符 -->
|
||||
<div class="infinite-scroll-preloader">
|
||||
<div class="preloader"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="http://g.alicdn.com/sj/lib/zepto/zepto.js" charset="utf-8"></script>
|
||||
|
||||
<script>
|
||||
|
||||
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
||||
Zepto = $
|
||||
$.config = {router: false}
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../../js/light7.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../js/cn.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../config.js"></script>
|
||||
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
||||
<script type="text/javascript" src="../../js/vue.js"></script>
|
||||
<script type="text/javascript" src="../../js/mui.min.js" charset="utf-8"></script>
|
||||
<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>
|
||||
var date = new Date();
|
||||
var month = date.getMonth()+1+'月';
|
||||
|
||||
var date = new Date();
|
||||
var month = date.getMonth()+1+'月';
|
||||
|
||||
var pageBean=new Vue({
|
||||
data:{
|
||||
pageNo:1,
|
||||
pageSize:10
|
||||
}
|
||||
});
|
||||
|
||||
var tableList = new Vue({
|
||||
el: '#tableList',
|
||||
data: {
|
||||
month : month,
|
||||
end : false,
|
||||
avgPrice:6.5,
|
||||
city:'上海',
|
||||
markup:9.0,
|
||||
list:[]
|
||||
},
|
||||
methods: {
|
||||
menu:function() {
|
||||
if(this.end){
|
||||
console.log("已显示全部");
|
||||
this.end = true;
|
||||
}else{
|
||||
axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}})
|
||||
.then(function (response) {
|
||||
this.end = response.data.data.end;
|
||||
tableList.list = tableList.list.concat(response.data.data.list);
|
||||
if(pageBean.pageNo=1){
|
||||
tableList.avgPrice = response.data.data.list[0].avgPrice;
|
||||
tableList.city = response.data.data.list[0].city;
|
||||
tableList.markup = response.data.data.list[0].markup;
|
||||
}
|
||||
pageBean.pageNo=pageBean.pageNo+1;
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted:function() {
|
||||
window.addEventListener('scroll', this.menu());
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady(){
|
||||
axios.get("/rest/quotations/queryMarkUpAndDownByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}})
|
||||
.then(function (response) {
|
||||
tableList.month = month;
|
||||
tableList.end = response.data.data.end;
|
||||
tableList.list = response.data.data.list;
|
||||
if(pageBean.pageNo=1){
|
||||
tableList.avgPrice = response.data.data.list[0].avgPrice;
|
||||
tableList.city = response.data.data.list[0].city;
|
||||
tableList.markup = response.data.data.list[0].markup;
|
||||
}
|
||||
pageBean.pageNo=pageBean.pageNo+1;
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
/* 排行页面底部无限加载事件
|
||||
$.init();
|
||||
$(function() {
|
||||
// 加载flag
|
||||
var loading = false;
|
||||
// 最多可加载的条目
|
||||
var maxItems = 366;
|
||||
|
||||
// 每次加载添加多少条目
|
||||
var itemsPerLoad = 10;
|
||||
|
||||
function addItems(number, lastIndex) {
|
||||
// 生成新条目的HTML
|
||||
var html = '';
|
||||
for (var i = lastIndex + 1; i <= lastIndex + number; i++) {
|
||||
html += '<li><a class="item-content"><div class="item-inner"><div class="item-subtitle row"><div class="col-15 tac">' + i + '</div><div class="col-25">上海</div><div class="col-33">15689元/㎡</div><div class="col-25"><em class="up">8.98%<i class="icon icon-arrow-red"></i></em></div></div></div></a></li>';
|
||||
}
|
||||
// 添加新条目
|
||||
$('.list-block.cityList ul').append(html);
|
||||
|
||||
}
|
||||
//预先加载10条
|
||||
addItems(itemsPerLoad, 0);
|
||||
|
||||
// 上次加载的序号
|
||||
var lastIndex = 10;
|
||||
|
||||
// 注册'infinite'事件处理函数
|
||||
$(document).on('infinite', '.infinite-scroll-bottom',function() {
|
||||
|
||||
// 如果正在加载,则退出
|
||||
if (loading) return;
|
||||
|
||||
// 设置flag
|
||||
loading = true;
|
||||
|
||||
// 模拟1s的加载过程
|
||||
setTimeout(function() {
|
||||
// 重置加载flag
|
||||
loading = false;
|
||||
|
||||
if (lastIndex >= maxItems) {
|
||||
// 加载完毕,则注销无限加载事件,以防不必要的加载
|
||||
$.detachInfiniteScroll($('.infinite-scroll'));
|
||||
// 删除加载提示符
|
||||
$('.infinite-scroll-preloader').remove();
|
||||
return;
|
||||
}
|
||||
|
||||
// 添加新条目
|
||||
addItems(itemsPerLoad, lastIndex);
|
||||
// 更新最后加载的序号
|
||||
lastIndex = $('.list-block.cityList ul li').length;
|
||||
//容器发生改变,如果是js滚动,需要刷新滚动
|
||||
$.refreshScroller();
|
||||
}, 1000);
|
||||
});
|
||||
});*/
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,208 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>全国上涨列表</title>
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.css">
|
||||
<link rel="stylesheet" href="../../css/main.css">
|
||||
<link rel="stylesheet" href="../../css/theme-orange.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-group">
|
||||
<div class="page page-current">
|
||||
<header class="bar bar-nav barBorder">
|
||||
<button class="button button-link button-nav pull-left" onclick="history.go(-1)">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<button class="button button-link button-nav pull-right">
|
||||
<span class="icon icon-share"></span>
|
||||
</button>
|
||||
<h1 class="title">全国上涨列表</h1>
|
||||
</header>
|
||||
<div class="content infinite-scroll infinite-scroll-bottom" data-distance="50">
|
||||
<div class="list-block media-list cityList" style="margin-top:0.8rem;" id="tableList">
|
||||
<ul class="list-container">
|
||||
<div class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-subtitle row">
|
||||
<div class="col-15 tac">排名</div>
|
||||
<div class="col-25">城市</div>
|
||||
<div class="col-33">{{month}}月均价</div>
|
||||
<div class="col-25">{{month}}月涨幅</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<li v-for="item in list">
|
||||
<a class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-subtitle row">
|
||||
<div class="col-15 tac">{{item.rangeLevel}}</div>
|
||||
<div class="col-25">{{item.city}}</div>
|
||||
<div class="col-33">{{item.avgPrice}}元/㎡</div>
|
||||
<div class="col-25">
|
||||
<em class="up">{{Math.abs(item.markup*100).toFixed(2)}}%<i class="icon icon-arrow-red"></i></em>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<p v-if="end">没有更多数据</p>
|
||||
<p v-else>上拉查看更多排名</p>
|
||||
<!-- <p>没有更多数据</p>-->
|
||||
</div>
|
||||
<!-- 加载提示符 -->
|
||||
<div class="infinite-scroll-preloader">
|
||||
<div class="preloader"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="http://g.alicdn.com/sj/lib/zepto/zepto.js" charset="utf-8"></script>
|
||||
|
||||
<script>
|
||||
|
||||
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
||||
Zepto = $
|
||||
$.config = {router: false}
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../../js/light7.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../js/cn.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../config.js"></script>
|
||||
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
||||
<script type="text/javascript" src="../../js/vue.js"></script>
|
||||
<script type="text/javascript" src="../../js/mui.min.js" charset="utf-8"></script>
|
||||
<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>
|
||||
var date = new Date();
|
||||
var month = date.getMonth()+1+'月';
|
||||
|
||||
var pageBean=new Vue({
|
||||
data:{
|
||||
pageNo:1,
|
||||
pageSize:10
|
||||
}
|
||||
});
|
||||
|
||||
var tableList = new Vue({
|
||||
el: '#tableList',
|
||||
data: {
|
||||
month : month,
|
||||
end : false,
|
||||
list:[]
|
||||
},
|
||||
methods: {
|
||||
menu:function() {
|
||||
if(this.end){
|
||||
console.log("已显示全部");
|
||||
this.end = true;
|
||||
}else{
|
||||
axios.get("/rest/quotations/queryMarkUpTopByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}})
|
||||
.then(function (response) {
|
||||
this.end = response.data.data.end;
|
||||
tableList.list = tableList.list.concat(response.data.data.list);
|
||||
pageBean.pageNo=pageBean.pageNo+1;
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted:function() {
|
||||
window.addEventListener('scroll', this.menu());
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady(){
|
||||
axios.get("/rest/quotations/queryMarkUpTopByPage", {params:{pageNo:pageBean.pageNo,pageSize:pageBean.pageSize}})
|
||||
.then(function (response) {
|
||||
tableList.month = month;
|
||||
tableList.end = response.data.data.end;
|
||||
tableList.list = response.data.data.list;
|
||||
pageBean.pageNo=pageBean.pageNo+1;
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/* 排行页面底部无限加载事件
|
||||
$.init();
|
||||
$(function() {
|
||||
// 加载flag
|
||||
var loading = false;
|
||||
// 最多可加载的条目
|
||||
var maxItems = 366;
|
||||
|
||||
// 每次加载添加多少条目
|
||||
var itemsPerLoad = 10;
|
||||
|
||||
function addItems(number, lastIndex) {
|
||||
// 生成新条目的HTML
|
||||
var html = '';
|
||||
for (var i = lastIndex + 1; i <= lastIndex + number; i++) {
|
||||
html += '<li><a class="item-content"><div class="item-inner"><div class="item-subtitle row"><div class="col-15 tac">' + i + '</div><div class="col-25">上海</div><div class="col-33">15689元/㎡</div><div class="col-25"><em class="up">8.98%<i class="icon icon-arrow-red"></i></em></div></div></div></a></li>';
|
||||
}
|
||||
// 添加新条目
|
||||
$('.list-block.cityList ul').append(html);
|
||||
|
||||
}
|
||||
//预先加载10条
|
||||
addItems(itemsPerLoad, 0);
|
||||
|
||||
// 上次加载的序号
|
||||
var lastIndex = 10;
|
||||
|
||||
// 注册'infinite'事件处理函数
|
||||
$(document).on('infinite', '.infinite-scroll-bottom',function() {
|
||||
|
||||
// 如果正在加载,则退出
|
||||
if (loading) return;
|
||||
|
||||
// 设置flag
|
||||
loading = true;
|
||||
|
||||
// 模拟1s的加载过程
|
||||
setTimeout(function() {
|
||||
// 重置加载flag
|
||||
loading = false;
|
||||
|
||||
if (lastIndex >= maxItems) {
|
||||
// 加载完毕,则注销无限加载事件,以防不必要的加载
|
||||
$.detachInfiniteScroll($('.infinite-scroll'));
|
||||
// 删除加载提示符
|
||||
$('.infinite-scroll-preloader').remove();
|
||||
return;
|
||||
}
|
||||
|
||||
// 添加新条目
|
||||
addItems(itemsPerLoad, lastIndex);
|
||||
// 更新最后加载的序号
|
||||
lastIndex = $('.list-block.cityList ul li').length;
|
||||
//容器发生改变,如果是js滚动,需要刷新滚动
|
||||
$.refreshScroller();
|
||||
}, 1000);
|
||||
});
|
||||
});*/
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -59,11 +59,11 @@
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div class="card-content-inner row">
|
||||
<span class="col-50">
|
||||
<span class="col-50" onclick="window.location.href='cityUpRanking.html'">
|
||||
<em class="up"><strong>{{upRate}}</strong>%</em>
|
||||
<label>城市上涨</label>
|
||||
</span>
|
||||
<span class="col-50">
|
||||
<span class="col-50" onclick="window.location.href='cityDownRanking.html'">
|
||||
<em class="down"><strong>{{downRate}}</strong>%</em>
|
||||
<label>城市下跌</label>
|
||||
</span>
|
||||
@@ -89,6 +89,9 @@
|
||||
<div class="cardNearbyBox cardNearbyBox01 cardRankingBox cardRankingBox01" id="countryRank" v-cloak>
|
||||
<div class="cardNearbyWin">
|
||||
<div class="card cardNearby cardRanking" v-for="item in datas">
|
||||
<a v-if="item.type==0" href="cityRanking.html">
|
||||
<a v-if="item.type==1" href="#">
|
||||
<a v-if="item.type==2" href="#">
|
||||
<div class="card-header" v-if="item.type==0">
|
||||
城市涨幅排行
|
||||
</div>
|
||||
@@ -151,6 +154,7 @@
|
||||
<div class="card-footer" v-else>
|
||||
<em>{{item.avgPrice}}元/㎡</em>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1334,7 +1338,6 @@ $.config = {router: false}
|
||||
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
||||
<script type="text/javascript" src="../../js/city.js" ></script>
|
||||
<script type="text/javascript" src="../../js/ad_position_image.js"></script>
|
||||
<script type="text/javascript" src="../../config.js"></script>
|
||||
|
||||
<script>
|
||||
var shareUrl = BASE_PATH+"/house/cityShare?city=全国";
|
||||
|
||||
@@ -17,12 +17,13 @@
|
||||
.list-block ul:before{height:0;}
|
||||
.icon-houseLevel{width:0.8rem;height:0.75rem;background:url(../../images/icon-houseLevel.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:-0.1rem;}
|
||||
.cardPrice01 .card-content{background:url(../../images/cardBg01.png) no-repeat center bottom;background-size:100%;}
|
||||
|
||||
.list-block .add{background:none;font-size:0.75rem;color:#F18D00;position:absolute;top:0;right:0;padding:0.5rem 0.75rem;}
|
||||
.list-block .add01{padding:0 0.5rem;top:1.1rem;right:0.75rem;}
|
||||
.list-block .add01a{top:inherit;bottom:0.75rem;right:0.75rem;}
|
||||
.list-block .item-title em{font-size:0.8rem;color:#EB5F34;}
|
||||
.list-block .item-title .tag small{font-size:80%;color:#F5A100;}
|
||||
.cardPrice01 .card-footer span:nth-child(2){text-align:center;}
|
||||
.list-block ul:before{height:0;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -185,6 +186,7 @@ function selectHouseInfoList(){
|
||||
var xqOneMonthUpDownRangeMap = resultsMap.xqOneMonthUpDownRangeMap;
|
||||
var xqPotentialIndexMap = resultsMap.xqPotentialIndexMap;
|
||||
var houseInfoTotalMap = resultsMap.houseInfoTotalMap;
|
||||
var userAssetsLevelMap = resultsMap.userAssetsLevelMap;
|
||||
// 上次加载的序号
|
||||
lastIndex = $('.list-container li').length;
|
||||
//登录状态,但没有数据
|
||||
@@ -224,7 +226,7 @@ function selectHouseInfoList(){
|
||||
pageSize = resultsMap.houseInfoPageList.limit;
|
||||
totalPages = resultsMap.houseInfoPageList.totalPages;
|
||||
totalRecords = resultsMap.houseInfoPageList.totalRecords;
|
||||
addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap);
|
||||
addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap, userAssetsLevelMap);
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
@@ -275,8 +277,9 @@ function gotoAddHouse(){
|
||||
|
||||
//跳转资产排名
|
||||
function gotoAssetsLevel(){
|
||||
clicked('/views/user/assetsLevel.html',true,false,{},{},function(){
|
||||
})
|
||||
if(baseInfo.userAssetsLevel!="暂无"){
|
||||
clicked('/views/user/assetsLevel.html',true,false,{},{},function(){})
|
||||
}
|
||||
}
|
||||
|
||||
//跳转房产详情
|
||||
@@ -296,12 +299,15 @@ function gotoLoanApply(houseId, city){
|
||||
}
|
||||
|
||||
/* 分页构造数据 */
|
||||
function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap) {
|
||||
function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap, userAssetsLevelMap) {
|
||||
var html = '';
|
||||
//控制总产值部分显示
|
||||
baseInfo.totalPrice = houseInfoTotalMap["totalPrice"];
|
||||
baseInfo.oneYearUpDownRange = Math.abs(houseInfoTotalMap["oneYearUpDownRange"]);
|
||||
baseInfo.oneYearUpDownPrice = Math.abs(houseInfoTotalMap["oneYearUpDownPrice"]);
|
||||
//资产排名(资产为0,不可点击)
|
||||
baseInfo.userAssetsLevel = userAssetsLevelMap["userAssetsLevel"] == 0?"暂无":userAssetsLevelMap["userAssetsLevel"];
|
||||
|
||||
if(!isNaN(houseInfoTotalMap["oneYearUpDownRange"])){
|
||||
//涨跌幅大于零
|
||||
if(parseFloat(houseInfoTotalMap["oneYearUpDownRange"])>=0){
|
||||
|
||||
@@ -120,9 +120,9 @@
|
||||
<img src="../../images/headPortrait.png" id="user_headImg" onclick="gotoUpdatePass()">
|
||||
<p id="user_mobile"><br><span class="tag"><!--<small>土豪</small>--></span></p>
|
||||
</div>
|
||||
<div class="topic">
|
||||
<div class="topic" id="toolList" v-bind:style="{display:haveTools}">
|
||||
<div class="topicContent homeBox" style="padding-left:0;padding-right:0;">
|
||||
<div class="topicContent_center home homeWin" id="toolList">
|
||||
<div class="topicContent_center home homeWin" >
|
||||
<!--<div>
|
||||
<i class="icon icon-personal01"></i>
|
||||
<span>公积金查询</span>
|
||||
@@ -511,7 +511,8 @@ function loadToolList (){
|
||||
el:"#toolList",
|
||||
data:{
|
||||
merchantTools:[],
|
||||
userId:""
|
||||
userId:"",
|
||||
haveTools:"none"
|
||||
},
|
||||
methods:{
|
||||
goto:function(url,userId,id){
|
||||
@@ -536,6 +537,9 @@ function loadToolList (){
|
||||
axios.get(BASE_PATH + "/rest/usertool/merchantToolList",{params:{position:0}}).then(function(response){
|
||||
toolList.merchantTools = response.data.data.list;
|
||||
toolList.userId = response.data.data.uid;
|
||||
if(response.data.data.list.length>0){
|
||||
toolList.haveTools = "block";
|
||||
}
|
||||
/* 获取homeWin div个数并计算homeWin宽度 */
|
||||
var original = 0;//公积金查询等个数
|
||||
$(".homeWin").css("width",(90*(original+response.data.data.list.length))+"px");
|
||||
|
||||
Reference in New Issue
Block a user