hjyd的手机端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.2 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="headline_container">
  3. <h2 class="title_h2">
  4. <span class="theme">{{ themeTitle }}</span
  5. >{{ title }}
  6. </h2>
  7. <p class="line1" v-if="line1">{{ line1 }}</p>
  8. <p class="line2" v-if="line2">{{ line2 }}</p>
  9. </div>
  10. </template>
  11. <script setup>
  12. const props = defineProps({
  13. themeTitle: {
  14. type: String,
  15. default: '',
  16. },
  17. title: {
  18. type: String,
  19. },
  20. line1: {
  21. type: String,
  22. },
  23. line2: {
  24. type: String,
  25. },
  26. })
  27. </script>
  28. <style lang="scss" scoped>
  29. .headline_container {
  30. display: flex;
  31. flex-direction: column;
  32. align-items: center;
  33. padding: 36px 0;
  34. box-sizing: border-box;
  35. .title_h2 {
  36. font-size: 11px;
  37. font-family: Source Han Sans CN;
  38. font-weight: 500;
  39. color: #191919;
  40. margin-bottom: 10px;
  41. display: flex;
  42. align-items: center;
  43. }
  44. .theme {
  45. color: #f94622;
  46. }
  47. .line1 {
  48. font-size: 7px;
  49. font-family: Source Han Sans CN;
  50. font-weight: 300;
  51. color: #595959;
  52. line-height: 16px;
  53. text-align: center;
  54. }
  55. .line2 {
  56. font-size: 7px;
  57. font-family: Alibaba PuHuiTi;
  58. font-weight: 300;
  59. color: #595959;
  60. text-align: center;
  61. line-height: 9px;
  62. margin-top: 4px;
  63. }
  64. }
  65. </style>