{"id":2368,"date":"2023-10-07T09:14:04","date_gmt":"2023-10-07T01:14:04","guid":{"rendered":"https:\/\/bookmark.tw\/?p=2368"},"modified":"2025-08-10T00:23:29","modified_gmt":"2025-08-09T16:23:29","slug":"life-ten-years","status":"publish","type":"post","link":"https:\/\/xinliceyan.org\/zh\/life-ten-years","title":{"rendered":"\u7ebf\u4e0a\u514d\u8d39\u5c0f\u6d4b\u9a8c\uff1a\u5341\u5e74\u540e\u4f60\u8fc7\u54ea\u79cd\u751f\u6d3b"},"content":{"rendered":"<!-- Bootstrap CSS -->\n<link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap\/5.3.3\/css\/bootstrap.min.css\" rel=\"stylesheet\">\n<link href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-icons\/1.11.3\/font\/bootstrap-icons.min.css\" rel=\"stylesheet\">\n\n<!-- \u6e2c\u9a57\u4e3b\u5bb9\u5668 -->\n<div class=\"container-fluid p-0\" id=\"quiz9-container\">\n \n <!-- \u5f15\u5c0e\u9801 -->\n <section id=\"quizintro9\" data-page=\"intro9\" class=\"min-vh-100 d-flex align-items-center py-5\">\n   <div class=\"container\">\n     <div class=\"row justify-content-center\">\n       <div class=\"col-lg-10 col-xl-8\">\n         <header class=\"text-center mb-5\">\n           <h2 class=\"display-4 fw-bold mb-3\" style=\"color: #2c5f4e;\">\u5341\u5e74\u540e\u7684\u751f\u6d3b\u9884\u6d4b<\/h2>\n           <p class=\"lead text-muted\">\u63a2\u7d22\u4f60\u7684\u672a\u4f86\u85cd\u5716\uff0c\u638c\u63e1\u4eba\u751f\u65b9\u5411<\/p>\n         <\/header>\n         \n         <div class=\"card border-0 shadow-sm rounded-4 p-4 p-md-5 mb-5\">\n           <div class=\"card-body\">\n             <p class=\"fs-5 text-secondary mb-5 lh-lg\">\n               \u867d\u7136\u4eba\u4eba\u90fd\u77e5\u9053\u5e94\u5f53\u6d3b\u5728\u5f53\u4e0b\uff0c\u53ef\u662f\uff0c\u5927\u591a\u6570\u4eba\u8fd8\u662f\u4f1a\u5bf9\u81ea\u5df1\u7684\u672a\u6765\u611f\u5230\u597d\u5947\uff0c\u4f60\u4e00\u5b9a\u4e5f\u5f88\u60f3\u77e5\u9053\u5341\u5e74\u540e\u4f60\u62e5\u6709\u600e\u6837\u7684\u751f\u6d3b\u5427\u3002\u770b\u770b\u4e0b\u9762\u7684\u6d4b\u8bd5\uff0c\u6216\u8bb8\u80fd\u591f\u4ece\u4e2d\u627e\u5230\u7b54\u6848\u3002\n             <\/p>\n             \n             <div class=\"row g-4 mb-5\">\n               <div class=\"col-md-4\">\n                 <div class=\"text-center feature9-card h-100 p-4 rounded-3 bg-light\">\n                   <div class=\"rounded-circle bg-white shadow-sm mx-auto mb-3 d-flex align-items-center justify-content-center\" style=\"width: 80px; height: 80px;\">\n                     <i class=\"bi bi-graph-up-arrow fs-2\" style=\"color: #8bc3a1;\"><\/i>\n                   <\/div>\n                   <h5 class=\"fw-semibold mb-2\" style=\"color: #2c5f4e;\">\u4e86\u89e3\u672a\u6765\u8d8b\u52bf<\/h5>\n                   <p class=\"text-muted small mb-0\">\u638c\u63e1\u4f60\u4eba\u751f\u8f68\u8ff9\u7684\u53d1\u5c55\u52a8\u5411<\/p>\n                 <\/div>\n               <\/div>\n               <div class=\"col-md-4\">\n                 <div class=\"text-center feature9-card h-100 p-4 rounded-3 bg-light\">\n                   <div class=\"rounded-circle bg-white shadow-sm mx-auto mb-3 d-flex align-items-center justify-content-center\" style=\"width: 80px; height: 80px;\">\n                     <i class=\"bi bi-stars fs-2\" style=\"color: #8bc3a1;\"><\/i>\n                   <\/div>\n                   <h5 class=\"fw-semibold mb-2\" style=\"color: #2c5f4e;\">\u53d1\u6398\u6f5c\u5728\u53ef\u80fd<\/h5>\n                   <p class=\"text-muted small mb-0\">\u63a2\u7d22\u4f60\u672a\u6765\u7684\u65e0\u9650\u6f5c\u80fd\u4e0e\u673a\u9047<\/p>\n                 <\/div>\n               <\/div>\n               <div class=\"col-md-4\">\n                 <div class=\"text-center feature9-card h-100 p-4 rounded-3 bg-light\">\n                   <div class=\"rounded-circle bg-white shadow-sm mx-auto mb-3 d-flex align-items-center justify-content-center\" style=\"width: 80px; height: 80px;\">\n                     <i class=\"bi bi-compass fs-2\" style=\"color: #8bc3a1;\"><\/i>\n                   <\/div>\n                   <h5 class=\"fw-semibold mb-2\" style=\"color: #2c5f4e;\">\u627e\u5230\u4eba\u751f\u65b9\u5411<\/h5>\n                   <p class=\"text-muted small mb-0\">\u6307\u5f15\u4f60\u8fc8\u5411\u66f4\u7406\u60f3\u7684\u751f\u6d3b\u84dd\u56fe<\/p>\n                 <\/div>\n               <\/div>\n             <\/div>\n             \n             <div class=\"text-center\">\n               <button type=\"button\" class=\"btn btn-lg px-5 py-3 rounded-pill shadow-sm start9-btn\" \n                       data-action=\"start-quiz9\"\n                       style=\"background: linear-gradient(135deg, #8bc3a1, #a5d4b5); color: white; border: none; min-width: 200px;\">\n                 <span class=\"me-2\">\u5f00\u59cb\u6d4b\u9a8c<\/span>\n                 <i class=\"bi bi-arrow-right-circle\"><\/i>\n               <\/button>\n             <\/div>\n           <\/div>\n         <\/div>\n       <\/div>\n     <\/div>\n   <\/div>\n <\/section>\n\n <!-- \u6e2c\u9a57\u9801 -->\n <section id=\"quizmain9\" data-page=\"quiz9\" class=\"d-none min-vh-100 py-5\">\n   <div class=\"container\">\n     <div class=\"row justify-content-center\">\n       <div class=\"col-lg-8 col-xl-6\">\n         <header class=\"text-center mb-4\">\n           <h2 class=\"fw-bold mb-3\" style=\"color: #2c5f4e;\">\u5341\u5e74\u540e\u7684\u751f\u6d3b\u9884\u6d4b<\/h2>\n         <\/header>\n         \n         <!-- \u9032\u5ea6\u689d -->\n         <div class=\"progress mb-4\" style=\"height: 8px;\" role=\"progressbar\" aria-label=\"\u6d4b\u9a8c\u8fdb\u5ea6\">\n           <div class=\"progress-bar\" data-progress=\"bar9\" style=\"background: linear-gradient(90deg, #8bc3a1, #a5d4b5); transition: width 0.4s ease;\"><\/div>\n         <\/div>\n         <p class=\"text-center text-muted mb-4\" data-progress=\"text9\">\u554f\u984c 1\/5<\/p>\n         \n         <!-- \u554f\u984c\u5361\u7247 -->\n         <div class=\"card border-0 shadow-sm rounded-4 p-4 mb-4\">\n           <div class=\"card-body\">\n             <h3 class=\"fs-4 fw-bold text-center mb-4\" style=\"color: #2c5f4e;\" data-question=\"title9\"><\/h3>\n             <div data-question=\"options9\" class=\"d-grid gap-3\">\n               <!-- \u9078\u9805\u5c07\u52d5\u614b\u63d2\u5165 -->\n             <\/div>\n           <\/div>\n         <\/div>\n         \n         <!-- \u5c0e\u822a\u6309\u9215 -->\n         <div class=\"text-center\">\n           <button type=\"button\" class=\"btn btn-outline-secondary rounded-pill px-4 py-2 d-none\" data-action=\"prev-quiz9\">\n             <i class=\"bi bi-chevron-left me-2\"><\/i>\u4e0a\u4e00\u9898\n           <\/button>\n         <\/div>\n       <\/div>\n     <\/div>\n   <\/div>\n <\/section>\n\n <!-- \u7d50\u679c\u9801 -->\n <section id=\"quizresult9\" data-page=\"result9\" class=\"d-none min-vh-100 py-5\">\n   <div class=\"container\">\n     <div class=\"row justify-content-center\">\n       <div class=\"col-lg-10 col-xl-8\">\n         <header class=\"text-center mb-5\">\n           <h2 class=\"fw-bold\" style=\"color: #2c5f4e;\">\u4f60\u7684\u672a\u6765\u751f\u6d3b\u9884\u6d4b<\/h2>\n         <\/header>\n         \n         <!-- \u7d50\u679c\u5361\u7247 -->\n         <div class=\"card border-0 shadow-sm rounded-4 p-4 mb-4\">\n           <div class=\"card-body\">\n             <h3 class=\"text-center fw-bold mb-4\" style=\"color: #2c5f4e;\" data-result=\"title9\"><\/h3>\n             <p class=\"fs-5 lh-lg text-secondary\" data-result=\"description9\"><\/p>\n           <\/div>\n         <\/div>\n         \n         <!-- \u5716\u8868\u5361\u7247 -->\n         <div class=\"card border-0 shadow-sm rounded-4 p-4 mb-5\">\n           <div class=\"card-body\">\n             <div class=\"mx-auto\" style=\"max-width: 500px; height: 350px;\">\n               <canvas id=\"result9-chart\"><\/canvas>\n             <\/div>\n             <div class=\"d-flex flex-wrap justify-content-center gap-2 mt-4\" data-result=\"legend9\">\n               <!-- \u5716\u4f8b\u5c07\u52d5\u614b\u63d2\u5165 -->\n             <\/div>\n           <\/div>\n         <\/div>\n         \n         <!-- \u91cd\u65b0\u6e2c\u9a57\u6309\u9215 -->\n         <div class=\"text-center\">\n           <button type=\"button\" class=\"btn btn-lg px-5 py-3 rounded-pill shadow-sm\"\n                   data-action=\"restart-quiz9\"\n                   style=\"background: linear-gradient(135deg, #8bc3a1, #a5d4b5); color: white; border: none;\">\n             <i class=\"bi bi-arrow-clockwise me-2\"><\/i>\n             <span>\u91cd\u65b0\u6d4b\u9a8c<\/span>\n           <\/button>\n         <\/div>\n       <\/div>\n     <\/div>\n   <\/div>\n <\/section>\n<\/div>\n\n<!-- \u6a23\u5f0f -->\n<style>\n\/* \u57fa\u790e\u6a23\u5f0f\u91cd\u7f6e *\/\n#quiz9-container {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft JhengHei', '\u5fae\u8edf\u6b63\u9ed1\u9ad4', sans-serif;\n}\n\n#quiz9-container * {\n box-sizing: border-box;\n}\n\n\/* \u7279\u6027\u5361\u7247\u52d5\u756b *\/\n#quiz9-container .feature9-card {\n transition: transform 0.3s ease, box-shadow 0.3s ease;\n border: 1px solid rgba(139, 195, 161, 0.1);\n}\n\n#quiz9-container .feature9-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 30px rgba(139, 195, 161, 0.15);\n}\n\n\/* \u6309\u9215\u61f8\u505c\u6548\u679c *\/\n#quiz9-container .start9-btn {\n transition: all 0.3s ease;\n font-size: 18px;\n font-weight: 500;\n}\n\n#quiz9-container .start9-btn:hover {\n transform: translateY(-2px);\n box-shadow: 0 8px 25px rgba(139, 195, 161, 0.3) !important;\n background: linear-gradient(135deg, #7ab892, #95c9a5) !important;\n}\n\n\/* \u9078\u9805\u6309\u9215\u6a23\u5f0f *\/\n#quiz9-container .option9-btn {\n background: white;\n border: 2px solid #e8f3ec;\n color: #2c5f4e;\n padding: 1rem 1.5rem;\n text-align: left;\n transition: all 0.3s ease;\n font-size: 18px;\n min-height: 60px;\n position: relative;\n padding-left: 3.5rem;\n cursor: pointer;\n}\n\n#quiz9-container .option9-btn:hover {\n background: #f8faf9;\n border-color: #8bc3a1;\n transform: translateX(5px);\n box-shadow: 0 4px 15px rgba(139, 195, 161, 0.15);\n}\n\n#quiz9-container .option9-btn.active {\n background: linear-gradient(to right, rgba(139, 195, 161, 0.1), rgba(165, 212, 181, 0.05));\n border-color: #8bc3a1;\n color: #2c5f4e;\n font-weight: 500;\n}\n\n\/* \u9078\u9805\u6307\u793a\u5668 *\/\n#quiz9-container .option9-btn::before {\n content: '';\n position: absolute;\n left: 1.2rem;\n top: 50%;\n transform: translateY(-50%);\n width: 24px;\n height: 24px;\n border-radius: 50%;\n border: 2px solid #d4e8db;\n background: white;\n transition: all 0.3s ease;\n}\n\n#quiz9-container .option9-btn:hover::before {\n border-color: #8bc3a1;\n}\n\n#quiz9-container .option9-btn.active::before {\n background: #8bc3a1;\n border-color: #8bc3a1;\n}\n\n\/* \u52fe\u865f *\/\n#quiz9-container .option9-btn.active::after {\n content: '';\n position: absolute;\n left: 1.45rem;\n top: 50%;\n transform: translateY(-50%) rotate(-45deg);\n width: 6px;\n height: 11px;\n border-right: 2px solid white;\n border-bottom: 2px solid white;\n animation: checkMark9 0.3s ease;\n}\n\n@keyframes checkMark9 {\n 0% {\n   transform: translateY(-50%) rotate(-45deg) scale(0);\n }\n 50% {\n   transform: translateY(-50%) rotate(-45deg) scale(1.2);\n }\n 100% {\n   transform: translateY(-50%) rotate(-45deg) scale(1);\n }\n}\n\n\/* \u5716\u4f8b\u6a23\u5f0f *\/\n#quiz9-container .legend9-item {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 6px 12px;\n background: #f8faf9;\n border-radius: 20px;\n font-size: 14px;\n color: #6b8a7a;\n border: 1px solid #e8f3ec;\n}\n\n#quiz9-container .legend9-dot {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n display: inline-block;\n}\n\n\/* \u9801\u9762\u904e\u6e21\u52d5\u756b *\/\n@keyframes fadeIn9 {\n from {\n   opacity: 0;\n   transform: translateY(10px);\n }\n to {\n   opacity: 1;\n   transform: translateY(0);\n }\n}\n\n#quiz9-container section.fade-in9 {\n animation: fadeIn9 0.5s ease;\n}\n\n\/* \u97ff\u61c9\u5f0f\u8a2d\u8a08 *\/\n@media (max-width: 768px) {\n #quiz9-container .display-4 {\n   font-size: 2rem;\n }\n \n #quiz9-container .option9-btn {\n   font-size: 16px;\n   padding: 0.875rem 1.25rem;\n   padding-left: 3rem;\n }\n \n #quiz9-container .feature9-card {\n   padding: 1rem !important;\n }\n \n #quiz9-container .card {\n   padding: 1.5rem !important;\n }\n}\n<\/style>\n\n<!-- JavaScript -->\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/4.4.1\/chart.umd.min.js\"><\/script>\n<script>\n(function() {\n 'use strict';\n \n class Quiz9Manager {\n   constructor() {\n     \/\/ \u5feb\u53d6DOM\u5143\u7d20\n     this.container = document.getElementById('quiz9-container');\n     this.introPage = document.getElementById('quizintro9');\n     this.quizPage = document.getElementById('quizmain9');\n     this.resultPage = document.getElementById('quizresult9');\n     \n     this.progressBar = this.container.querySelector('[data-progress=\"bar9\"]');\n     this.progressText = this.container.querySelector('[data-progress=\"text9\"]');\n     this.questionTitle = this.container.querySelector('[data-question=\"title9\"]');\n     this.optionsContainer = this.container.querySelector('[data-question=\"options9\"]');\n     this.prevBtn = this.container.querySelector('[data-action=\"prev-quiz9\"]');\n     \n     this.resultTitle = this.container.querySelector('[data-result=\"title9\"]');\n     this.resultDescription = this.container.querySelector('[data-result=\"description9\"]');\n     this.legendContainer = this.container.querySelector('[data-result=\"legend9\"]');\n     \n     \/\/ \u6e2c\u9a57\u8cc7\u6599\n     this.currentQuestion = 0;\n     this.answers = [];\n     this.chart = null;\n     \n     this.questions = [\n       {\n         question: \"\u4f60\u4e0d\u9858\u610f\u8ddf\u4ee5\u4e0b\u54ea\u985e\u4eba\u4f86\u5f80\uff1f\",\n         options: [\n           { text: \"\u611b\u5360\u5c0f\u4fbf\u5b9c\uff0c\u4f46\u5fc3\u5730\u9084\u7b97\u4e0d\u932f\u7684\u4eba\", value: \"A\" },\n           { text: \"\u611b\u7ba1\u9592\u4e8b\uff0c\u4f46\u4e0d\u8caa\u5a6a\u7684\u4eba\", value: \"B\" },\n           { text: \"\u6bd4\u81ea\u5df1\u512a\u79c0\u592a\u591a\uff0c\u4f46\u6709\u9ede\u9a55\u50b2\u7684\u4eba\", value: \"C\" },\n           { text: \"\u6bd4\u81ea\u5df1\u5dee\u52c1\uff0c\u628a\u81ea\u5df1\u7576\u5076\u50cf\u7684\u4eba\", value: \"D\" }\n         ]\n       },\n       {\n         question: \"\u5982\u679c\u4f60\u7a81\u7136\u7372\u5f97\u4e00\u7b46\u610f\u5916\u4e4b\u8ca1\uff0c\u4f60\u6700\u60f3\u505a\u4ec0\u9ebc\uff1f\",\n         options: [\n           { text: \"\u6295\u8cc7\u7406\u8ca1\uff0c\u78ba\u4fdd\u672a\u4f86\u6536\u76ca\", value: \"A\" },\n           { text: \"\u8cfc\u8cb7\u81ea\u5df1\u4e00\u76f4\u60f3\u8981\u4f46\u6368\u4e0d\u5f97\u8cb7\u7684\u6771\u897f\", value: \"B\" },\n           { text: \"\u6295\u8cc7\u81ea\u5df1\u7684\u8208\u8da3\u6216\u4e8b\u696d\", value: \"C\" },\n           { text: \"\u8207\u5bb6\u4eba\u670b\u53cb\u5206\u4eab\uff0c\u5171\u5ea6\u7f8e\u597d\u6642\u5149\", value: \"D\" }\n         ]\n       },\n       {\n         question: \"\u4f60\u8a8d\u70ba\u4ec0\u9ebc\u662f\u6210\u529f\u7684\u4eba\u751f\uff1f\",\n         options: [\n           { text: \"\u64c1\u6709\u8c50\u539a\u7684\u8ca1\u5bcc\u548c\u793e\u6703\u5730\u4f4d\", value: \"A\" },\n           { text: \"\u64c1\u6709\u8c50\u5bcc\u591a\u5f69\u7684\u751f\u6d3b\u9ad4\u9a57\", value: \"B\" },\n           { text: \"\u5be6\u73fe\u81ea\u5df1\u7684\u5922\u60f3\u548c\u76ee\u6a19\", value: \"C\" },\n           { text: \"\u64c1\u6709\u548c\u8ae7\u7684\u5bb6\u5ead\u548c\u4eba\u969b\u95dc\u4fc2\", value: \"D\" }\n         ]\n       },\n       {\n         question: \"\u9762\u5c0d\u56f0\u96e3\u6642\uff0c\u4f60\u901a\u5e38\u7684\u53cd\u61c9\u662f\u4ec0\u9ebc\uff1f\",\n         options: [\n           { text: \"\u5c0b\u627e\u5404\u7a2e\u8cc7\u6e90\u548c\u4eba\u8108\u4f86\u89e3\u6c7a\u554f\u984c\", value: \"A\" },\n           { text: \"\u5617\u8a66\u4e0d\u540c\u65b9\u6cd5\uff0c\u76f4\u5230\u627e\u5230\u89e3\u6c7a\u65b9\u6848\", value: \"B\" },\n           { text: \"\u5805\u6301\u81ea\u5df1\u7684\u65b9\u5411\uff0c\u8fce\u96e3\u800c\u4e0a\", value: \"C\" },\n           { text: \"\u5148\u51b7\u975c\u601d\u8003\uff0c\u518d\u5236\u5b9a\u884c\u52d5\u8a08\u5283\", value: \"D\" }\n         ]\n       },\n       {\n         question: \"\u5728\u5de5\u4f5c\u4e2d\uff0c\u4f60\u6700\u770b\u91cd\u4ec0\u9ebc\uff1f\",\n         options: [\n           { text: \"\u9ad8\u85aa\u548c\u826f\u597d\u7684\u798f\u5229\u5f85\u9047\", value: \"A\" },\n           { text: \"\u6709\u8da3\u4e14\u5145\u6eff\u6311\u6230\u7684\u5de5\u4f5c\u5167\u5bb9\", value: \"B\" },\n           { text: \"\u80fd\u5920\u5be6\u73fe\u81ea\u6211\u50f9\u503c\u7684\u6a5f\u6703\", value: \"C\" },\n           { text: \"\u548c\u8ae7\u7684\u5de5\u4f5c\u74b0\u5883\u548c\u826f\u597d\u7684\u540c\u4e8b\u95dc\u4fc2\", value: \"D\" }\n         ]\n       }\n     ];\n     \n     this.results = {\n       A: {\n         title: \"\u6210\u5c31\u578b\u4eba\u751f\",\n         description: \"\u5341\u5e74\u5f8c\uff0c\u4f60\u6703\u64c1\u6709\u4ee4\u4eba\u7fa8\u6155\u7684\u751f\u6d3b\u3002\u5c0d\u9031\u906d\u7684\u4eba\u4f86\u8aaa\uff0c\u4f60\u64c1\u6709\u7684\u90fd\u662f\u4ed6\u5011\u60f3\u8981\u7684\uff0c\u7121\u8ad6\u662f\u5728\u7269\u8cea\u65b9\u9762\uff0c\u9084\u662f\u5728\u751f\u6d3b\u65b9\u5f0f\u65b9\u9762\uff0c\u90fd\u80fd\u8d0f\u5f97\u5225\u4eba\u7684\u7fa8\u6155\uff0c\u5f88\u591a\u4eba\u5e0c\u671b\u80fd\u6d3b\u8457\u8ddf\u4f60\u4e00\u6a23\u3002\u4e0d\u904e\u4f60\u81ea\u5df1\u672a\u5fc5\u80fd\u5728\u81ea\u5df1\u7684\u751f\u6d3b\u4e2d\u611f\u53d7\u5230\u5e78\u798f\uff0c\u6216\u8a31\u4f60\u4e5f\u4e0d\u6c89\u8ff7\u88ab\u4eba\u7fa8\u6155\u7684\u611f\u89ba\uff0c\u5e0c\u671b\u81ea\u5df1\u80fd\u4e00\u76f4\u88ab\u4eba\u7fa8\u6155\u3002\",\n         traits: {\n           \"\u7269\u8cea\u6210\u5c31\": 90,\n           \"\u793e\u4ea4\u5f71\u97ff\u529b\": 75,\n           \"\u500b\u4eba\u81ea\u7531\": 60,\n           \"\u5167\u5fc3\u6eff\u8db3\": 50,\n           \"\u5bb6\u5ead\u548c\u8ae7\": 65\n         }\n       },\n       B: {\n         title: \"\u4eab\u6a02\u578b\u4eba\u751f\",\n         description: \"\u5341\u5e74\u5f8c\uff0c\u4f60\u7684\u751f\u6d3b\u8cea\u91cf\u6703\u6bd4\u73fe\u5728\u597d\u4e00\u500d\u3002\u4f60\u53ef\u4ee5\u8cb7\u5f97\u4e86\u81ea\u5df1\u60f3\u8981\u7684\u6771\u897f\uff0c\u53ef\u4ee5\u70ba\u81ea\u5df1\u7684\u751f\u6d3b\u958b\u652f\u8ca0\u8cac\uff0c\u5076\u723e\u4f60\u9084\u6703\u6709\u6a5f\u6703\u51fa\u53bb\u6d6a\u4e00\u6d6a\uff0c\u4e5f\u53ef\u4ee5\u5728\u670b\u53cb\u5708\u6652\u51fa\u5f88\u591a\u4eba\u8cb7\u4e0d\u4e86\u7684\u5962\u4f88\u54c1\uff0c\u751f\u6d3b\u7684\u8cea\u91cf\u8d8a\u4f86\u8d8a\u597d\uff0c\u80fd\u611f\u53d7\u5230\u7684\u5feb\u6a02\u4e5f\u8d8a\u4f86\u8d8a\u591a\u3002\u4e0d\u904e\uff0c\u4f60\u4e0d\u592a\u5bb9\u6613\u56e0\u6b64\u800c\u6eff\u8db3\uff0c\u4f60\u9084\u5e0c\u671b\u80fd\u5920\u5f97\u5230\u66f4\u591a\u3002\",\n         traits: {\n           \"\u7269\u8cea\u6210\u5c31\": 75,\n           \"\u793e\u4ea4\u5f71\u97ff\u529b\": 80,\n           \"\u500b\u4eba\u81ea\u7531\": 85,\n           \"\u5167\u5fc3\u6eff\u8db3\": 65,\n           \"\u5bb6\u5ead\u548c\u8ae7\": 60\n         }\n       },\n       C: {\n         title: \"\u81ea\u4e3b\u578b\u4eba\u751f\",\n         description: \"\u5341\u5e74\u5f8c\uff0c\u4f60\u80fd\u64c1\u6709\u81ea\u5df1\u60f3\u8981\u7684\u751f\u6d3b\u3002\u4f60\u6703\u6309\u81ea\u5df1\u7684\u60f3\u6cd5\u53bb\u751f\u6d3b\uff0c\u5728\u9031\u906d\u7684\u4eba\u770b\u4f86\uff0c\u4f60\u975e\u5e38\u7684\u57f7\u8457\uff0c\u70ba\u4e86\u81ea\u5df1\u7684\u5922\u60f3\u4ed8\u51fa\u4e86\u592a\u591a\u6642\u9593\u548c\u7cbe\u529b\uff0c\u5728\u7269\u8cea\u65b9\u9762\u537b\u6c92\u6709\u592a\u591a\u7684\u6536\u7a6b\u3002\u53ef\u80fd\u5f88\u591a\u4eba\u89ba\u5f97\u4f60\u5f88\u50bb\uff0c\u4e0d\u904e\uff0c\u8a72\u4f86\u7684\u7e3d\u6703\u4f86\uff0c\u52aa\u529b\u628a\u4e00\u4ef6\u4e8b\u60c5\u505a\u597d\u4e86\uff0c\u7269\u8cea\u56de\u5831\u5c11\u4e0d\u4e86\uff0c\u4f60\u4e0d\u53ef\u80fd\u6309\u81ea\u5df1\u559c\u6b61\u7684\u65b9\u5f0f\u751f\u6d3b\uff0c\u9084\u80fd\u7372\u5f97\u4ee4\u4eba\u7fa8\u6155\u3002\",\n         traits: {\n           \"\u7269\u8cea\u6210\u5c31\": 65,\n           \"\u793e\u4ea4\u5f71\u97ff\u529b\": 60,\n           \"\u500b\u4eba\u81ea\u7531\": 90,\n           \"\u5167\u5fc3\u6eff\u8db3\": 85,\n           \"\u5bb6\u5ead\u548c\u8ae7\": 70\n         }\n       },\n       D: {\n         title: \"\u5e73\u8861\u578b\u4eba\u751f\",\n         description: \"\u5341\u5e74\u5f8c\uff0c\u4f60\u7684\u751f\u6d3b\u9084\u662f\u8001\u6a23\u5b50\u3002\u4f60\u9084\u662f\u904e\u8457\u671d\u4e5d\u665a\u4e94\u7684\u751f\u6d3b\uff0c\u6bcf\u500b\u6708\u9818\u8457\u56fa\u5b9a\u7684\u6536\u5165\uff0c\u9664\u4e86\u5e74\u9f61\u6709\u6240\u589e\u9577\u4ee5\u5916\uff0c\u5176\u4ed6\u7684\u4e00\u5207\u90fd\u6c92\u6709\u767c\u751f\u592a\u5927\u7684\u8b8a\u5316\uff0c\u4f60\u5c0d\u6b64\u611f\u5230\u5931\u671b\uff0c\u4f46\u662f\u4f60\u4e0d\u80fd\u57cb\u6028\u4efb\u4f55\u4eba\uff0c\u56e0\u70ba\u4f60\u77e5\u9053\u6240\u6709\u7684\u4e00\u5207\u90fd\u662f\u81ea\u5df1\u9020\u6210\u7684\uff0c\u8207\u5176\u5f8c\u6094\u4eca\u5929\u7684\u81ea\u5df1\u4e0d\u5920\u52aa\u529b\uff0c\u4e0d\u5982\u5f9e\u73fe\u5728\u958b\u59cb\u52aa\u529b\uff0c\u5225\u7d66\u81ea\u5df1\u5f8c\u6094\u7684\u6a5f\u6703\u3002\",\n         traits: {\n           \"\u7269\u8cea\u6210\u5c31\": 70,\n           \"\u793e\u4ea4\u5f71\u97ff\u529b\": 65,\n           \"\u500b\u4eba\u81ea\u7531\": 75,\n           \"\u5167\u5fc3\u6eff\u8db3\": 80,\n           \"\u5bb6\u5ead\u548c\u8ae7\": 90\n         }\n       }\n     };\n     \n     this.init();\n   }\n   \n   init() {\n     \/\/ \u4e8b\u4ef6\u59d4\u8a17 - \u4fee\u5fa9\uff1a\u4f7f\u7528\u6355\u7372\u968e\u6bb5\u78ba\u4fdd\u4e8b\u4ef6\u80fd\u88ab\u6355\u7372\n     this.container.addEventListener('click', this.handleClick.bind(this), true);\n     \n     \/\/ \u78ba\u4fdd\u9078\u9805\u5bb9\u5668\u4e5f\u80fd\u8655\u7406\u9ede\u64ca\n     if (this.optionsContainer) {\n       this.optionsContainer.addEventListener('click', (e) => {\n         const option = e.target.closest('.option9-btn');\n         if (option) {\n           e.stopPropagation();\n           this.selectOption(option);\n         }\n       });\n     }\n   }\n   \n   handleClick(e) {\n     \/\/ \u8655\u7406\u6309\u9215\u9ede\u64ca\n     const target = e.target.closest('[data-action]');\n     if (target) {\n       e.preventDefault();\n       e.stopPropagation();\n       \n       const action = target.dataset.action;\n       \n       switch(action) {\n         case 'start-quiz9':\n           this.startQuiz();\n           break;\n         case 'prev-quiz9':\n           this.previousQuestion();\n           break;\n         case 'restart-quiz9':\n           this.restartQuiz();\n           break;\n       }\n     }\n     \n     \/\/ \u8655\u7406\u9078\u9805\u9ede\u64ca\n     const option = e.target.closest('.option9-btn');\n     if (option) {\n       e.preventDefault();\n       e.stopPropagation();\n       this.selectOption(option);\n     }\n   }\n   \n   startQuiz() {\n     this.switchPage(this.introPage, this.quizPage);\n     this.renderQuestion();\n   }\n   \n   renderQuestion() {\n     const question = this.questions[this.currentQuestion];\n     \n     \/\/ \u66f4\u65b0\u9032\u5ea6\n     const progress = ((this.currentQuestion + 1) \/ this.questions.length) * 100;\n     this.progressBar.style.width = `${progress}%`;\n     this.progressText.textContent = `\u554f\u984c ${this.currentQuestion + 1}\/${this.questions.length}`;\n     \n     \/\/ \u66f4\u65b0\u554f\u984c\n     this.questionTitle.textContent = question.question;\n     \n     \/\/ \u6e32\u67d3\u9078\u9805\n     this.optionsContainer.innerHTML = question.options.map((option, index) => `\n       <button type=\"button\" \n               class=\"btn btn-outline-secondary w-100 option9-btn ${this.answers[this.currentQuestion] === option.value ? 'active' : ''}\"\n               data-value=\"${option.value}\">\n         ${option.text}\n       <\/button>\n     `).join('');\n     \n     \/\/ \u91cd\u65b0\u7d81\u5b9a\u9078\u9805\u9ede\u64ca\u4e8b\u4ef6\n     const options = this.optionsContainer.querySelectorAll('.option9-btn');\n     options.forEach(btn => {\n       btn.addEventListener('click', (e) => {\n         e.preventDefault();\n         e.stopPropagation();\n         this.selectOption(btn);\n       });\n     });\n     \n     \/\/ \u986f\u793a\/\u96b1\u85cf\u4e0a\u4e00\u984c\u6309\u9215\n     this.prevBtn.classList.toggle('d-none', this.currentQuestion === 0);\n     \n     \/\/ \u6efe\u52d5\u5230\u9801\u9762\u9802\u90e8\n     this.scrollToTop();\n   }\n   \n   selectOption(button) {\n     const value = button.dataset.value;\n     \n     \/\/ \u66f4\u65b0\u9078\u4e2d\u72c0\u614b\n     const allOptions = this.optionsContainer.querySelectorAll('.option9-btn');\n     allOptions.forEach(btn => {\n       btn.classList.remove('active');\n     });\n     button.classList.add('active');\n     \n     \/\/ \u4fdd\u5b58\u7b54\u6848\n     this.answers[this.currentQuestion] = value;\n     \n     \/\/ \u5ef6\u9072\u9032\u5165\u4e0b\u4e00\u984c\n     setTimeout(() => {\n       if (this.currentQuestion < this.questions.length - 1) {\n         this.currentQuestion++;\n         this.renderQuestion();\n       } else {\n         this.showResult();\n       }\n     }, 300);\n   }\n   \n   previousQuestion() {\n     if (this.currentQuestion > 0) {\n       this.currentQuestion--;\n       this.renderQuestion();\n     }\n   }\n   \n   showResult() {\n     const resultKey = this.calculateResult();\n     const result = this.results[resultKey];\n     \n     \/\/ \u586b\u5145\u7d50\u679c\n     this.resultTitle.textContent = result.title;\n     this.resultDescription.textContent = result.description;\n     \n     \/\/ \u5207\u63db\u9801\u9762\n     this.switchPage(this.quizPage, this.resultPage);\n     \n     \/\/ \u5275\u5efa\u5716\u4f8b\n     this.createLegend(result.traits);\n     \n     \/\/ \u7e6a\u88fd\u5716\u8868\n     setTimeout(() => {\n       this.drawChart(result.traits);\n     }, 100);\n     \n     \/\/ \u6efe\u52d5\u5230\u9802\u90e8\n     this.scrollToTop();\n   }\n   \n   calculateResult() {\n     const counts = { A: 0, B: 0, C: 0, D: 0 };\n     \n     this.answers.forEach(answer => {\n       if (answer in counts) counts[answer]++;\n     });\n     \n     let maxCount = 0;\n     let result = 'A';\n     \n     for (const [key, count] of Object.entries(counts)) {\n       if (count > maxCount || (count === maxCount && this.answers[this.answers.length - 1] === key)) {\n         maxCount = count;\n         result = key;\n       }\n     }\n     \n     return result;\n   }\n   \n   createLegend(traits) {\n     const colors = [\n       'rgba(139, 195, 161, 0.8)',\n       'rgba(165, 212, 181, 0.8)',\n       'rgba(129, 178, 149, 0.8)',\n       'rgba(184, 223, 200, 0.8)',\n       'rgba(107, 138, 122, 0.8)'\n     ];\n     \n     this.legendContainer.innerHTML = Object.entries(traits).map(([trait, value], index) => `\n       <span class=\"legend9-item\">\n         <span class=\"legend9-dot\" style=\"background: ${colors[index % colors.length]}\"><\/span>\n         ${trait}: ${value}%\n       <\/span>\n     `).join('');\n   }\n   \n   drawChart(traits) {\n     const canvas = document.getElementById('result9-chart');\n     if (!canvas) return;\n     \n     \/\/ \u92b7\u6bc0\u820a\u5716\u8868\n     if (this.chart) {\n       this.chart.destroy();\n     }\n     \n     const ctx = canvas.getContext('2d');\n     const labels = Object.keys(traits);\n     const data = Object.values(traits);\n     \n     this.chart = new Chart(ctx, {\n       type: 'radar',\n       data: {\n         labels: labels,\n         datasets: [{\n           label: '\u4f60\u7684\u7279\u8cea\u8a55\u5206',\n           data: data,\n           backgroundColor: 'rgba(139, 195, 161, 0.2)',\n           borderColor: 'rgba(139, 195, 161, 0.8)',\n           borderWidth: 2,\n           pointBackgroundColor: 'rgba(107, 138, 122, 1)',\n           pointBorderColor: '#fff',\n           pointHoverBackgroundColor: '#fff',\n           pointHoverBorderColor: 'rgba(107, 138, 122, 1)',\n           pointRadius: 5,\n           pointHoverRadius: 7\n         }]\n       },\n       options: {\n         responsive: true,\n         maintainAspectRatio: false,\n         scales: {\n           r: {\n             angleLines: {\n               display: true,\n               color: 'rgba(0, 0, 0, 0.05)'\n             },\n             suggestedMin: 0,\n             suggestedMax: 100,\n             ticks: {\n               stepSize: 20,\n               backdropColor: 'transparent',\n               color: '#6b8a7a',\n               font: {\n                 size: 12\n               }\n             },\n             pointLabels: {\n               font: {\n                 size: 14,\n                 weight: '500'\n               },\n               color: '#2c5f4e'\n             },\n             grid: {\n               color: 'rgba(0, 0, 0, 0.03)'\n             }\n           }\n         },\n         plugins: {\n           legend: {\n             display: false\n           },\n           tooltip: {\n             backgroundColor: 'rgba(44, 95, 78, 0.9)',\n             titleFont: {\n               size: 14\n             },\n             bodyFont: {\n               size: 14\n             },\n             padding: 12,\n             cornerRadius: 8,\n             callbacks: {\n               label: (context) => `${context.label}: ${context.raw}%`\n             }\n           }\n         }\n       }\n     });\n   }\n   \n   restartQuiz() {\n     \/\/ \u91cd\u7f6e\u72c0\u614b\n     this.currentQuestion = 0;\n     this.answers = [];\n     \n     \/\/ \u92b7\u6bc0\u5716\u8868\n     if (this.chart) {\n       this.chart.destroy();\n       this.chart = null;\n     }\n     \n     \/\/ \u8fd4\u56de\u5f15\u5c0e\u9801\n     this.switchPage(this.resultPage, this.introPage);\n   }\n   \n   switchPage(from, to) {\n     from.classList.add('d-none');\n     to.classList.remove('d-none');\n     to.classList.add('fade-in9');\n     \n     \/\/ \u79fb\u9664\u52d5\u756b\u985e\n     setTimeout(() => {\n       to.classList.remove('fade-in9');\n     }, 500);\n   }\n   \n   scrollToTop() {\n     const header = this.container.querySelector('h2');\n     if (header) {\n       header.scrollIntoView({ behavior: 'smooth', block: 'center' });\n     }\n   }\n }\n \n \/\/ \u521d\u59cb\u5316\u6e2c\u9a57\n if (document.readyState === 'loading') {\n   document.addEventListener('DOMContentLoaded', () => {\n     new Quiz9Manager();\n   });\n } else {\n   new Quiz9Manager();\n }\n})();\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u867d\u7136\u4eba\u4eba\u90fd\u77e5\u9053\u5e94\u5f53\u6d3b\u5728\u5f53\u4e0b\uff0c\u53ef\u662f\uff0c\u5927\u591a\u6570\u4eba\u8fd8\u662f\u4f1a\u5bf9\u81ea\u5df1\u7684\u672a\u6765\u611f\u5230\u597d\u5947\uff0c\u4f60\u4e00\u5b9a\u4e5f\u5f88\u60f3\u77e5\u9053\u5341\u5e74\u540e\u4f60\u62e5\u6709\u600e\u6837\u7684\u751f\u6d3b\u5427\u3002\u770b\u770b\u4e0b\u9762\u7684\u6d4b\u8bd5\uff0c\u6216\u8bb8\u80fd\u591f\u4ece\u4e2d\u627e\u5230\u7b54\u6848\u3002<\/p>","protected":false},"author":19,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"normal-width-container","site-content-style":"unboxed","site-sidebar-style":"default","ast-global-header-display":"disabled","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[160],"tags":[],"class_list":["post-2368","post","type-post","status-publish","format-standard","hentry","category-attitude-scales"],"_links":{"self":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/comments?post=2368"}],"version-history":[{"count":9,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2368\/revisions"}],"predecessor-version":[{"id":10321,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2368\/revisions\/10321"}],"wp:attachment":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/media?parent=2368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/categories?post=2368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/tags?post=2368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}