File size: 86,076 Bytes
28c32e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 |
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>育见·视界——女性生育决策实验室</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
:root {
--primary: #E51E86;
--primary-light: #ff63b8;
--primary-dark: #b0005e;
--stats: #3498DB;
--preference: #9B59B6;
--environment: #2ECC71;
--decision: #E67E22;
--high-will: #FF1493;
--medium-will: #DA70D6;
--low-will: #87CEFA;
--warning: #E74C3C;
--positive: #27AE60;
}
body {
font-family: 'Noto Sans SC', sans-serif;
background-color: #fef6f9;
color: #333;
transition: all 0.3s ease;
}
.bg-primary {
background-color: var(--primary);
}
.text-primary {
color: var(--primary);
}
.border-primary {
border-color: var(--primary);
}
.hover-bg-primary:hover {
background-color: var(--primary);
}
.hover-text-primary:hover {
color: var(--primary);
}
.card-hover {
transition: all 0.3s ease;
transform: translateY(0);
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.breathing-effect {
animation: breathing 2s infinite ease-in-out;
}
@keyframes breathing {
0% { box-shadow: 0 0 0 0 rgba(229, 30, 134, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(229, 30, 134, 0); }
100% { box-shadow: 0 0 0 0 rgba(229, 30, 134, 0); }
}
.tab-active {
border-bottom: 3px solid var(--primary);
font-weight: 500;
}
.parameter-tab {
transition: all 0.3s ease;
}
.parameter-tab:hover {
transform: translateY(-2px);
}
.stats-tab {
background-color: var(--stats);
}
.preference-tab {
background-color: var(--preference);
}
.environment-tab {
background-color: var(--environment);
}
.decision-tab {
background-color: var(--decision);
}
.high-will {
background-color: var(--high-will);
}
.medium-will {
background-color: var(--medium-will);
}
.low-will {
background-color: var(--low-will);
}
.slide-fade-enter-active {
transition: all 0.3s ease;
}
.slide-fade-leave-active {
transition: all 0.3s ease;
}
.slide-fade-enter-from,
.slide-fade-leave-to {
transform: translateX(20px);
opacity: 0;
}
.flip-card {
perspective: 1000px;
}
.flip-card-inner {
transition: transform 0.6s;
transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(10deg);
}
.bg-pattern {
background-image: radial-gradient(var(--primary) 1px, transparent 1px);
background-size: 20px 20px;
opacity: 0.1;
}
.tooltip {
position: relative;
}
.tooltip .tooltip-text {
visibility: hidden;
width: 200px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -100px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.range-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
}
.range-slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
}
.will-indicator {
width: 100%;
height: 10px;
background: linear-gradient(to right, var(--low-will), var(--medium-will), var(--high-will));
border-radius: 5px;
}
.will-marker {
position: absolute;
top: -5px;
width: 20px;
height: 20px;
background-color: white;
border: 2px solid var(--primary);
border-radius: 50%;
transform: translateX(-50%);
}
.dna-bg {
position: absolute;
width: 100%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23E51E86' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
}
</style>
</head>
<body class="min-h-screen">
<div id="app" class="min-h-screen flex flex-col">
<!-- Role Selection Page -->
<div id="role-page" class="min-h-screen flex flex-col p-8">
<header class="mb-8">
<h1 class="text-3xl font-bold text-primary">育见·视界——女性生育决策实验室</h1>
</header>
<main class="flex-grow flex flex-col items-center justify-center">
<h2 class="text-2xl font-semibold mb-8 text-gray-700">请选择您的角色</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 w-full max-w-6xl">
<!-- Role 1 -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover breathing-effect" data-role="1">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-briefcase text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">高教育高收入已婚专业人士</h3>
<p class="text-sm text-gray-500">32岁 | 已婚 | 博士</p>
</div>
</div>
<div class="flex-grow">
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">高级管理人员</span>
</div>
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">年收入 > 50万</span>
</div>
<div class="flex items-center">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">一线城市</span>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-primary" style="width: 70%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Role 2 -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover" data-role="2">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-user-tie text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">中等教育中等收入已婚职员</h3>
<p class="text-sm text-gray-500">28岁 | 已婚 | 本科</p>
</div>
</div>
<div class="flex-grow">
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">办公室职员</span>
</div>
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">年收入 15-30万</span>
</div>
<div class="flex items-center">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">二线城市</span>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-primary" style="width: 60%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Role 3 -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover" data-role="3">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-user-graduate text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">高教育中等收入单身专业人士</h3>
<p class="text-sm text-gray-500">30岁 | 单身 | 硕士</p>
</div>
</div>
<div class="flex-grow">
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">专业技术人员</span>
</div>
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">年收入 20-40万</span>
</div>
<div class="flex items-center">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">一线城市</span>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-primary" style="width: 40%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Role 4 -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover" data-role="4">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-hard-hat text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">低教育低收入已婚工人</h3>
<p class="text-sm text-gray-500">35岁 | 已婚 | 高中</p>
</div>
</div>
<div class="flex-grow">
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">工厂工人</span>
</div>
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">年收入 < 10万</span>
</div>
<div class="flex items-center">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">三线城市</span>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-primary" style="width: 80%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Role 5 -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover" data-role="5">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-lightbulb text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">高教育高收入单身创业者</h3>
<p class="text-sm text-gray-500">33岁 | 单身 | MBA</p>
</div>
</div>
<div class="flex-grow">
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">科技公司创始人</span>
</div>
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">年收入 > 100万</span>
</div>
<div class="flex items-center">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">一线城市</span>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-primary" style="width: 30%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Role 6 -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover" data-role="6">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-user-friends text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">中等教育低收入单亲家长</h3>
<p class="text-sm text-gray-500">36岁 | 离异 | 大专</p>
</div>
</div>
<div class="flex-grow">
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">服务行业</span>
</div>
<div class="flex items-center mb-2">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">年收入 < 8万</span>
</div>
<div class="flex items-center">
<span class="w-4 h-4 rounded-full bg-primary mr-2"></span>
<span class="text-sm">二线城市</span>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-primary" style="width: 20%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Role 7 - Custom -->
<div class="flip-card">
<div class="flip-card-inner bg-white rounded-xl shadow-md overflow-hidden card-hover" data-role="7">
<div class="p-6 flex flex-col h-full">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mr-4">
<i class="fas fa-user-edit text-xl text-primary"></i>
</div>
<div>
<h3 class="text-lg font-semibold">自定义角色</h3>
<p class="text-sm text-gray-500">自定义您的个人资料</p>
</div>
</div>
<div class="flex-grow flex items-center justify-center">
<div class="text-center">
<i class="fas fa-sliders-h text-3xl text-primary mb-2"></i>
<p class="text-sm">自定义所有参数</p>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-100">
<div class="flex justify-between items-center">
<span class="text-sm font-medium">生育意愿</span>
<div class="w-24 h-2 bg-gray-200 rounded-full overflow-hidden">
<div class="h-full bg-gray-400" style="width: 50%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="mt-8 flex justify-between">
<button id="random-role" class="px-6 py-2 bg-gray-100 hover:bg-gray-200 rounded-full text-gray-700 font-medium flex items-center">
<i class="fas fa-random mr-2"></i> 随机角色
</button>
<button id="enter-params" class="px-6 py-2 bg-primary hover:bg-primary-dark rounded-full text-white font-medium flex items-center">
点击进入 <i class="fas fa-arrow-right ml-2"></i>
</button>
</footer>
</div>
<!-- Parameter Settings Page -->
<div id="params-page" class="min-h-screen hidden p-8">
<header class="mb-8">
<h1 class="text-3xl font-bold text-primary">参数设置</h1>
</header>
<div class="flex flex-col lg:flex-row flex-grow gap-6">
<!-- Left Decoration Area -->
<div class="hidden lg:block lg:w-1/6 relative">
<div class="dna-bg"></div>
<div class="absolute top-0 left-0 w-full h-full flex flex-col items-center justify-center">
<div class="w-40 h-40 rounded-full bg-pink-50 flex items-center justify-center mb-6">
<i class="fas fa-user-md text-5xl text-primary"></i>
</div>
<div class="w-40 h-40 rounded-full bg-pink-50 flex items-center justify-center">
<i class="fas fa-baby-carriage text-5xl text-primary"></i>
</div>
</div>
</div>
<!-- Center Parameter Area -->
<div class="lg:w-4/6">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-6 text-gray-700">参数设置</h2>
<!-- Tabs -->
<div class="flex mb-6 border-b border-gray-200">
<button class="parameter-tab stats-tab text-white px-4 py-2 rounded-t-lg mr-2 tab-active" data-tab="stats">
基本人口统计
</button>
<button class="parameter-tab preference-tab text-white px-4 py-2 rounded-t-lg mr-2" data-tab="preference">
生育偏好
</button>
<button class="parameter-tab environment-tab text-white px-4 py-2 rounded-t-lg mr-2" data-tab="environment">
环境因素
</button>
<button class="parameter-tab decision-tab text-white px-4 py-2 rounded-t-lg" data-tab="decision">
决策参数
</button>
</div>
<!-- Tab Content -->
<div class="tab-content">
<!-- Stats Tab -->
<div id="stats-tab" class="tab-pane active">
<div class="space-y-6">
<!-- Age -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">年龄</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">年龄影响生育能力和生物钟</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">20</span>
<input type="range" min="20" max="45" value="30" class="w-full range-slider" id="age-slider">
<span class="text-sm text-gray-500 ml-2">45</span>
</div>
<div class="text-right mt-1">
<span class="text-sm font-medium" id="age-value">30</span>
<span class="text-sm text-gray-500">岁</span>
</div>
</div>
<!-- Education -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">教育水平</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">教育水平影响职业发展机会</span>
</span>
</div>
<select class="w-full p-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary">
<option value="high-school">高中</option>
<option value="vocational">职校</option>
<option value="bachelor" selected>本科</option>
<option value="master">硕士</option>
<option value="phd">博士</option>
</select>
</div>
<!-- Income -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">收入水平</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">收入水平影响财务稳定性</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">低</span>
<input type="range" min="1" max="5" value="3" class="w-full range-slider" id="income-slider">
<span class="text-sm text-gray-500 ml-2">高</span>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">1级</span>
<span class="text-xs text-gray-500">2级</span>
<span class="text-xs text-gray-500">3级</span>
<span class="text-xs text-gray-500">4级</span>
<span class="text-xs text-gray-500">5级</span>
</div>
</div>
<!-- Marital Status -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">婚姻状况</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">婚姻状况影响伴侣可用性</span>
</span>
</div>
<div class="grid grid-cols-2 gap-2">
<label class="inline-flex items-center p-2 border border-gray-300 rounded-md cursor-pointer">
<input type="radio" name="marital-status" value="single" class="form-radio text-primary">
<span class="ml-2">单身</span>
</label>
<label class="inline-flex items-center p-2 border border-gray-300 rounded-md cursor-pointer">
<input type="radio" name="marital-status" value="dating" class="form-radio text-primary">
<span class="ml-2">恋爱中</span>
</label>
<label class="inline-flex items-center p-2 border border-gray-300 rounded-md cursor-pointer">
<input type="radio" name="marital-status" value="married" checked class="form-radio text-primary">
<span class="ml-2">已婚</span>
</label>
<label class="inline-flex items-center p-2 border border-gray-300 rounded-md cursor-pointer">
<input type="radio" name="marital-status" value="divorced" class="form-radio text-primary">
<span class="ml-2">离异</span>
</label>
</div>
</div>
</div>
</div>
<!-- Preference Tab -->
<div id="preference-tab" class="tab-pane hidden">
<div class="space-y-6">
<!-- Fertility Will -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">生育意愿</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">生育意愿是决策的基础动机</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">低</span>
<input type="range" min="1" max="10" value="5" class="w-full range-slider" id="will-slider">
<span class="text-sm text-gray-500 ml-2">高</span>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">1</span>
<span class="text-xs text-gray-500">2</span>
<span class="text-xs text-gray-500">3</span>
<span class="text-xs text-gray-500">4</span>
<span class="text-xs text-gray-500">5</span>
<span class="text-xs text-gray-500">6</span>
<span class="text-xs text-gray-500">7</span>
<span class="text-xs text-gray-500">8</span>
<span class="text-xs text-gray-500">9</span>
<span class="text-xs text-gray-500">10</span>
</div>
</div>
<!-- Max Children -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">最大期望子女数</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">您希望拥有的最多孩子数量</span>
</span>
</div>
<div class="flex items-center justify-center space-x-4">
<button class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center text-gray-700 hover:bg-primary hover:text-white">
-
</button>
<span class="text-xl font-medium" id="children-value">2</span>
<button class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center text-gray-700 hover:bg-primary hover:text-white">
+
</button>
</div>
</div>
<!-- Career-Family Priority -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">职业与家庭优先级</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">您如何平衡职业发展与家庭生活</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">职业</span>
<input type="range" min="0" max="100" value="50" class="w-full range-slider" id="priority-slider">
<span class="text-sm text-gray-500 ml-2">家庭</span>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">0%</span>
<span class="text-xs text-gray-500">25%</span>
<span class="text-xs text-gray-500">50%</span>
<span class="text-xs text-gray-500">75%</span>
<span class="text-xs text-gray-500">100%</span>
</div>
</div>
</div>
</div>
<!-- Environment Tab -->
<div id="environment-tab" class="tab-pane hidden">
<div class="space-y-6">
<!-- Healthcare Access -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">医疗保健可及性</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">您所在地区的医疗资源质量</span>
</span>
</div>
<div class="flex items-center justify-between">
<div class="rating">
<input type="radio" name="healthcare" value="1" class="mask mask-star bg-yellow-400" />
<input type="radio" name="healthcare" value="2" class="mask mask-star bg-yellow-400" />
<input type="radio" name="healthcare" value="3" class="mask mask-star bg-yellow-400" checked />
<input type="radio" name="healthcare" value="4" class="mask mask-star bg-yellow-400" />
<input type="radio" name="healthcare" value="5" class="mask mask-star bg-yellow-400" />
</div>
</div>
</div>
<!-- Social Pressure -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">社会压力水平</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">来自家庭和社会的生育期望</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">低</span>
<input type="range" min="1" max="3" value="2" class="w-full range-slider" id="pressure-slider">
<span class="text-sm text-gray-500 ml-2">高</span>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">低</span>
<span class="text-xs text-gray-500">中</span>
<span class="text-xs text-gray-500">高</span>
</div>
</div>
<!-- Partner Support -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">伴侣支持水平</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">伴侣在育儿方面的参与度</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">低</span>
<input type="range" min="1" max="3" value="2" class="w-full range-slider" id="support-slider">
<span class="text-sm text-gray-500 ml-2">高</span>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">低</span>
<span class="text-xs text-gray-500">中</span>
<span class="text-xs text-gray-500">高</span>
</div>
</div>
</div>
</div>
<!-- Decision Tab -->
<div id="decision-tab" class="tab-pane hidden">
<div class="space-y-6">
<!-- Planning Horizon -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">规划周期</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">您考虑生育决策的时间框架</span>
</span>
</div>
<select class="w-full p-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary">
<option value="6">6个月</option>
<option value="12">12个月</option>
<option value="24" selected>24个月</option>
<option value="36">36个月</option>
<option value="48">48个月</option>
<option value="60">60个月</option>
</select>
</div>
<!-- Reassessment Frequency -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">重新评估频率</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">您重新评估生育决策的间隔</span>
</span>
</div>
<select class="w-full p-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary">
<option value="monthly">月度</option>
<option value="quarterly" selected>季度</option>
<option value="semiannual">半年</option>
<option value="annual">年度</option>
</select>
</div>
<!-- Financial Threshold -->
<div class="parameter-group">
<div class="flex justify-between items-center mb-2">
<label class="font-medium">财务稳定阈值</label>
<span class="text-sm text-gray-500 tooltip">
<i class="fas fa-info-circle"></i>
<span class="tooltip-text">您认为生育所需的最低经济条件</span>
</span>
</div>
<div class="flex items-center">
<span class="text-sm text-gray-500 mr-2">低</span>
<input type="range" min="1" max="3" value="2" class="w-full range-slider" id="threshold-slider">
<span class="text-sm text-gray-500 ml-2">高</span>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">低</span>
<span class="text-xs text-gray-500">中</span>
<span class="text-xs text-gray-500">高</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Character Preview -->
<div class="lg:w-1/6">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-4 text-gray-700">角色预览</h2>
<div class="flex flex-col items-center mb-6">
<div class="w-24 h-24 rounded-full bg-pink-100 flex items-center justify-center mb-4">
<i class="fas fa-user text-3xl text-primary"></i>
</div>
<div class="text-center">
<h3 class="font-medium" id="preview-name">高教育中等收入已婚职员</h3>
<p class="text-sm text-gray-500" id="preview-age">28岁 | 已婚 | 本科</p>
</div>
</div>
<div class="space-y-4">
<div>
<div class="flex justify-between text-sm mb-1">
<span>生育意愿指数</span>
<span class="font-medium" id="preview-will">60%</span>
</div>
<div class="will-indicator relative">
<div class="will-marker" style="left: 60%;"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>职业-家庭平衡</span>
<span class="font-medium" id="preview-balance">职业 50% | 家庭 50%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-gradient-to-r from-blue-500 to-pink-500 h-2 rounded-full" style="width: 100%"></div>
</div>
</div>
<div class="pt-4 border-t border-gray-100">
<h4 class="text-sm font-medium mb-2">主要影响因素</h4>
<div class="flex flex-wrap gap-2">
<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">收入水平</span>
<span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">生育意愿</span>
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">医疗资源</span>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="mt-8 flex justify-between">
<button id="back-to-role" class="px-6 py-2 bg-gray-100 hover:bg-gray-200 rounded-full text-gray-700 font-medium flex items-center">
<i class="fas fa-arrow-left mr-2"></i> 返回
</button>
<div class="flex space-x-4">
<button id="random-params" class="px-6 py-2 bg-gray-100 hover:bg-gray-200 rounded-full text-gray-700 font-medium flex items-center">
<i class="fas fa-random mr-2"></i> 随机参数
</button>
<button id="enter-scenarios" class="px-6 py-2 bg-primary hover:bg-primary-dark rounded-full text-white font-medium flex items-center">
继续 <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</footer>
</div>
<!-- Scenario Selection Page -->
<div id="scenario-page" class="min-h-screen hidden p-8">
<header class="mb-8">
<h1 class="text-3xl font-bold text-primary">模拟决策</h1>
</header>
<div class="flex flex-col lg:flex-row flex-grow gap-6">
<!-- Left Card Library -->
<div class="lg:w-1/4">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-4 text-gray-700">事件卡牌库</h2>
<div class="flex overflow-x-auto lg:overflow-x-visible lg:flex-col space-x-4 lg:space-x-0 lg:space-y-4 pb-4 lg:pb-0">
<!-- Category Tabs -->
<div class="flex lg:flex-col space-x-2 lg:space-x-0 lg:space-y-2 mb-4">
<button class="category-tab px-4 py-2 bg-blue-100 text-blue-800 rounded-lg active" data-category="career">
职业转折点
</button>
<button class="category-tab px-4 py-2 bg-green-100 text-green-800 rounded-lg" data-category="health">
健康因素
</button>
<button class="category-tab px-4 py-2 bg-yellow-100 text-yellow-800 rounded-lg" data-category="economic">
经济环境
</button>
<button class="category-tab px-4 py-2 bg-purple-100 text-purple-800 rounded-lg" data-category="social">
社会关系
</button>
</div>
<!-- Career Events -->
<div id="career-cards" class="category-cards space-y-4">
<div class="scenario-card p-4 bg-blue-50 rounded-lg border border-blue-100 cursor-pointer" data-id="career1">
<h3 class="font-medium text-blue-800">产后回归晋升机会</h3>
<p class="text-sm text-blue-600">测试职业发展与育儿平衡</p>
</div>
<div class="scenario-card p-4 bg-blue-50 rounded-lg border border-blue-100 cursor-pointer" data-id="career2">
<h3 class="font-medium text-blue-800">海外工作机会</h3>
<p class="text-sm text-blue-600">测试地理迁移对生育决策的影响</p>
</div>
<div class="scenario-card p-4 bg-blue-50 rounded-lg border border-blue-100 cursor-pointer" data-id="career3">
<h3 class="font-medium text-blue-800">创业机会</h3>
<p class="text-sm text-blue-600">测试职业风险与生育计划的关系</p>
</div>
</div>
<!-- Health Events -->
<div id="health-cards" class="category-cards hidden space-y-4">
<div class="scenario-card p-4 bg-green-50 rounded-lg border border-green-100 cursor-pointer" data-id="health1">
<h3 class="font-medium text-green-800">幼儿急诊与工作冲突</h3>
<p class="text-sm text-green-600">测试医疗资源获取</p>
</div>
<div class="scenario-card p-4 bg-green-50 rounded-lg border border-green-100 cursor-pointer" data-id="health2">
<h3 class="font-medium text-green-800">生育健康问题</h3>
<p class="text-sm text-green-600">测试医疗条件对决策的影响</p>
</div>
<div class="scenario-card p-4 bg-green-50 rounded-lg border border-green-100 cursor-pointer" data-id="health3">
<h3 class="font-medium text-green-800">家族遗传疾病风险</h3>
<p class="text-sm text-green-600">测试健康风险评估</p>
</div>
</div>
<!-- Economic Events -->
<div id="economic-cards" class="category-cards hidden space-y-4">
<div class="scenario-card p-4 bg-yellow-50 rounded-lg border border-yellow-100 cursor-pointer" data-id="economic1">
<h3 class="font-medium text-yellow-800">房贷利率上涨冲击</h3>
<p class="text-sm text-yellow-600">测试经济压力</p>
</div>
<div class="scenario-card p-4 bg-yellow-50 rounded-lg border border-yellow-100 cursor-pointer" data-id="economic2">
<h3 class="font-medium text-yellow-800">育儿补贴政策变化</h3>
<p class="text-sm text-yellow-600">测试政策支持</p>
</div>
<div class="scenario-card p-4 bg-yellow-50 rounded-lg border border-yellow-100 cursor-pointer" data-id="economic3">
<h3 class="font-medium text-yellow-800">家庭收入波动</h3>
<p class="text-sm text-yellow-600">测试财务不确定性</p>
</div>
</div>
<!-- Social Events -->
<div id="social-cards" class="category-cards hidden space-y-4">
<div class="scenario-card p-4 bg-purple-50 rounded-lg border border-purple-100 cursor-pointer" data-id="social1">
<h3 class="font-medium text-purple-800">家庭生育期望</h3>
<p class="text-sm text-purple-600">测试社会压力应对</p>
</div>
<div class="scenario-card p-4 bg-purple-50 rounded-lg border border-purple-100 cursor-pointer" data-id="social2">
<h3 class="font-medium text-purple-800">伴侣育儿分工变化</h3>
<p class="text-sm text-purple-600">测试伴侣支持水平</p>
</div>
<div class="scenario-card p-4 bg-purple-50 rounded-lg border border-purple-100 cursor-pointer" data-id="social3">
<h3 class="font-medium text-purple-800">社区育儿资源</h3>
<p class="text-sm text-purple-600">测试社会支持网络</p>
</div>
</div>
</div>
</div>
</div>
<!-- Center Selected Scenarios -->
<div class="lg:w-2/4">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-semibold text-gray-700">已选择的情景事件</h2>
<div class="text-sm text-gray-500">
<span id="selected-count">0</span>/5
</div>
</div>
<div id="selected-scenarios" class="grid grid-cols-1 gap-4 min-h-[400px]">
<div class="flex items-center justify-center h-full">
<div class="text-center text-gray-400">
<i class="fas fa-hand-pointer text-3xl mb-2"></i>
<p>从左侧选择事件添加到模拟中</p>
<p class="text-sm">最多可选择5个事件</p>
</div>
</div>
</div>
</div>
</div>
<!-- Right Scenario Details -->
<div class="lg:w-1/4">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-4 text-gray-700">事件详情</h2>
<div id="scenario-details" class="text-center text-gray-400">
<i class="fas fa-info-circle text-3xl mb-2"></i>
<p>点击事件查看详情</p>
</div>
<div id="scenario-impact" class="mt-6 hidden">
<h3 class="font-medium mb-2">影响参数</h3>
<div class="space-y-3">
<div>
<div class="flex justify-between text-sm mb-1">
<span>生育意愿</span>
<span class="font-medium">-10%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-pink-500 h-2 rounded-full" style="width: 30%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>职业发展</span>
<span class="font-medium">-15%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 45%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>财务稳定</span>
<span class="font-medium">-5%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-yellow-500 h-2 rounded-full" style="width: 25%"></div>
</div>
</div>
</div>
<div class="mt-6">
<h3 class="font-medium mb-2">系统建议</h3>
<div class="bg-pink-50 border border-pink-100 rounded-lg p-3 text-sm text-pink-800">
此事件可能对您的职业发展产生较大影响,建议优先考虑职业规划。
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="mt-8 flex justify-between">
<button id="back-to-params" class="px-6 py-2 bg-gray-100 hover:bg-gray-200 rounded-full text-gray-700 font-medium flex items-center">
<i class="fas fa-arrow-left mr-2"></i> 返回
</button>
<div class="flex space-x-4">
<button id="random-scenarios" class="px-6 py-2 bg-gray-100 hover:bg-gray-200 rounded-full text-gray-700 font-medium flex items-center">
<i class="fas fa-random mr-2"></i> 随机事件
</button>
<button id="enter-decision" class="px-6 py-2 bg-primary hover:bg-primary-dark rounded-full text-white font-medium flex items-center">
继续 <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</footer>
</div>
<!-- Decision Simulation Page -->
<div id="decision-page" class="min-h-screen hidden p-8">
<header class="mb-8">
<h1 class="text-3xl font-bold text-primary">决策模拟</h1>
</header>
<div class="flex flex-col lg:flex-row flex-grow gap-6">
<!-- Left Character & Scenario Overview -->
<div class="lg:w-1/4">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-4 text-gray-700">角色与情景概览</h2>
<div class="flex flex-col items-center mb-6">
<div class="w-20 h-20 rounded-full bg-pink-100 flex items-center justify-center mb-4">
<i class="fas fa-user text-2xl text-primary"></i>
</div>
<div class="text-center">
<h3 class="font-medium">高教育中等收入已婚职员</h3>
<p class="text-sm text-gray-500">28岁 | 已婚 | 本科</p>
</div>
</div>
<div class="space-y-4 mb-6">
<div>
<div class="flex justify-between text-sm mb-1">
<span>生育意愿指数</span>
<span class="font-medium">60%</span>
</div>
<div class="will-indicator relative">
<div class="will-marker" style="left: 60%;"></div>
</div>
</div>
<div>
<h4 class="text-sm font-medium mb-2">主要影响因素</h4>
<div class="flex flex-wrap gap-2">
<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">收入水平</span>
<span class="px-2 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">生育意愿</span>
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">医疗资源</span>
</div>
</div>
</div>
<div>
<h3 class="font-medium mb-2">已选情景事件</h3>
<div class="space-y-3">
<div class="p-3 bg-blue-50 rounded-lg border border-blue-100">
<h4 class="text-sm font-medium text-blue-800">产后回归晋升机会</h4>
<p class="text-xs text-blue-600">测试职业发展与育儿平衡</p>
</div>
<div class="p-3 bg-yellow-50 rounded-lg border border-yellow-100">
<h4 class="text-sm font-medium text-yellow-800">房贷利率上涨冲击</h4>
<p class="text-xs text-yellow-600">测试经济压力</p>
</div>
</div>
</div>
</div>
</div>
<!-- Center Decision Options -->
<div class="lg:w-2/4">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-6 text-gray-700">生育决策选项</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<!-- Option 1 -->
<div class="decision-option p-4 bg-white rounded-xl border-2 border-pink-200 hover:border-pink-300 cursor-pointer transition-all">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center mr-3">
<i class="fas fa-baby text-pink-500"></i>
</div>
<div>
<h3 class="font-medium">立即生育</h3>
<p class="text-sm text-gray-500">测试高生育意愿和紧迫感</p>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs mb-1">
<span>生育意愿强度</span>
<span class="font-medium">高</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-pink-500 h-2 rounded-full" style="width: 90%"></div>
</div>
</div>
</div>
<!-- Option 2 -->
<div class="decision-option p-4 bg-white rounded-xl border-2 border-pink-100 hover:border-pink-300 cursor-pointer transition-all">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-pink-50 flex items-center justify-center mr-3">
<i class="fas fa-calendar-check text-pink-400"></i>
</div>
<div>
<h3 class="font-medium">一年内生育</h3>
<p class="text-sm text-gray-500">测试短期规划和准备</p>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs mb-1">
<span>生育意愿强度</span>
<span class="font-medium">中高</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-pink-400 h-2 rounded-full" style="width: 75%"></div>
</div>
</div>
</div>
<!-- Option 3 -->
<div class="decision-option p-4 bg-white rounded-xl border-2 border-purple-100 hover:border-purple-300 cursor-pointer transition-all">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-purple-50 flex items-center justify-center mr-3">
<i class="fas fa-calendar-alt text-purple-400"></i>
</div>
<div>
<h3 class="font-medium">三年内生育</h3>
<p class="text-sm text-gray-500">测试中期规划和职业平衡</p>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs mb-1">
<span>生育意愿强度</span>
<span class="font-medium">中</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-purple-400 h-2 rounded-full" style="width: 50%"></div>
</div>
</div>
</div>
<!-- Option 4 -->
<div class="decision-option p-4 bg-white rounded-xl border-2 border-blue-100 hover:border-blue-300 cursor-pointer transition-all">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-blue-50 flex items-center justify-center mr-3">
<i class="fas fa-calendar-plus text-blue-400"></i>
</div>
<div>
<h3 class="font-medium">五年后再考虑</h3>
<p class="text-sm text-gray-500">测试长期规划和职业优先</p>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs mb-1">
<span>生育意愿强度</span>
<span class="font-medium">中低</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-400 h-2 rounded-full" style="width: 30%"></div>
</div>
</div>
</div>
<!-- Option 5 -->
<div class="decision-option p-4 bg-white rounded-xl border-2 border-green-100 hover:border-green-300 cursor-pointer transition-all">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-green-50 flex items-center justify-center mr-3">
<i class="fas fa-dna text-green-400"></i>
</div>
<div>
<h3 class="font-medium">冻卵保留选择权</h3>
<p class="text-sm text-gray-500">测试技术辅助生育意愿</p>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs mb-1">
<span>生育意愿强度</span>
<span class="font-medium">可变</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-gradient-to-r from-green-400 to-blue-400 h-2 rounded-full" style="width: 60%"></div>
</div>
</div>
</div>
<!-- Option 6 -->
<div class="decision-option p-4 bg-white rounded-xl border-2 border-gray-200 hover:border-gray-400 cursor-pointer transition-all">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center mr-3">
<i class="fas fa-times text-gray-500"></i>
</div>
<div>
<h3 class="font-medium">选择不生育</h3>
<p class="text-sm text-gray-500">测试丁克倾向和原因</p>
</div>
</div>
<div class="mt-3">
<div class="flex justify-between text-xs mb-1">
<span>生育意愿强度</span>
<span class="font-medium">低</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-gray-400 h-2 rounded-full" style="width: 10%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Decision Impact Preview -->
<div class="lg:w-1/4">
<div class="bg-white rounded-xl shadow-md p-6 h-full">
<h2 class="text-xl font-semibold mb-4 text-gray-700">决策影响预览</h2>
<div id="decision-preview" class="text-center text-gray-400">
<i class="fas fa-mouse-pointer text-3xl mb-2"></i>
<p>选择一个决策选项查看潜在影响</p>
</div>
<div id="decision-impact" class="hidden">
<h3 class="font-medium mb-3">"立即生育"的潜在影响</h3>
<div class="space-y-4">
<div>
<h4 class="text-sm font-medium flex items-center mb-1">
<i class="fas fa-briefcase mr-2 text-blue-500"></i> 职业发展
</h4>
<div class="text-xs bg-blue-50 p-2 rounded-lg">
<p>短期内职业晋升机会减少30%,3-5年后可能恢复</p>
</div>
</div>
<div>
<h4 class="text-sm font-medium flex items-center mb-1">
<i class="fas fa-wallet mr-2 text-yellow-500"></i> 经济状况
</h4>
<div class="text-xs bg-yellow-50 p-2 rounded-lg">
<p>前两年家庭收入减少25%,育儿成本增加40%</p>
</div>
</div>
<div>
<h4 class="text-sm font-medium flex items-center mb-1">
<i class="fas fa-heartbeat mr-2 text-red-500"></i> 健康因素
</h4>
<div class="text-xs bg-red-50 p-2 rounded-lg">
<p>当前年龄生育健康风险较低(8%),产后恢复期6-12个月</p>
</div>
</div>
<div>
<h4 class="text-sm font-medium flex items-center mb-1">
<i class="fas fa-users mr-2 text-purple-500"></i> 社会关系
</h4>
<div class="text-xs bg-purple-50 p-2 rounded-lg">
<p>家庭支持度高,伴侣参与意愿强,社会压力缓解</p>
</div>
</div>
<div>
<h4 class="text-sm font-medium flex items-center mb-1">
<i class="fas fa-smile mr-2 text-green-500"></i> 幸福感预测
</h4>
<div class="text-xs bg-green-50 p-2 rounded-lg">
<p>初期压力较大,长期幸福感指数提升20-35%</p>
</div>
</div>
</div>
<div class="mt-6">
<h4 class="text-sm font-medium mb-2">系统建议</h4>
<div class="text-xs
</html> |