From aed92764432d9b8b2ff5bfec170d7d73414603a5 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:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BF=9D=E9=99=A9=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=8F=AF=E9=80=89=E5=B1=95=E7=A4=BAswitch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/service/insurance.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/service/insurance.vue b/src/components/service/insurance.vue index 41b06e9..efbbdb7 100644 --- a/src/components/service/insurance.vue +++ b/src/components/service/insurance.vue @@ -9,7 +9,7 @@ ¥ 6.00 - + @@ -29,6 +29,10 @@ export default { WidgetSwitch, }, props: { + showSwitch: { + type: Boolean, + default: true, + }, insurance: { type: Boolean, default: false, @@ -94,7 +98,9 @@ export default { .price { font-size: 30rpx; color: #ec7655; - margin-right: 38rpx; + } + .switch { + margin-left: 38rpx; } } }