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

This commit is contained in:
尹吉欢
2018-04-14 15:24:51 +08:00
2 changed files with 59 additions and 54 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ var option01 = {
type: 'slider', type: 'slider',
xAxisIndex: [0, 1], xAxisIndex: [0, 1],
realtime: false, realtime: false,
start: 50, start: 0,
end: 100, end: 100,
top: 65, top: 65,
height: 20, height: 20,
+55 -50
View File
@@ -262,13 +262,60 @@ $.config = {router: false}
<script> <script>
//loadDistrictInfo(); //loadDistrictInfo();
document.addEventListener('plusready', onPlusReady, false); //document.addEventListener('plusready', onPlusReady, false);
function onPlusReady() { //function onPlusReady() {
var self = plus.webview.currentWebview(); // var self = plus.webview.currentWebview();
city = self.city // city = self.city
region = self.region // region = self.region
name = self.name; // name = self.name;
// 创建根实例 // // 创建根实例
// baseInfo = new Vue({
// el: '#districtBaseInfo',
// data: {
// name : "",
// city:"",
// region: "",
// address: "",
// avgPrice:"",
// oneMonthUpDownRange:"",
// priceRate:"",
// cityPrice:"",
// finishBuildingDate:"",
// householdCount:"",
// cubagePercent:"",
// carSiteCount:"",
// virescencePercent:"",
// estateCharge:"",
// moreArea:"",
// developer:"",
// estateCompany:"",
// tags:[],
// nearDists:[],
// regionIndex:"",
// schoolIndex:""
// },
// methods:{
// showChat: function(type){
// if(type == 2) {
// document.getElementById("tabChart2").style = "z-index:1";
// document.getElementById("tabChart1").style = "z-index:-1";
// } else {
// document.getElementById("tabChart2").style = "z-index:-1";
// document.getElementById("tabChart1").style = "z-index:1";
// }
//
// }
// }
// })
//
// /* 小区均价分析 */
// loadKLineData(city, region, name);
// /* 小区租金走势 */
// loadRentTrends(city, region, name,2);
//}
baseInfo = new Vue({ baseInfo = new Vue({
el: '#districtBaseInfo', el: '#districtBaseInfo',
data: { data: {
@@ -293,6 +340,7 @@ function onPlusReady() {
nearDists:[], nearDists:[],
regionIndex:"", regionIndex:"",
schoolIndex:"" schoolIndex:""
}, },
methods:{ methods:{
showChat: function(type){ showChat: function(type){
@@ -312,50 +360,7 @@ function onPlusReady() {
loadKLineData(city, region, name); loadKLineData(city, region, name);
/* 小区租金走势 */ /* 小区租金走势 */
loadRentTrends(city, region, name,2); loadRentTrends(city, region, name,2);
}
/*baseInfo = new Vue({
el: '#districtBaseInfo',
data: {
name : "",
city:"",
region: "",
address: "",
avgPrice:"",
oneMonthUpDownRange:"",
priceRate:"",
cityPrice:"",
finishBuildingDate:"",
householdCount:"",
cubagePercent:"",
carSiteCount:"",
virescencePercent:"",
estateCharge:"",
moreArea:"",
developer:"",
estateCompany:"",
tags:[],
nearDists:[],
regionIndex:"",
schoolIndex:""
},
methods:{
showChat: function(type){
if(type == 2) {
document.getElementById("tabChart2").style = "z-index:1";
document.getElementById("tabChart1").style = "z-index:-1";
} else {
document.getElementById("tabChart2").style = "z-index:-1";
document.getElementById("tabChart1").style = "z-index:1";
}
}
}
})
*/
function openMapWindow(){ function openMapWindow(){
clicked('arround.html',true,false,{},{city:city,region:region,name:name,lat:lat,lng:lng}); clicked('arround.html',true,false,{},{city:city,region:region,name:name,lat:lat,lng:lng});
} }