From e695ab97b46b6cfd984a8234bdc9de950b82e2ec Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期五, 29 七月 2022 11:59:20 +0800
Subject: [PATCH] '首页添加日发运计划'

---
 components/common/combination-card/combination-card.vue |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/components/common/combination-card/combination-card.vue b/components/common/combination-card/combination-card.vue
index 0a8d76f..7c167d4 100644
--- a/components/common/combination-card/combination-card.vue
+++ b/components/common/combination-card/combination-card.vue
@@ -2,7 +2,7 @@
 	<!-- 缁勫悎鍗$墖 -->
 	<view class="combination-card">
 		<view class="combination-card_wrapper">
-			<view class="combination-card_top" v-show="showTop">
+			<view class="combination-card_top" v-if="showTop">
 				<view class="combination-card_top__content">
 					<slot name="top"></slot>
 				</view>
@@ -10,7 +10,7 @@
 			<view class="combination-card_content">
 				<slot name="center"></slot>
 			</view>
-			<view class="combination-card_bottom" v-show="showBottom">
+			<view class="combination-card_bottom" v-if="showTop">
 				<slot name="bottom" a="$slots.name"></slot>
 			</view>
 		</view>
@@ -21,10 +21,6 @@
 export default {
 	props: {
 		showTop: {
-			type: Boolean,
-			default: true
-		},
-		showBottom: {
 			type: Boolean,
 			default: true
 		}

--
Gitblit v1.9.1