270 lines
14 KiB
HTML
270 lines
14 KiB
HTML
<!DOCTYPE html><html class="light" lang="zh-CN"><head>
|
|
<meta charset="utf-8">
|
|
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Be+Vietnam+Pro:wght@400;500&family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"surface-dim": "#dadad8",
|
|
"on-secondary": "#ffffff",
|
|
"primary-container": "#a61d24",
|
|
"primary-fixed-dim": "#ffb3ae",
|
|
"on-tertiary-container": "#c2cdc6",
|
|
"ink-black": "#1A1A1A",
|
|
"surface-container-highest": "#e3e2e0",
|
|
"error-container": "#ffdad6",
|
|
"tertiary-fixed-dim": "#bec9c2",
|
|
"tertiary-fixed": "#dae5dd",
|
|
"subtle-gray": "#999999",
|
|
"secondary": "#735c00",
|
|
"background": "#faf9f7",
|
|
"primary-fixed": "#ffdad7",
|
|
"surface-bright": "#faf9f7",
|
|
"surface-container": "#efeeec",
|
|
"on-surface-variant": "#5a413f",
|
|
"success-green": "#2D6A4F",
|
|
"on-secondary-fixed-variant": "#574500",
|
|
"secondary-container": "#fed65b",
|
|
"on-tertiary-fixed": "#141e19",
|
|
"surface-container-low": "#f4f3f1",
|
|
"on-secondary-fixed": "#241a00",
|
|
"on-primary-fixed": "#410004",
|
|
"on-background": "#1a1c1b",
|
|
"tertiary-container": "#4e5852",
|
|
"aged-amber": "#FFBF00",
|
|
"outline-variant": "#e2bebc",
|
|
"on-surface": "#1a1c1b",
|
|
"on-secondary-container": "#745c00",
|
|
"on-error": "#ffffff",
|
|
"inverse-surface": "#2f3130",
|
|
"inverse-primary": "#ffb3ae",
|
|
"outline": "#8d706e",
|
|
"tertiary": "#37413b",
|
|
"surface-tint": "#b3272c",
|
|
"secondary-fixed-dim": "#e9c349",
|
|
"secondary-fixed": "#ffe088",
|
|
"on-primary-fixed-variant": "#910817",
|
|
"surface": "#faf9f7",
|
|
"primary": "#820012",
|
|
"on-primary": "#ffffff",
|
|
"status-blue": "#2A6EBB",
|
|
"surface-variant": "#e3e2e0",
|
|
"on-tertiary": "#ffffff",
|
|
"heritage-red": "#A61D24",
|
|
"on-tertiary-fixed-variant": "#3f4943",
|
|
"on-error-container": "#93000a",
|
|
"surface-container-lowest": "#ffffff",
|
|
"surface-container-high": "#e9e8e6",
|
|
"error": "#ba1a1a",
|
|
"on-primary-container": "#ffb9b4",
|
|
"inverse-on-surface": "#f1f1ef"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.25rem",
|
|
"lg": "0.5rem",
|
|
"xl": "0.75rem",
|
|
"full": "9999px"
|
|
},
|
|
"spacing": {
|
|
"margin-page": "20px",
|
|
"stack-lg": "32px",
|
|
"base": "8px",
|
|
"stack-md": "16px",
|
|
"gutter-card": "12px",
|
|
"stack-sm": "4px"
|
|
},
|
|
"fontFamily": {
|
|
"headline-lg": ["Manrope"],
|
|
"headline-xl": ["Manrope"],
|
|
"body-md": ["Be Vietnam Pro"],
|
|
"label-md": ["Inter"],
|
|
"headline-md": ["Manrope"],
|
|
"headline-lg-mobile": ["Manrope"],
|
|
"coupon-amount": ["Manrope"],
|
|
"body-lg": ["Be Vietnam Pro"]
|
|
},
|
|
"fontSize": {
|
|
"headline-lg": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"headline-xl": ["32px", {"lineHeight": "40px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"body-md": ["14px", {"lineHeight": "20px", "fontWeight": "400"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.05em", "fontWeight": "500"}],
|
|
"headline-md": ["18px", {"lineHeight": "26px", "fontWeight": "600"}],
|
|
"headline-lg-mobile": ["20px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"coupon-amount": ["28px", {"lineHeight": "28px", "fontWeight": "700"}],
|
|
"body-lg": ["16px", {"lineHeight": "24px", "fontWeight": "400"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.notch-left, .notch-right {
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: #faf9f7;
|
|
border-radius: 50%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
.notch-left { left: -6px; }
|
|
.notch-right { right: -6px; }
|
|
|
|
.input-focus-ring:focus {
|
|
outline: none;
|
|
border-color: #A61D24;
|
|
box-shadow: 0 0 0 2px rgba(166, 29, 36, 0.1);
|
|
}
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-surface font-body-md min-h-screen pb-32">
|
|
<!-- TopAppBar -->
|
|
<header class="w-full top-0 sticky bg-surface shadow-[0px_4px_20px_rgba(166,29,36,0.05)] z-50">
|
|
<div class="flex items-center justify-between px-margin-page h-16 w-full">
|
|
<div class="flex items-center gap-4">
|
|
<button class="flex items-center justify-center w-10 h-10 rounded-full hover:bg-surface-container-high transition-colors active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined text-primary" data-icon="arrow_back">arrow_back</span>
|
|
</button>
|
|
<h1 class="font-headline-md text-headline-md-mobile md:text-headline-md text-on-surface">跨城发货处理</h1>
|
|
</div>
|
|
<button class="flex items-center justify-center w-10 h-10 rounded-full hover:bg-surface-container-high transition-colors active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined text-on-surface-variant" data-icon="more_vert">more_vert</span>
|
|
</button>
|
|
</div>
|
|
</header>
|
|
<main class="max-w-3xl mx-auto px-margin-page pt-stack-lg space-y-6">
|
|
<!-- Section Header -->
|
|
<div class="flex flex-col space-y-1">
|
|
<span class="text-heritage-red font-label-md text-label-md tracking-wider uppercase">管理协议</span>
|
|
<h2 class="font-headline-lg-mobile text-headline-lg-mobile text-ink-black">物流履约</h2>
|
|
</div>
|
|
<!-- Order Summary Card -->
|
|
<section class="bg-surface-container-lowest rounded-xl shadow-[0px_4px_20px_rgba(166,29,36,0.05)] overflow-hidden border border-outline-variant/10">
|
|
<div class="p-5 border-b border-outline-variant/10 flex justify-between items-center">
|
|
<div class="space-y-1">
|
|
<p class="text-subtle-gray font-label-md text-label-md">订单编号</p>
|
|
<p class="font-headline-md text-headline-md text-ink-black tracking-tight">DK20231024001</p>
|
|
</div>
|
|
<div class="bg-primary-container/10 px-3 py-1 rounded-full">
|
|
<span class="text-heritage-red font-label-md text-label-md font-bold">待发货</span>
|
|
</div>
|
|
</div>
|
|
<div class="p-5 flex gap-4 border-b border-outline-variant/5">
|
|
<div class="w-20 h-20 rounded-lg overflow-hidden flex-shrink-0 bg-surface-container-low">
|
|
<img class="w-full h-full object-cover" data-alt="A professional product photography of a premium bottle of Dukang White Spirit, clear glass with elegant Chinese calligraphy, set against a minimalist warm beige studio background with soft cinematic lighting." src="https://lh3.googleusercontent.com/aida-public/AB6AXuBzUL1DUUYbd7Df2ApnG5AcqabJtK7CxauVKY3n63xHsvK8jWi3Pp3hhwbTCZuN70OfbaJ7yMjTwVlonC-8QnvV9628yVUsss41XhZ7tN6FCZQRvh-U7LkzBqaMxO_iDOVOmir-oMbb3CgqFPBEko_585GM3nMZro37vPiVM21a1RlVp2j_MGEI_dw71WkQ799pMUTlhadboU-VmV_54q0LhXlNuA7UAzeONj9l_bEYdKE6h7eK8xJdeUGNDaTLpRa748sE720rvk4">
|
|
</div>
|
|
<div class="flex flex-col justify-center space-y-1">
|
|
<h3 class="font-body-lg text-body-lg text-ink-black">杜康白酒 (传承系列)</h3>
|
|
<p class="text-subtle-gray text-body-md">500ml x 1 瓶</p>
|
|
<div class="mt-2 inline-flex items-center gap-1 bg-aged-amber text-on-secondary px-2 py-0.5 rounded text-[10px] font-bold relative overflow-hidden">
|
|
<div class="notch-left scale-50"></div>
|
|
<div class="notch-right scale-50"></div>
|
|
享 ¥200 好客权益
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="p-5 bg-surface-container-low/30 space-y-3">
|
|
<div class="flex items-start gap-3">
|
|
<span class="material-symbols-outlined text-heritage-red mt-0.5" data-icon="location_on" style="font-size: 20px;">location_on</span>
|
|
<div class="space-y-1">
|
|
<p class="text-ink-black font-medium leading-tight">张伟 (Mr. Zhang) | +86 138 **** 9012</p>
|
|
<p class="text-on-surface-variant text-body-md">上海市浦东新区陆家嘴环路 1000 号恒生银行大厦 25 层 (200120)</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Logistics Form -->
|
|
<section class="space-y-5">
|
|
<h3 class="font-headline-md text-headline-md text-on-surface flex items-center gap-2">
|
|
<span class="material-symbols-outlined text-heritage-red" data-icon="local_shipping">local_shipping</span>
|
|
快递信息录入
|
|
</h3>
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
<!-- Carrier Selection -->
|
|
<div class="flex flex-col gap-2">
|
|
<label class="font-label-md text-label-md text-on-surface-variant flex items-center gap-1">
|
|
物流公司
|
|
</label>
|
|
<div class="relative">
|
|
<select class="w-full h-12 px-4 bg-surface-container-lowest border border-outline-variant/30 rounded-xl appearance-none input-focus-ring text-body-md font-body-md focus:border-heritage-red">
|
|
<option value="sf">顺丰速运 (SF Express)</option>
|
|
<option value="zto">中通快递 (ZTO)</option>
|
|
<option value="sto">申通快递 (STO)</option>
|
|
<option value="yto">圆通速递 (YTO)</option>
|
|
<option value="ems">邮政 EMS</option>
|
|
</select>
|
|
<span class="material-symbols-outlined absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none text-subtle-gray" data-icon="expand_more">expand_more</span>
|
|
</div>
|
|
</div>
|
|
<!-- Tracking Number -->
|
|
<div class="flex flex-col gap-2">
|
|
<label class="font-label-md text-label-md text-on-surface-variant">
|
|
运单编号
|
|
</label>
|
|
<div class="relative">
|
|
<input class="w-full h-12 pl-4 pr-12 bg-surface-container-lowest border border-outline-variant/30 rounded-xl input-focus-ring text-body-md" placeholder="请输入或扫描运单号" type="text">
|
|
<button class="absolute right-2 top-1/2 -translate-y-1/2 w-8 h-8 flex items-center justify-center text-heritage-red hover:bg-surface-container active:scale-90 transition-all rounded-lg">
|
|
<span class="material-symbols-outlined" data-icon="document_scanner">document_scanner</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Shipping Notes -->
|
|
<div class="flex flex-col gap-2">
|
|
<label class="font-label-md text-label-md text-on-surface-variant">
|
|
内部备注
|
|
</label>
|
|
<textarea class="w-full p-4 bg-surface-container-lowest border border-outline-variant/30 rounded-xl input-focus-ring text-body-md resize-none" placeholder="补充配送说明或异常记录..." rows="4"></textarea>
|
|
</div>
|
|
<!-- Verification Check -->
|
|
<div class="flex items-start gap-3 p-4 bg-surface-container-high/20 rounded-xl border border-dashed border-outline-variant/50">
|
|
<div class="flex items-center h-5">
|
|
<input class="w-4 h-4 text-heritage-red rounded border-outline-variant focus:ring-heritage-red" id="verify" type="checkbox">
|
|
</div>
|
|
<label class="text-body-md text-on-surface-variant" for="verify">
|
|
我已核对收货地址为非合作城市,并确认产品包装符合跨城运输安全标准。
|
|
</label>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<!-- Bottom Actions Shell -->
|
|
<footer class="fixed bottom-0 left-0 w-full bg-surface-container-lowest shadow-[0px_-4px_20px_rgba(166,29,36,0.05)] z-50">
|
|
<div class="max-w-3xl mx-auto flex items-center justify-between h-20 px-margin-page pb-safe gap-4">
|
|
<button class="flex-1 h-12 rounded-xl border border-outline-variant text-on-surface-variant font-label-md text-label-md hover:bg-surface-container-low transition-colors active:scale-95 duration-150">
|
|
取消
|
|
</button>
|
|
<button class="flex-[2] h-12 bg-heritage-red text-white rounded-xl shadow-lg shadow-heritage-red/20 font-label-md text-label-md font-bold flex items-center justify-center gap-2 hover:brightness-110 active:scale-95 transition-all" onclick="confirmShipment()">
|
|
<span class="material-symbols-outlined" data-icon="done_all" style="font-size: 18px;">done_all</span>
|
|
确认发货
|
|
</button>
|
|
</div>
|
|
</footer>
|
|
<!-- Success Toast (Hidden) -->
|
|
<div class="fixed top-24 left-1/2 -translate-x-1/2 bg-ink-black text-white px-6 py-3 rounded-full shadow-2xl opacity-0 translate-y-4 pointer-events-none transition-all duration-300 flex items-center gap-3 z-[100]" id="toast">
|
|
<span class="material-symbols-outlined text-success-green" data-icon="check_circle" data-weight="fill" style="font-variation-settings: 'FILL' 1;">check_circle</span>
|
|
<span class="text-body-md font-medium">物流信息更新成功</span>
|
|
</div>
|
|
<script>
|
|
function confirmShipment() {
|
|
const toast = document.getElementById('toast');
|
|
toast.classList.remove('opacity-0', 'translate-y-4', 'pointer-events-none');
|
|
toast.classList.add('opacity-100', 'translate-y-0');
|
|
|
|
setTimeout(() => {
|
|
toast.classList.add('opacity-0', 'translate-y-4', 'pointer-events-none');
|
|
toast.classList.remove('opacity-100', 'translate-y-0');
|
|
}, 3000);
|
|
}
|
|
</script>
|
|
</body></html> |