源文件

This commit is contained in:
gyq
2024-05-23 14:39:33 +08:00
commit a1128dd791
2997 changed files with 500069 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<template>
<view class="card-wrapper" :style="{ padding: wrapPd }" @tap="emits('click')">
<view class="card-main bdR20" :style="{ backgroundColor: bgColor, padding: pd }">
<slot />
</view>
</view>
</template>
<script setup>
const emits = defineEmits(['click'])
const props = defineProps({
bgColor: {
type: String,
default: "#fff",
},
pd: {
type: String,
default: "50rpx",
},
wrapPd: {
type: String,
default: "50rpx",
},
})
</script>
<style scoped>
.card-main {
overflow: hidden;
}
</style>