|
|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<view class="page1" :class="{'is-sticky': lastScrollTop>583}"> |
|
|
|
<view class="page1"> |
|
|
|
<view class="swiper-container"> |
|
|
|
<view class="swiper-page" v-if="currentIndex == 0"> |
|
|
|
<view style="position: relative;height: 545rpx;"> |
|
|
|
@ -31,7 +31,7 @@ |
|
|
|
<view class="order-msg-box"> |
|
|
|
<view class="order-msg-left"> |
|
|
|
<img src="/static/images/img/songshu.png" |
|
|
|
alt="" /> |
|
|
|
alt="" style="width: 70%;height: 70%;margin: 15% 0 0 15%;" /> |
|
|
|
</view> |
|
|
|
<view class="order-msg-center"> |
|
|
|
<view |
|
|
|
@ -228,9 +228,9 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="daimai-box" style="padding-bottom:180rpx;"> |
|
|
|
|
|
|
|
<view style="width:100%;height:100rpx;" v-if="lastScrollTop>583"></view> |
|
|
|
<view class="daimai-tab" id="menuList" :class="{'daimai-tab--sticky': lastScrollTop>583}" |
|
|
|
:style="daimaiTabStyle"> |
|
|
|
:style="{'top': (navBarHeight+46) + 'px'}"> |
|
|
|
<view class="daimai-tab-item" :class="{'active': checked == 'waimai'}" |
|
|
|
@tap="checkTab1('waimai')"> |
|
|
|
<view class="daimai-tab-glow"></view> |
|
|
|
@ -269,7 +269,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="title-sort" v-if="(lastScrollTop>300 || getAreaData.id != undefined || putAreaData.id != undefined || checkYongjin)" :class="{'title-sort--sticky': lastScrollTop>583}" |
|
|
|
:style="titleSortStyle"> |
|
|
|
:style="{'top': (navBarHeight+90) + 'px'}"> |
|
|
|
<view class="sort-member" style="position: relative;"> |
|
|
|
<view @tap="checkAdd"> |
|
|
|
取餐地址 <text style="font-size: 20rpx;">▼</text> |
|
|
|
@ -295,7 +295,7 @@ |
|
|
|
</view> |
|
|
|
<view class="sort-text" |
|
|
|
v-if="getAreaData.id != undefined || putAreaData.id != undefined || checkYongjin" |
|
|
|
:style="sortTextStyle"> |
|
|
|
:style="{'top': (navBarHeight+140) + 'px'}"> |
|
|
|
<view class="sort-text-inner"> |
|
|
|
<view @tap="searchOrder('delgetarea')" class="guize1-qusong" |
|
|
|
v-if="getAreaData.id != undefined"> |
|
|
|
@ -730,17 +730,6 @@ |
|
|
|
postList, |
|
|
|
myCenter |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
daimaiTabStyle() { |
|
|
|
return { top: (this.navBarHeight + 46) + 'px' }; |
|
|
|
}, |
|
|
|
titleSortStyle() { |
|
|
|
return { top: (this.navBarHeight + 90) + 'px' }; |
|
|
|
}, |
|
|
|
sortTextStyle() { |
|
|
|
return { top: (this.navBarHeight + 140) + 'px' }; |
|
|
|
} |
|
|
|
}, |
|
|
|
filters: { |
|
|
|
formatHourMinute(value) { |
|
|
|
if (!value) return ''; |
|
|
|
|