<?php
/**
 * 芋头CMS
 * ============================================================================
 * 版权所有 2016-2028 沅陵县乌托邦网络服务有限公司，并保留所有权利。
 * 网站地址: http://www.yutoucms.cn
 * ----------------------------------------------------------------------------
 * 如果商业用途务必到官方购买正版授权, 以免引起不必要的法律纠纷.
 * ============================================================================
 * Author: 芋头 <mxgsf@qq.com>
 * Date: 2026-5-20
 */


?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>芋头CMS - 企业智能管理平台</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="/public/css/admin-new.css">
    <link rel="stylesheet" href="/public/css/rich-editor.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lucide-static@0.446.0/font/lucide.css">
    <style>
        body {
            margin: 0;
            background: var(--gray-50);
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
        }
        .page-container {
            padding: 20px;
        }
        .form-section {
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-xs);
        }
        .form-section-header {
            padding: 14px 20px;
            border-bottom: 1px solid var(--border-light);
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--gray-50);
        }
        .form-section-header i {
            color: var(--primary);
        }
        .form-section-body {
            padding: 20px;
        }
        .form-actions {
            background: #fff;
            padding: 20px;
            border-radius: var(--radius-lg);
            margin-top: 16px;
            display: flex;
            gap: 12px;
            box-shadow: var(--shadow-xs);
            border: 1px solid var(--border-light);
        }
        .upload-preview {
            width: 120px;
            height: 120px;
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: var(--gray-50);
            transition: all 0.15s;
            cursor: pointer;
        }
        .upload-preview:hover {
            border-color: var(--primary);
            background: var(--primary-subtle);
        }
        .upload-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .upload-preview .placeholder {
            text-align: center;
            color: var(--text-light);
        }
        .upload-preview .placeholder i {
            font-size: 28px;
            margin-bottom: 6px;
        }
        .upload-preview .placeholder span {
            font-size: 12px;
            display: block;
        }
        .upload-preview.has-image {
            border-color: var(--primary);
        }
        .detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }
        .detail-section h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .detail-table {
            width: 100%;
            border-collapse: collapse;
        }
        .detail-table td {
            padding: 10px 12px;
            border-bottom: 1px solid var(--border-light);
            font-size: 14px;
        }
        .detail-table td:first-child {
            color: var(--text-light);
            width: 100px;
        }
        .order-summary {
            margin-top: 16px;
            padding: 16px 20px;
            background: var(--gray-50);
            border-radius: var(--radius);
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: flex-end;
        }
        .summary-item {
            display: flex;
            gap: 8px;
            font-size: 14px;
            color: var(--text-light);
        }
        .summary-item.total {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--border);
            font-size: 16px;
            color: var(--dark);
            font-weight: 600;
        }
    </style>
</head>
<body>
<div class="page-container fade-in">