修改样式名称

This commit is contained in:
TOP糯米 2023-02-14 14:29:59 +08:00
parent f76987a18e
commit d81ed47f28
3 changed files with 6 additions and 6 deletions

View File

@ -74,7 +74,7 @@
</view> </view>
</view> </view>
<view <view
class="pay-component" class="bottom-components"
:style="{ bottom: config.safeAreaInsets.bottom + 'px' }" :style="{ bottom: config.safeAreaInsets.bottom + 'px' }"
> >
<text class="price">¥306.00</text> <text class="price">¥306.00</text>
@ -314,7 +314,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
padding: 0 40rpx 40rpx 40rpx; padding: 0 40rpx 40rpx 40rpx;
} }
.pay-component { .bottom-components {
position: fixed; position: fixed;
left: 0; left: 0;
right: 0; right: 0;

View File

@ -89,7 +89,7 @@
</swiper-item> </swiper-item>
</swiper> </swiper>
<view <view
class="service-buy-box" class="bottom-components"
v-if="tabIndex == 0" v-if="tabIndex == 0"
:style="{ bottom: config.safeAreaInsets.bottom + 'px' }" :style="{ bottom: config.safeAreaInsets.bottom + 'px' }"
> >
@ -295,7 +295,7 @@ export default {
padding: 45rpx 0; padding: 45rpx 0;
} }
} }
.service-buy-box { .bottom-components {
position: fixed; position: fixed;
max-width: 750px; max-width: 750px;
width: 100%; width: 100%;

View File

@ -15,7 +15,7 @@
/> />
</view> </view>
<view <view
class="buy-components" class="bottom-components"
:style="{ bottom: config.safeAreaInsets.bottom + 'px' }" :style="{ bottom: config.safeAreaInsets.bottom + 'px' }"
> >
<view class="cart"> <view class="cart">
@ -132,7 +132,7 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.buy-components { .bottom-components {
position: fixed; position: fixed;
right: 0; right: 0;
bottom: 0; bottom: 0;