提取公共样式

This commit is contained in:
TOP糯米 2023-02-25 18:28:41 +08:00
parent 75ed561afa
commit bc86fcb3df
6 changed files with 18 additions and 69 deletions

View File

@ -45,6 +45,22 @@ export default {
} }
/* #endif */ /* #endif */
// //
.bottom-components {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-width: 750px;
width: 100%;
height: 100rpx;
margin: 0 auto;
box-sizing: border-box;
padding: 0 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #ffffff;
}
.search-placeholder { .search-placeholder {
color: #bebebe; color: #bebebe;
} }

View File

@ -212,19 +212,6 @@ export default {
} }
} }
.bottom-components { .bottom-components {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-width: 750px;
width: 100%;
height: 100rpx;
margin: 0 auto;
box-sizing: border-box;
padding: 0 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
.btn { .btn {
width: 310rpx; width: 310rpx;
height: 76rpx; height: 76rpx;

View File

@ -417,7 +417,8 @@ export default {
.textarea-box { .textarea-box {
border: none; border: none;
.textarea { .textarea {
height: 190rpx; display: inline-block;
min-height: 190rpx;
padding: 0; padding: 0;
font-size: 26rpx; font-size: 26rpx;
color: #666666; color: #666666;
@ -441,20 +442,6 @@ export default {
width: 710rpx; width: 710rpx;
margin: 0 auto; margin: 0 auto;
.bottom-components { .bottom-components {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-width: 750px;
width: 100%;
height: 100rpx;
margin: 0 auto;
background-color: #ffffff;
box-sizing: border-box;
padding: 0 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
.price { .price {
font-size: 40rpx; font-size: 40rpx;
font-weight: bold; font-weight: bold;

View File

@ -188,20 +188,6 @@ export default {
padding: 0 40rpx 40rpx 40rpx; padding: 0 40rpx 40rpx 40rpx;
} }
.bottom-components { .bottom-components {
position: fixed;
left: 0;
right: 0;
bottom: 0;
max-width: 750px;
width: 100%;
height: 100rpx;
margin: 0 auto;
background-color: #ffffff;
box-sizing: border-box;
padding: 0 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
.price { .price {
font-size: 42rpx; font-size: 42rpx;
font-weight: bold; font-weight: bold;

View File

@ -265,20 +265,6 @@ export default {
} }
} }
.bottom-components { .bottom-components {
position: fixed;
max-width: 750px;
width: 100%;
height: 100rpx;
right: 0;
bottom: 0;
left: 0;
box-sizing: border-box;
padding: 0 40rpx;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #ffffff;
.price { .price {
.text { .text {
font-size: 42rpx; font-size: 42rpx;

View File

@ -116,20 +116,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.bottom-components { .bottom-components {
position: fixed;
right: 0;
bottom: 0;
left: 0;
max-width: 750px;
width: 100%;
height: @tabBarHeight;
background-color: #ffffff;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20rpx 0 50rpx; padding: 0 20rpx 0 50rpx;
margin: 0 auto;
.cart { .cart {
position: relative; position: relative;
width: 95rpx; width: 95rpx;