{"id":2035,"date":"2026-06-08T20:51:30","date_gmt":"2026-06-08T12:51:30","guid":{"rendered":"https:\/\/www.365ycs.com\/index.php\/2026\/06\/08\/%e7%9f%b3%e5%ae%b6%e5%ba%842026%e5%b9%b4%e6%9a%91%e5%81%87%e5%80%92%e8%ae%a1%e6%97%b6\/"},"modified":"2026-06-08T20:51:30","modified_gmt":"2026-06-08T12:51:30","slug":"%e7%9f%b3%e5%ae%b6%e5%ba%842026%e5%b9%b4%e6%9a%91%e5%81%87%e5%80%92%e8%ae%a1%e6%97%b6","status":"publish","type":"post","link":"https:\/\/www.365ycs.com\/index.php\/2026\/06\/08\/%e7%9f%b3%e5%ae%b6%e5%ba%842026%e5%b9%b4%e6%9a%91%e5%81%87%e5%80%92%e8%ae%a1%e6%97%b6\/","title":{"rendered":"\u77f3\u5bb6\u5e842026\u5e74\u6691\u5047\u5012\u8ba1\u65f6"},"content":{"rendered":"<!DOCTYPE html>\n<html lang=\"zh-CN\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\">\n<title>\u77f3\u5bb6\u5e842026\u5e74\u6691\u5047\u5012\u8ba1\u65f6<\/title>\n<style>\n*{margin:0;padding:0;box-sizing:border-box}\nbody{\n  font-family:'Microsoft YaHei','Segoe UI',Arial,sans-serif;\n  overflow-x:hidden;\n  transition:background 1s ease, color 1s ease;\n}\n#particles{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0}\n.container{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}\n.header{text-align:center;margin-bottom:40px;animation:fadeInDown 1s ease}\n.header h1{font-size:3em;margin-bottom:10px;text-shadow:2px 2px 4px rgba(0,0,0,0.3)}\n.header p{font-size:1.2em;opacity:0.9}\n\n.countdown-wrapper{display:flex;gap:30px;flex-wrap:wrap;justify-content:center;margin-bottom:40px}\n.countdown-card{\n  background:rgba(255,255,255,0.15);backdrop-filter:blur(10px);\n  border-radius:20px;padding:30px;min-width:300px;\n  box-shadow:0 8px 32px rgba(0,0,0,0.2);\n  animation:fadeInUp 1s ease;transition:transform 0.3s ease\n}\n.countdown-card:hover{transform:translateY(-5px)}\n.countdown-card h2{font-size:1.5em;margin-bottom:20px;text-align:center}\n.countdown-display{display:flex;gap:15px;justify-content:center;flex-wrap:wrap}\n.time-block{text-align:center;background:rgba(255,255,255,0.2);border-radius:15px;padding:15px;min-width:80px}\n.time-block .number{font-size:2.5em;font-weight:bold;display:block}\n.time-block .label{font-size:0.9em;opacity:0.8;margin-top:5px}\n\n.progress-section{\n  background:rgba(255,255,255,0.15);backdrop-filter:blur(10px);\n  border-radius:20px;padding:30px;margin-bottom:30px;min-width:600px;max-width:90%\n}\n.progress-section h3{font-size:1.3em;margin-bottom:15px;text-align:center}\n.progress-bar{height:30px;background:rgba(255,255,255,0.2);border-radius:15px;overflow:hidden;position:relative}\n.progress-fill{\n  height:100%;background:linear-gradient(90deg,#4CAF50,#8BC34A);\n  border-radius:15px;transition:width 1s ease;\n  display:flex;align-items:center;justify-content:center;\n  color:white;font-weight:bold\n}\n\n.quote-section{\n  background:rgba(255,255,255,0.15);backdrop-filter:blur(10px);\n  border-radius:20px;padding:30px;margin-bottom:30px;max-width:600px;\n  text-align:center;font-style:italic;font-size:1.1em;\n  transition:opacity 0.5s ease\n}\n.quote-section.fade-out{opacity:0}\n\n.theme-info{\n  position:fixed;bottom:20px;right:20px;\n  background:rgba(0,0,0,0.5);color:white;\n  padding:10px 20px;border-radius:10px;font-size:0.9em;\n  z-index:100;cursor:pointer\n}\n.share-btn{\n  position:fixed;bottom:20px;left:20px;\n  background:rgba(0,0,0,0.5);color:white;\n  padding:10px 20px;border:none;border-radius:10px;\n  font-size:0.9em;cursor:pointer;z-index:100;transition:background 0.3s\n}\n.share-btn:hover{background:rgba(0,0,0,0.7)}\n\n@keyframes fadeInDown{from{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}\n@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}\n@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}\n\n@media(max-width:768px){\n  .header h1{font-size:2em}\n  .countdown-wrapper{flex-direction:column;align-items:center}\n  .countdown-card{min-width:90%}\n  .progress-section{min-width:90%}\n  .time-block{min-width:60px;padding:10px}\n  .time-block .number{font-size:2em}\n}\n<\/style>\n<\/head>\n<body>\n\n<canvas id=\"particles\"><\/canvas>\n\n<div class=\"container\">\n  <div class=\"header\">\n    <h1>\ud83c\udf1e \u6691\u5047\u5012\u8ba1\u65f6 \ud83c\udf1e<\/h1>\n    <p>\u77f3\u5bb6\u5e84\u5e022026\u5e74\u4e2d\u5c0f\u5b66\u6691\u5047\u5012\u8ba1\u65f6<\/p>\n  <\/div>\n\n  <div class=\"countdown-wrapper\">\n    <div class=\"countdown-card\" role=\"region\" aria-label=\"\u4e49\u52a1\u6559\u80b2\u9636\u6bb5\u5012\u8ba1\u65f6\">\n      <h2>\ud83d\udcda \u4e49\u52a1\u6559\u80b2\u9636\u6bb5<\/h2>\n      <p style=\"text-align:center;margin-bottom:15px;opacity:0.9\">7\u67084\u65e5\u653e\u5047<\/p>\n      <div class=\"countdown-display\" id=\"countdown1\"><\/div>\n    <\/div>\n    <div class=\"countdown-card\" role=\"region\" aria-label=\"\u9ad8\u4e2d\u9636\u6bb5\u5012\u8ba1\u65f6\">\n      <h2>\ud83c\udf93 \u9ad8\u4e2d\u9636\u6bb5<\/h2>\n      <p style=\"text-align:center;margin-bottom:15px;opacity:0.9\">7\u670811\u65e5\u653e\u5047<\/p>\n      <div class=\"countdown-display\" id=\"countdown2\"><\/div>\n    <\/div>\n  <\/div>\n\n  <div class=\"progress-section\">\n    <h3>\ud83d\udcca 2025-2026\u5b66\u5e74\u8fdb\u5ea6<\/h3>\n    <div class=\"progress-bar\">\n      <div class=\"progress-fill\" id=\"progressFill\">0%<\/div>\n    <\/div>\n    <p style=\"text-align:center;margin-top:10px;opacity:0.9\" id=\"progressText\">\u5b66\u5e74\u8fdb\u5ea6\u52a0\u8f7d\u4e2d...<\/p>\n  <\/div>\n\n  <div class=\"quote-section\" id=\"quote\" aria-live=\"polite\">\u52a0\u8f7d\u4e2d...<\/div>\n<\/div>\n\n<button class=\"share-btn\" onclick=\"shareCountdown()\" aria-label=\"\u5206\u4eab\u5012\u8ba1\u65f6\">\ud83d\udce4 \u5206\u4eab<\/button>\n<div class=\"theme-info\" id=\"themeInfo\">\u4e3b\u9898\u52a0\u8f7d\u4e2d...<\/div>\n\n<script>\n'use strict';\n\n\/* ============================================\n   \u914d\u7f6e\u533a\uff08\u6613\u4e8e\u4fee\u6539\uff09\n   ============================================\n   \u65f6\u95f4\u903b\u8f91\u8bf4\u660e\uff1a\n   - \"2026\u5e74\u6691\u5047\" = 2026\u5e747\u6708-8\u6708\u7684\u6691\u5047\n   - \u5012\u8ba1\u65f6\u76ee\u6807 = 2026\u5e747\u67084\u65e5\uff08\u4e49\u52a1\u6559\u80b2\uff09\/ 7\u670811\u65e5\uff08\u9ad8\u4e2d\uff09\n   - \u5f53\u524d\u5b66\u5e74 = 2025-2026\u5b66\u5e74\uff082025\u5e749\u67081\u65e5 - 2026\u5e748\u670831\u65e5\uff09\n   - \u8fdb\u5ea6\u6761 = \u663e\u793a\u5f53\u524d\u5b66\u5e74\u8fdb\u5ea6\uff082025.9.1 \u2192 2026.9.1\uff0c\u5305\u542b\u6691\u5047\uff09\n   ============================================ *\/\nconst CONFIG = {\n  \/\/ \u5012\u8ba1\u65f6\u76ee\u6807\u65e5\u671f\uff08\u786c\u7f16\u78012026\u5e74\uff09\n  compulsoryDate: new Date(2026, 6, 4),   \/\/ \u4e49\u52a1\u6559\u80b2\uff1a2026\u5e747\u67084\u65e5\n  highSchoolDate:  new Date(2026, 6, 11),  \/\/ \u9ad8\u4e2d\uff1a2026\u5e747\u670811\u65e5\n  \n  \/\/ \u5b66\u5e74\u8fdb\u5ea6\u6761\uff08\u5f53\u524d\u5b66\u5e74 = 2025-2026\u5b66\u5e74\uff09\n  termStart: new Date(2025, 8, 1),  \/\/ \u5b66\u5e74\u5f00\u59cb\uff1a2025\u5e749\u67081\u65e5\n  termEnd:   new Date(2026, 8, 1),  \/\/ \u5b66\u5e74\u7ed3\u675f\uff1a2026\u5e749\u67081\u65e5\uff08\u5305\u542b\u6691\u5047\uff09\n  \n  \/\/ \u5176\u4ed6\u914d\u7f6e\n  quoteInterval: 60000,   \/\/ \u540d\u8a00\u5207\u6362\u95f4\u9694\uff0860\u79d2\uff09\n  particleCount: 30,      \/\/ \u7c92\u5b50\u6570\u91cf\uff08\u6027\u80fd\u4f18\u5316\uff09\n};\n\n\/* ============================================\n   \u540d\u8a00\u5e93\n   ============================================ *\/\nconst quotes = [\n  '\u6691\u5047\u662f\u7528\u6765\u8d85\u8d8a\u7684\uff0c\u4e0d\u662f\u7528\u6765\u6325\u970d\u7684\uff01',\n  '\u6bcf\u4e00\u6b21\u52aa\u529b\uff0c\u90fd\u662f\u4e3a\u6691\u5047\u7684\u72c2\u6b22\u79ef\u84c4\u80fd\u91cf\uff01',\n  '\u8ddd\u79bb\u81ea\u7531\u8fd8\u6709XX\u5929\uff0c\u575a\u6301\u5c31\u662f\u80dc\u5229\uff01',\n  '\u6691\u5047\u4e0d\u662f\u7ec8\u70b9\uff0c\u800c\u662f\u65b0\u7684\u8d77\u70b9\uff01',\n  '\u4eca\u5929\u7684\u6c57\u6c34\uff0c\u662f\u6691\u5047\u7b11\u5bb9\u7684\u94fa\u57ab\uff01',\n  '\u5012\u8ba1\u65f6\u7684\u6bcf\u4e00\u5929\uff0c\u90fd\u662f\u6210\u957f\u7684\u673a\u4f1a\uff01',\n  '\u6691\u5047\u5728\u671b\uff0c\u52a0\u6cb9\u5c11\u5e74\uff01',\n  '\u6bcf\u4e00\u4e2a\u8ba4\u771f\u5b66\u4e60\u7684\u65e5\u5b50\uff0c\u90fd\u5728\u4e3a\u6691\u5047\u79ef\u6512\u5feb\u4e50\uff01',\n];\n\n\/* ============================================\n   \u4e3b\u9898\u7ba1\u7406\uff087\u4e2a\u65f6\u6bb5\u81ea\u52a8\u5207\u6362\uff09\n   ============================================ *\/\nconst themes = [\n  { start: 5,  cls:'theme-dawn',   name:'\u6668\u66e6', bg:'linear-gradient(135deg,#FFF3E0,#FFE0B2)', color:'#FF8C42' },\n  { start: 8,  cls:'theme-day',    name:'\u767d\u663c', bg:'linear-gradient(135deg,#E3F2FD,#BBDEFB)', color:'#2E86AB' },\n  { start: 11, cls:'theme-noon',   name:'\u6b63\u5348', bg:'linear-gradient(135deg,#FFEBEE,#FFCDD2)', color:'#E94F37' },\n  { start: 14, cls:'theme-afternoon', name:'\u5348\u540e', bg:'linear-gradient(135deg,#F3E5F5,#E1BEE7)', color:'#6B5B95' },\n  { start: 17, cls:'theme-dusk',   name:'\u9ec4\u660f', bg:'linear-gradient(135deg,#FFF8E1,#FFECB3)', color:'#F18F01' },\n  { start: 20, cls:'theme-night',  name:'\u591c\u665a', bg:'linear-gradient(135deg,#E3F2FD,#90CAF9)', color:'#3A86FF' },\n  { start: 23, cls:'theme-late',   name:'\u6df1\u591c', bg:'linear-gradient(135deg,#EDE7F6,#D1C4E9)', color:'#8338EC' },\n];\n\nlet currentThemeName = '';\n\nfunction getTheme(hour) {\n  if (hour >= 23 || hour < 5) return themes[6];  \/\/ \u6df1\u591c 23:00-05:00\n  if (hour >= 20) return themes[5];               \/\/ \u591c\u665a 20:00-23:00\n  if (hour >= 17) return themes[4];               \/\/ \u9ec4\u660f 17:00-20:00\n  if (hour >= 14) return themes[3];               \/\/ \u5348\u540e 14:00-17:00\n  if (hour >= 11) return themes[2];               \/\/ \u6b63\u5348 11:00-14:00\n  if (hour >= 8)  return themes[1];               \/\/ \u767d\u663c 08:00-11:00\n  if (hour >= 5)  return themes[0];               \/\/ \u6668\u66e6 05:00-08:00\n  return themes[6];\n}\n\nfunction applyTheme() {\n  try {\n    const now = new Date();\n    const theme = getTheme(now.getHours());\n    \n    \/\/ \u907f\u514d\u91cd\u590d\u8bbe\u7f6e\u540c\u4e2a\u4e3b\u9898\n    if (theme.name === currentThemeName) return;\n    currentThemeName = theme.name;\n    \n    \/\/ \u5e94\u7528\u4e3b\u9898\u6837\u5f0f\n    document.body.className = theme.cls;\n    document.body.style.background = theme.bg;\n    document.body.style.color = theme.color;\n    \n    \/\/ \u66f4\u65b0\u4e3b\u9898\u63d0\u793a\n    document.getElementById('themeInfo').textContent = \n      '\u5f53\u524d\u4e3b\u9898\uff1a' + theme.name + ' (' + now.getHours() + ':00)';\n    \n    \/\/ \u7edf\u4e00\u5361\u7247\u8fb9\u6846\u989c\u8272\n    document.querySelectorAll('.countdown-card,.progress-section,.quote-section').forEach(el => {\n      el.style.border = '1px solid ' + theme.color + '40';\n    });\n    \n    \/\/ \u8ba1\u7b97\u5230\u4e0b\u4e00\u6574\u70b9\u7684\u6beb\u79d2\u6570\uff0c\u7528 setTimeout \u7cbe\u51c6\u5207\u6362\uff08\u907f\u514d\u6bcf\u5206\u949f\u8f6e\u8be2\uff09\n    const nextHour = new Date(now);\n    nextHour.setHours(now.getHours() + 1, 0, 0, 0);\n    const msToNextHour = nextHour - now;\n    \n    setTimeout(applyTheme, msToNextHour);\n  } catch (e) {\n    console.error('\u4e3b\u9898\u5207\u6362\u5931\u8d25:', e);\n  }\n}\n\n\/* ============================================\n   \u5012\u8ba1\u65f6\u8ba1\u7b97\uff08\u7cbe\u786e\u5230\u79d2\uff09\n   ============================================ *\/\nfunction calc() {\n  const now = new Date();\n  return {\n    compulsory: calcForTarget(now, CONFIG.compulsoryDate),\n    highSchool: calcForTarget(now, CONFIG.highSchoolDate),\n  };\n}\n\nfunction calcForTarget(now, target) {\n  const today = new Date(now.getFullYear(), now.getMonth(), now.getDate());\n  const targetDay = new Date(target.getFullYear(), target.getMonth(), target.getDate());\n  \n  if (today < targetDay) {\n    \/\/ \u8fd8\u6ca1\u653e\u5047\uff0c\u663e\u793a\u5269\u4f59\u65f6\u95f4\uff08\u6beb\u79d2\uff09\n    return { status: 'before', ms: target - now };\n  } else if (today.getTime() === targetDay.getTime()) {\n    \/\/ \u5f53\u5929\u653e\u5047\n    return { status: 'today', ms: 0 };\n  } else {\n    \/\/ \u5df2\u653e\u5047\uff0c\u663e\u793a\u5df2\u653e\u5047\u5929\u6570\n    return { status: 'after', days: Math.floor((today - targetDay) \/ 86400000) };\n  }\n}\n\n\/* \u683c\u5f0f\u5316\u6beb\u79d2\u4e3a XX\u5929 HH:MM:SS *\/\nfunction formatMS(ms) {\n  const days = Math.floor(ms \/ 86400000);\n  const hours = Math.floor((ms % 86400000) \/ 3600000);\n  const minutes = Math.floor((ms % 3600000) \/ 60000);\n  const seconds = Math.floor((ms % 60000) \/ 1000);\n  \n  return `\n    <div class=\"time-block\"><span class=\"number\">${days}<\/span><span class=\"label\">\u5929<\/span><\/div>\n    <div class=\"time-block\"><span class=\"number\">${String(hours).padStart(2,'0')}<\/span><span class=\"label\">\u65f6<\/span><\/div>\n    <div class=\"time-block\"><span class=\"number\">${String(minutes).padStart(2,'0')}<\/span><span class=\"label\">\u5206<\/span><\/div>\n    <div class=\"time-block\"><span class=\"number\">${String(seconds).padStart(2,'0')}<\/span><span class=\"label\">\u79d2<\/span><\/div>\n  `;\n}\n\n\/* ============================================\n   DOM \u66f4\u65b0\uff08\u51cf\u5c11 DOM \u64cd\u4f5c\uff09\n   ============================================ *\/\nfunction upd() {\n  try {\n    const r = calc();\n    renderCountdown('countdown1', r.compulsory, '\ud83c\udf89 \u4eca\u5929\u653e\u5047\uff01', '\u5df2\u653e\u5047 ');\n    renderCountdown('countdown2', r.highSchool, '\ud83c\udf89 \u4eca\u5929\u653e\u5047\uff01', '\u5df2\u653e\u5047 ');\n    updProgress();\n  } catch (e) {\n    console.error('\u5012\u8ba1\u65f6\u66f4\u65b0\u5931\u8d25:', e);\n  }\n}\n\nfunction renderCountdown(elementId, result, todayText, afterPrefix) {\n  const el = document.getElementById(elementId);\n  if (!el) return;\n  \n  if (result.status === 'before') {\n    el.innerHTML = formatMS(result.ms);\n  } else if (result.status === 'today') {\n    el.innerHTML = `<div style=\"font-size:2em;font-weight:bold;animation:pulse 1s infinite\">${todayText}<\/div>`;\n  } else {\n    el.innerHTML = `<div style=\"font-size:1.5em\">${afterPrefix}${result.days} \u5929<\/div>`;\n  }\n}\n\n\/* ============================================\n   \u5b66\u5e74\u8fdb\u5ea6\u6761\uff082025.9.1 \u2192 2026.9.1\uff09\n   ============================================ *\/\nfunction updProgress() {\n  try {\n    const now = new Date();\n    const total = CONFIG.termEnd - CONFIG.termStart;\n    const elapsed = now - CONFIG.termStart;\n    const pct = Math.min(100, Math.max(0, (elapsed \/ total) * 100));\n    \n    const fill = document.getElementById('progressFill');\n    fill.style.width = pct.toFixed(1) + '%';\n    fill.textContent = pct.toFixed(1) + '%';\n    \n    \/\/ \u2705 \u4fee\u6b63\uff1a\u663e\u793a\u6b63\u786e\u7684\u5b66\u5e74\u65e5\u671f\n    document.getElementById('progressText').textContent = \n      '2025\u5e749\u67081\u65e5 \u2192 2026\u5e749\u67081\u65e5\uff08' + pct.toFixed(1) + '% \u5df2\u8fc7\uff09';\n  } catch (e) {\n    console.error('\u8fdb\u5ea6\u6761\u66f4\u65b0\u5931\u8d25:', e);\n  }\n}\n\n\/* ============================================\n   \u540d\u8a00\u7ba1\u7406\uff08\u6de1\u5165\u6de1\u51fa + \u4fee\u590d XX \u66ff\u6362\uff09\n   ============================================ *\/\nlet quoteTimer = null;\n\nfunction updQuote() {\n  try {\n    const el = document.getElementById('quote');\n    const r = calc();\n    \n    \/\/ \u83b7\u53d6\u6700\u5c0f\u5269\u4f59\u5929\u6570\uff08\u7528\u4e8e\u66ff\u6362 XX\uff09\n    const minDays = Math.min(\n      r.compulsory.status === 'before' ? Math.ceil(r.compulsory.ms \/ 86400000) : 999,\n      r.highSchool.status === 'before' ? Math.ceil(r.highSchool.ms \/ 86400000) : 999\n    );\n    \n    \/\/ \u6de1\u51fa\u52a8\u753b\n    el.classList.add('fade-out');\n    \n    setTimeout(() => {\n      \/\/ \u968f\u673a\u9009\u62e9\u540d\u8a00\n      let q = quotes[Math.floor(Math.random() * quotes.length)];\n      \n      \/\/ \u2705 \u53ea\u5bf9\u542b XX \u7684\u540d\u8a00\u66ff\u6362\n      if (q.includes('XX')) {\n        q = q.replace('XX', minDays.toString());\n      }\n      \n      el.textContent = q;\n      el.classList.remove('fade-out');  \/\/ \u6de1\u5165\n    }, 500);\n    \n    \/\/ \u6e05\u9664\u65e7\u5b9a\u65f6\u5668\uff0c\u91cd\u65b0\u8bbe\u7f6e\n    if (quoteTimer) clearInterval(quoteTimer);\n    quoteTimer = setInterval(updQuote, CONFIG.quoteInterval);\n  } catch (e) {\n    console.error('\u540d\u8a00\u66f4\u65b0\u5931\u8d25:', e);\n  }\n}\n\n\/* ============================================\n   \u7c92\u5b50\u6548\u679c\uff08\u6807\u7b7e\u9875\u9690\u85cf\u65f6\u6682\u505c\uff09\n   ============================================ *\/\nlet animationId = null;\nlet isTabVisible = true;\n\nfunction initParticles() {\n  const c = document.getElementById('particles');\n  const ctx = c.getContext('2d');\n  c.width = window.innerWidth;\n  c.height = window.innerHeight;\n  \n  const particles = [];\n  for (let i = 0; i < CONFIG.particleCount; i++) {\n    particles.push({\n      x: Math.random() * c.width,\n      y: Math.random() * c.height,\n      vx: (Math.random() - 0.5) * 0.5,\n      vy: (Math.random() - 0.5) * 0.5,\n      r: Math.random() * 3 + 1,\n      o: Math.random() * 0.5 + 0.2\n    });\n  }\n  \n  \/\/ \u2705 \u76d1\u542c\u6807\u7b7e\u9875\u53ef\u89c1\u6027\uff0c\u9690\u85cf\u65f6\u6682\u505c\u52a8\u753b\n  document.addEventListener('visibilitychange', () => {\n    isTabVisible = !document.hidden;\n    if (isTabVisible && !animationId) {\n      animationId = requestAnimationFrame(draw);\n    }\n  });\n  \n  draw();\n  \n  window.addEventListener('resize', () => {\n    c.width = window.innerWidth;\n    c.height = window.innerHeight;\n  });\n  \n  function draw() {\n    ctx.clearRect(0, 0, c.width, c.height);\n    particles.forEach(p => {\n      p.x += p.vx;\n      p.y += p.vy;\n      if (p.x < 0 || p.x > c.width) p.vx *= -1;\n      if (p.y < 0 || p.y > c.height) p.vy *= -1;\n      ctx.beginPath();\n      ctx.arc(p.x, p.y, p.r, 0, Math.PI * 2);\n      ctx.fillStyle = 'rgba(255,255,255,' + p.o + ')';\n      ctx.fill();\n    });\n    animationId = requestAnimationFrame(draw);\n  }\n}\n\n\/* ============================================\n   \u5206\u4eab\u529f\u80fd\uff08Web Share API + \u526a\u8d34\u677f\u964d\u7ea7\uff09\n   ============================================ *\/\nfunction shareCountdown() {\n  try {\n    const r = calc();\n    const days = Math.min(\n      r.compulsory.status === 'before' ? Math.ceil(r.compulsory.ms \/ 86400000) : 0,\n      r.highSchool.status === 'before' ? Math.ceil(r.highSchool.ms \/ 86400000) : 0\n    );\n    \n    const text = `\ud83c\udf1e \u8ddd\u79bb\u77f3\u5bb6\u5e842026\u5e74\u6691\u5047\u8fd8\u6709 ${days} \u5929\uff01\u52a0\u6cb9\uff01\\n${location.href}`;\n    \n    if (navigator.share) {\n      \/\/ \u652f\u6301 Web Share API\uff08\u79fb\u52a8\u7aef\uff09\n      navigator.share({ title: '\u6691\u5047\u5012\u8ba1\u65f6', text: text, url: location.href });\n    } else {\n      \/\/ \u964d\u7ea7\u65b9\u6848\uff1a\u590d\u5236\u5230\u526a\u8d34\u677f\n      navigator.clipboard.writeText(text).then(() => {\n        const btn = document.querySelector('.share-btn');\n        btn.textContent = '\u2705 \u5df2\u590d\u5236\uff01';\n        setTimeout(() => { btn.textContent = '\ud83d\udce4 \u5206\u4eab'; }, 2000);\n      }).catch(() => {\n        alert('\u5206\u4eab\u5931\u8d25\uff0c\u8bf7\u624b\u52a8\u590d\u5236\u94fe\u63a5');\n      });\n    }\n  } catch (e) {\n    console.error('\u5206\u4eab\u5931\u8d25:', e);\n  }\n}\n\n\/* ============================================\n   \u521d\u59cb\u5316\uff08\u52a0\u9519\u8bef\u5904\u7406\uff09\n   ============================================ *\/\nfunction go() {\n  try {\n    upd();\n    updQuote();\n    applyTheme();\n    initParticles();\n    \n    \/\/ \u2705 \u5012\u8ba1\u65f6\u6bcf\u79d2\u66f4\u65b0\uff08\u7cbe\u786e\u5230\u79d2\uff09\n    setInterval(upd, 1000);\n    \n    console.log('\u2705 \u6691\u5047\u5012\u8ba1\u65f6\u521d\u59cb\u5316\u5b8c\u6210');\n  } catch (e) {\n    console.error('\u521d\u59cb\u5316\u5931\u8d25:', e);\n    document.getElementById('quote').textContent = '\u9875\u9762\u52a0\u8f7d\u51fa\u9519\uff0c\u8bf7\u5237\u65b0\u91cd\u8bd5';\n  }\n}\n\nif (document.readyState === 'loading') {\n  document.addEventListener('DOMContentLoaded', go);\n} else {\n  go();\n}\n<\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"\u77f3\u5bb6\u5e84\u5e022026\u5e74\u4e2d\u5c0f\u5b66\u6691\u5047\u5012\u8ba1\u65f6\u9875\u9762\uff0c\u5305\u542b\u4e49\u52a1\u6559\u80b2\u9636\u6bb5\u548c\u9ad8\u4e2d\u9636\u6bb5\u5012\u8ba1\u65f6","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2035","post","type-post","status-publish","format-standard","hentry","category-xinwen"],"_links":{"self":[{"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/posts\/2035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/comments?post=2035"}],"version-history":[{"count":0,"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/posts\/2035\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/media?parent=2035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/categories?post=2035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.365ycs.com\/index.php\/wp-json\/wp\/v2\/tags?post=2035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}