代码更新
This commit is contained in:
parent
c0157be09f
commit
4d4e22ce41
@ -2,8 +2,8 @@
|
|||||||
"name" : "惠农生活",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.3.5",
|
"versionName" : "1.3.6",
|
||||||
"versionCode" : 135,
|
"versionCode" : 136,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -2,18 +2,24 @@
|
|||||||
<view class="gather">
|
<view class="gather">
|
||||||
<view @click="selectLocation" v-if="isFshow">
|
<view @click="selectLocation" v-if="isFshow">
|
||||||
|
|
||||||
<view class="site-box flex_a_c_j_sb" :style="{'background-color':backColor}">
|
<view v-if="isFshow">
|
||||||
|
<view class="site-box flex_a_c_j_sb" :style="{ 'opacity': 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':'']"
|
<view :class="['iconfont', 'icon-weizhi', isFshow ? 'sitebox' : '']"
|
||||||
style="color:#000;margin-left: 20rpx;">
|
style=" margin-left: 20rpx">
|
||||||
</view>
|
</view>
|
||||||
<view class="town_name" style="color:#000;">{{street}}</view>
|
<view class="town_name">{{ street }}</view>
|
||||||
</view>
|
</view>
|
||||||
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none">
|
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none">
|
||||||
<view :class="['iconfont','icon-xiaoxi',isFshow?'sitebox':'']" style="color:#000;"></view>
|
<view :class="['iconfont', 'icon-xiaoxi', isFshow ? 'sitebox' : '']"></view>
|
||||||
</navigator>
|
</navigator>
|
||||||
</view>
|
</view>
|
||||||
|
<!--<view class="site-box ','flex_a_c_j_sb'" v-if="ishshow">
|
||||||
|
<view class="bg-img">
|
||||||
|
<img :src="bgColor" alt="">
|
||||||
|
</view>
|
||||||
|
</view> -->
|
||||||
|
</view>
|
||||||
<!-- <view class="site-box ','flex_a_c_j_sb'" v-if="ishshow">
|
<!-- <view class="site-box ','flex_a_c_j_sb'" v-if="ishshow">
|
||||||
<view class="bg-img">
|
<view class="bg-img">
|
||||||
<img :src="bgColor" alt="">
|
<img :src="bgColor" alt="">
|
||||||
@ -476,7 +482,9 @@ this.editFlag = false;
|
|||||||
/* #ifdef H5 */
|
/* #ifdef H5 */
|
||||||
padding-top: 25rpx;
|
padding-top: 25rpx;
|
||||||
/* #endif */
|
/* #endif */
|
||||||
|
// background-color: #e5e5e5;
|
||||||
|
background: url('@/static/images/bg2.png') no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
padding-right: 20rpx;
|
padding-right: 20rpx;
|
||||||
|
|
||||||
// 位置
|
// 位置
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<image src="@/static/images/zk.png" mode=""></image>
|
<image src="@/static/images/zk.png" mode=""></image>
|
||||||
</view> -->
|
</view> -->
|
||||||
|
|
||||||
<view class="" style="width: 650rpx;">
|
<view class="" style="width: 670rpx;">
|
||||||
<u-tabs :list="tabsData.list" @click="tabsChange" itemStyle=" height: 33px;" lineColor="#F84221"
|
<u-tabs :list="tabsData.list" @click="tabsChange" itemStyle=" height: 33px;" lineColor="#F84221"
|
||||||
:current="current" keyName="cate_name" :activeStyle="activeStyle"></u-tabs>
|
:current="current" keyName="cate_name" :activeStyle="activeStyle"></u-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -603,7 +603,7 @@
|
|||||||
}, ...data]
|
}, ...data]
|
||||||
},
|
},
|
||||||
tabsChange(item) {
|
tabsChange(item) {
|
||||||
console.log(item)
|
|
||||||
this.productList = []
|
this.productList = []
|
||||||
this.where.category_id = item.category_id
|
this.where.category_id = item.category_id
|
||||||
this.emptyShow = false
|
this.emptyShow = false
|
||||||
@ -965,6 +965,7 @@
|
|||||||
|
|
||||||
.tabs_wrapper {
|
.tabs_wrapper {
|
||||||
width: 720rpx;
|
width: 720rpx;
|
||||||
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 21.05rpx;
|
margin-bottom: 21.05rpx;
|
||||||
// margin-left: -20rpx;
|
// margin-left: -20rpx;
|
||||||
@ -972,18 +973,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabs_wrapper-img {
|
.tabs_wrapper-img {
|
||||||
width: 70rpx;
|
width: 40rpx;
|
||||||
height: 70rpx;
|
height: 60rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 888;
|
z-index: 888;
|
||||||
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
right: 0;
|
right: 0rpx;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 40rpx;
|
width: 40rpx;
|
||||||
height: 40rpx;
|
height: 40rpx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -308,7 +308,7 @@
|
|||||||
this.backColor = 0.5
|
this.backColor = 0.5
|
||||||
this.isFshow = true
|
this.isFshow = true
|
||||||
} else if (scrollTop > 100) {
|
} else if (scrollTop > 100) {
|
||||||
this.backColor = 0.5
|
this.backColor = 1
|
||||||
this.isFshow = true
|
this.isFshow = true
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user