systemJc.vue 988 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([
  11. {label:'智能灌浆系统'},
  12. {label:'智能注氮系统'},
  13. ])
  14. </script>
  15. <style lang="less" scoped>
  16. .systemJc{
  17. position: relative;
  18. width: 100%;
  19. height: 100%;
  20. display: flex;
  21. justify-content: space-around;
  22. align-items: center;
  23. .systemJc-box{
  24. position: relative;
  25. width: 222px;
  26. height: 100%;
  27. background: url('../../../../../assets/images/fire/firehome/zu-14578.png') no-repeat center;
  28. background-size: 100% 100%;
  29. .system-label{
  30. position: absolute;
  31. left: 50%;
  32. top: 8px;
  33. transform: translate(-50%,0);
  34. color: #fff;
  35. }
  36. }
  37. }
  38. </style>