<template>
    <div class="warning-detail">
        <custom-header name="查看详情"></custom-header>
        <div class="article-content">
            <div class="article-header">
                <div class="title">海南**月即将迎来**物候期及近期管理建议</div>
                <div class="author-info">
                    <el-avatar :size="16" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" />
                    <span class="author-name">飞鸟管家 2024.11.01</span>
                </div>
            </div>

            <div class="article-image">
                <img src="@/assets/img/home/banner.png" alt="荔枝开花图片" />
            </div>

            <div class="article-text">
                <p class="intro-text">
                    根据**{地区}近期气象数据与果园监测，您的荔枝园即将进入{具体物候期,如"盛花期"}(预计{时间范围,
                    如"3月15-20日"**)。请及时做好以下管理:
                </p>

                <ul class="management-list">
                    <li>疏花控穗:若花量过大(每穗超150朵),建议剪除基部弱花,保留中部健壮花穗。</li>
                    <li>疏花控穗:若花量过大(每穗超150朵),建议剪除基部弱花,保留中部健壮花穗。</li>
                    <li>疏花控穗:若花量过大(每穗超150朵),建议剪除基部弱花,保留中部健壮花穗。</li>
                </ul>
            </div>
        </div>
    </div>
</template>

<script setup>
import customHeader from "@/components/customHeader.vue";
import { ref } from "vue";
</script>

<style scoped lang="scss">
.warning-detail {
    position: relative;
    width: 100%;
    height: 100vh;
    .article-content {
        padding: 8px 16px;

        .article-header {
            .title {
                font-size: 18px;
                font-weight: bold;
                margin-bottom: 6px;
                text-align: left;
            }

            .author-info {
                display: flex;
                align-items: center;
                padding-bottom: 12px;
                border-bottom: 1px solid #f5f5f5;

                .author-name {
                    font-size: 14px;
                    color: #666;
                    font-weight: normal;
                }
            }
        }

        .article-image {
            width: 100%;
            margin: 12px 0 20px 0;

            img {
                width: 100%;
                height: 175px;
                border-radius: 5px;
            }
        }

        .article-text {
            .intro-text {
                color: #252525;
                margin-bottom: 10px;
            }

            .management-list {
                list-style: none;
                padding: 0;
                margin: 0;

                li {
                    position: relative;
                    color: #252525;
                    margin-bottom: 10px;
                    padding-left: 16px;

                    &::before {
                        content: "";
                        position: absolute;
                        left: 0;
                        top: 8px;
                        width: 6px;
                        height: 6px;
                        background-color: #333333;
                        border-radius: 50%;
                    }

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }
        }
    }
}
</style>
