Html 基础元素

覆盖 HTML 元素样式


表格类型测试
primaryprimaryprimary
successsuccesssuccess
warningwarningwarning
dangerdangerdanger
infoinfoinfo
Code 代码
<template>
  <div class="dark-bg">
    <hr class="agm-hr">
  </div>

  <table class="agm-table">
    <thead>
      <tr>
        <td>表格</td>
        <td>类型</td>
        <td>测试</td>
      </tr>
    </thead>
    <tbody>
      <tr v-for="(type, i) in AgmTypeArray" :key="i">
        <td>
          {{ type }}
        </td>
        <td>
          {{ type }}
        </td>
        <td>
          {{ type }}
        </td>
      </tr>
    </tbody>
  </table>
</template>

<script lang="ts" setup>
import { AgmTypeArray } from '@augma/shared'
import './index.scss'
</script>

<style lang="scss">
.dark-bg {
  background: gray;
  padding: 1rem;
}
</style>

API