修改页面底部固定按钮位置

This commit is contained in:
TOP糯米 2023-04-01 15:18:42 +08:00
parent 4173ba1ec2
commit b2277dd1c3
8 changed files with 9 additions and 9 deletions

View File

@ -159,10 +159,10 @@ export default {
right: 0;
bottom: 0;
max-width: 750px;
width: 100%;
// width: 100%;
height: 100rpx;
margin: 0 auto;
box-sizing: border-box;
// box-sizing: border-box;
padding: 0 40rpx;
display: flex;
align-items: center;

View File

@ -25,7 +25,7 @@
</view>
</view>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="btn get-wechat-address" @click="getWechatAddress">
<text class="text">获取微信收货地址</text>
</view>

View File

@ -169,7 +169,7 @@
/>
</view>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<text class="price">¥ {{ utils.formatNumber(total, 2) }}</text>
<view class="btn" @click="submit">
<div class="text">立即发布</div>

View File

@ -56,7 +56,7 @@
/>
</view>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<text class="price">¥ {{ utils.formatNumber(total) }}</text>
<view class="pay" @click="pay">
<div class="text">去支付</div>

View File

@ -158,7 +158,7 @@
</view>
</view>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="service" @click="showService = true">
<text class="iconfont icon-kefu"></text>
<text class="text">客服</text>

View File

@ -45,7 +45,7 @@
</view>
</div>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="price">
<text class="text">¥{{ detail.price }}</text>
</view>

View File

@ -10,7 +10,7 @@
:activeId="currentId"
/>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="cart" @click="utils.toPage('/pages/service/cart')">
<view class="cart-icon">
<text class="iconfont icon-gouwuche"></text>

View File

@ -88,7 +88,7 @@
</view>
</view>
</view>
<view class="common-bottom-components" :style="{ bottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<text class="price">¥ {{ utils.formatNumber(total) }}</text>
<view class="btn" @click="submit">
<div class="text">立即支付</div>