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

19
dev/Image.vue Normal file
View File

@ -0,0 +1,19 @@
<!--
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-07-10 14:39:45
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-07-10 18:34:50
* @FilePath: \uni\dev\image.vue
* @Description:
*
-->
<template>
<img :src="src" :alt="alt">
</template>
<script setup lang="ts" name="Image">
defineProps<{
alt?: string
src?: string
}>()
</script>

8
dev/Text.vue Normal file
View File

@ -0,0 +1,8 @@
<template>
<span>
<slot />
</span>
</template>
<script setup lang="ts" name="Span">
</script>

17
dev/View.vue Normal file
View File

@ -0,0 +1,17 @@
<!--
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-07-10 17:23:35
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-07-10 18:34:34
* @FilePath: \uni\dev\v iew.vue
* @Description:
*
-->
<template>
<div>
<slot />
</div>
</template>
<script setup lang="ts" name="View">
</script>