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; } } }