代码提交

This commit is contained in:
jia 2023-09-05 13:50:42 +08:00
parent 8ac4784129
commit 91e751adcd
3 changed files with 101 additions and 82 deletions

View File

@ -5,7 +5,8 @@
<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="['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 class="town_name" style="color:#000;">{{street}}</view>
</view>
@ -22,8 +23,8 @@
</view>
<zbpSwiper ref='list' :isSelectPlace="true" :town='street' :show='show' :location_Arr="locationArr" @kkchange='kkchange'
@change='dchange'>
<zbpSwiper ref='list' :isSelectPlace="true" :town='street' :show='show' :location_Arr="locationArr"
@kkchange='kkchange' @change='dchange'>
</zbpSwiper>
@ -184,7 +185,9 @@
})
},
onTabItemTap(e) {
console.log(e)
},
onReachBottom() {
if (this.status == 'nomore') return;
this.status = 'loading';
@ -267,7 +270,13 @@
this.backColor = 'rgba(252, 252, 252, 1.0)'
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.$nextTick(() => {
this.$bus.$emit('value-updated',this.street + ',' +street_id);
this.$bus.$emit('value-updated', this.street + ',' +
street_id);
})
}).catch(err => {

View File

@ -320,7 +320,7 @@
<view class="sys-head" :style="{height:statusBarHeight}"></view>
<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 File

@ -15,9 +15,14 @@
<!-- 头部导航 -->
<!-- <view v-if="!isUser" class="header" :style="{backgroundColor:'#Fff'}">
<view class="header" >
<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>
<view class="items" @click.stop="navTap(2)">
@ -31,11 +36,12 @@
</view>
<view class="items" @click.stop="navTap(4)">
<text class="tName" :class="currentNav==4?'on':''">社区</text>
</view>
</view> -->
<swiper v-show="currentNav !== 3&&currentNav != 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&&currentNav != 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">
<view v-if="max > index">
@ -1329,12 +1335,15 @@
display: flex;
justify-content: center;
.icon-xiangzuo {
.xiangzuo {
width: 23rpx;
height: 42rpx;
margin-right: 40rpx;
margin-left: 20rpx;
font-size: 30rpx;
color: #333;
margin-top: 60rpx;
image {
width: 100%;
height: 100%;
}
}
}