From bc86fcb3df327d5c449f3e0e98b489845f480c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com> Date: Sat, 25 Feb 2023 18:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8F=96=E5=85=AC=E5=85=B1=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 16 ++++++++++++++++ src/pages/address/address.vue | 13 ------------- src/pages/demand/demand.vue | 17 ++--------------- src/pages/order/create.vue | 14 -------------- src/pages/service/detail.vue | 14 -------------- src/pages/service/list.vue | 13 ------------- 6 files changed, 18 insertions(+), 69 deletions(-) diff --git a/src/App.vue b/src/App.vue index 03ff1c5..5a1eb59 100644 --- a/src/App.vue +++ b/src/App.vue @@ -45,6 +45,22 @@ export default { } /* #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 { color: #bebebe; } diff --git a/src/pages/address/address.vue b/src/pages/address/address.vue index 297f018..fb39def 100644 --- a/src/pages/address/address.vue +++ b/src/pages/address/address.vue @@ -212,19 +212,6 @@ export default { } } .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 { width: 310rpx; height: 76rpx; diff --git a/src/pages/demand/demand.vue b/src/pages/demand/demand.vue index cad690b..944db57 100644 --- a/src/pages/demand/demand.vue +++ b/src/pages/demand/demand.vue @@ -417,7 +417,8 @@ export default { .textarea-box { border: none; .textarea { - height: 190rpx; + display: inline-block; + min-height: 190rpx; padding: 0; font-size: 26rpx; color: #666666; @@ -441,20 +442,6 @@ export default { width: 710rpx; margin: 0 auto; .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 { font-size: 40rpx; font-weight: bold; diff --git a/src/pages/order/create.vue b/src/pages/order/create.vue index e589251..ba5b755 100644 --- a/src/pages/order/create.vue +++ b/src/pages/order/create.vue @@ -188,20 +188,6 @@ export default { padding: 0 40rpx 40rpx 40rpx; } .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 { font-size: 42rpx; font-weight: bold; diff --git a/src/pages/service/detail.vue b/src/pages/service/detail.vue index 3b21c5b..2b7d3ce 100644 --- a/src/pages/service/detail.vue +++ b/src/pages/service/detail.vue @@ -265,20 +265,6 @@ export default { } } .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 { .text { font-size: 42rpx; diff --git a/src/pages/service/list.vue b/src/pages/service/list.vue index 996499c..ac7f68a 100644 --- a/src/pages/service/list.vue +++ b/src/pages/service/list.vue @@ -116,20 +116,7 @@ export default { <style lang="less" scoped> .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; - margin: 0 auto; .cart { position: relative; width: 95rpx;