feat: 卡片等组件

This commit is contained in:
2023-07-10 19:26:19 +08:00
parent ec2f619775
commit d1e7778644
28 changed files with 1108 additions and 12 deletions

View File

@ -0,0 +1,21 @@
<!--
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-07-10 14:39:45
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-07-10 17:25:59
* @FilePath: \uni\packages\card-title\index.vue
* @Description:
*
-->
<template>
<View fs-30 font-500 leh-42 mx-24rpx mt-24rpx mb-12rpx color="#3A3A3A">
<slot>{{ title }}</slot>
</View>
</template>
<script lang="ts" setup name="CardTitle">
defineProps<{
/** 标题,支持插槽 */
title?: string
}>()
</script>