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

This commit is contained in:
zongzhimin
2018-04-13 19:26:56 +08:00
13 changed files with 165 additions and 41 deletions
+27 -20
View File
@@ -27,6 +27,9 @@
.mark-icon-box {width:24px;height:30px;position:absolute;z-index:98;}
.mark-icon-box .mark-icon {width: 20px;height: 30px;display: block;cursor: pointer;font-size: 14px; color: #fff;font-weight: bold;text-align: center;line-height: 24px;background: url(../../images/dw.png) no-repeat;}
.loadingBg{width:100%;height:100%;background:#fff;overflow:hidden;position:absolute;top:11px;left:0;z-index:100;}
.loadingBg .infinite-scroll-preloader{margin-top:30%;}
</style>
</head>
@@ -101,7 +104,7 @@
</div>
</div>
<div class="topic">
<div class="topic" id="mapDiv">
<div class="topicTitle">位置及周边</div>
<div class="topicContent" style="padding:0;">
<div class="content-block content-block01 content-block01a" id="aroundLink">
@@ -171,24 +174,15 @@ $.config = {router: false}
<script type='text/javascript' src='../../js/common.js' charset='utf-8'></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script>
var city = "北京"
var region = "顺义"
var name = "龙湾别墅五期"
var city = "上海"
var region = "闵行"
var name = "卓越维港别墅"
var lat;
var lng;
var address;
var tags;
var baseInfo = new Vue({
el: '#districtBaseInfo',
data: {
name : "",
city:"",
region: "",
address: "",
tags:[]
}
})
var baseInfo ;
@@ -206,15 +200,28 @@ function onPlusReady() {
region = self.region
name = self.name;
// 创建根实例
new Vue({
el: '#baseInfo'
baseInfo = new Vue({
el: '#districtBaseInfo',
data: {
name : "",
city:"",
region: "",
address: "",
tags:[]
}
})
}
//new Vue({
// el: '#baseInfo'
//})
/*baseInfo = new Vue({
el: '#districtBaseInfo',
data: {
name : "",
city:"",
region: "",
address: "",
tags:[]
}
})*/
/* 小区租金走势 */
+2 -1
View File
@@ -126,7 +126,7 @@ $.config = {router: false}
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady() {
var self = plus.webview.currentWebview();
id = self.id
id = self.houseId
axios.get('/rest/rent/queryHouseRent',{params:{id:id}}).then(function(response){
// var data = response.data.data.houses;
// $.each(data,function(i){
@@ -284,6 +284,7 @@ function onPlusReady() {
}
axios.post("/rest/rent/changeStatus",d).then(function(response){
plus.webview.getWebviewById('views/house/detail.html').reload();
back(),plus.nativeUI.closeWaiting();
}).catch(function(error){
console.log(error)