{"id":2725,"date":"2023-10-20T08:33:16","date_gmt":"2023-10-20T00:33:16","guid":{"rendered":"https:\/\/bookmark.tw\/?p=2725"},"modified":"2025-08-24T03:19:39","modified_gmt":"2025-08-23T19:19:39","slug":"ideal-vs-real-love","status":"publish","type":"post","link":"https:\/\/xinliceyan.org\/zh\/ideal-vs-real-love","title":{"rendered":"\u5c0f\u6d4b\u9a8c\uff1a\u7231\u60c5\u7406\u60f3\u4e0e\u73b0\u5b9e\u7684\u5dee\u8ddd"},"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\u5bb9\u5668 -->\n<div id=\"loveQuizContainer9\" class=\"container-fluid px-3\">\n  \n  <!-- \u5f15\u5c0e\u9801 -->\n  <section id=\"quizintro9\" data-page=\"intro9\" class=\"py-4\">\n    <div class=\"row justify-content-center\">\n      <div class=\"col-12\" style=\"max-width: 750px;\">\n        <header class=\"text-center mb-4\">\n          <h2 class=\"fw-bold mb-3\" style=\"color: #6B705C; font-size: 2rem;\">\n            <i class=\"bi bi-heart-pulse-fill me-2\" style=\"color: #CB997E;\"><\/i>\n            \u611b\u60c5\u7406\u60f3\u8207\u73fe\u5be6\u7684\u5dee\u8ddd\n          <\/h2>\n          <p class=\"lead text-muted\" style=\"font-size: 1.1rem;\">\u63a2\u7d22\u4f60\u7684\u6200\u611b\u5fc3\u7406\u6df1\u5c64\u5bc6\u78bc<\/p>\n        <\/header>\n\n        <!-- \u6e2c\u9a57\u4ecb\u7d39\u6587\u5b57 -->\n        <div class=\"card border-0 shadow-sm p-3 mb-4\" style=\"background-color: #FFF8F3;\">\n          <div class=\"card-body\">\n            <p class=\"mb-0 lh-lg\" style=\"font-size: 1.05rem; color: #5a5a5a;\">\n              \u7ea6\u4f1a\u5730\u70b9\u662f\u53cd\u6620\u604b\u7231\u6df1\u5c42\u5fc3\u7406\u7684\u6700\u4f73\u6307\u6807\u3002\u4e00\u5bf9\u60c5\u4fa3\u968f\u7740\u4e24\u4eba\u7684\u4eb2\u5bc6\u5ea6\u4e0e\u7ea6\u4f1a\u6b21\u6570\u7684\u589e\u52a0\uff0c\u5c31\u4f1a\u5f88\u5728\u610f\u7ea6\u4f1a\u7684\u300c\u5730\u70b9\u300d\u3002 \u300c\u5730\u70b9\u300d\u4f1a\u7ed9\u4e24\u4eba\u5f88\u5927\u7684\u5f71\u54cd\u3002\u672c\u6d4b\u9a8c\u901a\u8fc7\u5730\u70b9\u7684\u9009\u62e9\u6765\u770b\u4f60\u7684\u604b\u7231\u5728\u7406\u60f3\u548c\u73b0\u5b9e\u4e4b\u95f4\u7684\u5dee\u8ddd\u6709\u591a\u5927\u3002\n            <\/p>\n          <\/div>\n        <\/div>\n\n        <div class=\"row g-3 mb-4\">\n          <div class=\"col-md-4\">\n            <div class=\"text-center p-3 h-100\">\n              <div class=\"rounded-circle d-inline-flex align-items-center justify-content-center mb-3 shadow-sm\" \n                   style=\"width: 70px; height: 70px; background: linear-gradient(135deg, #FFE8D6, #CB997E);\">\n                <i class=\"bi bi-pin-map-fill text-white fs-3\"><\/i>\n              <\/div>\n              <h5 class=\"fw-bold\" style=\"color: #6B705C; font-size: 1.1rem;\">\u5730\u9ede\u7684\u5967\u79d8<\/h5>\n              <p class=\"text-muted small\">\u7d04\u6703\u5730\u9ede\u53cd\u6620\u6200\u611b\u6df1\u5c64\u5fc3\u7406<\/p>\n            <\/div>\n          <\/div>\n          <div class=\"col-md-4\">\n            <div class=\"text-center p-3 h-100\">\n              <div class=\"rounded-circle d-inline-flex align-items-center justify-content-center mb-3 shadow-sm\" \n                   style=\"width: 70px; height: 70px; background: linear-gradient(135deg, #DDBEA9, #A5A58D);\">\n                <i class=\"bi bi-hearts text-white fs-3\"><\/i>\n              <\/div>\n              <h5 class=\"fw-bold\" style=\"color: #6B705C; font-size: 1.1rem;\">\u89aa\u5bc6\u5ea6\u89e3\u6790<\/h5>\n              <p class=\"text-muted small\">\u5730\u9ede\u9078\u64c7\u5c55\u73fe\u95dc\u4fc2\u6df1\u5ea6<\/p>\n            <\/div>\n          <\/div>\n          <div class=\"col-md-4\">\n            <div class=\"text-center p-3 h-100\">\n              <div class=\"rounded-circle d-inline-flex align-items-center justify-content-center mb-3 shadow-sm\" \n                   style=\"width: 70px; height: 70px; background: linear-gradient(135deg, #B7B7A4, #6B705C);\">\n                <i class=\"bi bi-compass-fill text-white fs-3\"><\/i>\n              <\/div>\n              <h5 class=\"fw-bold\" style=\"color: #6B705C; font-size: 1.1rem;\">\u6df1\u5ea6\u6d1e\u5bdf<\/h5>\n              <p class=\"text-muted small\">\u4e86\u89e3\u7406\u60f3\u8207\u73fe\u5be6\u7684\u5dee\u8ddd<\/p>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"card border-0 shadow-sm p-3 mb-4\" style=\"background-color: #FAFAFA;\">\n          <div class=\"card-body\">\n            <h5 class=\"fw-bold mb-3\" style=\"color: #6B705C;\">\n              <i class=\"bi bi-chat-square-quote-fill me-2\" style=\"color: #CB997E;\"><\/i>\n              \u6e2c\u9a57\u60c5\u5883\n            <\/h5>\n            <p class=\"mb-0 lh-lg\">\n              \u6709\u5c0d\u60c5\u4fb6\u5728\u96fb\u8a71\u88e1\u76f8\u7d04\u898b\u9762\u3002\u7537\u65b9\u8aaa\uff1a\u300c\u5728\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u898b\uff0c\u597d\u4e0d\u597d\uff1f\u300d\u5973\u65b9\u7b54\u61c9\u4e86\u3002\n              \u900f\u904e\u4f60\u76f4\u89ba\u9078\u64c7\u7684\u78b0\u9762\u5730\u9ede\uff0c\u6211\u5011\u5c07\u63ed\u793a\u4f60\u5728\u611b\u60c5\u4e2d\u7684\u7406\u60f3\u8207\u73fe\u5be6\u5dee\u8ddd\u3002\n            <\/p>\n          <\/div>\n        <\/div>\n\n        <div class=\"text-center\">\n          <button data-action=\"start-quiz\" class=\"btn btn-lg px-4 py-3 shadow\" \n                  style=\"background: linear-gradient(135deg, #CB997E, #B7B7A4);                          border: none;                          color: white;                          font-size: 1.1rem;                          font-weight: 600;                         border-radius: 30px;                         min-width: 180px;\">\n            \u5f00\u59cb\u6d4b\u9a8c\n            <i class=\"bi bi-arrow-right-circle-fill ms-2\"><\/i>\n          <\/button>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/section>\n\n  <!-- \u6e2c\u9a57\u9801 -->\n  <section id=\"quizmain9\" data-page=\"quiz9\" class=\"py-4 d-none\">\n    <div class=\"row justify-content-center\">\n      <div class=\"col-12\" style=\"max-width: 750px;\">\n        <header class=\"text-center mb-4\">\n          <h2 class=\"fw-bold\" style=\"color: #6B705C; font-size: 1.8rem;\">\u611b\u60c5\u7406\u60f3\u8207\u73fe\u5be6\u7684\u5dee\u8ddd<\/h2>\n        <\/header>\n        \n        <div class=\"card border-0 shadow-sm p-3\">\n          <div class=\"card-body\">\n            <h3 class=\"fw-bold mb-4\" style=\"font-size: 22px; color: #6B705C;\">\n              \u4f60\u8a8d\u70ba\u4ed6\u5011\u5b9a\u7684\u78b0\u9762\u5730\u65b9\u662f\u54ea\u5152\u5462\uff1f\n            <\/h3>\n            \n            <div class=\"options-container\" data-question=\"location\">\n              <div class=\"card border-0 shadow-sm mb-3 option-card\" data-option=\"A\" \n                   style=\"cursor: pointer; transition: all 0.3s ease;\">\n                <div class=\"card-body d-flex align-items-center p-3\">\n                  <div class=\"option-indicator rounded-circle border border-2 me-3 d-flex align-items-center justify-content-center\" \n                       style=\"width: 32px; height: 32px; min-width: 32px; border-color: #CB997E !important;\">\n                    <i class=\"bi bi-check-lg d-none\" style=\"font-size: 20px; color: white;\"><\/i>\n                  <\/div>\n                  <span style=\"font-size: 18px; color: #333; line-height: 1.4;\">\u8f66\u7ad9<\/span>\n                <\/div>\n              <\/div>\n\n              <div class=\"card border-0 shadow-sm mb-3 option-card\" data-option=\"B\" \n                   style=\"cursor: pointer; transition: all 0.3s ease;\">\n                <div class=\"card-body d-flex align-items-center p-3\">\n                  <div class=\"option-indicator rounded-circle border border-2 me-3 d-flex align-items-center justify-content-center\" \n                       style=\"width: 32px; height: 32px; min-width: 32px; border-color: #CB997E !important;\">\n                    <i class=\"bi bi-check-lg d-none\" style=\"font-size: 20px; color: white;\"><\/i>\n                  <\/div>\n                  <span style=\"font-size: 18px; color: #333; line-height: 1.4;\">\u516c\u5712<\/span>\n                <\/div>\n              <\/div>\n\n              <div class=\"card border-0 shadow-sm mb-3 option-card\" data-option=\"C\" \n                   style=\"cursor: pointer; transition: all 0.3s ease;\">\n                <div class=\"card-body d-flex align-items-center p-3\">\n                  <div class=\"option-indicator rounded-circle border border-2 me-3 d-flex align-items-center justify-content-center\" \n                       style=\"width: 32px; height: 32px; min-width: 32px; border-color: #CB997E !important;\">\n                    <i class=\"bi bi-check-lg d-none\" style=\"font-size: 20px; color: white;\"><\/i>\n                  <\/div>\n                  <span style=\"font-size: 18px; color: #333; line-height: 1.4;\">\u5496\u5561\u5e97<\/span>\n                <\/div>\n              <\/div>\n\n              <div class=\"card border-0 shadow-sm mb-3 option-card\" data-option=\"D\" \n                   style=\"cursor: pointer; transition: all 0.3s ease;\">\n                <div class=\"card-body d-flex align-items-center p-3\">\n                  <div class=\"option-indicator rounded-circle border border-2 me-3 d-flex align-items-center justify-content-center\" \n                       style=\"width: 32px; height: 32px; min-width: 32px; border-color: #CB997E !important;\">\n                    <i class=\"bi bi-check-lg d-none\" style=\"font-size: 20px; color: white;\"><\/i>\n                  <\/div>\n                  <span style=\"font-size: 18px; color: #333; line-height: 1.4;\">\u7537\u65b9\u5bb6\u9580\u524d<\/span>\n                <\/div>\n              <\/div>\n\n              <div class=\"card border-0 shadow-sm mb-3 option-card\" data-option=\"E\" \n                   style=\"cursor: pointer; transition: all 0.3s ease;\">\n                <div class=\"card-body d-flex align-items-center p-3\">\n                  <div class=\"option-indicator rounded-circle border border-2 me-3 d-flex align-items-center justify-content-center\" \n                       style=\"width: 32px; height: 32px; min-width: 32px; border-color: #CB997E !important;\">\n                    <i class=\"bi bi-check-lg d-none\" style=\"font-size: 20px; color: white;\"><\/i>\n                  <\/div>\n                  <span style=\"font-size: 18px; color: #333; line-height: 1.4;\">\u5973\u65b9\u5bb6\u9580\u524d<\/span>\n                <\/div>\n              <\/div>\n            <\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/section>\n\n  <!-- \u7d50\u679c\u9801 -->\n  <section id=\"quizresult9\" data-page=\"result9\" class=\"py-4 d-none\">\n    <div class=\"row justify-content-center\">\n      <div class=\"col-12\" style=\"max-width: 750px;\">\n        <header class=\"text-center mb-4\">\n          <h2 class=\"fw-bold\" style=\"color: #6B705C; font-size: 1.8rem;\">\u4f60\u7684\u611b\u60c5\u5fc3\u7406\u5206\u6790<\/h2>\n        <\/header>\n\n        <!-- \u8996\u89ba\u5316\u5716\u8868 -->\n        <div class=\"card border-0 shadow-sm mb-4\">\n          <div class=\"card-body p-3\">\n            <div class=\"text-center mb-3\">\n              <h4 class=\"fw-bold\" style=\"color: #6B705C; font-size: 1.3rem;\">\u611b\u60c5\u7279\u8cea\u96f7\u9054\u5716<\/h4>\n            <\/div>\n            <div class=\"d-flex justify-content-center\">\n              <div style=\"position: relative; width: 100%; max-width: 350px; height: 350px;\">\n                <canvas id=\"radarChart9\"><\/canvas>\n              <\/div>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <!-- \u7d50\u679c\u89e3\u6790 -->\n        <div class=\"card border-0 shadow-sm mb-4\" style=\"background-color: #FFF8F3;\">\n          <div class=\"card-body p-3\">\n            <h4 class=\"fw-bold mb-3\" style=\"color: #6B705C; font-size: 1.3rem;\">\n              <i class=\"bi bi-star-fill me-2\" style=\"color: #CB997E;\"><\/i>\n              \u4f60\u7684\u611b\u60c5\u985e\u578b\n            <\/h4>\n            <h5 id=\"resultTitle9\" class=\"fw-bold mb-3\" style=\"color: #CB997E; font-size: 1.2rem;\"><\/h5>\n            <div id=\"resultContent9\" class=\"lh-lg\" style=\"font-size: 1.05rem;\"><\/div>\n          <\/div>\n        <\/div>\n\n        <!-- \u5efa\u8b70\u5361\u7247 -->\n        <div class=\"card border-0 shadow-sm mb-4\">\n          <div class=\"card-body p-3\">\n            <h4 class=\"fw-bold mb-3\" style=\"color: #6B705C; font-size: 1.3rem;\">\n              <i class=\"bi bi-lightbulb-fill me-2\" style=\"color: #A5A58D;\"><\/i>\n              \u611b\u60c5\u5efa\u8b70\n            <\/h4>\n            <div id=\"suggestionContent9\" class=\"lh-lg\" style=\"font-size: 1.05rem;\"><\/div>\n          <\/div>\n        <\/div>\n\n        <!-- \u91cd\u65b0\u6e2c\u8a66\u6309\u9215 -->\n        <div class=\"text-center mt-4\">\n          <button data-action=\"restart-quiz\" class=\"btn btn-lg px-4 py-3 shadow\" \n                  style=\"background: linear-gradient(135deg, #CB997E, #B7B7A4);                          border: none;                          color: white;                          font-size: 1.05rem;                          font-weight: 600;                         border-radius: 30px;                         min-width: 160px;\">\n            <i class=\"bi bi-arrow-clockwise me-2\"><\/i>\n            \u91cd\u65b0\u6d4b\u9a8c\n          <\/button>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/section>\n<\/div>\n\n<!-- Chart.js -->\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/4.4.1\/chart.umd.min.js\"><\/script>\n\n<script>\n(() => {\n  'use strict';\n\n  class LoveQuiz {\n    constructor() {\n      this.container = document.getElementById('loveQuizContainer9');\n      this.introPage = document.getElementById('quizintro9');\n      this.quizPage = document.getElementById('quizmain9');\n      this.resultPage = document.getElementById('quizresult9');\n      this.selectedAnswer = null;\n      this.chartInstance = null;\n      \n      this.results = {\n        A: {\n          title: '\u885d\u52d5\u6d6a\u6f2b\u578b',\n          content: '\u4f60\u671f\u671b\u8457\u5177\u6709\u885d\u52d5\u6027\u7684\u76f8\u9047\u3002\u4f60\u56ae\u5f80\u8457\u5c0d\u65b9\u80fd\u77ac\u9593\u6293\u4f4f\u81ea\u5df1\u7684\u5fc3\u3002\u53ef\u662f\uff0c\u4f60\u82e5\u904e\u5206\u61a7\u61ac\u50cf\u96fb\u5f71\u822c\u7684\u76f8\u9047\uff0c\u5c31\u6703\u5b8c\u5168\u5ffd\u7565\u4e86\u773c\u524d\u7684\u597d\u5c0d\u8c61\u3002',\n          suggestion: '\u8a66\u8457\u653e\u6162\u8173\u6b65\uff0c\u6b23\u8cde\u8eab\u908a\u90a3\u4e9b\u7d30\u6c34\u9577\u6d41\u7684\u7f8e\u597d\u3002\u771f\u5be6\u7684\u611b\u60c5\u5f80\u5f80\u85cf\u5728\u5e73\u51e1\u7684\u65e5\u5e38\u4e2d\uff0c\u4e0d\u8981\u932f\u904e\u90a3\u4e9b\u9858\u610f\u966a\u4f60\u6162\u6162\u8d70\u7684\u4eba\u3002',\n          traits: {\n            romance: 95,\n            reality: 30,\n            patience: 25,\n            passion: 90,\n            stability: 35\n          }\n        },\n        B: {\n          title: '\u7406\u60f3\u4e3b\u7fa9\u578b',\n          content: '\u4f60\u60f3\u8ac7\u4e00\u5834\u6d6a\u6f2b\u7684\u6200\u611b\u3002\u7531\u65bc\u4f60\u4e00\u76f4\u8a8d\u70ba\u7406\u60f3\u4e2d\u7684\u5c0d\u8c61\u6703\u51fa\u73fe\uff0c\u6240\u4ee5\u5c0d\u73fe\u5be6\u4e2d\u9080\u7d04\u4f60\u7684\u7570\u6027\u7e3d\u662f\u6301\u8457\u300c\u624d\u4e0d\u6703\u8ddf\u9019\u7a2e\u4eba\u8ac7\u6200\u611b\u300d\u7684\u614b\u5ea6\u800c\u52a0\u4ee5\u62d2\u7d55\u3002\u5982\u679c\u4f60\u80fd\u5be6\u969b\u5730\u4eab\u53d7\u7d04\u6703\u7684\u6a02\u8da3\uff0c\u6200\u611b\u6a5f\u6703\u5fc5\u6703\u5927\u589e\u3002',\n          suggestion: '\u5617\u8a66\u4ee5\u958b\u653e\u7684\u5fc3\u614b\u9762\u5c0d\u6bcf\u4e00\u6b21\u76f8\u9047\u3002\u5b8c\u7f8e\u7684\u4eba\u4e0d\u5b58\u5728\uff0c\u4f46\u9069\u5408\u7684\u4eba\u5c31\u5728\u8eab\u908a\u3002\u7d66\u5f7c\u6b64\u4e00\u500b\u6a5f\u6703\uff0c\u4f60\u6703\u767c\u73fe\u611b\u60c5\u7684\u9a5a\u559c\u3002',\n          traits: {\n            romance: 85,\n            reality: 40,\n            patience: 50,\n            passion: 75,\n            stability: 45\n          }\n        },\n        C: {\n          title: '\u9006\u5883\u5805\u97cc\u578b',\n          content: '\u5c31\u5982\u540c\u6d41\u884c\u7684\u6b4c\u66f2\u4e2d\u6240\u5531\u7684\uff1a\u300c\u7e31\u7136\u8ca7\u7aae\uff0c\u7e31\u7136\u8f9b\u82e6\uff0c\u4e5f\u6703\u6c38\u9060\u4f34\u96a8\u8457\u4ed6\u00b7\u00b7\u00b7\u00b7\u00b7\u00b7\u300d\u4f60\u662f\u61a7\u61ac\u8655\u65bc\u9006\u5883\u3001\u901a\u904e\u5fcd\u8010\u8d0f\u5f97\u6200\u611b\u7684\u4eba\uff0c\u56e0\u6b64\u4f60\u53ef\u80fd\u6703\u9677\u5165\u4e0d\u9053\u5fb7\u7684\u6200\u60c5\u3002\u4e0d\u904e\uff0c\u80fd\u8010\u5f97\u4f4f\u6200\u611b\u4e2d\u9178\u751c\u82e6\u8fa3\u7684\u4f60\uff0c\u5fc5\u80fd\u6293\u4f4f\u5e78\u798f\u7684\u3002',\n          suggestion: '\u611b\u60c5\u4e0d\u4e00\u5b9a\u8981\u7d93\u6b77\u98a8\u96e8\u624d\u7b97\u771f\u5be6\u3002\u5b78\u6703\u5728\u5e73\u6de1\u4e2d\u5c0b\u627e\u5e78\u798f\uff0c\u5728\u7c21\u55ae\u4e2d\u767c\u73fe\u7f8e\u597d\uff0c\u9019\u6a23\u7684\u611b\u60c5\u66f4\u52a0\u6301\u4e45\u548c\u7a69\u5b9a\u3002',\n          traits: {\n            romance: 70,\n            reality: 65,\n            patience: 85,\n            passion: 60,\n            stability: 75\n          }\n        },\n        D: {\n          title: '\u4f9d\u6200\u9ecf\u81a9\u578b',\n          content: '\u4f60\u662f\u611b\u4e0a\u4e00\u500b\u4eba\u5c31\u6068\u4e0d\u5f97\u5206\u5206\u79d2\u79d2\u548c\u5c0d\u65b9\u5728\u4e00\u8d77\u7684\u4eba\u3002\u53ef\u662f\uff0c\u9019\u96bb\u6703\u652a\u4e82\u4e86\u4f60\u5011\u5f7c\u6b64\u7684\u751f\u6d3b\uff0c\u800c\u5687\u8d70\u4e86\u5c0d\u65b9\u3002\u5373\u4f7f\u518d\u6df1\u611b\u8457\uff0c\u4e5f\u4e0d\u53ef\u80fd\u6642\u6642\u523b\u523b\u5728\u4e00\u8d77\u3002\u5728\u4e0d\u628a\u5f7c\u6b64\u5f04\u5f97\u7b4b\u75b2\u529b\u76e1\u4e14\u80fd\u4eab\u53d7\u5230\u6200\u611b\u6a02\u8da3\u7684\u539f\u5247\u4e0b\u627e\u51fa\u4e00\u500b\u59a5\u5354\u9ede\uff0c\u624d\u80fd\u8b93\u611b\u60c5\u9577\u4e45\u6301\u7e8c\u3002',\n          suggestion: '\u7d66\u5f7c\u6b64\u9069\u5ea6\u7684\u7a7a\u9593\uff0c\u4fdd\u6301\u500b\u4eba\u7684\u7368\u7acb\u6027\u3002\u5065\u5eb7\u7684\u611b\u60c5\u662f\u5169\u500b\u5b8c\u6574\u7684\u4eba\u76f8\u611b\uff0c\u800c\u4e0d\u662f\u5169\u500b\u6b98\u7f3a\u7684\u4eba\u76f8\u4e92\u4f9d\u8cf4\u3002',\n          traits: {\n            romance: 60,\n            reality: 55,\n            patience: 40,\n            passion: 85,\n            stability: 50\n          }\n        },\n        E: {\n          title: '\u88ab\u52d5\u671f\u5f85\u578b',\n          content: '\u4f60\u8a8d\u70ba\u559c\u6b61\u4f60\u7684\u4eba\u6703\u70ba\u4f60\u505a\u4efb\u4f55\u4e8b\uff0c\u9047\u6709\u969c\u7919\u4e5f\u6703\u70ba\u4f60\u53bb\u9664\u6389\u3002\u4f46\u662f\uff0c\u5982\u679c\u4f60\u4e00\u5ec2\u60c5\u9858\u5730\u8001\u662f\u8981\u5c0d\u65b9\u7167\u4f60\u7684\u610f\u601d\u53bb\u505a\u7684\u8a71\uff0c\u559c\u6b61\u4f60\u7684\u4eba\u5c31\u6703\u9003\u4e4b\u592d\u592d\u4e86\u3002\u4f60\u73fe\u5728\u6700\u91cd\u8981\u7684\u662f\u628a\u4f60\u7684\u5fc3\u610f\u50b3\u905e\u7d66\u5c0d\u65b9\uff0c\u5982\u679c\u53ea\u662f\u88ab\u52d5\u5730\u7b49\u8457\u5c0d\u65b9\u7a4d\u6975\u5730\u5c0d\u5f85\u4f60\uff0c\u6200\u611b\u5c31\u96e3\u4ee5\u6210\u529f\u4e86\u3002',\n          suggestion: '\u4e3b\u52d5\u8868\u9054\u4f60\u7684\u611f\u53d7\u548c\u9700\u6c42\uff0c\u611b\u60c5\u9700\u8981\u96d9\u5411\u7684\u4ed8\u51fa\u3002\u5b78\u6703\u7d66\u4e88\u548c\u63a5\u53d7\uff0c\u5275\u9020\u5e73\u8861\u7684\u95dc\u4fc2\uff0c\u9019\u6a23\u7684\u611b\u60c5\u624d\u80fd\u9577\u4e45\u3002',\n          traits: {\n            romance: 50,\n            reality: 70,\n            patience: 60,\n            passion: 45,\n            stability: 65\n          }\n        }\n      };\n\n      this.init();\n    }\n\n    init() {\n      this.bindEvents();\n    }\n\n    bindEvents() {\n      this.container.addEventListener('click', (e) => {\n        const action = e.target.closest('[data-action]')?.dataset.action;\n        const option = e.target.closest('.option-card');\n\n        if (action === 'start-quiz') {\n          this.startQuiz();\n        } else if (action === 'restart-quiz') {\n          this.restartQuiz();\n        } else if (option) {\n          this.selectOption(option);\n        }\n      });\n    }\n\n    startQuiz() {\n      this.showPage('quiz');\n      this.scrollToTop();\n    }\n\n    selectOption(optionElement) {\n      \/\/ \u6e05\u9664\u4e4b\u524d\u7684\u9078\u64c7\n      document.querySelectorAll('.option-card').forEach(card => {\n        card.style.backgroundColor = '';\n        card.querySelector('.option-indicator').style.backgroundColor = '';\n        card.querySelector('.bi-check-lg').classList.add('d-none');\n      });\n\n      \/\/ \u6a19\u8a18\u65b0\u9078\u64c7\n      optionElement.style.backgroundColor = '#FFF8F3';\n      const indicator = optionElement.querySelector('.option-indicator');\n      indicator.style.backgroundColor = '#CB997E';\n      indicator.style.borderColor = '#CB997E';\n      optionElement.querySelector('.bi-check-lg').classList.remove('d-none');\n\n      this.selectedAnswer = optionElement.dataset.option;\n\n      \/\/ \u5ef6\u9072\u986f\u793a\u7d50\u679c\n      setTimeout(() => {\n        this.showResult();\n      }, 500);\n    }\n\n    showResult() {\n      const result = this.results[this.selectedAnswer];\n      \n      document.getElementById('resultTitle9').textContent = result.title;\n      document.getElementById('resultContent9').textContent = result.content;\n      document.getElementById('suggestionContent9').textContent = result.suggestion;\n\n      this.showPage('result');\n      this.scrollToTop();\n\n      \/\/ \u5ef6\u9072\u7e6a\u88fd\u5716\u8868\u4ee5\u78ba\u4fdd\u5bb9\u5668\u53ef\u898b\n      setTimeout(() => {\n        this.drawRadarChart(result.traits);\n      }, 300);\n    }\n\n    drawRadarChart(traits) {\n      \/\/ \u92b7\u6bc0\u820a\u5716\u8868\n      if (this.chartInstance) {\n        this.chartInstance.destroy();\n      }\n\n      const ctx = document.getElementById('radarChart9').getContext('2d');\n      \n      this.chartInstance = new Chart(ctx, {\n        type: 'radar',\n        data: {\n          labels: ['\u6d6a\u6f2b\u6307\u6578', '\u73fe\u5be6\u6307\u6578', '\u8010\u5fc3\u6307\u6578', '\u71b1\u60c5\u6307\u6578', '\u7a69\u5b9a\u6307\u6578'],\n          datasets: [{\n            label: '\u4f60\u7684\u611b\u60c5\u7279\u8cea',\n            data: [\n              traits.romance,\n              traits.reality,\n              traits.patience,\n              traits.passion,\n              traits.stability\n            ],\n            backgroundColor: 'rgba(203, 153, 126, 0.3)',\n            borderColor: '#CB997E',\n            borderWidth: 2,\n            pointBackgroundColor: '#CB997E',\n            pointBorderColor: '#fff',\n            pointHoverBackgroundColor: '#fff',\n            pointHoverBorderColor: '#CB997E',\n            pointRadius: 5,\n            pointHoverRadius: 7\n          }]\n        },\n        options: {\n          responsive: true,\n          maintainAspectRatio: true,\n          plugins: {\n            legend: {\n              display: false\n            },\n            tooltip: {\n              callbacks: {\n                label: (context) => {\n                  return `${context.label}: ${context.parsed.r}%`;\n                }\n              }\n            }\n          },\n          scales: {\n            r: {\n              beginAtZero: true,\n              max: 100,\n              ticks: {\n                stepSize: 20,\n                font: {\n                  size: 12\n                }\n              },\n              pointLabels: {\n                font: {\n                  size: 16,\n                  weight: 'bold'\n                },\n                color: '#6B705C'\n              },\n              grid: {\n                color: 'rgba(0, 0, 0, 0.1)'\n              }\n            }\n          }\n        }\n      });\n    }\n\n    restartQuiz() {\n      \/\/ \u91cd\u7f6e\u9078\u64c7\n      this.selectedAnswer = null;\n      \n      \/\/ \u6e05\u9664\u9078\u9805\u72c0\u614b\n      document.querySelectorAll('.option-card').forEach(card => {\n        card.style.backgroundColor = '';\n        const indicator = card.querySelector('.option-indicator');\n        indicator.style.backgroundColor = '';\n        indicator.style.borderColor = '#CB997E';\n        card.querySelector('.bi-check-lg').classList.add('d-none');\n      });\n\n      \/\/ \u92b7\u6bc0\u5716\u8868\n      if (this.chartInstance) {\n        this.chartInstance.destroy();\n        this.chartInstance = null;\n      }\n\n      this.showPage('intro');\n      this.scrollToTop();\n    }\n\n    showPage(page) {\n      \/\/ \u96b1\u85cf\u6240\u6709\u9801\u9762\n      this.introPage.classList.add('d-none');\n      this.quizPage.classList.add('d-none');\n      this.resultPage.classList.add('d-none');\n\n      \/\/ \u986f\u793a\u6307\u5b9a\u9801\u9762\n      switch(page) {\n        case 'intro':\n          this.introPage.classList.remove('d-none');\n          break;\n        case 'quiz':\n          this.quizPage.classList.remove('d-none');\n          break;\n        case 'result':\n          this.resultPage.classList.remove('d-none');\n          break;\n      }\n    }\n\n    scrollToTop() {\n      const container = this.container.querySelector(':not(.d-none) h2');\n      if (container) {\n        container.scrollIntoView({ behavior: 'smooth', block: 'start' });\n      }\n    }\n  }\n\n  \/\/ \u521d\u59cb\u5316\u6e2c\u9a57\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', () => new LoveQuiz());\n  } else {\n    new LoveQuiz();\n  }\n})();\n<\/script>\n\n<style>\n\/* \u81ea\u5b9a\u7fa9\u6a23\u5f0f *\/\n#loveQuizContainer9 {\n  font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;\n  line-height: 1.6;\n  max-width: 750px;\n  margin: 0 auto;\n}\n\n#loveQuizContainer9 .option-card {\n  border: 1px solid #e0e0e0;\n}\n\n#loveQuizContainer9 .option-card:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;\n  background-color: #FFF8F3;\n}\n\n#loveQuizContainer9 .option-card:hover .option-indicator {\n  border-color: #CB997E !important;\n  background-color: rgba(203, 153, 126, 0.1);\n}\n\n#loveQuizContainer9 .option-indicator {\n  transition: all 0.3s ease;\n}\n\n#loveQuizContainer9 button[data-action] {\n  transition: all 0.3s ease;\n}\n\n#loveQuizContainer9 button[data-action]:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;\n  filter: brightness(1.05);\n}\n\n#loveQuizContainer9 .card {\n  border-radius: 12px;\n}\n\n#loveQuizContainer9 h2, \n#loveQuizContainer9 h3, \n#loveQuizContainer9 h4, \n#loveQuizContainer9 h5 {\n  margin-bottom: 0.8rem;\n}\n\n\/* \u78ba\u4fdd\u5716\u8868\u5bb9\u5668\u9069\u61c9\u6027 *\/\n#radarChart9 {\n  max-width: 100%;\n  height: auto !important;\n}\n\n\/* \u79fb\u52d5\u7aef\u512a\u5316 *\/\n@media (max-width: 576px) {\n  #loveQuizContainer9 h2 {\n    font-size: 1.6rem !important;\n  }\n  \n  #loveQuizContainer9 .lead {\n    font-size: 1rem !important;\n  }\n  \n  #loveQuizContainer9 h3 {\n    font-size: 20px !important;\n  }\n  \n  #loveQuizContainer9 h4 {\n    font-size: 1.2rem !important;\n  }\n  \n  #loveQuizContainer9 .option-card span {\n    font-size: 17px !important;\n  }\n  \n  #loveQuizContainer9 .btn-lg {\n    padding: 0.75rem 1.5rem !important;\n    font-size: 1rem !important;\n  }\n  \n  #radarChart9 {\n    max-width: 300px !important;\n  }\n}\n\n\/* \u9632\u6b62\u8207WordPress\u4e3b\u984c\u885d\u7a81 *\/\n#loveQuizContainer9 * {\n  box-sizing: border-box;\n}\n\n#loveQuizContainer9 p {\n  margin-bottom: 0.8rem;\n}\n\n#loveQuizContainer9 .btn:focus {\n  outline: none;\n  box-shadow: 0 0 0 0.2rem rgba(203, 153, 126, 0.25);\n}\n\n\/* \u78ba\u4fdd\u9078\u9805\u5782\u76f4\u5c0d\u9f4a *\/\n#loveQuizContainer9 .option-card .card-body {\n  display: flex;\n  align-items: center;\n}\n\n#loveQuizContainer9 .option-indicator {\n  flex-shrink: 0;\n}\n<\/style>","protected":false},"excerpt":{"rendered":"<p>\u7ea6\u4f1a\u5730\u70b9\u662f\u53cd\u6620\u604b\u7231\u6df1\u5c42\u5fc3\u7406\u7684\u6700\u4f73\u6307\u6807\u3002\u4e00\u5bf9\u60c5\u4fa3\u968f\u7740\u4e24\u4eba\u7684\u4eb2\u5bc6\u5ea6\u4e0e\u7ea6\u4f1a\u6b21\u6570\u7684\u589e\u52a0\uff0c\u5c31\u4f1a\u5f88\u5728\u610f\u7ea6\u4f1a\u7684\u300c\u5730\u70b9\u300d\u3002 \u300c\u5730\u70b9\u300d\u4f1a\u7ed9\u4e24\u4eba\u5f88\u5927\u7684\u5f71\u54cd\u3002\u672c\u6d4b\u9a8c\u901a\u8fc7\u5730\u70b9\u7684\u9009\u62e9\u6765\u770b\u4f60\u7684\u604b\u7231\u5728\u7406\u60f3\u548c\u73b0\u5b9e\u4e4b\u95f4\u7684\u5dee\u8ddd\u6709\u591a\u5927\u3002<\/p>","protected":false},"author":19,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"disabled","ast-banner-title-visibility":"","ast-main-header-display":"disabled","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":"default","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":[178],"tags":[],"class_list":["post-2725","post","type-post","status-publish","format-standard","hentry","category-love"],"_links":{"self":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2725","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=2725"}],"version-history":[{"count":2,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2725\/revisions"}],"predecessor-version":[{"id":10628,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2725\/revisions\/10628"}],"wp:attachment":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/media?parent=2725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/categories?post=2725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/tags?post=2725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}