...
|
...
|
@@ -30,7 +30,7 @@ |
|
|
<view class="positionWrap" @click="position" :style="{bottom:'400rpx'}">
|
|
|
<image style="width: 90rpx;height: 90rpx;" src="../../static/image/dingwei.png" mode=""></image>
|
|
|
</view>
|
|
|
<touch-slide v-if="landList.length > 0" style="background-color: #509d94;" :landIndex="0" :showSlide="landList[0].showSlide" @callback="callback" :top="mapHeight - 180" :bottom="mapHeight - (landList.length > 1 ? 40 : 10)" :titleHeight="30">
|
|
|
<touch-slide v-if="landList.length > 0" style="background-color: #509d94;" :landIndex="0" :showSlide="landList[0].showSlide" @callback="callback" :top="mapHeight - platFormH" :bottom="mapHeight - (landList.length > 1 ? 40 : 10)" :titleHeight="30">
|
|
|
<view class="handleLine" slot="title">
|
|
|
<view class="line"></view>
|
|
|
</view>
|
...
|
...
|
@@ -96,7 +96,7 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
</touch-slide>
|
|
|
<touch-slide v-if="landList.length > 1" style="background-color: #85cbc3;" :landIndex="1" :showSlide="landList[1].showSlide" @callback="callback" :top="mapHeight - 180" :bottom="mapHeight - 10" :titleHeight="30">
|
|
|
<touch-slide v-if="landList.length > 1" style="background-color: #85cbc3;" :landIndex="1" :showSlide="landList[1].showSlide" @callback="callback" :top="mapHeight - platFormH" :bottom="mapHeight - 10" :titleHeight="30">
|
|
|
<view class="handleLine" slot="title">
|
|
|
<view class="line"></view>
|
|
|
</view>
|
...
|
...
|
@@ -162,7 +162,7 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
</touch-slide>
|
|
|
<touch-slide v-for="(item,index) in landList" :key="index" v-if="index > 1 && landList.length > index && landList[index-1].showSlide" :style="{'background-color': (index)%2 == 0 ? '#509d94' : '#85cbc3'}" :landIndex="index" @callback="callback" :top="mapHeight - 180" :bottom="mapHeight - 10" :titleHeight="30">
|
|
|
<touch-slide v-for="(item,index) in landList" :key="index" v-if="index > 1 && landList.length > index && landList[index-1].showSlide" :style="{'background-color': (index)%2 == 0 ? '#509d94' : '#85cbc3'}" :landIndex="index" @callback="callback" :top="mapHeight - platFormH" :bottom="mapHeight - 10" :titleHeight="30">
|
|
|
<view class="handleLine" slot="title">
|
|
|
<view class="line"></view>
|
|
|
</view>
|
...
|
...
|
@@ -270,7 +270,8 @@ |
|
|
showSearchLand:false,//展示查询地主列表弹框
|
|
|
addressList:[],
|
|
|
becomeLandImg:'',//成为地主弹框图片
|
|
|
showLandInfo:false
|
|
|
showLandInfo:false,
|
|
|
platFormH:0
|
|
|
}
|
|
|
},
|
|
|
computed:{
|
...
|
...
|
@@ -385,6 +386,12 @@ |
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
console.log('当前系统是:'+plus.os.name.toLowerCase())
|
|
|
if(plus.os.name.toLowerCase() == 'ios'){
|
|
|
this.platFormH = 200
|
|
|
}else{
|
|
|
this.platFormH = 180
|
|
|
}
|
|
|
uni.request({
|
|
|
url:apiUrl + '/common/init',
|
|
|
method:'GET',
|
...
|
...
|
|