{"id":2530,"date":"2023-10-08T09:29:51","date_gmt":"2023-10-08T01:29:51","guid":{"rendered":"https:\/\/bookmark.tw\/?p=2530"},"modified":"2025-05-10T16:34:07","modified_gmt":"2025-05-10T08:34:07","slug":"fragile-woman-index","status":"publish","type":"post","link":"https:\/\/xinliceyan.org\/zh\/fragile-woman-index","title":{"rendered":"\u5728\u7231\u60c5\u91cc\u4f60\u7684\u5f31\u5973\u5b50\u6307\u6570\u662f\u591a\u5c11\uff1f"},"content":{"rendered":"<!-- \u5f31\u5973\u5b50\u6307\u6578\u6e2c\u9a57 -->\n<div class=\"wgq-container\" id=\"weakGirlQuizContainer\">\n  <!-- \u5f15\u5c0e\u9801 -->\n  <section class=\"wgq-intro-page\" id=\"quizIntroPage\">\n    <h2 class=\"wgq-title\">\u5728\u7231\u60c5\u91cc\u4f60\u7684\u5f31\u5973\u5b50\u6307\u6570\u662f\u591a\u5c11\uff1f<\/h2>\n    \n    <div class=\"wgq-intro-features\">\n      <div class=\"wgq-feature\">\n        <div class=\"wgq-feature-icon\">\n          <svg viewbox=\"0 0 24 24\" width=\"48\" height=\"48\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n            <path d=\"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z\"><\/path>\n          <\/svg>\n        <\/div>\n        <h3>\u4e86\u89e3\u81ea\u6211<\/h3>\n        <p>\u53d1\u73b0\u5728\u7231\u60c5\u4e2d\u7684\u771f\u5b9e\u9762\u8c8c<\/p>\n      <\/div>\n      \n      <div class=\"wgq-feature\">\n        <div class=\"wgq-feature-icon\">\n          <svg viewbox=\"0 0 24 24\" width=\"48\" height=\"48\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n            <path d=\"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5\"><\/path>\n          <\/svg>\n        <\/div>\n        <h3>\u591a\u7ef4\u5206\u6790<\/h3>\n        <p>\u5168\u65b9\u4f4d\u5256\u6790\u4f60\u7684\u60c5\u611f\u4f9d\u8d56\u503e\u5411<\/p>\n      <\/div>\n      \n      <div class=\"wgq-feature\">\n        <div class=\"wgq-feature-icon\">\n          <svg viewbox=\"0 0 24 24\" width=\"48\" height=\"48\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n            <path d=\"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9\"><\/path>\n            <path d=\"M13.73 21a2 2 0 0 1-3.46 0\"><\/path>\n          <\/svg>\n        <\/div>\n        <h3>\u6df1\u5ea6\u6d1e\u5bdf<\/h3>\n        <p>\u83b7\u53d6\u4e13\u4e1a\u7684\u60c5\u611f\u5efa\u8bae<\/p>\n      <\/div>\n    <\/div>\n    \n    <!-- \u4ecb\u7d39\u6587\u5b57 -->\n    <div class=\"wgq-intro-content\">\n      <p>\u6240\u8c13\u7684\u300c\u5f31\u5973\u5b50\u300d\uff0c\u4e00\u822c\u6307\u7684\u662f\u5185\u5fc3\u67d4\u5f31\uff0c\u6f5c\u610f\u8bc6\u91cc\u5e0c\u671b\u4f9d\u8d56\u522b\u4eba\u7684\u5973\u5b50\u3002\u5f53\u4e0b\uff0c\u5728\u8fd9\u4e2a\u5973\u6c49\u5b50\u6a2a\u884c\u7684\u65f6\u4ee3\uff0c\u5927\u591a\u6570\u5973\u6027\u90fd\u5728\u52aa\u529b\u505a\u4e00\u4e2a\u5973\u6c49\u5b50\u3002\u5728\u7231\u60c5\u91cc\uff0c\u6709\u7684\u4eba\u53ef\u4ee5\u7ee7\u7eed\u505a\u5973\u6c49\u5b50\uff0c\u6709\u7684\u4eba\u5916\u8868\u662f\u5973\u6c49\u5b50\uff0c\u5b9e\u5219\u53ea\u662f\u4e00\u4e2a\u5f31\u5973\u5b50\u3002<\/p>\n      <p>\u90a3\u4e48\uff0c\u5728\u7231\u60c5\u91cc\u4f60\u7684\u5f31\u5973\u5b50\u6307\u6570\u662f\u591a\u5c11\uff1f\u8bf7\u505a\u4e2a\u6d4b\u8bd5\u770b\u770b\u5427\u3002<\/p>\n    <\/div>\n    \n    <!-- \u958b\u59cb\u6309\u9215 -->\n    <button class=\"wgq-start-button\" id=\"startQuizButton\">\u5f00\u59cb\u6d4b\u8bd5<\/button>\n  <\/section>\n\n  <!-- \u6e2c\u9a57\u9801 -->\n  <section class=\"wgq-questions-page\" id=\"quizQuestionsPage\" style=\"display:none;\">\n    <h2 class=\"wgq-title\">\u5728\u7231\u60c5\u91cc\u4f60\u7684\u5f31\u5973\u5b50\u6307\u6570\u662f\u591a\u5c11\uff1f<\/h2>\n    \n    <!-- \u9032\u5ea6\u689d -->\n    <div class=\"wgq-progress-container\">\n      <div class=\"wgq-progress-bar\" id=\"progressBar\">\n        <div class=\"wgq-progress-fill\" id=\"progressFill\"><\/div>\n      <\/div>\n      <div class=\"wgq-progress-text\" id=\"progressText\">\u95ee\u98981\/4<\/div>\n    <\/div>\n    \n    <!-- \u554f\u984c\u5bb9\u5668 -->\n    <div class=\"wgq-question-container\" id=\"questionContainer\">\n      <!-- \u52d5\u614b\u751f\u6210\u554f\u984c -->\n    <\/div>\n    \n    <!-- \u5c0e\u822a\u6309\u9215 -->\n    <div class=\"wgq-navigation\">\n      <button class=\"wgq-prev-button\" id=\"prevButton\">\u4e0a\u4e00\u9898<\/button>\n    <\/div>\n  <\/section>\n\n  <!-- \u7d50\u679c\u9801 -->\n  <section class=\"wgq-result-page\" id=\"quizResultPage\" style=\"display:none;\">\n    <h2 class=\"wgq-title\">\u6d4b\u8bd5\u7ed3\u679c\u5206\u6790<\/h2>\n    \n    <!-- \u7d50\u679c\u6307\u6578\u986f\u793a -->\n    <div class=\"wgq-result-score\">\n      <h3>\u4f60\u5728\u7231\u60c5\u4e4b\u4e2d\u662f\u5f31\u5973\u5b50\u7684\u6307\u6570\u662f <span id=\"resultScore\">0<\/span><\/h3>\n    <\/div>\n    \n    <!-- \u5716\u8868\u5bb9\u5668 -->\n    <div class=\"wgq-chart-container\">\n      <canvas id=\"resultChart\"><\/canvas>\n    <\/div>\n    \n    <!-- \u7d50\u679c\u89e3\u6790 -->\n    <div class=\"wgq-result-analysis\" id=\"resultAnalysis\">\n      <!-- \u52d5\u614b\u986f\u793a\u7d50\u679c\u5206\u6790 -->\n    <\/div>\n    \n    <!-- \u91cd\u65b0\u6e2c\u8a66\u6309\u9215 -->\n    <button class=\"wgq-restart-button\" id=\"restartQuizButton\">\u91cd\u65b0\u6d4b\u8bd5<\/button>\n  <\/section>\n<\/div>\n\n<style>\n\/* \u5f31\u5973\u5b50\u6307\u6578\u6e2c\u9a57\u6a23\u5f0f *\/\n.wgq-container {\n  --primary-color: #ff7675;\n  --primary-light: #fab1a0;\n  --primary-dark: #e84393;\n  --secondary-color: #74b9ff;\n  --secondary-dark: #0984e3;\n  --text-color: #2d3436;\n  --light-text: #636e72;\n  --background-color: #ffffff;\n  --background-light: #f9f9f9;\n  --shadow-color: rgba(0, 0, 0, 0.1);\n  --success-color: #55efc4;\n  --warning-color: #fdcb6e;\n  --danger-color: #d63031;\n  \n  font-family: \"PingFang TC\", \"Microsoft JhengHei\", sans-serif;\n  max-width: 600px;\n  margin: 2rem auto;\n  background-color: var(--background-color);\n  border-radius: 12px;\n  box-shadow: 0 8px 24px var(--shadow-color);\n  padding: 2rem;\n  overflow: hidden;\n}\n\n\/* \u9801\u9762\u6a19\u984c\u6a23\u5f0f *\/\n.wgq-title {\n  font-size: 32px;\n  font-weight: 700;\n  color: var(--primary-dark);\n  text-align: center;\n  margin-bottom: 2rem;\n  position: relative;\n}\n\n.wgq-title:after {\n  content: \"\";\n  display: block;\n  width: 80px;\n  height: 4px;\n  background: linear-gradient(to right, var(--primary-color), var(--primary-light));\n  margin: 0.5rem auto 0;\n  border-radius: 2px;\n}\n\n\/* \u5f15\u5c0e\u9801\u6a23\u5f0f *\/\n.wgq-intro-page {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n}\n\n.wgq-intro-features {\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 2rem;\n  width: 100%;\n  flex-wrap: nowrap;\n}\n\n.wgq-feature {\n  flex: 1;\n  min-width: 0;\n  text-align: center;\n  padding: 1rem 0.5rem;\n  border-radius: 8px;\n  transition: transform 0.3s, box-shadow 0.3s;\n  margin: 0 0.5rem;\n}\n\n.wgq-feature:hover {\n  transform: translateY(-5px);\n  box-shadow: 0 10px 20px var(--shadow-color);\n}\n\n.wgq-feature-icon {\n  width: 64px;\n  height: 64px;\n  margin: 0 auto 0.5rem;\n  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));\n  border-radius: 50%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: white;\n  box-shadow: 0 4px 12px rgba(232, 67, 147, 0.3);\n}\n\n.wgq-feature h3 {\n  font-size: 18px;\n  margin-bottom: 0.5rem;\n  color: var(--primary-dark);\n}\n\n.wgq-feature p {\n  color: var(--light-text);\n  font-size: 14px;\n}\n\n.wgq-intro-content {\n  margin-bottom: 2rem;\n  line-height: 1.6;\n  font-size: 18px;\n  color: var(--text-color);\n  text-align: left;\n  width: 100%;\n}\n\n.wgq-intro-content p {\n  margin-bottom: 1rem;\n}\n\n.wgq-start-button {\n  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));\n  color: white;\n  border: none;\n  padding: 16px 36px;\n  font-size: 18px;\n  font-weight: 600;\n  border-radius: 50px;\n  cursor: pointer;\n  transition: transform 0.3s, box-shadow 0.3s;\n  box-shadow: 0 4px 12px rgba(232, 67, 147, 0.3);\n  display: block;\n  margin: 0 auto;\n}\n\n.wgq-start-button:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 6px 16px rgba(232, 67, 147, 0.4);\n}\n\n.wgq-start-button:active {\n  transform: translateY(1px);\n  box-shadow: 0 2px 8px rgba(232, 67, 147, 0.4);\n}\n\n\/* \u6e2c\u9a57\u9801\u6a23\u5f0f *\/\n.wgq-progress-container {\n  margin-bottom: 2rem;\n}\n\n.wgq-progress-bar {\n  height: 8px;\n  background-color: var(--background-light);\n  border-radius: 4px;\n  overflow: hidden;\n  margin-bottom: 8px;\n}\n\n.wgq-progress-fill {\n  height: 100%;\n  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));\n  width: 0%;\n  transition: width 0.3s;\n}\n\n.wgq-progress-text {\n  text-align: center;\n  font-size: 16px;\n  color: var(--light-text);\n}\n\n.wgq-question-container {\n  margin-bottom: 2rem;\n}\n\n.wgq-question {\n  margin-bottom: 1.5rem;\n}\n\n.wgq-question-title {\n  font-size: 22px;\n  font-weight: 700;\n  color: var(--text-color);\n  margin-bottom: 1rem;\n}\n\n.wgq-options-container {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n}\n\n.wgq-option-item {\n  padding: 16px;\n  border-radius: 8px;\n  background-color: var(--background-light);\n  cursor: pointer;\n  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;\n  position: relative;\n  overflow: hidden;\n  display: flex;\n  align-items: center;\n}\n\n.wgq-option-item:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 4px 8px var(--shadow-color);\n  background-color: #f0f0f0;\n}\n\n.wgq-option-item.selected {\n  background-color: rgba(255, 118, 117, 0.1);\n  border: 2px solid var(--primary-color);\n}\n\n.wgq-option-text {\n  font-size: 18px;\n  color: var(--text-color);\n  padding-left: 36px;\n  position: relative;\n}\n\n.wgq-option-item .wgq-radio-dot {\n  position: absolute;\n  left: 16px;\n  top: 50%;\n  transform: translateY(-50%);\n  width: 20px;\n  height: 20px;\n  border-radius: 50%;\n  border: 2px solid var(--light-text);\n  background-color: white;\n}\n\n.wgq-option-item.selected .wgq-radio-dot {\n  border-color: var(--primary-color);\n}\n\n.wgq-option-item.selected .wgq-radio-dot:after {\n  content: \"\";\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  width: 10px;\n  height: 10px;\n  border-radius: 50%;\n  background-color: var(--primary-color);\n}\n\n.wgq-navigation {\n  display: flex;\n  justify-content: center;\n  margin-top: 2rem;\n}\n\n.wgq-prev-button {\n  padding: 12px 24px;\n  background-color: var(--background-light);\n  border: none;\n  border-radius: 6px;\n  font-size: 16px;\n  color: var(--light-text);\n  cursor: pointer;\n  transition: background-color 0.2s, color 0.2s;\n  min-width: 120px;\n  min-height: 44px;\n}\n\n.wgq-prev-button:hover {\n  background-color: #e0e0e0;\n  color: var(--text-color);\n}\n\n\/* \u7d50\u679c\u9801\u6a23\u5f0f *\/\n.wgq-result-page {\n  text-align: left;\n}\n\n.wgq-result-score {\n  text-align: center;\n  margin-bottom: 2rem;\n}\n\n.wgq-result-score h3 {\n  font-size: 24px;\n  color: var(--text-color);\n}\n\n.wgq-result-score span {\n  color: var(--primary-dark);\n  font-size: 32px;\n  font-weight: 700;\n}\n\n.wgq-chart-container {\n  max-width: 500px;\n  height: 300px;\n  margin: 0 auto 3rem;\n  text-align: center;\n}\n\n.wgq-result-analysis {\n  background-color: var(--background-light);\n  padding: 1.5rem;\n  border-radius: 8px;\n  margin-bottom: 2.5rem;\n  line-height: 1.6;\n}\n\n.wgq-result-analysis p {\n  margin-bottom: 1rem;\n  font-size: 18px;\n}\n\n.wgq-restart-button {\n  display: block;\n  margin: 0 auto;\n  background: linear-gradient(to right, var(--secondary-color), var(--secondary-dark));\n  color: white;\n  border: none;\n  padding: 14px 32px;\n  font-size: 18px;\n  font-weight: 600;\n  border-radius: 50px;\n  cursor: pointer;\n  transition: transform 0.3s, box-shadow 0.3s;\n  box-shadow: 0 4px 12px rgba(9, 132, 227, 0.3);\n  min-width: 160px;\n  min-height: 50px;\n}\n\n.wgq-restart-button:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 6px 16px rgba(9, 132, 227, 0.4);\n}\n\n\/* \u97ff\u61c9\u5f0f\u8a2d\u8a08 *\/\n@media (max-width: 768px) {\n  .wgq-container {\n    margin: 1rem;\n    padding: 1.5rem;\n  }\n  \n  .wgq-title {\n    font-size: 28px;\n  }\n  \n  .wgq-intro-content {\n    font-size: 16px;\n  }\n  \n  .wgq-question-title {\n    font-size: 20px;\n  }\n  \n  .wgq-option-text {\n    font-size: 16px;\n  }\n  \n  .wgq-start-button,\n  .wgq-restart-button {\n    padding: 12px 24px;\n    font-size: 16px;\n  }\n  \n  .wgq-intro-features {\n    flex-wrap: wrap;\n  }\n  \n  .wgq-feature {\n    flex: 1 1 100%;\n    margin-bottom: 1rem;\n  }\n  \n  .wgq-chart-container {\n    height: 250px;\n  }\n}\n<\/style>\n\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/Chart.js\/4.4.1\/chart.umd.min.js\"><\/script>\n<script>\n\/\/ \u5f31\u5973\u5b50\u6307\u6578\u6e2c\u9a57\u8173\u672c\n(function() {\n  \/\/ \u9632\u6b62\u5168\u5c40\u8b8a\u91cf\u6c61\u67d3\n  'use strict';\n  \n  \/\/ \u5b9a\u7fa9\u6e2c\u9a57\u554f\u984c\n  const quizQuestions = [\n    {\n      question: '\u5728\u9577\u6642\u9593\u7684\u98db\u884c\u4e2d\uff0c\u4f60\u4e00\u822c\u6703\u9078\u64c7\u54ea\u985e\u7247\u5b50\u770b\uff1f',\n      options: [\n        { text: '\u8a71\u984c\u7247', value: 'A' },\n        { text: '\u641e\u7b11\u7247', value: 'B' },\n        { text: '\u73fe\u4ee3\u7247', value: 'C' },\n        { text: '\u56b4\u8085\u7247', value: 'D' }\n      ]\n    },\n    {\n      question: '\u7576\u4f60\u767c\u73fe\u81ea\u5df1\u611b\u4e0a\u4e00\u500b\u4eba\uff0c\u4f60\u6703\u7b2c\u4e00\u6642\u9593\u60f3\u5230\u4ec0\u9ebc\uff1f',\n      options: [\n        { text: '\u9019\u6bb5\u611f\u60c5\u80fd\u8d70\u591a\u9060', value: 'C' },\n        { text: '\u5c0d\u65b9\u662f\u5426\u4e5f\u559c\u6b61\u6211', value: 'A' },\n        { text: '\u60f3\u8b93\u5c0d\u65b9\u66f4\u591a\u5730\u4e86\u89e3\u6211', value: 'B' },\n        { text: '\u5e0c\u671b\u5c0d\u65b9\u80fd\u95dc\u5fc3\u6211', value: 'D' }\n      ]\n    },\n    {\n      question: '\u7576\u4f60\u5011\u5435\u67b6\u6642\uff0c\u4f60\u66f4\u50be\u5411\u65bc\uff1f',\n      options: [\n        { text: '\u7b49\u5c0d\u65b9\u5148\u4f86\u9053\u6b49', value: 'D' },\n        { text: '\u5206\u6790\u554f\u984c\u6240\u5728\uff0c\u63d0\u51fa\u89e3\u6c7a\u65b9\u6848', value: 'C' },\n        { text: '\u7d66\u5f7c\u6b64\u4e00\u4e9b\u7a7a\u9593\u51b7\u975c\u5f8c\u518d\u8ac7', value: 'A' },\n        { text: '\u5e0c\u671b\u80fd\u76e1\u5feb\u548c\u597d\uff0c\u4e0d\u559c\u6b61\u51b7\u6230', value: 'B' }\n      ]\n    },\n    {\n      question: '\u7576\u4f60\u611f\u5230\u58d3\u529b\u5f88\u5927\u6642\uff0c\u4f60\u5e0c\u671b\u4f34\u4fb6\u505a\u4ec0\u9ebc\uff1f',\n      options: [\n        { text: '\u7d66\u6211\u7a4d\u6975\u7684\u5efa\u8b70\u548c\u5e6b\u52a9', value: 'A' },\n        { text: '\u966a\u5728\u6211\u8eab\u908a\uff0c\u7d66\u6211\u5b89\u6170', value: 'B' },\n        { text: '\u7d66\u6211\u7a7a\u9593\uff0c\u8b93\u6211\u81ea\u5df1\u89e3\u6c7a', value: 'C' },\n        { text: '\u70ba\u6211\u5206\u64d4\u58d3\u529b\uff0c\u66ff\u6211\u89e3\u6c7a\u554f\u984c', value: 'D' }\n      ]\n    }\n  ];\n  \n  \/\/ \u5b9a\u7fa9\u7d50\u679c\u89e3\u6790\n  const resultAnalysis = {\n    'A': {\n      score: 50,\n      text: '\u7576\u4f60\u5728\u751f\u6d3b\u4e4b\u4e2d\u7684\u6642\u5019\uff0c\u8868\u73fe\u51fa\u4f86\u662f\u4e00\u500b\u5341\u5206\u5805\u5f37\u6027\u683c\u7684\u6a23\u5b50\uff0c\u8b93\u4eba\u89ba\u5f97\u5728\u4f60\u7684\u751f\u6d3b\u4e4b\u4e2d\u662f\u4e0d\u9700\u8981\u4efb\u4f55\u7684\u4eba\u3002\u53ef\u662f\uff0c\u7576\u4f60\u5728\u611b\u60c5\u7684\u6642\u5019\uff0c\u96d6\u7136\u4e5f\u662f\u559c\u6b61\u901e\u5f37\u7684\u6a23\u5b50\uff0c\u4f46\u662f\u4e00\u65e6\u5c0d\u65b9\u771f\u7684\u8981\u96e2\u958b\u4f60\u7684\u6642\u5019\uff0c\u4f60\u662f\u5b8c\u5168\u7121\u6cd5\u63a5\u53d7\u7684\u3002'\n    },\n    'B': {\n      score: 80,\n      text: '\u96d6\u7136\u5728\u5f88\u591a\u6642\u5019\uff0c\u4f60\u8868\u73fe\u51fa\u4f86\u662f\u4e00\u500b\u770b\u4f3c\u5805\u5f37\u7684\u4eba\uff0c\u80fd\u5920\u7368\u7576\u4e00\u9762\u7684\u6a23\u5b50\uff0c\u53ef\u662f\uff0c\u5728\u4f60\u7684\u611b\u60c5\u4e4b\u4e2d\uff0c\u4f60\u662f\u4e00\u500b\u5728\u5fc3\u7406\u4e0a\u5341\u5206\u4f9d\u8cf4\u81ea\u5df1\u7684\u6200\u4eba\u7684\u4eba\uff0c\u7576\u4f60\u5011\u4e4b\u9593\u5728\u76f8\u8655\u7684\u6642\u5019\uff0c\u4f60\u662f\u5e0c\u671b\u4f60\u5011\u4e4b\u9593\u7684\u8ddd\u96e2\u4e0d\u65b7\u7684\u52a0\u6df1\u3002'\n    },\n    'C': {\n      score: 30,\n      text: '\u4f60\u5728\u9762\u5c0d\u81ea\u5df1\u7684\u611b\u60c5\u7684\u6642\u5019\uff0c\u662f\u4e0d\u6703\u8f15\u6613\u7684\u5c0d\u81ea\u5df1\u7684\u6200\u4eba\u7522\u751f\u4f9d\u8cf4\u7684\u5fc3\u7406\u7684\uff0c\u4e5f\u4e0d\u6703\u4e3b\u52d5\u7684\u9078\u64c7\u5411\u5c0d\u65b9\u7d22\u8981\u4ec0\u9ebc\u3002\u56e0\u70ba\uff0c\u4f60\u6703\u89ba\u5f97\u4f60\u7684\u4f9d\u8cf4\u53ef\u80fd\u6703\u5c0e\u81f4\u4f60\u5011\u4e4b\u9593\u7684\u95dc\u4fc2\u8b8a\u5f97\u4e0d\u5e73\u7b49\uff0c\u6240\u4ee5\uff0c\u4f60\u66f4\u591a\u7684\u662f\u4e0d\u6703\u5c0d\u81ea\u5df1\u7684\u6200\u4eba\u7522\u751f\u4f9d\u8cf4\u7684\u5fc3\u7406\u3002'\n    },\n    'D': {\n      score: 100,\n      text: '\u7576\u4f60\u5728\u9762\u5c0d\u81ea\u5df1\u7684\u611b\u60c5\u7684\u6642\u5019\uff0c\u5b8c\u5168\u662f\u4e00\u500b\u5f31\u5973\u5b50\uff0c\u5be6\u969b\u4e0a\u5728\u4f60\u7684\u751f\u6d3b\u4e4b\u4e2d\uff0c\u4f60\u4e5f\u662f\u4e00\u500b\u5341\u5206\u4f9d\u8cf4\u5225\u4eba\u7684\u4eba\uff0c\u5728\u8a31\u591a\u7684\u4e8b\u60c5\u548c\u6c7a\u5b9a\u7684\u9762\u524d\uff0c\u4f60\u90fd\u662f\u4e0d\u80fd\u5920\u505a\u51fa\u81ea\u5df1\u7684\u6289\u64c7\u7684\u3002\u5728\u611b\u60c5\u4e4b\u4e2d\uff0c\u4e5f\u662f\u5728\u671f\u5f85\u5c0d\u65b9\u80fd\u5920\u5f15\u5c0e\u4f60\u3002'\n    }\n  };\n  \n  \/\/ \u521d\u59cb\u5316\u6e2c\u9a57\n  function initWeakGirlQuiz() {\n    \/\/ \u5143\u7d20\u5f15\u7528\n    const elements = {\n      container: document.getElementById('weakGirlQuizContainer'),\n      introPage: document.getElementById('quizIntroPage'),\n      questionsPage: document.getElementById('quizQuestionsPage'),\n      resultPage: document.getElementById('quizResultPage'),\n      startButton: document.getElementById('startQuizButton'),\n      questionContainer: document.getElementById('questionContainer'),\n      progressFill: document.getElementById('progressFill'),\n      progressText: document.getElementById('progressText'),\n      prevButton: document.getElementById('prevButton'),\n      resultScore: document.getElementById('resultScore'),\n      resultAnalysis: document.getElementById('resultAnalysis'),\n      resultChart: document.getElementById('resultChart'),\n      restartButton: document.getElementById('restartQuizButton')\n    };\n    \n    \/\/ \u6e2c\u9a57\u72c0\u614b\n    let quizState = {\n      currentQuestion: 0,\n      userAnswers: [],\n      chart: null\n    };\n    \n    \/\/ \u9632\u6296\u51fd\u6578\n    const debounce = (func, delay) => {\n      let timeout;\n      return function(...args) {\n        const context = this;\n        clearTimeout(timeout);\n        timeout = setTimeout(() => func.apply(context, args), delay);\n      };\n    };\n    \n    \/\/ \u7bc0\u6d41\u51fd\u6578\n    const throttle = (func, limit) => {\n      let inThrottle;\n      return function(...args) {\n        const context = this;\n        if (!inThrottle) {\n          func.apply(context, args);\n          inThrottle = true;\n          setTimeout(() => inThrottle = false, limit);\n        }\n      };\n    };\n    \n    \/\/ \u7d81\u5b9a\u4e8b\u4ef6\n    if (elements.startButton) {\n      elements.startButton.addEventListener('click', throttle(startQuiz, 500));\n    }\n    \n    if (elements.prevButton) {\n      elements.prevButton.addEventListener('click', throttle(prevQuestion, 300));\n    }\n    \n    if (elements.restartButton) {\n      elements.restartButton.addEventListener('click', throttle(restartQuiz, 500));\n    }\n    \n    \/\/ \u7a97\u53e3\u5927\u5c0f\u8abf\u6574\u6642\u91cd\u65b0\u8a08\u7b97\u5716\u8868\u5927\u5c0f\n    window.addEventListener('resize', debounce(() => {\n      if (quizState.chart) {\n        renderChart();\n      }\n    }, 250));\n    \n    \/\/ \u958b\u59cb\u6e2c\u9a57\n    function startQuiz() {\n      elements.introPage.style.display = 'none';\n      elements.questionsPage.style.display = 'block';\n      quizState.currentQuestion = 0;\n      quizState.userAnswers = [];\n      \n      \/\/ \u52a0\u8f09\u7b2c\u4e00\u500b\u554f\u984c\n      loadQuestion(0);\n      updateProgress();\n      \n      \/\/ \u6efe\u52d5\u5230\u554f\u984c\u6a19\u984c\n      scrollToElement(elements.questionsPage.querySelector('.wgq-title'));\n    }\n    \n    \/\/ \u52a0\u8f09\u554f\u984c\n    function loadQuestion(index) {\n      const question = quizQuestions[index];\n      const prevAnswer = quizState.userAnswers[index];\n      \n      \/\/ \u6e05\u7a7a\u554f\u984c\u5bb9\u5668\n      elements.questionContainer.innerHTML = '';\n      \n      \/\/ \u5275\u5efa\u554f\u984c\u6a19\u984c\n      const questionTitle = document.createElement('h3');\n      questionTitle.className = 'wgq-question-title';\n      questionTitle.textContent = question.question;\n      \n      \/\/ \u5275\u5efa\u9078\u9805\u5bb9\u5668\n      const optionsContainer = document.createElement('div');\n      optionsContainer.className = 'wgq-options-container';\n      \n      \/\/ \u5275\u5efa\u9078\u9805\n      question.options.forEach(option => {\n        const optionItem = document.createElement('div');\n        optionItem.className = 'wgq-option-item';\n        optionItem.setAttribute('data-value', option.value);\n        \n        if (prevAnswer && prevAnswer === option.value) {\n          optionItem.classList.add('selected');\n        }\n        \n        const radioDot = document.createElement('div');\n        radioDot.className = 'wgq-radio-dot';\n        \n        const optionText = document.createElement('div');\n        optionText.className = 'wgq-option-text';\n        optionText.textContent = option.text;\n        \n        optionItem.appendChild(radioDot);\n        optionItem.appendChild(optionText);\n        \n        \/\/ \u7d81\u5b9a\u9078\u9805\u9ede\u64ca\u4e8b\u4ef6\n        optionItem.addEventListener('click', throttle(() => selectOption(option.value), 300));\n        \n        optionsContainer.appendChild(optionItem);\n      });\n      \n      \/\/ \u6dfb\u52a0\u554f\u984c\u548c\u9078\u9805\u5230\u5bb9\u5668\n      const questionDiv = document.createElement('div');\n      questionDiv.className = 'wgq-question';\n      questionDiv.appendChild(questionTitle);\n      questionDiv.appendChild(optionsContainer);\n      \n      elements.questionContainer.appendChild(questionDiv);\n      \n      \/\/ \u6839\u64da\u7576\u524d\u554f\u984c\u7d22\u5f15\u66f4\u65b0\u4e0a\u4e00\u984c\u6309\u9215\u72c0\u614b\n      elements.prevButton.style.display = index === 0 ? 'none' : 'block';\n    }\n    \n    \/\/ \u9078\u64c7\u9078\u9805\n    function selectOption(value) {\n      \/\/ \u66f4\u65b0\u9078\u4e2d\u72c0\u614b\n      const optionItems = elements.questionContainer.querySelectorAll('.wgq-option-item');\n      optionItems.forEach(item => {\n        if (item.getAttribute('data-value') === value) {\n          item.classList.add('selected');\n        } else {\n          item.classList.remove('selected');\n        }\n      });\n      \n      \/\/ \u66f4\u65b0\u7528\u6236\u7b54\u6848\n      quizState.userAnswers[quizState.currentQuestion] = value;\n      \n      \/\/ \u5ef6\u9072\u5207\u63db\u5230\u4e0b\u4e00\u984c\uff0c\u7d66\u7528\u6236\u6642\u9593\u770b\u5230\u9078\u4e2d\u6548\u679c\n      setTimeout(() => {\n        if (quizState.currentQuestion < quizQuestions.length - 1) {\n          quizState.currentQuestion++;\n          loadQuestion(quizState.currentQuestion);\n          updateProgress();\n          \n          \/\/ \u6efe\u52d5\u5230\u554f\u984c\u6a19\u984c\n          scrollToElement(elements.questionsPage.querySelector('.wgq-title'));\n        } else {\n          \/\/ \u5b8c\u6210\u6e2c\u9a57\uff0c\u986f\u793a\u7d50\u679c\n          showResult();\n        }\n      }, 300);\n    }\n    \n    \/\/ \u4e0a\u4e00\u984c\n    function prevQuestion() {\n      if (quizState.currentQuestion > 0) {\n        quizState.currentQuestion--;\n        loadQuestion(quizState.currentQuestion);\n        updateProgress();\n        \n        \/\/ \u6efe\u52d5\u5230\u554f\u984c\u6a19\u984c\n        scrollToElement(elements.questionsPage.querySelector('.wgq-title'));\n      }\n    }\n    \n    \/\/ \u66f4\u65b0\u9032\u5ea6\n    function updateProgress() {\n      const progress = ((quizState.currentQuestion + 1) \/ quizQuestions.length) * 100;\n      elements.progressFill.style.width = `${progress}%`;\n      elements.progressText.textContent = `\u554f\u984c ${quizState.currentQuestion + 1}\/${quizQuestions.length}`;\n    }\n    \n    \/\/ \u986f\u793a\u7d50\u679c\n    function showResult() {\n      elements.questionsPage.style.display = 'none';\n      elements.resultPage.style.display = 'block';\n      \n      \/\/ \u8a08\u7b97\u7d50\u679c\u5206\u6578\n      const score = calculateScore();\n      elements.resultScore.textContent = score;\n      \n      \/\/ \u986f\u793a\u7d50\u679c\u5206\u6790\n      displayAnalysis(score);\n      \n      \/\/ \u5275\u5efa\u5716\u8868\n      renderChart();\n      \n      \/\/ \u6efe\u52d5\u5230\u7d50\u679c\u9801\u6a19\u984c\n      scrollToElement(elements.resultPage.querySelector('.wgq-title'));\n    }\n    \n    \/\/ \u8a08\u7b97\u5f97\u5206\n    function calculateScore() {\n      \/\/ \u7d71\u8a08\u5404\u500b\u9078\u9805\u7684\u6578\u91cf\n      const counts = { A: 0, B: 0, C: 0, D: 0 };\n      \n      quizState.userAnswers.forEach(answer => {\n        counts[answer]++;\n      });\n      \n      \/\/ \u8a08\u7b97\u52a0\u6b0a\u5e73\u5747\u5206\n      let totalScore = 0;\n      let totalWeight = 0;\n      \n      for (const type in counts) {\n        const count = counts[type];\n        const weight = count;\n        const score = resultAnalysis[type].score;\n        \n        totalScore += score * weight;\n        totalWeight += weight;\n      }\n      \n      return Math.round(totalWeight > 0 ? totalScore \/ totalWeight : 0);\n    }\n    \n    \/\/ \u986f\u793a\u7d50\u679c\u5206\u6790\n    function displayAnalysis(score) {\n      \/\/ \u78ba\u5b9a\u6700\u63a5\u8fd1\u7684\u5206\u6790\u985e\u578b\n      let closestType = 'A';\n      let minDiff = Math.abs(resultAnalysis['A'].score - score);\n      \n      for (const type in resultAnalysis) {\n        const diff = Math.abs(resultAnalysis[type].score - score);\n        if (diff < minDiff) {\n          minDiff = diff;\n          closestType = type;\n        }\n      }\n      \n      \/\/ \u8a08\u7b97\u5404\u500b\u9078\u9805\u7684\u767e\u5206\u6bd4\uff08\u512a\u5316\uff1a\u4f7f\u7528\u5e73\u6ed1\u5206\u4f48\uff0c\u907f\u514d\u6975\u7aef\u503c\uff09\n      const counts = { A: 1, B: 1, C: 1, D: 1 }; \/\/ \u7d66\u6bcf\u500b\u9078\u9805\u4e00\u500b\u57fa\u790e\u503c\uff0c\u907f\u514d0%\n      let totalAnswers = 4; \/\/ \u57fa\u790e\u7e3d\u6578\u70ba4\n      \n      quizState.userAnswers.forEach(answer => {\n        counts[answer] += 2; \/\/ \u6bcf\u9078\u4e00\u6b21\u589e\u52a02\u9ede\u6b0a\u91cd\n        totalAnswers += 2;\n      });\n      \n      const percentages = {};\n      for (const type in counts) {\n        percentages[type] = Math.round((counts[type] \/ totalAnswers) * 100);\n      }\n      \n      \/\/ \u986f\u793a\u5206\u6790\u6587\u672c\n      elements.resultAnalysis.innerHTML = `\n        <p>\u4f60\u5728\u611b\u60c5\u4e4b\u4e2d\u662f\u5f31\u5973\u5b50\u7684\u6307\u6578\u662f <strong>${score}<\/strong><\/p>\n        <p>${resultAnalysis[closestType].text}<\/p>\n        <p><strong>\u4f60\u7684\u9078\u64c7\u5206\u6790\uff1a<\/strong><\/p>\n        <p>\u2022 \u7368\u7acb\u6027\u50be\u5411 (A\u578b): ${percentages.A}%<\/p>\n        <p>\u2022 \u4f9d\u8cf4\u6027\u50be\u5411 (B\u578b): ${percentages.B}%<\/p>\n        <p>\u2022 \u7406\u6027\u578b\u50be\u5411 (C\u578b): ${percentages.C}%<\/p>\n        <p>\u2022 \u611f\u6027\u578b\u50be\u5411 (D\u578b): ${percentages.D}%<\/p>\n      `;\n    }\n    \n    \/\/ \u6e32\u67d3\u5716\u8868\n    function renderChart() {\n      \/\/ \u5982\u679c\u5df2\u5b58\u5728\u5716\u8868\uff0c\u92b7\u6bc0\u5b83\n      if (quizState.chart) {\n        quizState.chart.destroy();\n      }\n      \n      \/\/ \u7d71\u8a08\u5404\u500b\u9078\u9805\u7684\u6578\u91cf\uff08\u4f7f\u7528\u5e73\u6ed1\u5206\u4f48\uff09\n      const counts = { A: 1, B: 1, C: 1, D: 1 }; \/\/ \u57fa\u790e\u503c\uff0c\u907f\u514d0%\n      \n      quizState.userAnswers.forEach(answer => {\n        counts[answer] += 2; \/\/ \u6bcf\u9078\u4e00\u6b21\u589e\u52a02\u9ede\u6b0a\u91cd\n      });\n      \n      \/\/ \u8a08\u7b97\u6bcf\u500b\u985e\u578b\u7684\u767e\u5206\u6bd4\n      const total = 4 + (quizState.userAnswers.length * 2); \/\/ \u57fa\u790e\u7e3d\u6578 + \u9078\u64c7\u6578 \u00d7 \u6b0a\u91cd\n      const data = [\n        counts.A \/ total * 100,\n        counts.B \/ total * 100,\n        counts.C \/ total * 100,\n        counts.D \/ total * 100\n      ];\n      \n      \/\/ \u5275\u5efa\u96f7\u9054\u5716\n      const ctx = elements.resultChart.getContext('2d');\n      \n      quizState.chart = new Chart(ctx, {\n        type: 'radar',\n        data: {\n          labels: ['\u7368\u7acb\u6027 (A)', '\u4f9d\u8cf4\u6027 (B)', '\u7406\u6027 (C)', '\u611f\u6027 (D)'],\n          datasets: [{\n            label: '\u4f60\u7684\u5206\u4f48',\n            data: data,\n            backgroundColor: 'rgba(255, 118, 117, 0.2)',\n            borderColor: 'rgba(255, 118, 117, 1)',\n            pointBackgroundColor: 'rgba(255, 118, 117, 1)',\n            pointBorderColor: '#fff',\n            pointHoverBackgroundColor: '#fff',\n            pointHoverBorderColor: 'rgba(255, 118, 117, 1)'\n          }]\n        },\n        options: {\n          scales: {\n            r: {\n              beginAtZero: true,\n              max: 100,\n              ticks: {\n                stepSize: 20\n              },\n              pointLabels: {\n                font: {\n                  size: 16\n                }\n              }\n            }\n          },\n          plugins: {\n            legend: {\n              labels: {\n                font: {\n                  size: 16\n                }\n              }\n            }\n          },\n          responsive: true,\n          maintainAspectRatio: false\n        }\n      });\n    }\n    \n    \/\/ \u91cd\u65b0\u6e2c\u9a57\n    function restartQuiz() {\n      elements.resultPage.style.display = 'none';\n      elements.introPage.style.display = 'block';\n      \n      \/\/ \u6efe\u52d5\u5230\u5f15\u5c0e\u9801\u6a19\u984c\n      scrollToElement(elements.introPage.querySelector('.wgq-title'));\n    }\n    \n    \/\/ \u6efe\u52d5\u5230\u5143\u7d20\n    function scrollToElement(element) {\n      if (element) {\n        \/\/ \u4f7f\u7528\u5e73\u6ed1\u6efe\u52d5\n        element.scrollIntoView({ behavior: 'smooth', block: 'start' });\n      }\n    }\n  }\n  \n  \/\/ \u7576DOM\u52a0\u8f09\u5b8c\u6210\u5f8c\u521d\u59cb\u5316\u6e2c\u9a57\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', initWeakGirlQuiz);\n  } else {\n    initWeakGirlQuiz();\n  }\n})();\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u5728\u7231\u60c5\u91cc\uff0c\u6709\u7684\u4eba\u53ef\u4ee5\u7ee7\u7eed\u505a\u5973\u6c49\u5b50\uff0c\u6709\u7684\u4eba\u5916\u8868\u662f\u5973\u6c49\u5b50\uff0c\u5b9e\u5219\u53ea\u662f\u4e00\u4e2a\u5f31\u5973\u5b50\u3002\u90a3\u4e48\uff0c\u5728\u7231\u60c5\u91cc\u4f60\u7684\u5f31\u5973\u5b50\u6307\u6570\u662f\u591a\u5c11\uff1f\u8bf7\u505a\u4e2a\u6d4b\u8bd5\u770b\u770b\u5427\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":"narrow-width-container","site-content-style":"default","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":"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":[167,179,178],"tags":[],"class_list":["post-2530","post","type-post","status-publish","format-standard","hentry","category-personality","category-marriage","category-love"],"_links":{"self":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2530","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=2530"}],"version-history":[{"count":5,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2530\/revisions"}],"predecessor-version":[{"id":10410,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/posts\/2530\/revisions\/10410"}],"wp:attachment":[{"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/media?parent=2530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/categories?post=2530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinliceyan.org\/zh\/wp-json\/wp\/v2\/tags?post=2530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}