修改底部股东按钮的样式问题

This commit is contained in:
TOP糯米 2023-04-01 16:09:09 +08:00
parent d7000680e6
commit 65a6755112
4 changed files with 9 additions and 6 deletions

View File

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

View File

@ -113,7 +113,7 @@
</view> </view>
</block> </block>
</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"> <view class="service" @click="showService = true">
<text class="iconfont icon-kefu"></text> <text class="iconfont icon-kefu"></text>
<text class="text">客服</text> <text class="text">客服</text>

View File

@ -54,7 +54,7 @@
</swiper> </swiper>
</view> </view>
</view> </view>
<view class="common-bottom-components"> <view class="common-bottom-components" :style="{ paddingBottom: pageConfig.safeAreaInsets.bottom + 'px' }">
<view class="setting-btn" @click="setting"> <view class="setting-btn" @click="setting">
<text class="iconfont icon-shezhi"></text> <text class="iconfont icon-shezhi"></text>
<text class="text">接单设置</text> <text class="text">接单设置</text>
@ -80,6 +80,7 @@ export default {
data() { data() {
return { return {
utils: this.$utils, utils: this.$utils,
pageConfig: {},
showPriceModal: false, showPriceModal: false,
safePt: 0, safePt: 0,
tabIndex: 0, tabIndex: 0,
@ -122,7 +123,9 @@ export default {
getTabIndex: (state) => state.system.getTabIndex, getTabIndex: (state) => state.system.getTabIndex,
}), }),
}, },
onLoad() {}, onLoad() {
this.pageConfig = getApp().globalData.pageConfig;
},
onShow() { onShow() {
if (this.getTabIndex != this.tabIndex) { if (this.getTabIndex != this.tabIndex) {
this.tabIndex = this.getTabIndex; this.tabIndex = this.getTabIndex;

View File

@ -112,7 +112,7 @@
<text class="price-box">¥ {{ utils.formatNumber(order.price, 2) }}</text> <text class="price-box">¥ {{ utils.formatNumber(order.price, 2) }}</text>
</view> </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"> <view class="service" @click="showService = true">
<text class="iconfont icon-kefu"></text> <text class="iconfont icon-kefu"></text>
<text class="text">客服</text> <text class="text">客服</text>