List.vue 467 B

123456789101112131415161718192021222324
  1. <template>
  2. <div>
  3. <h2>业务列表</h2>
  4. <table class="demo-table">
  5. <thead>
  6. <tr>
  7. <th>编号</th>
  8. <th>名称</th>
  9. <th>状态</th>
  10. </tr>
  11. </thead>
  12. <tbody>
  13. <tr v-for="i in 5" :key="i">
  14. <td>{{ i }}</td>
  15. <td>示例业务 {{ i }}</td>
  16. <td><span class="ok">启用</span></td>
  17. </tr>
  18. </tbody>
  19. </table>
  20. </div>
  21. </template>
  22. <script setup>
  23. </script>