<template>
  <view class="ss-card" @click="$emit('click')">
    <slot></slot>
  </view>
</template>

<script setup>
// 组件只需要提供基础样式，内容通过slot传入
</script>

<style lang="scss" scoped>
.ss-card {
  background: #FFFFFF;
  border-radius: 8rpx;
  overflow: hidden;
  padding: 25rpx;
  border: 1px solid #d9d9d9;
  margin-bottom: 30rpx;
  box-shadow: 2rpx 6rpx 6rpx rgba(4, 0, 0, 0.15);
  box-sizing: border-box;
}
</style>
