From fc9cb7249e0c3159c24da6f58ae857f05486aac6 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Mon, 23 Oct 2023 22:55:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/detail.scss | 13 +++---------- pages/goods/detail.vue | 7 ++----- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/pages/goods/detail.scss b/pages/goods/detail.scss index fde2606..1366465 100644 --- a/pages/goods/detail.scss +++ b/pages/goods/detail.scss @@ -1,9 +1,11 @@ .container { + min-height: 100vh; + background-color: #e7e7e7; // 设置ios刘海屏底部横线安全区域 // 110 - 18 + 4 padding-bottom: calc(constant(safe-area-inset-bottom) + 106rpx + 6rpx); padding-bottom: calc(env(safe-area-inset-bottom) + 106rpx + 6rpx); - min-height: 100vh; + } // 商品信息 @@ -216,13 +218,4 @@ align-items: center; } - // 立即购买按钮 - .btn-item-main { - background: linear-gradient(to right, #f9211c, #ff6335); - } - - // 购物车按钮 - .btn-item-deputy { - background: linear-gradient(to right, #ffa600, #ffbb00); - } } \ No newline at end of file diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 4b20c6c..944eaf0 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -47,8 +47,6 @@ - - @@ -82,15 +80,14 @@ import SlideImage from './components/SlideImage' import SkuPopup from './components/SkuPopup' import Comment from './components/Comment' - import Service from './components/Service' + export default { components: { // Shortcut, SlideImage, SkuPopup, - Comment, - Service + Comment }, data() { return {