|
@@ -48,8 +48,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- <view class="bgc-f sticky-nav" :style="{ height: navBgType?`calc(100vh - ${newNavHeight}rpx - ${48}rpx)`:'auto'}"> -->
|
|
<!-- <view class="bgc-f sticky-nav" :style="{ height: navBgType?`calc(100vh - ${newNavHeight}rpx - ${48}rpx)`:'auto'}"> -->
|
|
|
- <view class="bgc-f">
|
|
|
|
|
- <view class="menu-box box-border-box align-items-flex-start" v-if="shopType === 1">
|
|
|
|
|
|
|
+ <view class="bgc-F7F8FA">
|
|
|
|
|
+ <view class="menu-box box-border-box align-items-flex-start pb-130" v-if="shopType === 1">
|
|
|
|
|
|
|
|
<view class="menu-box-left" :style="{top: newNavHeight + 'rpx'}">
|
|
<view class="menu-box-left" :style="{top: newNavHeight + 'rpx'}">
|
|
|
<view class="menu-box-left-box"
|
|
<view class="menu-box-left-box"
|
|
@@ -63,7 +63,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="menu-box-only">
|
|
|
|
|
|
|
+ <view class="menu-box-only bgc-f">
|
|
|
<view class="" v-for="(item,i) in categoryData" :key="i" :id="'scroll'+ item.type">
|
|
<view class="" v-for="(item,i) in categoryData" :key="i" :id="'scroll'+ item.type">
|
|
|
<view class="fs-28 fw-600 fc-3 sticky-nav bgc-f p-20 box-border-box" :style="{top: newNavHeight + 'rpx'}">
|
|
<view class="fs-28 fw-600 fc-3 sticky-nav bgc-f p-20 box-border-box" :style="{top: newNavHeight + 'rpx'}">
|
|
|
{{item.name}}
|
|
{{item.name}}
|
|
@@ -113,24 +113,22 @@
|
|
|
<ShopInfo style="height: 100%;" :shopId='shop_id' v-else-if="shopType === 2"></ShopInfo>
|
|
<ShopInfo style="height: 100%;" :shopId='shop_id' v-else-if="shopType === 2"></ShopInfo>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <!-- <view v-if="shopType === 1" class="shop-buttom-money box-border-box" @click="openBuyCrad()">
|
|
|
|
|
- <view class="shop-buttom-money-1 flex-justify-space align-items-center">
|
|
|
|
|
- <image src="@/static/img/takeout/buy-icon.png" mode="scaleToFill"></image>
|
|
|
|
|
- <view class="shop-buttom-num fs-24 fc-f text-align-center">{{cartData.total_num}}</view>
|
|
|
|
|
- <view class="">
|
|
|
|
|
- <view class="">
|
|
|
|
|
- <span class="fw-600 fs-24 fc-f">¥</span>
|
|
|
|
|
- <span class="fw-600 fs-44 fc-f">{{cartData.total_price}}</span>
|
|
|
|
|
|
|
+ <view v-if="shopType === 1" class="shop-buttom-money box-border-box" @click="openBuyCrad()">
|
|
|
|
|
+ <view class="shop-buttom-money-1 bgc-f flex-justify-space align-items-center pl-24 box-border-box pr-8">
|
|
|
|
|
+ <view class="align-items-center">
|
|
|
|
|
+ <image class="gwc-img mr-36" src="@/static/img/order-food/gwc-img.png" mode="scaleToFill"></image>
|
|
|
|
|
+ <view class="shop-buttom-num bgc-FE6B2C fs-24 fc-f text-align-center">{{cartData.total_num}}</view>
|
|
|
|
|
+ <view class="align-items-baseline">
|
|
|
|
|
+ <view class="fw-600 fs-28 fc-3 mr-4">¥</view>
|
|
|
|
|
+ <view class="fw-600 fs-48 fc-3">{{cartData.total_price}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="fs-24 fc-ADADAD" v-if="delivery_money<=0">免配送</view>
|
|
|
|
|
- <view class="fs-24 fc-f" v-else>配送费¥{{delivery_money}}</view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-if="cartData.is_place_order===1" class="shop-buttom-money-2 text-align-center fc-f fs-32 fw-600"
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view class="shop-buttom-money-2 text-align-center fc-f fs-32 fw-600 b-rad-200"
|
|
|
@click.stop="toConfirmOrder()">去结算
|
|
@click.stop="toConfirmOrder()">去结算
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-else class="err-msg fs-32 fw-600 fc-f mr-30" @click.stop="mustBut">{{cartData.err_msg}}</view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- </view> -->
|
|
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -531,7 +529,7 @@
|
|
|
if (this.shopType == 1) {
|
|
if (this.shopType == 1) {
|
|
|
this.shopTypeBsLeft = 12
|
|
this.shopTypeBsLeft = 12
|
|
|
} else if (this.shopType == 2) {
|
|
} else if (this.shopType == 2) {
|
|
|
- this.shopTypeBsLeft = 166
|
|
|
|
|
|
|
+ this.shopTypeBsLeft = 150
|
|
|
} else {
|
|
} else {
|
|
|
this.shopTypeBsLeft = 160 * 2
|
|
this.shopTypeBsLeft = 160 * 2
|
|
|
}
|
|
}
|
|
@@ -759,9 +757,13 @@
|
|
|
|
|
|
|
|
.shop-buttom-money {
|
|
.shop-buttom-money {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 140rpx;
|
|
|
|
|
|
|
+ // height: 140rpx;
|
|
|
background: rgba(255, 255, 255, 0.8);
|
|
background: rgba(255, 255, 255, 0.8);
|
|
|
- padding: 20rpx 24rpx;
|
|
|
|
|
|
|
+ padding-left: 24rpx;
|
|
|
|
|
+ padding-right: 24rpx;
|
|
|
|
|
+ padding-bottom: calc(env(safe-area-inset-bottom) + 12rpx);
|
|
|
|
|
+ padding-top: 22rpx;
|
|
|
|
|
+ // padding: 20rpx 24rpx;
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
bottom: 0;
|
|
bottom: 0;
|
|
@@ -772,19 +774,18 @@
|
|
|
width: 32rpx;
|
|
width: 32rpx;
|
|
|
height: 32rpx;
|
|
height: 32rpx;
|
|
|
line-height: 32rpx;
|
|
line-height: 32rpx;
|
|
|
- background: #FB3D03;
|
|
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 36rpx;
|
|
|
|
|
- left: 82rpx;
|
|
|
|
|
|
|
+ top: 0rpx;
|
|
|
|
|
+ left: 85rpx;
|
|
|
|
|
+ border: 1rpx solid #FFFFFF;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.shop-buttom-money-2 {
|
|
.shop-buttom-money-2 {
|
|
|
width: 200rpx;
|
|
width: 200rpx;
|
|
|
- height: 100rpx;
|
|
|
|
|
- line-height: 100rpx;
|
|
|
|
|
- background: #41ABF5;
|
|
|
|
|
- border-radius: 0rpx 200rpx 200rpx 0rpx;
|
|
|
|
|
|
|
+ height: 80rpx;
|
|
|
|
|
+ line-height: 80rpx;
|
|
|
|
|
+ background: linear-gradient(270deg, #FF3333 0%, #FE6122 100%);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.info-box-top {}
|
|
.info-box-top {}
|
|
@@ -835,21 +836,13 @@
|
|
|
|
|
|
|
|
.shop-buttom-money-1 {
|
|
.shop-buttom-money-1 {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
|
|
- background: #333333;
|
|
|
|
|
- border-radius: 200rpx;
|
|
|
|
|
- box-sizing: border-box;
|
|
|
|
|
- padding-left: 136rpx;
|
|
|
|
|
- // padding-right: 32rpx;
|
|
|
|
|
|
|
+ height: 96rpx;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- image {
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- bottom: 0;
|
|
|
|
|
- left: 8rpx;
|
|
|
|
|
- width: 128rpx;
|
|
|
|
|
- height: 128rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .gwc-img {
|
|
|
|
|
+ width: 88rpx;
|
|
|
|
|
+ height: 88rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.head-box {
|
|
.head-box {
|