generated from thzxcx/vue3
feat: 卡片等组件
This commit is contained in:
21
packages/card-title/index.vue
Normal file
21
packages/card-title/index.vue
Normal 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>
|
Reference in New Issue
Block a user