title.vue 802 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <div class="product-service-frame">
  3. <div class="service-indicator"></div>
  4. <span class="service-text"> {{ title }} </span>
  5. </div>
  6. </template>
  7. <script setup>
  8. defineProps({
  9. title: {
  10. type: String,
  11. default: ''
  12. }
  13. });
  14. </script>
  15. <style scoped lang="scss">
  16. .product-service-frame {
  17. display: flex;
  18. flex-direction: row;
  19. justify-content: flex-start;
  20. align-items: center;
  21. gap: 8px;
  22. font-size: 16px;
  23. font-family: 'Source Han Sans';
  24. font-weight: 700;
  25. line-height: 23px;
  26. color: var(--N8---, #1b1b1b);
  27. white-space: pre;
  28. position: relative;
  29. width: 100%;
  30. height: auto;
  31. min-height: 100%;
  32. padding: 16px 0;
  33. }
  34. .service-indicator {
  35. width: 3px;
  36. height: 14px;
  37. flex-shrink: 0;
  38. background-color: #3a74f2;
  39. }
  40. .service-text {
  41. flex-shrink: 0;
  42. }
  43. </style>