From 94503c7382778632731b36cf6ad47f7552e4ccf9 Mon Sep 17 00:00:00 2001
From: xuefei <564615061@qq.cm>
Date: 星期六, 29 十一月 2025 14:47:07 +0800
Subject: [PATCH] fix:批量通过参数错误
---
components/common/combination-card/combination-card.vue | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/components/common/combination-card/combination-card.vue b/components/common/combination-card/combination-card.vue
index 0a8d76f..df9c187 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
}
@@ -41,10 +37,12 @@
<style lang="scss" scoped>
.combination-card {
- width: 91%;
+ width: 94%;
// height: vww(196);
- border: 1px solid #dddddd;
- margin: 0 auto vww(16) ;
+ border: vww(1) solid #dddddd;
+ border-radius: vww(4);
+ margin: 0 auto vww(16) ;
+ box-shadow: 0 2px 16px #e5e5e5, 0 0 1px #e5e5e5, 0 0 1px #e5e5e5;
.combination-card_wrapper {
font-size:vww(13);
.combination-card_top {
@@ -71,4 +69,4 @@
}
}
}
-</style>
+</style>
--
Gitblit v1.9.1