Card 卡片

简要描述

Card
primary
Card
success
Card
warning
Card
danger
Card
info
Card
Code 代码
<template>
  <agm-card v-for="(type, i) in types" :key="i" :type="type">
    <template #header>
      {{ type }}
    </template>
    Card
  </agm-card>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { AgmTypeMap } from '@augma/shared'
import AgmCard from './src/index.vue'

const types = ref(AgmTypeMap)
</script>

API

参数说明类型可选值默认值
type类型string--