代码提交
This commit is contained in:
parent
8ac4784129
commit
91e751adcd
@ -5,7 +5,8 @@
|
|||||||
<view class="site-box flex_a_c_j_sb" :style="{'background-color':backColor}">
|
<view class="site-box flex_a_c_j_sb" :style="{'background-color':backColor}">
|
||||||
|
|
||||||
<view :class="['place_wrapper','flex_a_c',isFshow?'sitebox':'']" @click="selectLocation">
|
<view :class="['place_wrapper','flex_a_c',isFshow?'sitebox':'']" @click="selectLocation">
|
||||||
<view :class="['iconfont','icon-weizhi',isFshow?'sitebox':'']" style="color:#000;margin-left: 20rpx;">
|
<view :class="['iconfont','icon-weizhi',isFshow?'sitebox':'']"
|
||||||
|
style="color:#000;margin-left: 20rpx;">
|
||||||
</view>
|
</view>
|
||||||
<view class="town_name" style="color:#000;">{{street}}</view>
|
<view class="town_name" style="color:#000;">{{street}}</view>
|
||||||
</view>
|
</view>
|
||||||
@ -22,8 +23,8 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<zbpSwiper ref='list' :isSelectPlace="true" :town='street' :show='show' :location_Arr="locationArr" @kkchange='kkchange'
|
<zbpSwiper ref='list' :isSelectPlace="true" :town='street' :show='show' :location_Arr="locationArr"
|
||||||
@change='dchange'>
|
@kkchange='kkchange' @change='dchange'>
|
||||||
</zbpSwiper>
|
</zbpSwiper>
|
||||||
|
|
||||||
|
|
||||||
@ -184,7 +185,9 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
onTabItemTap(e) {
|
||||||
|
console.log(e)
|
||||||
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (this.status == 'nomore') return;
|
if (this.status == 'nomore') return;
|
||||||
this.status = 'loading';
|
this.status = 'loading';
|
||||||
@ -267,7 +270,13 @@
|
|||||||
this.backColor = 'rgba(252, 252, 252, 1.0)'
|
this.backColor = 'rgba(252, 252, 252, 1.0)'
|
||||||
this.isFshow = true
|
this.isFshow = true
|
||||||
|
|
||||||
|
uni.setTabBarItem({
|
||||||
|
index: 0,
|
||||||
|
text: '',
|
||||||
|
id:'1',
|
||||||
|
iconPath: '/static/tabbar_icon/top.png',
|
||||||
|
selectedIconPath: '/static/tabbar_icon/top.png'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -478,7 +487,8 @@
|
|||||||
this.street = res.data.address_component.street
|
this.street = res.data.address_component.street
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$bus.$emit('value-updated',this.street + ',' +street_id);
|
this.$bus.$emit('value-updated', this.street + ',' +
|
||||||
|
street_id);
|
||||||
|
|
||||||
})
|
})
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
@ -320,7 +320,7 @@
|
|||||||
<view class="sys-head" :style="{height:statusBarHeight}"></view>
|
<view class="sys-head" :style="{height:statusBarHeight}"></view>
|
||||||
<view class="tool-bar" @click='goBack()'>
|
<view class="tool-bar" @click='goBack()'>
|
||||||
|
|
||||||
<image class="icon-xiangzuo" src="../static/img/index/icon-back.png"></image>
|
<image class="icon-xiangzuo" src="@/static/image/icon-back.png"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -15,9 +15,14 @@
|
|||||||
<!-- 头部导航 -->
|
<!-- 头部导航 -->
|
||||||
|
|
||||||
|
|
||||||
<!-- <view v-if="!isUser" class="header" :style="{backgroundColor:'#Fff'}">
|
|
||||||
|
|
||||||
|
<view class="header" >
|
||||||
<view class="tool-bar">
|
<view class="tool-bar">
|
||||||
|
<view class='xiangzuo' @tap='goBack'>
|
||||||
|
<image src="@/static/images/icon-back.png" mode="aspectFit"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="tool-bar">
|
||||||
<view class='iconfont icon-xiangzuo' @tap='goBack'></view>
|
<view class='iconfont icon-xiangzuo' @tap='goBack'></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="items" @click.stop="navTap(2)">
|
<view class="items" @click.stop="navTap(2)">
|
||||||
@ -31,11 +36,12 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="items" @click.stop="navTap(4)">
|
<view class="items" @click.stop="navTap(4)">
|
||||||
<text class="tName" :class="currentNav==4?'on':''">社区</text>
|
<text class="tName" :class="currentNav==4?'on':''">社区</text>
|
||||||
</view>
|
|
||||||
|
|
||||||
</view> -->
|
</view> -->
|
||||||
<swiper v-show="currentNav !== 3&¤tNav != 4" :style="'width: '+ windowWidth +'px; height: '+ windowHeight +'px;'"
|
|
||||||
:vertical="true" @animationfinish="animationfinish" @change="change" :current="k" :indicator-dots="false">
|
</view>
|
||||||
|
<swiper v-show="currentNav !== 3&¤tNav != 4"
|
||||||
|
:style="'width: '+ windowWidth +'px; height: '+ windowHeight +'px;'" :vertical="true"
|
||||||
|
@animationfinish="animationfinish" @change="change" :current="k" :indicator-dots="false">
|
||||||
<swiper-item v-for="(list,index) in dataList">
|
<swiper-item v-for="(list,index) in dataList">
|
||||||
<view v-if="max > index">
|
<view v-if="max > index">
|
||||||
|
|
||||||
@ -1329,12 +1335,15 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.icon-xiangzuo {
|
.xiangzuo {
|
||||||
|
width: 23rpx;
|
||||||
|
height: 42rpx;
|
||||||
margin-right: 40rpx;
|
margin-right: 40rpx;
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
font-size: 30rpx;
|
image {
|
||||||
color: #333;
|
width: 100%;
|
||||||
margin-top: 60rpx;
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user