养老公示牌edit icon

Fork(复制)
下载
嵌入
BUG反馈
index.html
现在支持上传本地图片了!
index.html
            
            <!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>徐州市养老机构安全生产信息公示牌</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', sans-serif;
        }
        
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: auto;
            background: white;
            padding: 15px;
        }
        
        .signboard {
            width: 1000px;
            height: auto;
            min-height: auto;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            border: 4px solid #2c3e50;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
        }
        
        .header {
            background: linear-gradient(135deg, #2c3e50, #1a2a6c);
            color: white;
            padding: 25px 25px;
            text-align: center;
            border-bottom: 4px solid #e74c3c;
        }
        
        .header h1 {
            font-size: 36px;
            font-weight: bold;
            letter-spacing: 4px;
            margin-bottom: 5px;
        }
        
        .header h2 {
            font-size: 24px;
            font-weight: 500;
        }
        
        .main-content {
            display: flex;
            height: 550px;
            padding: 20px 30px;
            min-height: 0;
        }
        
        .left-panel {
            width: 60%;
            padding-right: 30px;
            border-right: 2px dashed #e0e6ed;
            display: flex;
            flex-direction: column;
        }
        
        .institution-info {
            margin-bottom: 30px;
        }
        
        .institution-name {
            font-size: 42px;
            color: #2c3e50;
            font-weight: bold;
            text-align: center;
            margin-bottom: 15px;
            padding: 10px 0;
            border-bottom: 3px solid #3498db;
        }
        
        .institution-level {
            text-align: center;
            font-size: 24px;
            color: #2c3e50;
            font-weight: bold;
            margin-bottom: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }
        
        .level-stars i {
            color: #f1c40f;
            font-size: 28px;
        }
        
        .color-indicator {
            display: flex;
            margin: 20px 0;
            margin-bottom: 35px;
            gap: 10px;
        }
        
        .color-box {
            flex: 1;
            height: 60px;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
            color: white;
            text-align: center;
        }
        
        .color-label {
            font-size: 18px;
            margin-bottom: 5px;
        }
        
        .color-score {
            font-size: 14px;
        }
        
        .color-red {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
        }
        
        .color-orange {
            background: linear-gradient(135deg, #f39c12, #d35400);
        }
        
        .color-yellow {
            background: linear-gradient(135deg, #f1c40f, #f39c12);
        }
        
        .color-green {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
        }
        
        .contact-info {
            background: #f8f9fa;
            border: 2px solid #e0e6ed;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            margin-top: auto;
        }
        
        .contact-title {
            font-size: 22px;
            margin-bottom: 10px;
            color: #2c3e50;
            font-weight: bold;
        }
        
        .phone-number {
            font-size: 36px;
            font-weight: bold;
            font-style: italic;
            letter-spacing: 4px;
            color: #e74c3c;
            margin: 10px 0;
        }
        
        .last-update {
            margin-top: 15px;
            font-size: 16px;
            color: #7f8c8d;
            text-align: center;
            padding: 10px;
        }
        
        .right-panel {
            width: 40%;
            padding-left: 30px;
            display: flex;
            flex-direction: column;
        }
        
        .safety-ratings {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .rating-card {
            border-radius: 10px;
            border: 2px solid #e0e6ed;
        }
        
        .rating-header {
            padding: 15px;
            text-align: center;
            font-size: 26px;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .rating-content {
            padding: 15;
            text-align: center;
        }
        
        .color-level {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: bold;
            color: white;
            margin: 0 auto 15px;
        }
        
        .level-description {
            font-size: 24px;
            color: #34495e;
        }
        
        .fire-safety .rating-header {
            background: white;
        }
        
        .food-safety .rating-header {
            background: white;
        }
        
        .level-red {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
        }
        
        .level-orange {
            background: linear-gradient(135deg, #f39c12, #d35400);
        }
        
        .level-yellow {
            background: linear-gradient(135deg, #f1c40f, #f39c12);
        }
      
       .level-green {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
        }
        
        .supervision {
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            text-align: center;
            border: 1px solid #e0e6ed;
            margin-top: 20px;
        }
        
        .supervision-title {
            font-size: 20px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .supervision-units {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .supervision-unit {
            font-size: 18px;
            color: #2c3e50;
            padding: 8px;
            background: white;
            border-radius: 6px;
            font-weight: bold;
        }
        
        .footer {
            background: #2c3e50;
            color: white;
            padding: 15px;
            text-align: center;
            font-size: 16px;
            border-top: 4px solid #e74c3c;
        }
    </style>
</head>
<body>
    <div class="signboard">
        <div class="header">
            <h1>徐州市养老机构安全生产等级公示</h1>
        </div>
        
        <div class="main-content">
            <div class="left-panel">
                <div class="institution-info">
                    <div class="institution-name">xxx养老服务中心</div>
                    
                    <div class="institution-level">
                        <span>养老机构等级:</span>
                        <div class="level-stars">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        
                    </div>
                    
                    <div class="color-indicator">
                        <div class="color-box color-green">
                            <div class="color-label">绿色管理</div>
                            <div class="color-score">(得分≥90分)</div>
                        </div>
                        <div class="color-box color-yellow">
                            <div class="color-label">黄色管理</div>
                            <div class="color-score">(得分60-89分)</div>
                        </div>
                        <div class="color-box color-orange">
                            <div class="color-label">橙色管理</div>
                            <div class="color-score">(得分40-59分)</div>
                        </div>
                        <div class="color-box color-red">
                            <div class="color-label">红色管理</div>
                            <div class="color-score">(得分≤39分)</div>
                        </div>
                    </div>
                    
                    <div class="contact-info">
                        <div class="contact-title">安全生产举报电话</div>
                        <div class="phone-number">0516-88888888</div>
                        <div class="contact-note">发现安全隐患,请及时举报!共同守护老人安全</div>
                    </div>
                    
                    <div class="last-update">
                        <i class="fas fa-calendar-alt"></i> 评估日期:2025年8月6日
                    </div>
                </div>
            </div>
            
            <div class="right-panel">
                <div class="safety-ratings">
                    <div class="rating-card fire-safety">
                        <div class="rating-header">消防安全等级</div>
                        <div class="rating-content">
                            <div class="color-level level-green">
                                绿色
                            </div>
                        </div>
                    </div>
                    
                    <div class="rating-card food-safety">
                        <div class="rating-header">食品安全等级</div>
                        <div class="rating-content">
                            <div class="color-level level-yellow">
                                黄色
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="footer">
           <p>每季度更新评估结果 | 接受社会监督 | 共建安全养老环境</p>
           <p>徐州市民政局 徐州市消防救援支队 徐州市市场监督管理局监制</p>        
        </div>
    </div>
</body>
</html>
        
编辑器加载中
预览
控制台