tianyi 4 weeks ago
parent
commit
0920a44598
  1. 10
      pages/index/index.vue

10
pages/index/index.vue

@ -3,7 +3,7 @@
<view class="swiper-container">
<view class="swiper-page" v-if="currentIndex == 0">
<view style="position: relative;height: 545rpx;">
<view style="width:100%;height: 180rpx;position: fixed;top: 0;background: #fff;z-index: 90;"
<view style="width:100%;height: 260rpx;position: fixed;top: 0;background: url('https://jewel-shop.oss-cn-beijing.aliyuncs.com/8bc15960c2dc40268e295d6dd23aecce.png') no-repeat;z-index: 90;"
v-if="lastScrollTop>583"></view>
<view style="position: absolute;top: 110rpx;left: 20rpx;z-index: 999;">
<view @click="checkArea" v-if="areaName == ''">
@ -261,8 +261,8 @@
</view>
</view>
</view>
<view class="title-sort" :class="{'title-sort--sticky': lastScrollTop>583}"
:style="{'top': (navBarHeight+94) + 'px'}">
<view class="title-sort" v-if="lastScrollTop>583" :class="{'title-sort--sticky': lastScrollTop>583}"
:style="{'top': (navBarHeight+90) + 'px'}">
<view class="sort-member" style="position: relative;">
<view @tap="checkAdd">
取餐地址 <text style="font-size: 20rpx;"></text>
@ -1629,6 +1629,8 @@
z-index: 96;
border-radius: 34rpx;
background: rgba(255, 255, 255, 0.62);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.daimai-tab--sticky {
@ -2317,7 +2319,7 @@
position: sticky;
top: 0;
z-index: 95;
background: rgba(255, 255, 255, 0.96);
background: rgba(255, 255, 255, 1);
padding: 20rpx 10rpx 0;
box-sizing: border-box;
box-shadow: 0 12rpx 26rpx rgba(0, 35, 28, 0.05);

Loading…
Cancel
Save