generated from thzxcx/vue3
feat: 卡片等组件
This commit is contained in:
19
dev/Image.vue
Normal file
19
dev/Image.vue
Normal 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
8
dev/Text.vue
Normal file
@ -0,0 +1,8 @@
|
||||
<template>
|
||||
<span>
|
||||
<slot />
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="Span">
|
||||
</script>
|
17
dev/View.vue
Normal file
17
dev/View.vue
Normal 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>
|
Reference in New Issue
Block a user