YOUFANG1.1
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
.city-list{width:100%;overflow:hidden;}
|
||||
.city-list .city-letter{color:#999;font-size:0.8rem;display:inline-block;padding-top:0.75rem;padding-bottom:0.5rem;border-bottom:1px solid #e7e7e7;width:100%;}
|
||||
.city-list p{width:95%;border-bottom:1px solid #e7e7e7;padding:0.75rem 0;margin:0;color:#333;cursor:pointer;}
|
||||
.city-list p.active,.city-list p:active{color:#18a2ff;}
|
||||
|
||||
|
||||
.cityGPS{padding:0 0.75rem;border-bottom:solid 1px #d7d7d7;}
|
||||
.cityGPS .city-list01{overflow:hidden;}
|
||||
@@ -22,8 +22,7 @@
|
||||
.city-list01 span{margin-left:0.75rem;display:block;font-size:0.7rem;color:#999;}
|
||||
.city-list01 div{overflow:hidden;margin-left:10px;}
|
||||
.city-list01 div p{width:27%;background:#fff;border:solid 1px #d7d7d7;border-radius:2px;float:left;margin:5px;text-align:center;line-height:34px;font-size:0.75rem;position:relative;}
|
||||
.city-list01 div p.active,.city-list01 div p:active{background:#18a2ff;border:solid 1px #18a2ff;color:#fff;}
|
||||
.collectionCity .icon-collection03{width:14px;height:14px;background:url(../images/icon-collection03.png) no-repeat center center;background-size:100%;position:absolute;right:5px;top:9px;}
|
||||
.collectionCity .icon-collection03{width:14px;height:14px;background:url(../images/icon-collection02.png) no-repeat center center;background-size:100%;position:absolute;right:5px;top:9px;}
|
||||
.collectionCity.active .icon-collection03,.collectionCity:active .icon-collection03{background:url(../images/icon-collection03a.png) no-repeat center center;background-size:100%;}
|
||||
|
||||
/*
|
||||
@@ -33,7 +32,7 @@
|
||||
.city01 .collectionCity .icon-collection03{right:1px;}
|
||||
*/
|
||||
|
||||
.city .collectionCity .icon-collection03{background:url(../images/icon-collection03.png) no-repeat center center;background-size:100%;position:static;display:inline-block;vertical-align:-1px;margin-left:0.3rem;}
|
||||
.city .collectionCity .icon-collection03{background:url(../images/icon-collection02.png) no-repeat center center;background-size:100%;position:static;display:inline-block;vertical-align:-1px;margin-left:0.3rem;}
|
||||
|
||||
.popup-about01 .content-block01{margin:0;top:66px;z-index:1;}
|
||||
.popup-about01 .container{top:2rem;}
|
||||
|
||||
+211
-116
@@ -15,12 +15,18 @@ em.down{color:#88D053;}
|
||||
.di{display:inline;}
|
||||
|
||||
.content{background:#fff;color:#333;z-index:1;}
|
||||
.content.f3{background:#f3f3f3;}
|
||||
.popup{background:#f3f3f3;}
|
||||
.popup-about02 .content{background:#fff;color:#333;z-index:1;}
|
||||
.popup-about03 .content,.popup-about04 .content{background:none;}
|
||||
.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;}
|
||||
|
||||
/* 标题栏 */
|
||||
.page > header.bar{position:static;padding-left:0.75rem;padding-right:0.75rem;background:#fff;border-bottom:solid 1px #DCDCDC;}
|
||||
.page > header.bar{position:static;padding-left:0.75rem;padding-right:0.75rem;background:#fff;}
|
||||
.page > header.barBorder{border-bottom:solid 1px #e7e7e7;}
|
||||
.bar:after{height:0;}
|
||||
.bar .button-nav{color:#999;}
|
||||
.bar .button-nav.pull-left{margin-left:0;}
|
||||
@@ -172,10 +178,9 @@ em.down{color:#88D053;}
|
||||
.bar-tab .tab-item{color:#C3C0BC;}
|
||||
.bar-tab .tab-item.active,.bar-tab .tab-item:active{color:#F18D00;}
|
||||
.bar-tab .tab-item .icon{padding:0;font-size:1.05rem;}
|
||||
.bar-tab:before{background-color:#DCDCDC;transform:scaleY(1);}
|
||||
.bar-tab:before{background-color:#e7e7e7;transform:scaleY(1);}
|
||||
.bar-tab .tab-item .icon ~ .tab-label{top:0.05rem;}
|
||||
|
||||
|
||||
/* 首页 */
|
||||
.totalValue{padding:1rem 0;overflow:hidden;}
|
||||
.totalValue div:first-child{float:left;margin-left:0.75rem;}
|
||||
@@ -200,18 +205,18 @@ em.down{color:#88D053;}
|
||||
|
||||
/* 块 */
|
||||
.content-block01{padding:0;}
|
||||
.content-block > p{color:#999;font-size:0.75rem;}
|
||||
.content-block > p label{color:#333;font-size:0.85rem;}
|
||||
.content-block > p small{color:#666;font-size:0.7rem;}
|
||||
.content-block > p{font-size:0.75rem;color:#999;}
|
||||
.content-block > p label{font-size:0.85rem;color:#333;}
|
||||
.content-block > p small{font-size:0.7rem;color:#666;}
|
||||
|
||||
.priceRecovery{padding:0 1rem;padding-bottom:1rem;border-bottom:solid 1px #e5e5e5;}
|
||||
.priceRecovery{padding:0 1rem;padding-bottom:1rem;border-bottom:solid 1px #e7e7e7;}
|
||||
.priceRecovery > p{text-align:center;}
|
||||
.priceRecovery .col-50 .button{width:50%;margin:0 auto;border-color:#999;color:#333;}
|
||||
.priceRecovery .col-50:first-child .button{float:right;}
|
||||
.priceRecovery .col-50:last-child .button{float:left;}
|
||||
|
||||
.content-block-title{color:#999;line-height:1.8rem;margin:0.2rem 0;margin-left:0.75rem;}
|
||||
.content-block-title em{color:#EB5F34;font-size:0.7rem;}
|
||||
.content-block-title em{font-size:0.7rem;color:#EB5F34;}
|
||||
.content-block-title .button{width:80px;float:right;margin-top:0.15rem;margin-right:0.75rem;padding:0;}
|
||||
.content-block-title + .list-block, .content-block-title + .content-block, .content-block-title + .card{margin-top:0;margin-bottom:0;}
|
||||
|
||||
@@ -221,58 +226,63 @@ em.down{color:#88D053;}
|
||||
.list-block .item-content .item-inner01{background:none;padding-right:0.75rem;}
|
||||
.list-block .list-container .item-title-row:first-child{margin-bottom:0.1rem;}
|
||||
|
||||
.list-block .item-title{color:#333;font-size:0.8rem;}
|
||||
.list-block .item-title.label{width:auto;color:#666;font-size:0.8rem;}
|
||||
.list-block .item-title.label font{color:#333;font-size:0.8rem;}
|
||||
.list-block .item-title label{color:#333;font-size:0.8rem;display:inline-block;vertical-align:top;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.list-block .item-title{font-size:0.8rem;color:#333;}
|
||||
.list-block .item-title.label{width:auto;font-size:0.8rem;color:#666;}
|
||||
.list-block .item-title.label font{font-size:0.8rem;color:#333;}
|
||||
.list-block .item-title label{font-size:0.8rem;color:#333;display:inline-block;vertical-align:top;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.list-block .item-title font{font-size:0.8rem;}
|
||||
.list-block .item-title small{color:#999;font-size:0.7rem;}
|
||||
.list-block .item-title span{color:#999;font-size:0.7rem;}
|
||||
.list-block .item-title span.span01{color:#666;font-size:0.7rem;margin-left:0.3rem;}
|
||||
.list-block .item-title small{font-size:0.7rem;color:#999;}
|
||||
.list-block .item-title span{font-size:0.7rem;color:#999;}
|
||||
.list-block .item-title span.span01{font-size:0.7rem;color:#666;margin-left:0.3rem;}
|
||||
.list-block .item-title input{display:inline-block;text-align:center;width:60px;border:solid 1px #e6e6ea;}
|
||||
.list-block .item-title b{font-size:0.9rem;}
|
||||
.list-block .item-title em{font-size:0.8rem;color:#EB5F34;}
|
||||
.list-block .item-title .button.button-fill{display:inline-block;width:50px;height:24px;line-height:24px;margin-left:0.5rem;vertical-align:2px;}
|
||||
.list-block .item-title.row{margin-left:0;width:100%;}
|
||||
.list-block .item-title.row .col-50{margin-left:0;}
|
||||
.list-block .item-title.row .col-50 p{margin:0.2rem 0;}
|
||||
.list-block .item-title.row .col-50 p label{color:#999;font-size:0.7rem;vertical-align:middle;}
|
||||
.list-block .item-title.row .col-50 p span{color:#333;font-size:0.7rem;margin-left:-5px;vertical-align:middle;}
|
||||
.list-block .item-title.row .col-50 p label{font-size:0.7rem;color:#999;vertical-align:middle;}
|
||||
.list-block .item-title.row .col-50 p span{font-size:0.7rem;color:#333;margin-left:-5px;vertical-align:middle;}
|
||||
.list-block .item-title.row .col-50 p span.span01{display:inline-block;max-width:160%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.list-block .item-title .tag small{font-size:80%;color:#F5A100;}
|
||||
.icon-add{width:0.6rem;height:0.6rem;background:url(../images/icon-add.png) no-repeat center center;background-size:100%;margin-right:0.3rem;}
|
||||
.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;}
|
||||
|
||||
.list-block .item-after{color:#333;font-size:0.8rem;}
|
||||
.popup .list-block .item-after{line-height:2.4rem;font-size:0.75rem;}
|
||||
.list-block .item-after span{color:#999;font-size:0.7rem;}
|
||||
.list-block .item-after em{color:#EB5F34;font-size:0.8rem;}
|
||||
.list-block .item-after font{color:#666;font-size:0.7rem;}
|
||||
.list-block .item-after small{color:#999;font-size:0.8rem;}
|
||||
.list-block .item-after{font-size:0.8rem;color:#333;}
|
||||
.popup .list-block .item-after{font-size:0.75rem;line-height:2.4rem;}
|
||||
.list-block .item-after span{font-size:0.7rem;color:#999;}
|
||||
.list-block .item-after em{font-size:0.8rem;color:#EB5F34;}
|
||||
.list-block .item-after font{font-size:0.7rem;color:#666;}
|
||||
.list-block .item-after small{font-size:0.8rem;color:#999;}
|
||||
|
||||
.list-block .item-subtitle{color:#999;font-size:0.7rem;}
|
||||
.list-block .item-subtitle{font-size:0.7rem;color:#999;}
|
||||
.list-block .item-subtitle.row{width:100%;margin-left:0;}
|
||||
.list-block .item-subtitle.row .col-50{width:50%;margin-left:0;}
|
||||
.list-block .item-subtitle.row .col-100{margin-left:0;}
|
||||
.list-block .item-subtitle span{display:inline-block;vertical-align:middle;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#999;font-size:0.7rem;}
|
||||
.list-block .item-subtitle span{display:inline-block;vertical-align:middle;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.7rem;color:#999;}
|
||||
.list-block .item-subtitle label{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.list-block .item-subtitle small{color:#999;font-size:0.65rem;}
|
||||
.list-block .item-subtitle em.em01{color:#F18D00;font-size:0.75rem;}
|
||||
.list-block .item-subtitle em.em02{color:#EB5F34;font-size:0.75rem;}
|
||||
.list-block .item-subtitle em.noData{color:#999;font-size:0.75rem;}
|
||||
.list-block .item-subtitle small{font-size:0.65rem;color:#999;}
|
||||
.list-block .item-subtitle em.em01{font-size:0.75rem;color:#F18D00;}
|
||||
.list-block .item-subtitle em.em02{font-size:0.75rem;color:#EB5F34;}
|
||||
.list-block .item-subtitle em.noData{font-size:0.75rem;color:#999;}
|
||||
.list-block .item-subtitle div{font-size:0.7rem;}
|
||||
.list-block .item-subtitle div.noData{color:#999;}
|
||||
.list-block .item-subtitle div em{font-size:0.75rem;text-align:center;}
|
||||
.list-block .item-subtitle div em strong{font-weight:normal;color:#EB5F34;font-size:1.2rem;}
|
||||
.list-block .item-subtitle div em strong{font-weight:normal;font-size:1.2rem;color:#EB5F34;}
|
||||
.list-block .item-subtitle div em i{width:7px;height:10px;margin-left:0.2rem;}
|
||||
.list-block .item-subtitle div label{display:block;color:#666;font-size:0.7rem;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 em{color:#EB5F34;font-size:0.8rem;}
|
||||
.list-block .item-subtitle div.price em strong{color:#EB5F34;font-size:1.4rem;font-weight:bold;margin-right:0.1rem;}
|
||||
.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 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;}
|
||||
.list-block .item-subtitle div .button{width:5rem;height:2.1rem;line-height:2rem;margin:0 auto;}
|
||||
.list-block .item-subtitle .tag{margin-top:0.2rem;max-width:100%;}
|
||||
.list-block .item-subtitle .tag small{font-size:80%;color:#F5A100;margin-left:0;margin-right:0.2rem;}
|
||||
.star{font-size:0.6rem;color:#666;margin-top:0.5rem;margin-bottom:0.3rem;}
|
||||
.list-block .item-subtitle .star{max-width:100%;}
|
||||
.star{font-size:0.6rem;color:#666;}
|
||||
.star:last-child{text-align:right;}
|
||||
.star .icon{width:0.7rem;height:0.7rem;background:url(../images/icon-star.png) no-repeat center center;background-size:100%;margin-right:0.1rem;vertical-align:sub;}
|
||||
.star .icon{width:0.7rem;height:0.7rem;background:url(../images/icon-star.png) no-repeat center center;background-size:100%;margin-right:0.1rem;vertical-align:text-top;}
|
||||
.star .icon-star01{background:url(../images/icon-star01.png) no-repeat center center;background-size:100%;}
|
||||
.star .icon-star02{background:url(../images/icon-star02.png) no-repeat center center;background-size:100%;}
|
||||
|
||||
@@ -280,15 +290,16 @@ 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;color:#F18D00;font-size:0.75rem;position:absolute;top:0;right:0;padding:0.5rem 0.75rem;}
|
||||
.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 li.noData{padding:0.75rem;padding-top:1rem;}
|
||||
.list-block li.noData img{margin:0 auto;}
|
||||
.list-block li.noData p{color:#999;text-align:center;}
|
||||
.list-block li.noData p a{text-decoration:underline;}
|
||||
|
||||
.searchHistory{padding:0.75rem;padding-bottom:0.5rem;border-top:solid 1px #e5e5e5;color:#333;font-size:0.75rem;}
|
||||
.searchHistory{padding:0.75rem;padding-bottom:0.5rem;border-top:solid 1px #e7e7e7;font-size:0.75rem;color:#333;}
|
||||
.icon-near{width:12px;height:16px;background:url(../images/icon-address.png) no-repeat center center;background-size:100%;margin-right:0.3rem;}
|
||||
.icon-history{width:15px;height:15px;background:url(../images/icon-history.png) no-repeat center center;background-size:100%;margin-right:0.3rem;}
|
||||
.searchHistory a{font-size:0.75rem;float:right;}
|
||||
@@ -298,9 +309,8 @@ em.down{color:#88D053;}
|
||||
.popup-about02 .list-block.historyList{margin-top:-1px;}
|
||||
.popup-about02 .list-block.historyList .searchHistory{padding-top:0;}
|
||||
.newCss ul{padding:0.75rem;padding-top:0;padding-left:0.25rem;overflow:hidden;}
|
||||
.newCss ul li{background:#F4F4F4;border-radius:0.16rem;display:inline-block;margin-left:0.5rem;margin-bottom:0.5rem;padding:0 0.5rem;line-height:1.5rem;font-size:0.65rem;color:#333;}
|
||||
.newCss ul li{background:#F4F4F4;border-radius:0.16rem;display:inline-block;margin-left:0.5rem;margin-bottom:0.5rem;padding:0 0.5rem;line-height:1.5rem;}
|
||||
.newCss ul li span{font-size:0.65rem;color:#333;}
|
||||
.newCss ul li a{font-size:0.65rem;color:#333;}
|
||||
.newCss ul:before,.popup-about02 .list-block.newCss ul:after{height:0;}
|
||||
.content-padded + .newCss ul{padding-bottom:0;}
|
||||
|
||||
@@ -313,9 +323,10 @@ label.label-checkbox i.current{background:url(../images/checkImg.png) no-repeat
|
||||
|
||||
.list-block.list-block01{margin-top:66px;margin-bottom:76px;}
|
||||
.list-block.list-block02{margin-bottom:0.5rem;}
|
||||
.list-block.mb05{margin-bottom:0.5rem;}
|
||||
.list-block ul:before{transform:scaleY(1);height:0;}
|
||||
.list-block.mb05{border-bottom:solid 0.5rem #f3f3f3;}
|
||||
.list-block ul:before{transform:scaleY(1);}
|
||||
.list-block ul:after{transform:scaleY(1);}
|
||||
.list-block.topList ul:before{height:0;}
|
||||
|
||||
small.spacing{letter-spacing:28px;}
|
||||
small.spacing01{margin-right:4px;}
|
||||
@@ -331,20 +342,24 @@ label.spacing02{margin-right:27px;}
|
||||
.list-block input[type="text"], .list-block input[type="password"], .list-block input[type="search"], .list-block input[type="email"], .list-block input[type="tel"], .list-block input[type="url"], .list-block input[type="date"], .list-block input[type="datetime-local"], .list-block input[type="time"], .list-block input[type="number"], .list-block select, .list-block textarea{height:24px;line-height:24px;font-size:inherit;padding:0;color:#333;}
|
||||
|
||||
:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
|
||||
color:#BABABA;
|
||||
font-size:0.75rem;
|
||||
color:#BABABA;
|
||||
}
|
||||
::-moz-placeholder{ /* Mozilla Firefox 19+ */
|
||||
color:#BABABA;
|
||||
font-size:0.75rem;
|
||||
color:#BABABA;
|
||||
}
|
||||
input:-ms-input-placeholder{
|
||||
color:#BABABA;
|
||||
font-size:0.75rem;
|
||||
color:#BABABA;
|
||||
}
|
||||
input::-webkit-input-placeholder{
|
||||
color:#BABABA;
|
||||
font-size:0.75rem;
|
||||
color:#BABABA;
|
||||
}
|
||||
|
||||
.infoBox01{float:left;width:80px;margin-top:0.8rem;}
|
||||
.infoBox02{float:left;border-left:solid 1px #e5e5e5;padding-left:0.5rem;margin-left:0.5rem;}
|
||||
.infoBox02{float:left;border-left:solid 1px #e7e7e7;padding-left:0.5rem;margin-left:0.5rem;}
|
||||
.info{overflow:hidden;line-height:1rem;margin-bottom:0.2rem;}
|
||||
.info01{padding-left:0.75rem;padding-top:0.55rem;}
|
||||
.info02{margin-bottom:0.5rem;}
|
||||
@@ -359,27 +374,27 @@ input::-webkit-input-placeholder{
|
||||
.info span font.c3{color:#333;}
|
||||
.info span font.c6{color:#666;}
|
||||
.info span font.c9{color:#999;}
|
||||
.info span em{color:#EB5F34;font-size:0.75rem;}
|
||||
.info span em{font-size:0.75rem;color:#EB5F34;}
|
||||
.info span em font{font-size:0.7rem;vertical-align:text-bottom;}
|
||||
.list-block .item-title .info > label{font-size:0.5rem;color:#f5b715;line-height:0.75rem;display:block;}
|
||||
.list-block .item-title .info > span{color:#666;}
|
||||
.list-block .item-title .info > em{color:#EB5F34;display:block;}
|
||||
.list-block .item-title .info > em strong{font-size:1.2rem;font-weight:normal;}
|
||||
.list-block .item-title span.c3{color:#333;font-size:0.8rem;margin-right:0.2rem;display:inline-block;vertical-align:top;}
|
||||
.list-block .item-title span.c3{font-size:0.8rem;color:#333;margin-right:0.2rem;display:inline-block;vertical-align:top;}
|
||||
.list-block .item-title span.c3a{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.list-block .item-title span.c6{color:#666;font-size:0.65rem;border-left:solid 1px #bfbfbf;margin-left:0.1rem;padding-left:0.3rem;display:inline-block;vertical-align:middle;}
|
||||
.list-block .item-title span.c6{font-size:0.65rem;color:#666;border-left:solid 1px #bfbfbf;margin-left:0.1rem;padding-left:0.3rem;display:inline-block;vertical-align:middle;}
|
||||
.list-block .item-title span.c6a{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.list-block .item-title span.c9{color:#999;font-size:0.75rem;}
|
||||
.list-block .item-title span.c9{font-size:0.75rem;color:#999;}
|
||||
.info i.icon-warning{width:15px;height:15px;background:url(../images/icon-warning.png) no-repeat center center;background-size:100%;float:none;display:block;margin:0 auto;margin-top:0.2rem;}
|
||||
.small01{height:0.9rem;background:#eaf7ff;border-radius:2px;padding:0 5px;color:#2db0fc;font-size:0.65rem;line-height:1rem;float:left;margin:0.1rem 0;margin-right:0.2rem;}
|
||||
.small01:nth-of-type(1){background:#eaf7ff;color:#2db0fc;}
|
||||
.small01:nth-of-type(2){background:#fff7e7;color:#f5b715;}
|
||||
.small01:nth-of-type(3){background:#e9f8f0;color:#88D053;}
|
||||
.small02{height:0.9rem;background:none;border:solid 1px #2db0fc;border-radius:2px;padding:0 5px;color:#2db0fc;font-size:0.65rem;line-height:0.9rem;float:left;margin:0.1rem 0;margin-left:0.2rem;}
|
||||
.small03{border:solid 1px #ccc;border-radius:2px;padding:0 5px;color:#999;font-size:0.65rem;line-height:1rem;display:inline-block;vertical-align:middle;margin-left:0.5rem;}
|
||||
.small04{width:49px;height:1.1rem;background:#F18D00;border-radius:2px;padding:0 5px;color:#fff;font-size:0.65rem;line-height:1.2rem;display:block;margin:0 auto;margin-bottom:0.2rem;}
|
||||
.list-block .item-title small.small01{color:#2db0fc;font-size:0.65rem;}
|
||||
.list-block .item-title small.small02{color:#2db0fc;font-size:0.65rem;}
|
||||
.small03{border:solid 1px #ccc;border-radius:2px;padding:0 5px;font-size:0.65rem;color:#999;line-height:1rem;display:inline-block;vertical-align:middle;margin-left:0.5rem;}
|
||||
.small04{width:49px;height:1.1rem;background:#F18D00;border-radius:2px;padding:0 5px;font-size:0.65rem;color:#fff;line-height:1.2rem;display:block;margin:0 auto;margin-bottom:0.2rem;}
|
||||
.list-block .item-title small.small01{font-size:0.65rem;color:#2db0fc;}
|
||||
.list-block .item-title small.small02{font-size:0.65rem;color:#2db0fc;}
|
||||
.list-block .item-title .info02 small.small01{margin-top:0;margin-bottom:0;}
|
||||
.list-block .item-subtitle small.small01{color:#2db0fc;margin-top:0.3rem;}
|
||||
.list-block .item-subtitle small.small01:nth-of-type(1){background:#eaf7ff;color:#2db0fc;}
|
||||
@@ -392,7 +407,7 @@ input::-webkit-input-placeholder{
|
||||
.card{border-radius:0;box-shadow:none;}
|
||||
.card div:before,.card div:after{height:0;}
|
||||
|
||||
.cardPrice{border-bottom:solid 1px #e5e5e5;margin:0;}
|
||||
.cardPrice{border-bottom:solid 1px #e7e7e7;margin:0;}
|
||||
.cardPrice .card-header span{font-size:0.8rem;color:#666;position:relative;}
|
||||
.cardPrice .card-header span input{background:none;border:none;}
|
||||
.cardPrice .card-header span a{font-size:0.8rem;color:#666;padding-right:1.2rem;}
|
||||
@@ -403,7 +418,7 @@ input::-webkit-input-placeholder{
|
||||
.cardPrice .card-content-inner{font-size:2rem;color:#F18D00;padding-top:0;padding-bottom:1.5rem;}
|
||||
.cardPrice .card-content-inner span{font-size:0.75rem;margin-left:0.3rem;}
|
||||
.cardPrice .card-footer{background:#fff;color:#333;border-radius:0;padding:0;}
|
||||
.cardPrice .card-footer span{width:33%;border-right:solid 1px #e5e5e5;margin:0.5rem 0;text-align:center;}
|
||||
.cardPrice .card-footer span{width:33%;border-right:solid 1px #e7e7e7;margin:0.5rem 0;text-align:center;}
|
||||
.cardPrice .card-footer span:last-child{border-right:none;}
|
||||
.cardPrice .card-footer span em{font-size:0.75rem;display:block;}
|
||||
.cardPrice .card-footer span em strong{font-size:1rem;}
|
||||
@@ -425,6 +440,9 @@ input::-webkit-input-placeholder{
|
||||
|
||||
.cardPrice02 .card-footer span:first-child{width:30%;border-right:solid 2px #F18D00;}
|
||||
.cardPrice02 .card-footer span:last-child{width:60%;text-align:justify;margin-right:0.75rem;}
|
||||
.cardPrice02a .card-footer span:last-child{width:62%;}
|
||||
.cardPrice02a .card-footer span img{width:1.8rem;height:1.8rem;margin:0 auto;margin-bottom:0.2rem;}
|
||||
.cardPrice02a .card-footer span em strong{font-size:0.7rem;}
|
||||
|
||||
.cardNearbyName{margin-top:0;margin-bottom:0;padding-bottom:0.3rem;}
|
||||
.cardNearbyName span{font-size:0.75rem;}
|
||||
@@ -439,22 +457,22 @@ input::-webkit-input-placeholder{
|
||||
|
||||
.cardNearbyBox01{background:none;margin-top:-0.5rem;}
|
||||
.cardNearbyBox01 .cardNearbyWin{margin-bottom:0.25rem;}
|
||||
.cardNearbyBox01 .cardNearby{border:solid 1px #e5e5e5;}
|
||||
.cardNearbyBox01 .cardNearby{border:solid 1px #e7e7e7;}
|
||||
.cardNearbyBox01 .cardNearby .card-header{padding-top:0.25rem;line-height:1.2rem;}
|
||||
|
||||
.arrow-up{font-size:0;line-height:0;border-width:10px;border-color:#f3f3f3;border-top-width:0;border-style:dashed;border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent;position:absolute;bottom:0;left:16%;}
|
||||
|
||||
.cardRentBox{width:100%;background:#fff;overflow-x:auto;border-bottom:solid 1px #e5e5e5;}
|
||||
.cardRentBox{width:100%;background:#fff;overflow-x:auto;border-bottom:solid 1px #e7e7e7;}
|
||||
.cardRentBox::-webkit-scrollbar{display:none;}
|
||||
.cardRentWin{width:25rem;overflow:hidden;margin-left:0.75rem;border-left:solid 1px #e5e5e5;}
|
||||
.cardRent{border-radius:0;border-right:solid 1px #e5e5e5;box-shadow:none;float:left;margin:0;}
|
||||
.cardRentWin{width:25rem;overflow:hidden;margin-left:0.75rem;border-left:solid 1px #e7e7e7;}
|
||||
.cardRent{border-radius:0;border-right:solid 1px #e7e7e7;box-shadow:none;float:left;margin:0;}
|
||||
.cardRent .card-content-inner{font-size:0.7rem;color:#EB5F34;padding:0.5rem 0.75rem;}
|
||||
.cardRent .card-content-inner em{font-size:1rem;color:#EB5F34;}
|
||||
.cardRent .card-content-inner small{font-size:0.7rem;color:#999;}
|
||||
|
||||
.recommend{font-size:1rem;border-bottom:solid 1px #e5e5e5;margin:0;padding-left:0.75rem;padding-top:0.5rem;padding-bottom:0.2rem;}
|
||||
.recommend{font-size:1rem;border-bottom:solid 1px #e7e7e7;margin:0;padding-left:0.75rem;padding-top:0.5rem;padding-bottom:0.2rem;}
|
||||
|
||||
.cardInfo{margin:0 0.75rem;border-top:solid 1px #e5e5e5;}
|
||||
.cardInfo{margin:0 0.75rem;border-top:solid 1px #e7e7e7;}
|
||||
.recommend + .cardInfo{border-top:none;}
|
||||
|
||||
.cardInfo01{color:#333;}
|
||||
@@ -493,7 +511,7 @@ input::-webkit-input-placeholder{
|
||||
.cardInfo02 .item-subtitle em{font-size:0.7rem;color:#EB5F34;}
|
||||
.cardInfo02 .item-subtitle em strong{font-size:1rem;}
|
||||
.cardInfo02 .item-subtitle .tag{margin-bottom:0.2rem;}
|
||||
.cardInfo02 .item-subtitle .star{font-size:0.7rem;color:#999;margin-top:0;margin-bottom:0;}
|
||||
.cardInfo02 .item-subtitle .star{font-size:0.7rem;color:#999;}
|
||||
|
||||
.cardInfo03 .card-header{padding-left:0;padding-right:0;font-size:0.85rem;}
|
||||
.cardInfo03 .card-content-inner{padding-top:0;}
|
||||
@@ -536,6 +554,7 @@ input::-webkit-input-placeholder{
|
||||
.list-block.commentList ul:after{height:0;}
|
||||
.list-block.commentList .item-media{padding-top:0;margin-top:-1rem;}
|
||||
.list-block.commentList .item-media img{width:2.3rem;height:2.3rem;}
|
||||
.list-block.commentList .item-after font{color:#999;}
|
||||
.list-block.commentList .item-text{height:auto;min-height:1.5rem;}
|
||||
|
||||
.commentBox{height:66px;background:#fff;position:absolute;right:0;left:0;bottom:0;z-index:10;}
|
||||
@@ -580,11 +599,11 @@ input::-webkit-input-placeholder{
|
||||
.loginMode{width:100%;position:absolute;bottom:4.5rem;}
|
||||
.loginMode p{font-size:0.65rem;color:#999;text-align:center;}
|
||||
.loginMode p a:nth-child(2){margin:0 2rem;}
|
||||
.line{width:100%;height:1px;background:#e5e5e5;margin-bottom:1.5rem;position:relative;}
|
||||
.line{width:100%;height:1px;background:#e7e7e7;margin-bottom:1.5rem;position:relative;}
|
||||
.line span{position:absolute;top:-10px;left:50%;margin-left:-57.5px;display:block;background:#fff;padding:0 25px;font-size:0.65rem;color:#999;}
|
||||
|
||||
/* 顶部 */
|
||||
.top{width:100%;padding:0.75rem 0.5rem;border-bottom:solid 1px #DCDCDC;overflow:hidden;position:absolute;top:0;z-index:10;}
|
||||
.top{width:100%;padding:0.75rem 0.5rem;border-bottom:solid 1px #e7e7e7;overflow:hidden;position:absolute;top:0;z-index:10;}
|
||||
.top.bar{height:auto;}
|
||||
.top.bar ~ .content{top:66px;}
|
||||
.top .searchBox{background:#EFEFEF;border-radius:0.25rem;overflow:hidden;padding:0.3rem 0;}
|
||||
@@ -596,17 +615,17 @@ input::-webkit-input-placeholder{
|
||||
.top .searchBox span i{width:16px;height:16px;background:url(../images/search.png) no-repeat left center;background-size:100%;display:inline-block;vertical-align:text-bottom;margin-left:0.3rem;}
|
||||
.top .searchBox .cancel{float:right;color:#2db0fc;}
|
||||
|
||||
.top01{background:#fff;border-bottom:solid 1px #e5e5e5;padding:0 0.5rem;}
|
||||
.top01{background:#fff;border-bottom:solid 1px #e7e7e7;padding:0 0.5rem;}
|
||||
.top01 .searchBox{background:none;}
|
||||
.top01 .searchBox .country{float:left;margin:0;margin-top:1px;font-size:0.75rem;line-height:24px;}
|
||||
.top01 .searchBox .cityChoice{border-left:solid 1px #e5e5e5;padding-left:0.5rem;}
|
||||
.top01 .searchBox .cityChoice{border-left:solid 1px #e7e7e7;padding-left:0.5rem;}
|
||||
.top01 .searchBox .cityChoice a{font-size:0.75rem;}
|
||||
.top01 .searchBox span{width:45%;border-left:solid 1px #e5e5e5;}
|
||||
.top01 .searchBox span{width:45%;border-left:solid 1px #e7e7e7;}
|
||||
.top01 .searchBox span input{width:60%;font-size:0.75rem;}
|
||||
.top01 .searchBox .active,.top01 .searchBox .cityChoice a.active{color:#F18D00;}
|
||||
.top01 .searchBox .noData,.top01 .searchBox .cityChoice a.noData{color:#999;}
|
||||
|
||||
.topCity{overflow:hidden;background:#fff;border-top:solid 1px #e5e5e5;border-bottom:solid 1px #e5e5e5;}
|
||||
.topCity{overflow:hidden;background:#fff;border-top:solid 1px #e7e7e7;border-bottom:solid 1px #e7e7e7;}
|
||||
.topCity div{float:left;margin-right:0.4rem;}
|
||||
.topCity div.active{color:#F18D00;}
|
||||
.topCity span{float:right;}
|
||||
@@ -662,7 +681,7 @@ input::-webkit-input-placeholder{
|
||||
.button.button-fill.management_btn01 i{color:#333;}
|
||||
|
||||
.topic{background:#fff;border-bottom:solid 0.5rem #f3f3f3;}
|
||||
.topic .topicTitle{font-size:0.85rem;line-height:2.5rem;margin-left:0.75rem;padding-right:0.75rem;color:#333;overflow:hidden;}
|
||||
.topic .topicTitle{font-size:0.85rem;line-height:2.5rem;margin-left:0.75rem;margin-right:0.75rem;color:#333;overflow:hidden;}
|
||||
.topic .topicTitle > img{float:left;width:90px;margin-right:10px;}
|
||||
.topic .topicTitle > small{color:#999;}
|
||||
.topic .topicTitle > em{margin-left:0.5rem;font-size:inherit;}
|
||||
@@ -679,7 +698,7 @@ input::-webkit-input-placeholder{
|
||||
.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.85rem;}
|
||||
.topic .topicContent .topicTitle01{color:#333;margin-top:0;font-size:0.8rem;}
|
||||
.topic .topicContent .topicTitle01 em{font-size:1.2rem;}
|
||||
.topic .icon-note{width:16px;height:16px;background:url(../images/icon-note.png) no-repeat center center;background-size:100%;margin-left:0.3rem;margin-top:-2px;}
|
||||
|
||||
@@ -721,7 +740,7 @@ input::-webkit-input-placeholder{
|
||||
.topic .topicContent .topicContent_top p em font{vertical-align:middle;}
|
||||
.topic .topicContent .topicContent_top p span{color:#fff;opacity:0.8;text-align:center;}
|
||||
|
||||
.topic .topicContent .topicContent_top01 .left{border-right:solid 1px #e5e5e5;}
|
||||
.topic .topicContent .topicContent_top01 .left{border-right:solid 1px #e7e7e7;}
|
||||
.topic .topicContent .topicContent_top01 p.up i{background:url(../images/up01.png) no-repeat center center;background-size:100%;}
|
||||
.topic .topicContent .topicContent_top01 p.down i{background:url(../images/down01.png) no-repeat center center;background-size:100%;}
|
||||
.topic .topicContent .topicContent_top01 p.up em{color:#EB5F34;}
|
||||
@@ -737,18 +756,18 @@ input::-webkit-input-placeholder{
|
||||
.topic .topicContent .topicContent_bottom p{margin-bottom:55px;font-size:0.8rem;}
|
||||
.topic .topicContent .topicContent_bottom p em{color:#F18D00;font-size:0.8rem;}
|
||||
.topic .topicContent .topicContent_bottom p a{float:right;color:#333;}
|
||||
.topic .topicContent .topicContent_bottom font{width:100%;height:16px;background:#eee;border-radius:50px;display:block;margin-top:-10px;}
|
||||
.topic .topicContent .topicContent_bottom font{width:100%;height:10px;background:#e7e7e7;border-radius:50px;display:block;margin-top:-10px;}
|
||||
.topic .topicContent .topicContent_bottom font i{display:block;height:10px;background:#F18D00;border:solid 1px #e7e7e7;border-radius:50px;}
|
||||
.topic .topicContent .topicContent_bottom .rankingNote{overflow:hidden;display:block;height:26px;}
|
||||
.topic .topicContent .topicContent_bottom .rankingNote span{font-size:0.65rem;line-height:26px;color:#999;}
|
||||
.topic .topicContent .topicContent_bottom .rankingNote span.rankingNoteLeft{float:left;}
|
||||
.topic .topicContent .topicContent_bottom .rankingNote span.rankingNoteRight{float:right;}
|
||||
.topic .topicContent .topicContent_bottom .slider_note{background:#bfc2cd;border-radius:3px;position:absolute;bottom:72px;white-space:nowrap;height:auto;padding:0 5px;line-height:26px;color:#fff;}
|
||||
.topic .topicContent .topicContent_bottom .slider_note{background:#bfc2cd;border-radius:3px;position:absolute;bottom:65px;white-space:nowrap;height:auto;padding:0 5px;line-height:26px;color:#fff;}
|
||||
.topic .topicContent .topicContent_bottom .slider_note span{font-size:0.65rem;color:#fff;}
|
||||
.topic .topicContent .topicContent_bottom .slider_note img{width:14px;height:6px;position:absolute;bottom:-4px;left:44%;}
|
||||
|
||||
.topic .topicContent .topicContent_center{overflow:hidden;}
|
||||
.topic .topicContent .topicContent_center div{float:left;width:25%;border-left:solid 1px #e5e5e5;text-align:center;}
|
||||
.topic .topicContent .topicContent_center div{float:left;width:25%;border-left:solid 1px #e7e7e7;text-align:center;}
|
||||
.topic .topicContent .topicContent_center div:first-child{border-left:none;}
|
||||
.topic .topicContent .topicContent_center div em{display:block;color:#EB5F34;font-size:0.85rem;}
|
||||
.topic .topicContent .topicContent_center div label{display:block;color:#999;font-size:0.65rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;}
|
||||
@@ -786,7 +805,7 @@ input::-webkit-input-placeholder{
|
||||
.topic .topicContent .topicContent_center.home div .icon.icon-evaluation02{background:url(../images/icon-evaluation02.png) no-repeat center center;background-size:100%;}
|
||||
.topic .topicContent .topicContent_center.home div .icon.icon-evaluation03{background:url(../images/icon-evaluation03.png) no-repeat center center;background-size:100%;}
|
||||
|
||||
.topic .topicContent .topicContent_center01 div{width:29.333333333333332%;background:#fbfbfb;border:solid 1px #eee;border-radius:0.2rem;padding:0.3rem 0;}
|
||||
.topic .topicContent .topicContent_center01 div{width:29.333333333333332%;background:#fff;border:solid 1px #eee;border-radius:0.4rem;padding:0.3rem 0;}
|
||||
.topic .topicContent .topicContent_center01 div:first-child{border-left:solid 1px #eee;}
|
||||
.topic .topicContent .topicContent_center01 div em{display:block;color:#EB5F34;font-size:0.75rem;}
|
||||
.topic .topicContent .topicContent_center01 div em.riskScore01{color:#ff4500;}
|
||||
@@ -832,7 +851,10 @@ input::-webkit-input-placeholder{
|
||||
|
||||
/* 图表 */
|
||||
.chart{width:100%;height:250px;}
|
||||
.chart tspan{font-size:0.6rem;color:#999;text-shadow:none;}
|
||||
.chart tspan{font-size:0.6rem;text-shadow:none;}
|
||||
#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;}
|
||||
@@ -842,7 +864,7 @@ input::-webkit-input-placeholder{
|
||||
.scoreText div:nth-child(3){top:80px;right:8px;}
|
||||
.priceBox{margin:0.75rem 0;overflow:hidden;}
|
||||
.priceBox div{float:left;width:50%;text-align:center;}
|
||||
.priceBox div label{color:#666;font-size:0.7rem;margin-right:0.3rem;}
|
||||
.priceBox div label{color:#999;font-size:0.7rem;margin-right:0.3rem;}
|
||||
.priceBox div font{color:#333;}
|
||||
.priceBox div em{color:#666;font-size:0.7rem;}
|
||||
.priceBox div em{color:#EB5F34;font-size:0.7rem;}
|
||||
@@ -860,8 +882,8 @@ input::-webkit-input-placeholder{
|
||||
.buttons-row01a .button{width:22%;}
|
||||
|
||||
.topic .topicTitle > div.content-block.content-block01{position:relative;float:none;}
|
||||
.content-block01 .buttons-row.theme{width:100%;border-bottom:solid 1px #e5e5e5;}
|
||||
.content-block01 .buttons-row.theme .button{font-size:0.75rem;line-height:1rem;border:none;padding:0;}
|
||||
.content-block01 .buttons-row.theme{width:100%;border-bottom:solid 1px #e7e7e7;}
|
||||
.content-block01 .buttons-row.theme .button{font-size:0.75rem;color:#999;line-height:1rem;border:none;padding:0;}
|
||||
.content-block01 .buttons-row.theme .button.active{background:none;border-bottom:solid 2px #F18D00;color:#F18D00;}
|
||||
.content-block01 .buttons-row .button:first-child,.content-block01 .buttons-row .button:last-child{border-radius:0;}
|
||||
|
||||
@@ -893,16 +915,92 @@ input::-webkit-input-placeholder{
|
||||
.assetRisk .rankingBox .ranking font i{height:5px;}
|
||||
|
||||
/* 行情 */
|
||||
.list-block .item-subtitle .updownBox{border-radius:0.2rem;box-shadow:1px 1px 4px rgba(113,113,113,0.35);}
|
||||
.list-block .item-subtitle .updown_top{background:#fff;border:solid 1px #e5e5e5;border-radius:0.2rem 0.2rem 0 0;text-align:center;line-height:1.8rem;position:relative;}
|
||||
.list-block .item-subtitle .updown_top span{color:#333;max-width:65%;}
|
||||
.list-block .item-subtitle .updown_top img{width:20%;position:absolute;top:0;left:0.2rem;}
|
||||
.list-block .item-subtitle .updown_bottom{width:100%;height:2.8rem;border-radius:0 0 0.2rem 0.2rem;text-align:center;}
|
||||
.list-block .item-subtitle .updown_bottom em{color:#fff;font-size:0.8rem;padding-top:0.3rem;display:block;}
|
||||
.list-block .item-subtitle .updown_bottom em i{width:12px;height:12px;display:inline-block;vertical-align:-1px;margin-right:0.2rem;}
|
||||
.list-block .item-subtitle .updown_bottom em.up i{background:url(../images/up.png) no-repeat center center;background-size:100%;}
|
||||
.list-block .item-subtitle .updown_bottom em.down i{background:url(../images/down.png) no-repeat center center;background-size:100%;}
|
||||
.list-block .item-subtitle .updown_bottom small{color:#fff;}
|
||||
.cardCity .card-header:first-child{padding-top:0.5rem;padding-bottom:0;text-align:center;display:block;}
|
||||
.cardCity .card-header{padding-top:0;}
|
||||
.cardCity .card-header label{font-size:1rem;color:#333;}
|
||||
.cardCity .card-content-inner.row{padding-top:0;}
|
||||
.cardCity .card-content-inner.row > span{background:rgba(255,255,255,0.7);border:solid 1px #e7e7e7;border-radius:0.4rem;margin-left:4%;}
|
||||
.cardCity .card-content-inner.row > span em{display:block;text-align:center;font-size:0.8rem;}
|
||||
.cardCity .card-content-inner.row > span em.up{color:#EB5F34;}
|
||||
.cardCity .card-content-inner.row > span em.down{color:#88D053;}
|
||||
.cardCity .card-content-inner.row > span em strong{font-size:1.9rem;}
|
||||
.cardCity .card-content-inner.row > span label{display:block;text-align:center;font-size:0.7rem;color:#666;margin-bottom:0.5rem;}
|
||||
.cardCity .card-content-inner.row > span.col-60{margin:0 auto;float:none;display:block;margin-top:1rem;padding:1.3rem 0;}
|
||||
.cardCity .card-content-inner.row > span.col-60 .icon-add{display:block;width:1rem;height:1rem;margin:0 auto;margin-bottom:0.5rem;}
|
||||
.cardCity .card-footer{bottom:1.5rem;}
|
||||
.cardCity .card-footer span label{display:inline-block;}
|
||||
.cardCity .card-footer span em{display:inline-block;}
|
||||
|
||||
.cardCity01 .card-header:first-child{padding-top:0.5rem;padding-bottom:0;text-align:center;display:block;}
|
||||
.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;}
|
||||
|
||||
.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.dataList ul:before{height:0;}
|
||||
.list-block.dataList ul:after{height:0;}
|
||||
.list-block.dataList .item-inner{padding-top:0;padding-bottom:0;min-height:1.8rem;}
|
||||
.list-block.dataList .item-inner:after{height:0;}
|
||||
.list-block.dataList .item-text{height:auto;-webkit-line-clamp:inherit;color:#666;text-align:justify;}
|
||||
.list-block.dataList .item-text em{font-size:0.8rem;color:#333;}
|
||||
.list-block.dataList .item-text small{color:#999;}
|
||||
.list-block.dataList01 .item-inner{padding-top:0.4rem;padding-bottom:0.35rem;}
|
||||
.list-block.dataList01 .item-inner:after{height:1px;}
|
||||
.list-block.dataList01 .item-text{font-size:0.8rem;color:#333;}
|
||||
|
||||
.topic .topicTitle02{font-size:0.75rem;color:#666;}
|
||||
.topic .topicTitle02 > span a{font-size:0.75rem;}
|
||||
.topic .topicTitle02 > span a .icon-right{font-size:0.6rem;}
|
||||
|
||||
.topic .topicTitle03{font-size:0.75rem;color:#666;text-align:center;position:relative;}
|
||||
.topic .topicTitle03 img:first-child{width:1.8rem;height:0.3rem;position:absolute;left:32%;top:50%;margin-left:-0.9rem;margin-top:-0.15rem;}
|
||||
.topic .topicTitle03 img:last-child{width:1.8rem;height:0.3rem;position:absolute;right:32%;top:50%;margin-right:-0.9rem;margin-top:-0.15rem;}
|
||||
|
||||
.topicContent.cityImgBox{padding-top:0;padding-bottom:0;}
|
||||
.topicContent.cityImgBox p{font-size:0.7rem;color:#333;margin-top:0.2rem;}
|
||||
|
||||
.chartBox .chart{height:100px;margin-bottom:0.5rem;}
|
||||
.chartBox span{text-align:center;}
|
||||
.chartBox span em{font-size:0.75rem;}
|
||||
.chartBox span em strong{font-size:1rem;}
|
||||
.chartBox span label{font-size:0.7rem;}
|
||||
|
||||
.cardRankingBox{margin:0.25rem 0;overflow-x:hidden;}
|
||||
.cardRankingBox .cardNearbyWin{width:100%;margin-bottom:0;}
|
||||
.cardRankingBox .cardRanking{width:29%;border-radius:0.4rem;}
|
||||
.cardRankingBox .cardRanking div{text-align:center;justify-content:center;}
|
||||
.cardRankingBox .cardRanking .card-header{padding-top:0.5rem;line-height:1.5rem;font-size:0.8rem;}
|
||||
.cardRankingBox .cardRanking .card-footer em{font-size:0.75rem;}
|
||||
.cardRankingBox .cardRanking img{width:1.3rem;height:1.3rem;position:absolute;top:-1px;left:-1px;}
|
||||
|
||||
.cardRankingBox01{border-bottom:solid 0.5rem #f3f3f3;padding-bottom:0.5rem;margin:0;}
|
||||
.cardRankingBox01 .cardNearbyWin{margin-left:0;}
|
||||
.cardRankingBox01 .cardRanking{width:33.33%;border:none;border-radius:0;margin:0;}
|
||||
.cardRankingBox01 .cardRanking:last-child{border-right:none;}
|
||||
.cardRankingBox01 .cardRanking .card-header:first-child{border-right:none;padding:0;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.75rem;}
|
||||
.cardRankingBox01 .cardRanking .card-header{border-right:solid 1px #e7e7e7;padding-top:0;}
|
||||
.cardRankingBox01 .cardRanking .card-header em{font-size:0.85rem;color:#F18D00;margin-right:0.2rem;}
|
||||
.cardRankingBox01 .cardRanking .card-content-inner{color:#999;border-right:solid 1px #e7e7e7;}
|
||||
.cardRankingBox01 .cardRanking .card-footer{padding:0;border-right:solid 1px #e7e7e7;}
|
||||
.cardRankingBox01 .cardRanking .card-footer em{color:#EB5F34;}
|
||||
|
||||
.mod_control{position:absolute;top:11.7rem;left:50%;margin-left:-22px;z-index:10000;}
|
||||
.mod_tag{margin:0;padding:0;overflow:hidden;}
|
||||
.mod_tag li{float:left;width:8px;height:8px;border:solid 1px #d7d7d7;border-radius:50%;background-color:rgba(255,255,255,0.5);margin-right:10px;list-style:none;margin-top:0;padding:0;}
|
||||
.mod_tag li:last-child{margin-right:0;}
|
||||
.mod_tag .current{background:#F18D00;border:solid 1px #F18D00;}
|
||||
|
||||
/* 贷款 */
|
||||
.banner{width:100%;height:80px;background:url(../images/banner.png);background-size:100%;margin-bottom:0.5rem;}
|
||||
@@ -920,7 +1018,7 @@ input::-webkit-input-placeholder{
|
||||
|
||||
/* 出租管理 */
|
||||
.buttons-tab01{padding-top:0.5rem;margin-bottom:0.5rem;overflow-x:auto;}
|
||||
.buttons-tab01 .button{height:2.5rem;line-height:1rem;border-right:solid 1px #e5e5e5;}
|
||||
.buttons-tab01 .button{height:2.5rem;line-height:1rem;border-right:solid 1px #e7e7e7;}
|
||||
.buttons-tab01 .button label{font-size:0.75rem;display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;}
|
||||
.buttons-tab01 .button small{font-size:0.65rem;display:block;margin:0 auto;}
|
||||
|
||||
@@ -933,14 +1031,16 @@ input::-webkit-input-placeholder{
|
||||
.icon-city{width:12px;height:18px;background:url(../images/icon-city.png) no-repeat center center;background-size:100%;margin-left:0.3rem;margin-top:-3px;}
|
||||
|
||||
.contentSuggest > p{font-size:0.65rem;color:#999;text-align:left;margin-left:0.75rem;}
|
||||
.contentSuggest > p em{font-size:0.65rem;color:#29a1f7;}
|
||||
.contentSuggest > p em{font-size:0.65rem;color:#F18D00;}
|
||||
.contentSuggest .selectContainer{position:relative;}
|
||||
|
||||
.selectBox{background:#fff;border-top:solid 1px #e5e5e5;text-align:center;line-height:44px;}
|
||||
.selectBox{background:#fff;border-top:solid 1px #e7e7e7;text-align:center;line-height:44px;}
|
||||
.selectBox div a{font-size:0.7rem;color:#333;display:inline-block;vertical-align:middle;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.selectBox div i{font-size:0.5rem;color:#999;margin-left:0.3rem;}
|
||||
|
||||
.selectContent{width:100%;position:absolute;z-index:20000;}
|
||||
.selectContent .topic{border-top:solid 1px #e7e7e7;border-bottom:solid 1px #e7e7e7;}
|
||||
.selectContent .list-block .item-title{font-size:0.7rem;}
|
||||
.selectContent .list-block i{width:16px;margin-right:0.3rem;}
|
||||
#select_filter{margin-bottom:0;}
|
||||
|
||||
@@ -952,13 +1052,14 @@ input::-webkit-input-placeholder{
|
||||
.contentSuggest .noData a{text-decoration:underline;}
|
||||
.contentSuggest .noData a.button{text-decoration:none;}
|
||||
|
||||
.topBg02{background:#ecf6ff;border-bottom:solid 1px #e5e5e5;color:#333;text-align:justify;padding-top:1rem;margin-bottom:0.5rem;}
|
||||
.topBg02{background:#ecf6ff;border-bottom:solid 1px #e7e7e7;color:#333;text-align:justify;padding-top:1rem;margin-bottom:0.5rem;}
|
||||
.topBg02 p{font-size:0.75rem;}
|
||||
.topBg02 p label{color:#999;font-size:0.75rem;}
|
||||
.topBg02 p em{color:#EB5F34;font-size:0.75rem;}
|
||||
.topBg02 p a{font-size:0.75rem;}
|
||||
|
||||
.collection{position:absolute;right:0.75rem;top:0.4rem;text-align:center;color:#666;font-size:0.7rem;}
|
||||
.collection02{border:solid 1px #C3C0BC;color:#999;}
|
||||
.icon-collection01{width:16px;height:16px;background:url(../images/icon-collection01.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;}
|
||||
.icon-collection02{width:16px;height:16px;background:url(../images/icon-collection02.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;}
|
||||
|
||||
@@ -1011,25 +1112,6 @@ input::-webkit-input-placeholder{
|
||||
.icon-house{width:30px;height:30px;background:url(../images/icon-house.png) no-repeat center center;background-size:100%;position:absolute;left:60%;bottom:50%;z-index:10000;}
|
||||
.icon-house01{width:50px;height:80px;background:url(../images/icon-house01.png) no-repeat center center;background-size:100%;position:absolute;left:58%;bottom:50%;z-index:10500;}
|
||||
|
||||
/* 我的 */
|
||||
/*.iconBox{width:100%;overflow:hidden;padding:0.5rem 0;}
|
||||
.iconBox a{float:right;margin-right:0.75rem;}
|
||||
.icon-message{width:20px;height:20px;background:url(../images/icon-message.png) no-repeat center center;background-size:100%;position:relative;}
|
||||
.icon-message-new{width:7px;height:7px;background:url(../images/icon-message-new.png) no-repeat center center;background-size:100%;position:absolute;top:1px;right:-3px;}
|
||||
.icon-set{width:20px;height:20px;background:url(../images/icon-set.png) no-repeat center center;background-size:100%;}
|
||||
.icon-message01{width:24px;height:24px;background:url(../images/icon-message01.png) no-repeat center center;background-size:85%;margin-top:-2.2rem;}
|
||||
.message01-new .icon-message01{width:24px;height:16px;background:url(../images/icon-message01-new.png) no-repeat center center;background-size:100%;margin-top:-2.5rem;}
|
||||
.list-block .message01 .item-title{white-space:normal;text-overflow:-o-ellipsis-lastline;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#666;}
|
||||
.list-block .message01-new .item-title{color:#333;font-weight:bold;}
|
||||
.list-block .message01 .item-subtitle{margin-top:0.5rem;}
|
||||
.contentText{background:#fff;}
|
||||
|
||||
.topBg01{width:100%;background:url(../images/topBg.png) no-repeat center bottom;background-size:110%;padding:1.2rem 0.75rem;color:#fff;overflow:hidden;position:relative;}
|
||||
.topBg01 a{color:#fff;text-decoration:underline;}
|
||||
.topBg01 img{float:left;width:20%;margin-right:0.5rem;}
|
||||
.topBg01 p{float:left;margin:0;margin-top:0.2rem;}
|
||||
.topBg01 .icon-right{position:absolute;right:0.6rem;top:2.1rem;}*/
|
||||
|
||||
/* 我的 */
|
||||
.icon-message{width:20px;height:20px;background:url(../images/icon-message.png) no-repeat center center;background-size:100%;position:relative;}
|
||||
.icon-message-new{width:7px;height:7px;background:url(../images/icon-message-new.png) no-repeat center center;background-size:100%;position:absolute;top:1px;right:-3px;}
|
||||
@@ -1049,7 +1131,7 @@ input::-webkit-input-placeholder{
|
||||
.tabs .noData img{width:30%;margin:0 auto;margin-top:3rem;}
|
||||
|
||||
/* 出错页面 */
|
||||
.contentError{padding-top:30%;background:none;}
|
||||
.contentError{padding-top:30%;}
|
||||
.contentError img{width:30%;margin:0 auto;}
|
||||
.contentError em{font-size:2rem;text-align:center;color:#666;display:block;}
|
||||
.contentError p{text-align:center;color:#999;margin-top:0;}
|
||||
@@ -1057,9 +1139,12 @@ input::-webkit-input-placeholder{
|
||||
|
||||
/* 按钮 */
|
||||
.content-block{margin:0;}
|
||||
|
||||
.content-block01 .row .col-50{width:50%;margin-left:0;}
|
||||
.content-block01 .row .col-50 .button{border-radius:0;border:solid 1px #F18D00;}
|
||||
.content-block01 .row .col-50 .button.button-fill.reset_btn{background:#f7f7f7;color:#333;border:solid 1px #ccc;}
|
||||
.content-block01 .row .col-50 .button.button-fill{height:2rem;line-height:2rem;}
|
||||
.content-block01 .row .col-50 .button.button-fill.reset_btn{background:#fff;border:none;color:#333;border-top:solid 1px #e7e7e7;}
|
||||
.content-block01 .row .col-50 .button.button-fill.confirm_btn{background:#F18D00;border:solid 1px #F18D00;}
|
||||
|
||||
.button.addProperty_btn{background:#fff;border:dashed 1px #F18D00;color:#2db0fc;}
|
||||
.button.addProperty_btn:active{background:#F18D00;border:dashed 1px #F18D00;color:#fff;}
|
||||
@@ -1070,6 +1155,14 @@ input::-webkit-input-placeholder{
|
||||
.return{width:50px;height:50px;background:#fff;border:solid 1px #aaa;border-radius:100%;font-size:0.62rem;color:#666;text-align:center;position:fixed;left:0.75rem;bottom:0.75rem;}
|
||||
.return i{width:18px;height:18px;background:url(../images/return.png) no-repeat;background-size:100%;display:block;margin:0 auto;margin-top:0.35rem;}
|
||||
|
||||
/* picker */
|
||||
.picker-item{padding:0 1rem;font-size:18px;}
|
||||
.bar-nav01a + .picker-modal-inner .picker-items-col:nth-child(1) .picker-item{padding-left:3rem;}
|
||||
.bar-nav01a + .picker-modal-inner .picker-items-col:nth-child(3) .picker-item{padding-right:3rem;}
|
||||
.bar-nav01b + .picker-modal-inner .picker-items-col:nth-child(1) .picker-item{padding-left:3rem;}
|
||||
.bar-nav01b + .picker-modal-inner .picker-items-col:nth-child(2) .picker-item{padding-right:3rem;}
|
||||
.bar-nav01c + .picker-modal-inner .picker-items-col .picker-item{padding:0 6rem;}
|
||||
|
||||
/* 弹窗 */
|
||||
.modal-inner,.modal-button{background:#fff;}
|
||||
.modal-button{color:#333;}
|
||||
@@ -1284,6 +1377,8 @@ input[type=range]::-webkit-slider-thumb {
|
||||
.cardInfo01a .card-footer span{width:auto;}
|
||||
.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;}
|
||||
.adBoxApp{width:88%;}
|
||||
}
|
||||
@media(min-height:750px){
|
||||
|
||||
@@ -701,6 +701,7 @@ a:active {
|
||||
.row .col-20 {
|
||||
width: 18%;
|
||||
margin-left: 2%;
|
||||
|
||||
}
|
||||
.row.no-gutter .col-20 {
|
||||
width: 20%;
|
||||
@@ -2893,6 +2894,7 @@ html:not(.watch-active-state) .modal-button:active,
|
||||
-webkit-transform-origin: 50% 100%;
|
||||
transform-origin: 50% 100%;
|
||||
}
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
|
||||
.modal-buttons-vertical .modal-button:after {
|
||||
-webkit-transform: scaleY(0.5);
|
||||
@@ -4147,7 +4149,7 @@ body.panel-closing .page {
|
||||
}
|
||||
@font-face {
|
||||
font-family: "iconfont-sm";
|
||||
src: url('../fonts/font_1433401008_2229297.woff') format('woff'), /* chrome、firefox */ url('../fonts/font_1433401008_2229297.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('../fonts/font_1433401008_2229297.svg#iconfont') format('svg');
|
||||
src: url('//at.alicdn.com/t/font_1433401008_2229297.woff') format('woff'), /* chrome銆乫irefox */ url('//at.alicdn.com/t/font_1433401008_2229297.ttf') format('truetype'), /* chrome銆乫irefox銆乷pera銆丼afari, Android, iOS 4.2+*/ url('//at.alicdn.com/t/font_1433401008_2229297.svg#iconfont') format('svg');
|
||||
/* iOS 4.1- */
|
||||
}
|
||||
.icon {
|
||||
@@ -4679,4 +4681,4 @@ html:not(.watch-active-state) .theme-white label.label-radio:active,
|
||||
}
|
||||
.theme-white .range-slider input[type="range"]:after {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
Vendored
+6
File diff suppressed because one or more lines are too long
@@ -230,7 +230,7 @@ html:not(.watch-active-state) .theme label.label-radio:active,
|
||||
|
||||
.priceRecovery .col-50 .button.theme{background:none;border-color:#F18D00;color:#F18D00;}
|
||||
|
||||
.bar-nav.theme .button-nav{background:#F18D00;}
|
||||
.page > header.bar.theme{background:#F18D00;}
|
||||
.bar-nav.theme .icon.icon-left{color:#fff;}
|
||||
|
||||
.bar .button-link.theme{background:none;color:#F18D00;}
|
||||
@@ -240,7 +240,7 @@ html:not(.watch-active-state) .theme label.label-radio:active,
|
||||
.bar-tab.theme .tab-item:active{color:#F18D00;}
|
||||
|
||||
.buttons-row.theme{background:none;}
|
||||
.buttons-row.theme .button{border-color:#D7D7D7;color:#333;}
|
||||
.buttons-row.theme .button{border-color:#D7D7D7;color:#999;}
|
||||
.buttons-row.theme .button.active{background:none;border-color:#F18D00;color:#F18D00;}
|
||||
|
||||
.selectBox div.theme{background:none;}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 879 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 992 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 995 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 290 B |
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
@@ -0,0 +1,567 @@
|
||||
|
||||
/**
|
||||
* iSlider 高性能全屏滑动组件
|
||||
* @class iSlider
|
||||
* @param {object} opts
|
||||
* @param {string} opts.wrap='.wrap' 容器
|
||||
* @param {string} opts.item='.item' 滚动单元的元素
|
||||
* @param {string} opts.playClass='play' 触发播放动画的class
|
||||
* @param {number} [opts.index=0] 设置初始显示的页码
|
||||
* @param {array} [opts.noslide=[]] 设置禁止滑动的页面序号(0开始), 禁止后 需要开发者手动绑定页面中的某个按钮事件进行滑动
|
||||
* @param {number} [opts.speed=400] 动画速度 单位:ms
|
||||
* @param {number} [opts.triggerDist=30] 触发滑动的手指移动最小位移 单位:像素
|
||||
* @param {boolean} [opts.isVertical=true] 是否是垂直滑动 默认是. 设成false为水平滑动.
|
||||
* @param {boolean} [opts.useACC=true] 是否启用硬件加速 默认启用
|
||||
* @param {boolean} [opts.fullScr=true] 是否是全屏的 默认是. 如果是局部滑动,请设为false
|
||||
* @param {boolean} [opts.preventMove=false] 是否阻止系统默认的touchmove移动事件, 默认不阻止, 该参数仅在局部滚动时有效, 如果是局部滚动 如果为true 那么在这个区域滑动的时候 将不会滚动页面. 如果是全屏情况 则会阻止
|
||||
* @param {boolean} [opts.lastLocate=true] 后退后定位到上次浏览的位置 默认true
|
||||
* @param {function} [opts.onslide] 滑动后回调函数 会回传index参数
|
||||
* @param {array} [opts.loadingImgs] loading需要加载的图片地址列表
|
||||
* @param {function} [opts.onloading] loading时每加载完成一个图片都会触发这个回调 回调时参数值为 (已加载个数,总数)
|
||||
* @param {number} [opts.loadingOverTime=15] 预加载超时时间 单位:秒
|
||||
* @desc
|
||||
|
||||
- 如丝般高性能全屏动画滑屏组件, 主要应用于微信H5宣传页,海报,推广介绍等场景. 基于iSlider,可以快速搭建效果炫丽的H5滑屏页面.
|
||||
- 简洁,易用. 无css依赖.
|
||||
- 专注于页面滑动, 没有冗余代码 , 保证性能.
|
||||
- 组件没有任何依赖.
|
||||
- imgcache 引用地址 : http://imgcache.gtimg.cn/music/h5/lib/js/module/iSlider-1.0.min.js?_bid=363&max_age=2592000
|
||||
- github: https://github.com/kele527/iSlider
|
||||
|
||||
|
||||
* @example
|
||||
|
||||
//极简用法
|
||||
new iSlider(); //容器默认是 .wrap 元素默认是 .item 动画播放class默认是 play
|
||||
|
||||
//普通用法
|
||||
new iSlider({
|
||||
wrap:'.wrap',
|
||||
item:'.item',
|
||||
playClass:'play',
|
||||
onslide:function (index) {
|
||||
console.info(index)
|
||||
}
|
||||
});
|
||||
|
||||
//带loading进度条用法
|
||||
new iSlider({
|
||||
wrap:'.wrap',
|
||||
item:'.item',
|
||||
playClass:'play',
|
||||
onslide:function (index) {
|
||||
console.info(index)
|
||||
},
|
||||
loadingImgs:[
|
||||
'http://imgcache.gtimg.cn/mediastyle/mobile/event/20141118_ten_jason/img/open_cover.jpg?max_age=2592000',
|
||||
'http://imgcache.gtimg.cn/mediastyle/mobile/event/20141118_ten_jason/img/im_cover.jpg?max_age=2592000',
|
||||
'http://imgcache.gtimg.cn/mediastyle/mobile/event/20141118_ten_jason/img/bg1.jpg?max_age=2592000',
|
||||
'http://imgcache.gtimg.cn/mediastyle/mobile/event/20141118_ten_jason/img/bg2.jpg?max_age=2592000'
|
||||
],
|
||||
onloading:function (loaded,total) {
|
||||
this.$('#loading div').style.width=loaded/total*100+'%';
|
||||
if (loaded==total) {
|
||||
this.$('#loading').style.display="none"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
demo http://kele527.github.io/iSlider/demo1.html
|
||||
|
||||
* @date 2014/11/3 星期一
|
||||
* @author rowanyang
|
||||
*
|
||||
*/
|
||||
function iSlider(opts) {
|
||||
this.opts={
|
||||
wrap:'.wrap',
|
||||
item:'.item',
|
||||
playClass:'play',
|
||||
index:0,
|
||||
noslide:[],
|
||||
noslideBack:false, //当noslide生效的时候 是否允许往回滑动 默认不允许, 如果有需要可以开启
|
||||
speed:400, //滑屏速度 单位:ms
|
||||
triggerDist:30,//触发滑动的手指移动最小位移 单位:像素
|
||||
isVertical:true,//垂直滑还是水平滑动
|
||||
useACC:true, //是否启用硬件加速 默认启用
|
||||
fullScr:true, //是否是全屏的 默认是. 如果是局部滑动,请设为false
|
||||
preventMove:false, //是否阻止系统默认的touchmove移动事件, 默认不阻止, 该参数仅在局部滚动时有效, 如果是局部滚动 如果为true 那么在这个区域滑动的时候 将不会滚动页面. 如果是全屏情况 则会阻止
|
||||
lastLocate:true, //后退后定位到上次浏览的位置 默认开启
|
||||
loadingImgs:[], //loading 预加载图片地址列表
|
||||
onslide:function (index) {},//滑动回调 参数是本对象
|
||||
onloading:function (loaded,total) {},
|
||||
loadingOverTime:15 //预加载超时时间 单位:秒
|
||||
}
|
||||
|
||||
for (var i in opts) {
|
||||
this.opts[i]=opts[i];
|
||||
}
|
||||
|
||||
this.SS=false;
|
||||
try {
|
||||
this.SS=sessionStorage;
|
||||
this.SS['spt']=1;//检测是否是ios私密浏览模式 如果是私密模式 这一行会报错 进入到catch
|
||||
}catch (e) {
|
||||
this.SS=0;
|
||||
}
|
||||
|
||||
this.init();
|
||||
}
|
||||
/** @lends iSlider */
|
||||
iSlider.prototype={
|
||||
wrap:null,
|
||||
index : 0,
|
||||
length:0,
|
||||
_tpl:[],
|
||||
_delayTime:150,
|
||||
_sessionKey : location.host+location.pathname,
|
||||
_prev:null,
|
||||
_current:null,
|
||||
_next:null,
|
||||
$:function (o,p) {
|
||||
return (p||document).querySelector(o);
|
||||
},
|
||||
addClass:function (o,cls) {
|
||||
if (o.classList) {
|
||||
o.classList.add(cls)
|
||||
}else {
|
||||
o.className+=' '+cls;
|
||||
}
|
||||
},
|
||||
removeClass:function (o,cls) {
|
||||
if (o.classList) {
|
||||
o.classList.remove(cls)
|
||||
}else {
|
||||
o.className=o.className.replace(new RegExp('\\s*\\b'+cls+'\\b','g'),'')
|
||||
}
|
||||
},
|
||||
init:function () {
|
||||
var self = this;
|
||||
this.wrap = typeof this.opts.wrap=='string' ? this.$(this.opts.wrap) : this.opts.wrap ;
|
||||
|
||||
if (this.SS) {
|
||||
//使用sessionStorage来保存当前浏览到第几页了 后退回来的时候 定位到这一页
|
||||
this._sessionKey=btoa(encodeURIComponent(this._sessionKey+this.wrap.id+this.wrap.className));
|
||||
|
||||
var lastLocateIndex=parseInt(this.SS[this._sessionKey]);
|
||||
this.index = (this.opts.lastLocate && lastLocateIndex>=0) ? lastLocateIndex : 0;
|
||||
}else {
|
||||
this.index = this.opts.index || 0;
|
||||
}
|
||||
|
||||
|
||||
if (!this.wrap) {
|
||||
throw Error('"wrap" param can not be empty!');
|
||||
return ;
|
||||
}
|
||||
|
||||
this._tpl = this.wrap.cloneNode(true);
|
||||
this._tpl = this.opts.item ? this._tpl.querySelectorAll(this.opts.item) : this._tpl.children;
|
||||
|
||||
for (var i=0; i<this._tpl.length; i++) {
|
||||
this._tpl[i].style.cssText+='display:block;position:absolute;left:0;top:0;width:100%;height:100%'
|
||||
};
|
||||
|
||||
this.length=this._tpl.length; //总页数数据
|
||||
this.touchInitPos = 0;//手指初始位置
|
||||
this.startPos = 0;//移动开始的位置
|
||||
this.totalDist = 0,//移动的总距离
|
||||
this.deltaX1 = 0;//每次移动的正负
|
||||
this.deltaX2 = 0;//每次移动的正负
|
||||
|
||||
//全屏滑动 设置样式
|
||||
if (this.opts.fullScr) {
|
||||
var s = document.createElement('style');
|
||||
s.innerHTML = 'html,body{width:100%;height:100%;overflow:hidden}';
|
||||
document.head.appendChild(s);
|
||||
s = null;
|
||||
}
|
||||
|
||||
this.wrap.style.cssText+="display:block;position:relative;"+(this.opts.fullScr ? 'width:100%;height:100%':'');
|
||||
|
||||
//必须要在前面的布局都设置好后 再来获取尺寸
|
||||
this.displayWidth = this.wrap.clientWidth; //滑动区域最大宽度
|
||||
this.displayHeight = this.wrap.clientHeight; //滑动区域最大高度
|
||||
|
||||
this.scrollDist=this.opts.isVertical ? this.displayHeight : this.displayWidth;//滚动的区域尺寸
|
||||
|
||||
this._setHTML();// 填充初始DOM
|
||||
|
||||
if (this.opts.loadingImgs && this.opts.loadingImgs.length) {
|
||||
this._loading();
|
||||
}else {
|
||||
this._pageInit();
|
||||
}
|
||||
|
||||
if (/iPhone|iPod|iPad/.test(navigator.userAgent)) {
|
||||
this._delayTime=50;
|
||||
}
|
||||
|
||||
this._bindEvt();
|
||||
},
|
||||
_bindEvt:function () {
|
||||
var self = this;
|
||||
var handlrElm= this.opts.fullScr ? this.$('body') : this.wrap;
|
||||
handlrElm.addEventListener('touchstart',function (e) {
|
||||
self._touchstart(e);
|
||||
},false);
|
||||
handlrElm.addEventListener('touchmove',function (e) {
|
||||
self._touchmove(e);
|
||||
if (!self.opts.fullScr) { //修复手Q中局部使用时的一个bug
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
}
|
||||
},false);
|
||||
handlrElm.addEventListener('touchend',function (e) {
|
||||
self._touchend(e);
|
||||
},false);
|
||||
handlrElm.addEventListener('touchcancel',function (e) {
|
||||
self._touchend(e);
|
||||
},false);
|
||||
|
||||
if (this.opts.fullScr || this.opts.preventMove) {
|
||||
handlrElm.addEventListener('touchmove', function (e) {e.target.getAttribute('data-stop') !== "true" && e.preventDefault(); }, false);
|
||||
}
|
||||
},
|
||||
_setHTML:function (index) {
|
||||
if (index>=0) {
|
||||
this.index=parseInt(index);
|
||||
}
|
||||
this.wrap.innerHTML='';
|
||||
|
||||
var initDom = document.createDocumentFragment();
|
||||
|
||||
if (this.index>0) {
|
||||
this._prev=this._tpl[this.index-1].cloneNode(true);
|
||||
this._prev.style.cssText+=this._getTransform('-'+this.scrollDist+'px');
|
||||
initDom.appendChild(this._prev)
|
||||
}else {
|
||||
this._prev=null;
|
||||
}
|
||||
this._current =this._tpl[this.index].cloneNode(true);
|
||||
|
||||
this._current.style.cssText+=this._getTransform(0);
|
||||
initDom.appendChild(this._current);
|
||||
|
||||
if (this.index<this.length-1) {
|
||||
this._next=this._tpl[this.index+1].cloneNode(true);
|
||||
this._next.style.cssText+=this._getTransform(this.scrollDist+'px');
|
||||
initDom.appendChild(this._next)
|
||||
}else {
|
||||
this._next=null;
|
||||
}
|
||||
|
||||
this.wrap.appendChild(initDom);
|
||||
|
||||
},
|
||||
_pageInit:function () {
|
||||
var self = this;
|
||||
setTimeout(function () {
|
||||
self.addClass(self._current,self.opts.playClass);
|
||||
|
||||
try {
|
||||
self.opts.onslide.call(self,self.index);
|
||||
} catch (e) {
|
||||
// console.info(e)
|
||||
}
|
||||
},this._delayTime);
|
||||
},
|
||||
_touchstart : function (e) {
|
||||
var self=this;
|
||||
if(e.target.getAttribute("data-stop") === "true")return;
|
||||
if(e.touches.length !== 1){return;}//如果大于1个手指,则不处理
|
||||
|
||||
this.lockSlide=false;
|
||||
this._touchstartX=e.touches[0].pageX;
|
||||
this._touchstartY=e.touches[0].pageY;
|
||||
|
||||
this.touchInitPos = this.opts.isVertical ? e.touches[0].pageY:e.touches[0].pageX; // 每次move的触点位置
|
||||
this.deltaX1 = this.touchInitPos;//touchstart的时候的原始位置
|
||||
|
||||
this.startPos = 0;
|
||||
this.startPosPrev = -this.scrollDist;
|
||||
this.startPosNext = this.scrollDist;
|
||||
//手指滑动的时候禁用掉动画
|
||||
if (this._next) {
|
||||
self._next.style.cssText+='-webkit-transition-duration:0;'
|
||||
}
|
||||
|
||||
self._current.style.cssText+='-webkit-transition-duration:0;'
|
||||
if (this._prev) {
|
||||
self._prev.style.cssText+='-webkit-transition-duration:0;'
|
||||
}
|
||||
},
|
||||
_touchmove : function (e) {
|
||||
var parent=e.target;
|
||||
if(parent.getAttribute("stop") === "true")return;
|
||||
|
||||
do {
|
||||
parent=parent.parentNode;
|
||||
} while (parent && parent!=this.wrap);
|
||||
|
||||
if (!parent && e.target!=this.wrap ) {
|
||||
return ;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
if(e.touches.length !== 1 || this.lockSlide){return;}
|
||||
|
||||
var gx=Math.abs(e.touches[0].pageX - this._touchstartX);
|
||||
var gy=Math.abs(e.touches[0].pageY - this._touchstartY);
|
||||
|
||||
//如果手指初始滑动的方向跟页面设置的方向不一致 就不会触发滑动 这个主要是避免误操作, 比如页面是垂直滑动, 在某一页加了横向滑动的局部动画, 那么左右滑动的时候要保证页面不能上下移动. 这里就是做这个的.
|
||||
if (gx>gy && this.opts.isVertical) { //水平滑动
|
||||
this.lockSlide=true;
|
||||
return ;
|
||||
}else if(gx<gy && !this.opts.isVertical){ //垂直滑动
|
||||
this.lockSlide=true;
|
||||
return ;
|
||||
}
|
||||
|
||||
if (this.opts.noslide && this.opts.noslide.indexOf(this.index)>=0) {
|
||||
//noslideBack 默认值是false 默认是禁用滑动后 前后都不能再滑动,
|
||||
//但是当noslideBack为true时, 禁用了这一页的滑动, 那么往下是划不动了 但是可以往上滑
|
||||
if ( !this.opts.noslideBack || (this.opts.isVertical ? (e.touches[0].pageY - this._touchstartY < 0) : (e.touches[0].pageX - this._touchstartX < 0)) ) {
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var currentX = this.opts.isVertical ? e.touches[0].pageY:e.touches[0].pageX;
|
||||
this.deltaX2 = currentX - this.deltaX1;//记录当次移动的偏移量
|
||||
this.totalDist = this.startPos + currentX - this.touchInitPos;
|
||||
|
||||
self._current.style.cssText+=this._getTransform(this.totalDist+'px');
|
||||
this.startPos = this.totalDist;
|
||||
|
||||
//处理上一张和下一张
|
||||
if (this.totalDist<0) {//露出下一张
|
||||
if (this._next) {
|
||||
this.totalDist2 = this.startPosNext + currentX - this.touchInitPos;
|
||||
self._next.style.cssText += this._getTransform(this.totalDist2+'px');
|
||||
this.startPosNext = this.totalDist2;
|
||||
}
|
||||
}else {//露出上一张
|
||||
if (this._prev) {
|
||||
this.totalDist2 = this.startPosPrev + currentX - this.touchInitPos;
|
||||
self._prev.style.cssText += this._getTransform(this.totalDist2+'px');
|
||||
this.startPosPrev = this.totalDist2;
|
||||
}
|
||||
}
|
||||
|
||||
this.touchInitPos = currentX;
|
||||
},
|
||||
_touchend : function (e) {
|
||||
if(e.target.getAttribute("stop") === "true")return;
|
||||
if(this.deltaX2 < -this.opts.triggerDist){
|
||||
this.next();
|
||||
}else if(this.deltaX2 > this.opts.triggerDist){
|
||||
this.prev();
|
||||
}else{
|
||||
this._itemReset();
|
||||
}
|
||||
this.deltaX2 = 0;
|
||||
},
|
||||
_getTransform:function (dist) {
|
||||
var pos= this.opts.isVertical? '0,'+dist : dist+',0';
|
||||
return ';-webkit-transform:' + (this.opts.useACC ? 'translate3d('+pos+',0)' : 'translate('+pos+')');
|
||||
},
|
||||
|
||||
_itemReset:function () {
|
||||
var self = this;
|
||||
self._current.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform(0);
|
||||
if (self._prev) {
|
||||
self._prev.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform('-'+this.scrollDist+'px');
|
||||
}
|
||||
if (self._next) {
|
||||
self._next.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform(this.scrollDist+'px');
|
||||
}
|
||||
this.deltaX2 = 0;
|
||||
},
|
||||
|
||||
_loading:function () {
|
||||
var self = this;
|
||||
var imgurls=this.opts.loadingImgs;
|
||||
var fallback=setTimeout(function () {
|
||||
try {
|
||||
self.opts.onloading.call(self,total,total);
|
||||
} catch (e) { }
|
||||
|
||||
self._pageInit();
|
||||
},this.opts.loadingOverTime*1000);//loading超时时间 万一进度条卡那了 15秒后直接显示
|
||||
|
||||
var imgs=[], loaded=1;
|
||||
var total=imgurls.length+1;
|
||||
for (var i=0; i<imgurls.length; i++) {
|
||||
imgs[i]=new Image();
|
||||
imgs[i].src=imgurls[i];
|
||||
imgs[i].onload=imgs[i].onerror=imgs[i].onabort=function (e) {
|
||||
loaded++;
|
||||
if (this.src === imgurls[0] && e.type === 'load') {
|
||||
clearTimeout(fallback)
|
||||
}
|
||||
checkloaded();
|
||||
this.onload=this.onerror=this.onabort=null;
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
self.opts.onloading.call(self,1,total);
|
||||
} catch (e) { }
|
||||
|
||||
function checkloaded() {
|
||||
try {
|
||||
self.opts.onloading.call(self,loaded,total);
|
||||
} catch (e) { }
|
||||
if (loaded==total) {
|
||||
if (fallback) {
|
||||
clearTimeout(fallback)
|
||||
}
|
||||
self._pageInit();
|
||||
imgs=null;
|
||||
if (self.opts.preLoadingImgs && self.opts.preLoadingImgs.length) {
|
||||
self.preloading();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 滑动到上一页
|
||||
* @example
|
||||
s1.prev();
|
||||
*/
|
||||
prev:function () {
|
||||
var self = this;
|
||||
|
||||
if (!this._current || !this._prev) {
|
||||
this._itemReset();
|
||||
return ;
|
||||
}
|
||||
if (this.index > 0) {
|
||||
this.index--;
|
||||
}else {
|
||||
this._itemReset();
|
||||
return false;
|
||||
}
|
||||
|
||||
// var nextIndex = this.index+1 > this.length-1 ? 0 : this.index+1;
|
||||
|
||||
if (this._next) {
|
||||
this.wrap.removeChild(this._next);
|
||||
}
|
||||
|
||||
this._next=this._current;
|
||||
this._current=this._prev;
|
||||
this._prev=null;
|
||||
|
||||
this._next.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform(this.scrollDist+'px');
|
||||
this._current.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform(0);
|
||||
if (this.SS) {
|
||||
this.SS[this._sessionKey]=this.index;
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
|
||||
if (self.$('.'+self.opts.playClass,self.wrap)) {
|
||||
self.removeClass(self.$('.'+self.opts.playClass,self.wrap),self.opts.playClass)
|
||||
}
|
||||
self.addClass(self._current,self.opts.playClass)
|
||||
|
||||
try {
|
||||
self.opts.onslide.call(self,self.index);
|
||||
} catch (e) {
|
||||
// console.info(e)
|
||||
}
|
||||
|
||||
var prevIndex = self.index-1;
|
||||
if (prevIndex < 0) {
|
||||
prevIndex = self.length-1;
|
||||
return false;
|
||||
}
|
||||
|
||||
self._prev = self._tpl[prevIndex].cloneNode(true);
|
||||
self._prev.style.cssText+='-webkit-transition-duration:0ms;'+self._getTransform('-'+self.scrollDist+'px');
|
||||
self.wrap.insertBefore(self._prev,self._current);
|
||||
|
||||
},this._delayTime)
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 滑动到下一页
|
||||
* @example
|
||||
s1.next();
|
||||
*/
|
||||
next:function () {
|
||||
var self = this;
|
||||
|
||||
if (!this._current || !this._next) {
|
||||
this._itemReset();
|
||||
return ;
|
||||
}
|
||||
|
||||
if (this.index < this.length-1) {
|
||||
this.index++;
|
||||
}else {
|
||||
this._itemReset();
|
||||
return false;
|
||||
}
|
||||
|
||||
// var prevIndex = this.index===0 ? this.length-1 : this.index-1;
|
||||
|
||||
if (this._prev) {
|
||||
this.wrap.removeChild(this._prev);
|
||||
}
|
||||
|
||||
this._prev=this._current;
|
||||
this._current=this._next;
|
||||
this._next=null;
|
||||
|
||||
this._prev.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform('-'+this.scrollDist+'px');
|
||||
this._current.style.cssText+='-webkit-transition-duration:'+this.opts.speed+'ms;'+this._getTransform(0);
|
||||
if (this.SS) {
|
||||
this.SS[this._sessionKey]=this.index;
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
if (self.$('.'+self.opts.playClass,self.wrap)) {
|
||||
self.removeClass(self.$('.'+self.opts.playClass,self.wrap),self.opts.playClass)
|
||||
}
|
||||
self.addClass(self._current,self.opts.playClass)
|
||||
|
||||
try {
|
||||
self.opts.onslide.call(self,self.index);
|
||||
} catch (e) {
|
||||
// console.info(e)
|
||||
}
|
||||
|
||||
var nextIndex = self.index+1;
|
||||
if (nextIndex >= self.length) {
|
||||
return false;
|
||||
}
|
||||
|
||||
self._next = self._tpl[nextIndex].cloneNode(true);
|
||||
self._next.style.cssText+='-webkit-transition-duration:0ms;'+self._getTransform(self.scrollDist+'px');
|
||||
self.wrap.appendChild(self._next);
|
||||
|
||||
},this._delayTime)
|
||||
|
||||
},
|
||||
/**
|
||||
* 跳转到指定页码
|
||||
* @param {number} index 页码 从0开始的
|
||||
* @example
|
||||
s1.slideTo(3);
|
||||
*/
|
||||
slideTo:function (index) {
|
||||
this._setHTML(index);
|
||||
this._pageInit();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (typeof module == 'object') {
|
||||
module.exports=iSlider;
|
||||
}else {
|
||||
window.iSlider=iSlider;
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
"icons": {
|
||||
"144": "icon.png"
|
||||
},
|
||||
"launch_path": "main.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
|
||||
"launch_path": "/views/house/houseDetail.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
|
||||
"developer": {
|
||||
"name": "",/*开发者名称*/
|
||||
"email": "",/*开发者邮箱地址*/
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card cardPrice cardPrice02" id="evaluate_msg">
|
||||
<!--<div class="card cardPrice cardPrice02" id="evaluate_msg">
|
||||
<div class="card-footer">
|
||||
<span>
|
||||
<em><strong>{{evaluate_percent}}</strong>%<i v-bind:class="arrow"></i></em>
|
||||
@@ -80,7 +80,7 @@
|
||||
<label style="color:#666;">{{msg}}</label>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="content-block priceRecovery" id="price_feedback">
|
||||
<p><label>估的准吗?</label></p>
|
||||
<p><small>您的反馈很重要,是我们努力的动力</small></p>
|
||||
@@ -164,15 +164,15 @@ $.config = {router: false}
|
||||
words:""
|
||||
}
|
||||
})
|
||||
var evaluate_msg = new Vue({
|
||||
el:"#evaluate_msg",
|
||||
data:{
|
||||
evaluate_percent:"",
|
||||
evaluate_words:"",
|
||||
arrow:"",
|
||||
msg:""
|
||||
}
|
||||
})
|
||||
// var evaluate_msg = new Vue({
|
||||
// el:"#evaluate_msg",
|
||||
// data:{
|
||||
// evaluate_percent:"",
|
||||
// evaluate_words:"",
|
||||
// arrow:"",
|
||||
// msg:""
|
||||
// }
|
||||
// })
|
||||
|
||||
|
||||
var price_feedback = new Vue({
|
||||
@@ -228,18 +228,18 @@ $.config = {router: false}
|
||||
}else{
|
||||
house_price.compare_money="相等"
|
||||
}
|
||||
if(h.evaluatePercent<0){
|
||||
evaluate_msg.evaluate_words="下跌概率"
|
||||
evaluate_msg.arrow="icon icon-arrow-green"
|
||||
evaluate_msg.evaluate_percent=-h.evaluatePercent
|
||||
}else if(h.evaluatePercent>0){
|
||||
evaluate_msg.evaluate_words="上涨概率"
|
||||
evaluate_msg.arrow="icon icon-arrow-red"
|
||||
evaluate_msg.evaluate_percent=h.evaluatePercent
|
||||
}else{
|
||||
evaluate_msg.evaluate_words="暂无"
|
||||
}
|
||||
evaluate_msg.msg=h.evaluateMsg
|
||||
// if(h.evaluatePercent<0){
|
||||
// evaluate_msg.evaluate_words="下跌概率"
|
||||
// evaluate_msg.arrow="icon icon-arrow-green"
|
||||
// evaluate_msg.evaluate_percent=-h.evaluatePercent
|
||||
// }else if(h.evaluatePercent>0){
|
||||
// evaluate_msg.evaluate_words="上涨概率"
|
||||
// evaluate_msg.arrow="icon icon-arrow-red"
|
||||
// evaluate_msg.evaluate_percent=h.evaluatePercent
|
||||
// }else{
|
||||
// evaluate_msg.evaluate_words="暂无"
|
||||
// }
|
||||
// evaluate_msg.msg=h.evaluateMsg
|
||||
$("#img").attr("src",BASE_PATH+"/img/"+h.imgId);
|
||||
loadingChart(h.city,h.region,h.name,2)
|
||||
//按照时间范围加载数据
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,80 @@
|
||||
var myFocusDatas = {myFocusList: []};
|
||||
Vue.component('my_focus',{
|
||||
template:
|
||||
'<div class="topic">'+
|
||||
'<div class="topicTitle">我的关注</div>'+
|
||||
'<div class="list-block media-list cityList" id="myFocus">'+
|
||||
'<ul>'+
|
||||
'<li>'+
|
||||
'<a class="item-content">'+
|
||||
'<div class="item-inner">'+
|
||||
'<div class="item-subtitle row">'+
|
||||
'<div class="col-5"> </div>'+
|
||||
'<div class="col-20">城市</div>'+
|
||||
'<div class="col-25">上月均价</div>'+
|
||||
'<div class="col-25">近30天涨跌幅</div>'+
|
||||
'<div class="col-20">全国涨幅排名</div>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</a>'+
|
||||
'</li>'+
|
||||
'<li v-for="(mf,index) in myFocusList">'+
|
||||
'<a class="item-content">'+
|
||||
'<div class="item-inner">'+
|
||||
'<div class="item-subtitle row">'+
|
||||
'<div class="col-5">{{index}}</div>'+
|
||||
'<div class="col-20">{{mf.city}}</div>'+
|
||||
'<div class="col-25">{{!mf.cityTopMonthAvgPrice||mf.cityTopMonthAvgPrice==""?"暂无":""+mf.avgPrice+"元/㎡"}}</div>'+
|
||||
'<div class="col-25">'+
|
||||
'<em class="up">{{!mf.oneMonthUpDownRange||mf.oneMonthUpDownRange==""?"暂无":mf.oneMonthUpDownRange+"%"}}<i class="icon icon-arrow-red"></i></em>'+
|
||||
'</div>'+
|
||||
'<div class="col-20">'+
|
||||
'<em>{{mf.rangeLevel}}</em>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</div>'+
|
||||
'</a>'+
|
||||
'</li>'+
|
||||
'</ul>'+
|
||||
'</div>'+
|
||||
'</div>'
|
||||
,
|
||||
data:function(){
|
||||
return myFocusDatas;
|
||||
},
|
||||
methods:{
|
||||
loadMyFocus:function(){
|
||||
axios.get("/rest/quotations/userCollectCityInfo", {
|
||||
params: {
|
||||
}
|
||||
}).then(function(response){
|
||||
myFocusDatas.myFocusList = response.data.data.results
|
||||
}).catch(function(error){
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
},mounted:function(){
|
||||
this.loadMyFocus();
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
//我的关注
|
||||
var myFocus = new Vue({
|
||||
el:"#myFocus",
|
||||
data:{
|
||||
myfocusList:[{num:1,city:"test1",avgPrice:"123",percent:"",ranking:"1"},
|
||||
{num:2,city:"test2",avgPrice:"321",percent:"6.6",ranking:"2"}
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
//涨幅榜
|
||||
var tabCityRanking1 = new Vue({
|
||||
el:"tabCityRanking1"
|
||||
})
|
||||
|
||||
//潜力绑
|
||||
var tabCityRanking2 = new Vue({
|
||||
el:"tabCityRanking2"
|
||||
})
|
||||
Reference in New Issue
Block a user