systemJc.vue 955 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <div class="systemJc">
  3. <div class="systemJc-box" v-for="(item, index) in systemJcList" :key="index">
  4. <div class="system-label">{{ item.label }}</div>
  5. </div>
  6. </div>
  7. </template>
  8. <script setup lang="ts">
  9. import { ref, reactive } from 'vue';
  10. let systemJcList = reactive([{ label: '智能灌浆系统' }, { label: '智能注氮系统' }]);
  11. </script>
  12. <style lang="less" scoped>
  13. .systemJc {
  14. display: flex;
  15. position: relative;
  16. align-items: center;
  17. justify-content: space-around;
  18. width: 100%;
  19. height: 100%;
  20. .systemJc-box {
  21. position: relative;
  22. width: 222px;
  23. height: 100%;
  24. background: url('../../../../../assets/images/fire/firehome/zu-14578.png') no-repeat center;
  25. background-size: 100% 100%;
  26. .system-label {
  27. position: absolute;
  28. top: 8px;
  29. left: 50%;
  30. transform: translate(-50%, 0);
  31. color: #fff;
  32. }
  33. }
  34. }
  35. </style>