warningDetail.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <template>
  2. <div class="warning-detail">
  3. <custom-header name="查看详情"></custom-header>
  4. <div class="article-content">
  5. <div class="article-header">
  6. <div class="title">海南**月即将迎来**物候期及近期管理建议</div>
  7. <div class="author-info">
  8. <el-avatar :size="16" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" />
  9. <span class="author-name">飞鸟管家 2024.11.01</span>
  10. </div>
  11. </div>
  12. <div class="article-image">
  13. <img src="@/assets/img/home/banner.png" alt="荔枝开花图片" />
  14. </div>
  15. <div class="article-text">
  16. <p class="intro-text">
  17. 根据**{地区}近期气象数据与果园监测,您的荔枝园即将进入{具体物候期,如"盛花期"}(预计{时间范围,
  18. 如"3月15-20日"**)。请及时做好以下管理:
  19. </p>
  20. <ul class="management-list">
  21. <li>疏花控穗:若花量过大(每穗超150朵),建议剪除基部弱花,保留中部健壮花穗。</li>
  22. <li>疏花控穗:若花量过大(每穗超150朵),建议剪除基部弱花,保留中部健壮花穗。</li>
  23. <li>疏花控穗:若花量过大(每穗超150朵),建议剪除基部弱花,保留中部健壮花穗。</li>
  24. </ul>
  25. </div>
  26. </div>
  27. </div>
  28. </template>
  29. <script setup>
  30. import customHeader from "@/components/customHeader.vue";
  31. import { ref } from "vue";
  32. </script>
  33. <style scoped lang="scss">
  34. .warning-detail {
  35. position: relative;
  36. width: 100%;
  37. height: 100vh;
  38. .article-content {
  39. padding: 8px 16px;
  40. .article-header {
  41. .title {
  42. font-size: 18px;
  43. font-weight: bold;
  44. margin-bottom: 6px;
  45. text-align: left;
  46. }
  47. .author-info {
  48. display: flex;
  49. align-items: center;
  50. padding-bottom: 12px;
  51. border-bottom: 1px solid #f5f5f5;
  52. .author-name {
  53. font-size: 14px;
  54. color: #666;
  55. font-weight: normal;
  56. }
  57. }
  58. }
  59. .article-image {
  60. width: 100%;
  61. margin: 12px 0 20px 0;
  62. img {
  63. width: 100%;
  64. height: 175px;
  65. border-radius: 5px;
  66. }
  67. }
  68. .article-text {
  69. .intro-text {
  70. color: #252525;
  71. margin-bottom: 10px;
  72. }
  73. .management-list {
  74. list-style: none;
  75. padding: 0;
  76. margin: 0;
  77. li {
  78. position: relative;
  79. color: #252525;
  80. margin-bottom: 10px;
  81. padding-left: 16px;
  82. &::before {
  83. content: "";
  84. position: absolute;
  85. left: 0;
  86. top: 8px;
  87. width: 6px;
  88. height: 6px;
  89. background-color: #333333;
  90. border-radius: 50%;
  91. }
  92. &:last-child {
  93. margin-bottom: 0;
  94. }
  95. }
  96. }
  97. }
  98. }
  99. }
  100. </style>