Sherry 1 anno fa
parent
commit
a23768d95f

+ 278
- 2
src/fe/mrna/css/all.css Vedi File

@@ -13454,7 +13454,11 @@ p {
13454 13454
 .modal-research .modal-dialog {
13455 13455
   max-width: 40em;
13456 13456
 }
13457
+.modal-research .modal-content {
13458
+  box-shadow: 0.8em 0.8em 1em rgba(0, 0, 0, 0.3);
13459
+}
13457 13460
 .modal-research .modal-body {
13461
+  transition: 0.3s;
13458 13462
   padding: 2.5em 3em 2.3em;
13459 13463
 }
13460 13464
 .modal-research .modal-body h2 {
@@ -13589,6 +13593,12 @@ p {
13589 13593
   line-height: 1.4;
13590 13594
   font-size: 0.8em;
13591 13595
 }
13596
+.modal-feature .modal__principle__text-pc {
13597
+  display: block;
13598
+}
13599
+.modal-feature .modal__principle__text-mb {
13600
+  display: none;
13601
+}
13592 13602
 .modal-feature .modal__list {
13593 13603
   margin-top: 1em;
13594 13604
   display: flex;
@@ -13663,7 +13673,7 @@ p {
13663 13673
   font-weight: 400;
13664 13674
 }
13665 13675
 .modal-show .modal-body {
13666
-  padding: 2.5em 2.5em 2.3em;
13676
+  padding: 2.5em 2.3em 2.3em;
13667 13677
 }
13668 13678
 .modal-show .modal__title {
13669 13679
   margin-bottom: 0.5em;
@@ -13673,6 +13683,7 @@ p {
13673 13683
 }
13674 13684
 .modal-show .modal__operation {
13675 13685
   margin-top: 0.8em;
13686
+  margin-bottom: 1.5em;
13676 13687
 }
13677 13688
 .modal-show .modal__operation__item {
13678 13689
   display: flex;
@@ -13700,9 +13711,274 @@ p {
13700 13711
 }
13701 13712
 .modal-show .modal__feature {
13702 13713
   display: flex;
13703
-  height: 20em;
13714
+  justify-content: space-between;
13715
+  align-items: flex-start;
13716
+  height: 7em;
13717
+  margin-top: 0.8em;
13718
+}
13719
+.modal-show .modal__feature__item {
13720
+  width: 19%;
13721
+  height: 100%;
13722
+  border-radius: 0.5em;
13723
+  border: 0.1em solid rgba(134, 134, 134, 0.3);
13724
+  display: flex;
13725
+  justify-content: center;
13726
+  align-items: center;
13727
+}
13728
+.modal-show .modal__feature__item p {
13729
+  text-align: center;
13730
+  font-size: 0.7em;
13731
+}
13732
+.modal-show .modal__feature__item p .red {
13733
+  font-size: 1.3em;
13734
+  color: #db1837;
13704 13735
 }
13705 13736
 
13737
+.modal-test .modal-body {
13738
+  padding: 2.5em 2.6em 2.3em;
13739
+}
13740
+.modal-test .modal__title {
13741
+  margin-bottom: 0.4em;
13742
+}
13743
+.modal-test .modal__preface p {
13744
+  color: #0699d2;
13745
+}
13746
+.modal-test .modal__game {
13747
+  margin-top: 1.5em;
13748
+}
13749
+.modal-test .modal__game__item {
13750
+  border-radius: 0.4em;
13751
+  border: 0.1em solid #0699d2;
13752
+  overflow: hidden;
13753
+  margin-bottom: 0.8em;
13754
+}
13755
+.modal-test .modal__game__item.active .modal__game__ques {
13756
+  padding: 0.5em 0.6em 0.6em;
13757
+}
13758
+.modal-test .modal__game__item.active .modal__game__btns {
13759
+  display: none;
13760
+}
13761
+.modal-test .modal__game__ques {
13762
+  position: relative;
13763
+  background-color: #0699d2;
13764
+  padding: 1em 0.6em 1.1em;
13765
+}
13766
+.modal-test .modal__game__ques p {
13767
+  color: #ffffff;
13768
+  line-height: 1;
13769
+}
13770
+.modal-test .modal__game__ques p .num {
13771
+  font-size: 1.2em;
13772
+  font-weight: 400;
13773
+  margin-right: 0.7em;
13774
+}
13775
+.modal-test .modal__game__btns {
13776
+  position: absolute;
13777
+  top: 50%;
13778
+  transform: translateY(-50%);
13779
+  right: 0.4em;
13780
+  display: flex;
13781
+}
13782
+.modal-test .modal__game__btns__btn {
13783
+  width: 2em;
13784
+  height: 2em;
13785
+  display: flex;
13786
+  justify-content: center;
13787
+  align-items: center;
13788
+  border-radius: 0.3em;
13789
+  transition: 0.3s;
13790
+  cursor: pointer;
13791
+}
13792
+.modal-test .modal__game__btns__btn img {
13793
+  width: 65%;
13794
+  height: auto;
13795
+}
13796
+.modal-test .modal__game__btns__btn:hover {
13797
+  background-color: rgba(255, 255, 255, 0.3);
13798
+}
13799
+.modal-test .modal__game__ans {
13800
+  justify-content: flex-start;
13801
+  align-items: center;
13802
+  padding: 0.2em 0.6em 0.6em;
13803
+  display: none;
13804
+}
13805
+.modal-test .modal__game__ans__icon {
13806
+  width: 1.2em;
13807
+  margin-right: 0.7em;
13808
+}
13809
+.modal-test .modal__game__ans__icon img {
13810
+  width: 100%;
13811
+  height: auto;
13812
+}
13813
+.modal-test .modal__game__ans__icon-circle {
13814
+  width: 2em;
13815
+}
13816
+.modal-test .modal__game__ans p {
13817
+  margin-top: 0.3em;
13818
+}
13819
+
13820
+@media screen and (max-width: 992px) {
13821
+  .modal-research .modal-dialog {
13822
+    margin: 1.5em 0.7em;
13823
+  }
13824
+  .modal-research .modal-body {
13825
+    padding: 2.5em 1em 1em;
13826
+  }
13827
+  .modal-research .modal-body h2 {
13828
+    font-size: 1.2em;
13829
+    font-weight: 600;
13830
+  }
13831
+  .modal-research .modal-body h3 {
13832
+    font-size: 0.9em;
13833
+    font-weight: 600;
13834
+  }
13835
+  .modal-research .modal-body h4 {
13836
+    font-size: 0.8em;
13837
+  }
13838
+  .modal-research .modal-body p {
13839
+    font-size: 0.7em;
13840
+  }
13841
+  .modal-proud {
13842
+    flex: 0 0 3.5em;
13843
+  }
13844
+  .modal-proud .modal-body {
13845
+    padding: 2.5em 1.5em 2em;
13846
+  }
13847
+  .modal-proud .modal__text h4 {
13848
+    font-size: 0.8em;
13849
+  }
13850
+  .modal-proud .modal__text p {
13851
+    font-size: 0.7em;
13852
+    word-break: break-all;
13853
+  }
13854
+  .modal-proud .modal__pic {
13855
+    flex: 0 0 3.5em;
13856
+  }
13857
+  .modal-proud .modal__additional__icon {
13858
+    flex: 0 0 1.5em;
13859
+    width: 1.5em;
13860
+  }
13861
+  .modal-feature .modal-body {
13862
+    padding: 2.5em 1.3em 1em;
13863
+  }
13864
+  .modal-feature .modal__principle {
13865
+    flex-wrap: wrap;
13866
+  }
13867
+  .modal-feature .modal__principle h3 {
13868
+    font-size: 1em;
13869
+    font-weight: 300;
13870
+  }
13871
+  .modal-feature .modal__principle__item {
13872
+    width: 6.5em;
13873
+    height: 6.5em;
13874
+  }
13875
+  .modal-feature .modal__principle__item-blue::before {
13876
+    display: none;
13877
+  }
13878
+  .modal-feature .modal__principle__item {
13879
+    padding: 0;
13880
+    display: flex;
13881
+    justify-content: center;
13882
+    align-items: center;
13883
+    margin-bottom: 0.6em;
13884
+  }
13885
+  .modal-feature .modal__principle__item-blue {
13886
+    padding: 0;
13887
+  }
13888
+  .modal-feature .modal__principle__title {
13889
+    margin-bottom: 0;
13890
+  }
13891
+  .modal-feature .modal__principle__text p {
13892
+    color: #868686;
13893
+  }
13894
+  .modal-feature .modal__principle__text-pc {
13895
+    display: none;
13896
+  }
13897
+  .modal-feature .modal__principle__text-mb {
13898
+    width: 8.5em;
13899
+    display: block;
13900
+  }
13901
+  .modal-feature .modal__item {
13902
+    width: 50%;
13903
+    margin-bottom: 1em;
13904
+  }
13905
+  .modal-unlimit .modal-body {
13906
+    padding: 2.5em 1em 1.3em;
13907
+  }
13908
+  .modal-unlimit .modal__preface {
13909
+    margin-bottom: 1em;
13910
+  }
13911
+  .modal-unlimit .modal__intro {
13912
+    display: block;
13913
+    margin-top: 0;
13914
+  }
13915
+  .modal-unlimit .modal__intro__pic {
13916
+    width: 65%;
13917
+    margin-bottom: 2.2em;
13918
+  }
13919
+  .modal-unlimit .modal__intro ul {
13920
+    width: 79%;
13921
+    list-style: none;
13922
+    padding-left: 1em;
13923
+    margin-bottom: 0;
13924
+  }
13925
+  .modal-show .modal__preface {
13926
+    margin-bottom: 1em;
13927
+  }
13928
+  .modal-show .modal__operation {
13929
+    margin-bottom: 1em;
13930
+  }
13931
+  .modal-show .modal__feature {
13932
+    flex-wrap: wrap;
13933
+    height: auto;
13934
+  }
13935
+  .modal-show .modal__feature__item {
13936
+    height: 5.5em;
13937
+    margin-bottom: 0.5em;
13938
+  }
13939
+  .modal-show .modal__feature__item:nth-child(1), .modal-show .modal__feature__item:nth-child(2), .modal-show .modal__feature__item:nth-child(3) {
13940
+    width: 32%;
13941
+  }
13942
+  .modal-show .modal__feature__item:nth-child(4), .modal-show .modal__feature__item:nth-child(5) {
13943
+    width: 49%;
13944
+  }
13945
+  .modal-show .modal__feature__item p {
13946
+    width: 100%;
13947
+  }
13948
+  .modal-show .modal__feature__item p .red {
13949
+    font-size: 1.2em;
13950
+    font-weight: 400;
13951
+  }
13952
+  .modal-test .modal-body {
13953
+    padding: 2.5em 1em 0.7em;
13954
+  }
13955
+  .modal-test .modal__title {
13956
+    margin-bottom: 0.2em;
13957
+  }
13958
+  .modal-test .modal__game {
13959
+    margin-bottom: 0.6em;
13960
+  }
13961
+  .modal-test .modal__game__item.active .modal__game__ques {
13962
+    padding: 0.3em 4.5em 0.5em 0.6em;
13963
+  }
13964
+  .modal-test .modal__game__ques {
13965
+    padding: 0.3em 4.5em 0.5em 0.6em;
13966
+  }
13967
+  .modal-test .modal__game__ques p {
13968
+    line-height: 1.3;
13969
+    display: flex;
13970
+    justify-content: flex-start;
13971
+    align-items: center;
13972
+  }
13973
+  .modal-test .modal__game__btns__btn {
13974
+    width: 1.8em;
13975
+    height: 1.78em;
13976
+  }
13977
+  .modal-test .modal__game__ans__icon {
13978
+    flex: 0 0 1em;
13979
+    width: 1em;
13980
+  }
13981
+}
13706 13982
 .video {
13707 13983
   position: relative;
13708 13984
   width: 100%;

+ 1
- 1
src/fe/mrna/css/all.css.map
File diff suppressed because it is too large
Vedi File


+ 326
- 2
src/fe/mrna/css/component/_modal.scss Vedi File

@@ -22,7 +22,11 @@
22 22
         &-dialog {
23 23
             max-width: 40em;
24 24
         }
25
+        &-content {
26
+            box-shadow: 0.8em 0.8em 1em rgba(#000, 0.3);
27
+        }
25 28
         &-body {
29
+            transition: 0.3s;
26 30
             padding: 2.5em 3em 2.3em;
27 31
             h2 {
28 32
                 color: $blue-d;
@@ -169,6 +173,12 @@
169 173
                     line-height: 1.4;
170 174
                     font-size: 0.8em;
171 175
                 }
176
+                &-pc {
177
+                    display: block;
178
+                }
179
+                &-mb {
180
+                    display: none;
181
+                }
172 182
             }
173 183
         }
174 184
         &__list {
@@ -253,7 +263,7 @@
253 263
     }
254 264
     .modal {
255 265
         &-body {
256
-            padding: 2.5em 2.5em 2.3em;
266
+            padding: 2.5em 2.3em 2.3em;
257 267
         }
258 268
         &__title {
259 269
             margin-bottom: 0.5em;
@@ -263,6 +273,7 @@
263 273
         }
264 274
         &__operation {
265 275
             margin-top: 0.8em;
276
+            margin-bottom: 1.5em;
266 277
             &__item {
267 278
                 display: flex;
268 279
                 align-items: flex-start;
@@ -290,7 +301,320 @@
290 301
         }
291 302
         &__feature {
292 303
             display: flex;
293
-            height: 20em;
304
+            justify-content: space-between;
305
+            align-items: flex-start;
306
+            height: 7em;
307
+            margin-top: 0.8em;
308
+            &__item {
309
+                width: 19%;
310
+                height: 100%;
311
+                border-radius: 0.5em;
312
+                border: 0.1em solid rgba($gray, 0.3);
313
+                display: flex;
314
+                justify-content: center;
315
+                align-items: center;
316
+                p {
317
+                    text-align: center;
318
+                    font-size: 0.7em;
319
+                    .red {
320
+                        font-size: 1.3em;
321
+                        color: $red;
322
+                    }
323
+                }
324
+            }
325
+        }
326
+    }
327
+}
328
+
329
+.modal-test {
330
+    .modal {
331
+        &-body {
332
+            padding: 2.5em 2.6em 2.3em;
333
+        }
334
+        &__title {
335
+            margin-bottom: 0.4em;
336
+        }
337
+        &__preface {
338
+            p {
339
+                color: $blue;
340
+            }
341
+        }
342
+        &__game {
343
+            margin-top: 1.5em;
344
+            &__item {
345
+                border-radius: 0.4em;
346
+                border: 0.1em solid $blue;
347
+                overflow: hidden;
348
+                margin-bottom: 0.8em;
349
+                &.active {
350
+                    .modal__game__ques {
351
+                        padding: 0.5em 0.6em 0.6em;
352
+                    }
353
+                    .modal__game__btns {
354
+                        display: none;
355
+                    }
356
+                }
357
+            }
358
+            &__ques {
359
+                position: relative;
360
+                background-color: $blue;
361
+                padding: 1em 0.6em 1.1em;
362
+                p {
363
+                    color: $white;
364
+                    line-height: 1;
365
+                    .num {
366
+                        font-size: 1.2em;
367
+                        font-weight: 400;
368
+                        margin-right: 0.7em;
369
+                    }
370
+                }
371
+            }
372
+            &__btns {
373
+                position: absolute;
374
+                top: 50%;
375
+                transform: translateY(-50%);
376
+                right: 0.4em;
377
+                display: flex;
378
+                &__btn {
379
+                    width: 2em;
380
+                    height: 2em;
381
+                    display: flex;
382
+                    justify-content: center;
383
+                    align-items: center;
384
+                    border-radius: 0.3em;
385
+                    transition: 0.3s;
386
+                    cursor: pointer;
387
+                    img {
388
+                        width: 65%;
389
+                        height: auto;
390
+                    }
391
+                    &:hover {
392
+                        background-color: rgba($white, 0.3);
393
+                    }
394
+                }
395
+            }
396
+            &__ans {
397
+                justify-content: flex-start;
398
+                align-items: center;
399
+                padding: 0.2em 0.6em 0.6em;
400
+                display: none;
401
+                &__icon {
402
+                    width: 1.2em;
403
+                    margin-right: 0.7em;
404
+                    img {
405
+                        width: 100%;
406
+                        height: auto;
407
+                    }
408
+                    &-circle {
409
+                        width: 2em;
410
+                    }
411
+                }
412
+                p {
413
+                    margin-top: 0.3em;
414
+                }
415
+            }
416
+        }
417
+    }
418
+}
419
+
420
+@media screen and (max-width: 992px) {
421
+    .modal-research {
422
+        .modal {
423
+            &-dialog {
424
+                margin: 1.5em 0.7em;
425
+            }
426
+            &-body {
427
+                padding: 2.5em 1em 1em;
428
+                h2 {
429
+                    font-size: 1.2em;
430
+                    font-weight: 600;
431
+                }
432
+                h3 {
433
+                    font-size: 0.9em;
434
+                    font-weight: 600;
435
+                }
436
+                h4 {
437
+                    font-size: 0.8em;
438
+                }
439
+                p {
440
+                    font-size: 0.7em;
441
+                }
442
+            }
443
+        }
444
+    }
445
+    .modal-proud {
446
+        flex: 0 0 3.5em;
447
+        .modal {
448
+            &-body {
449
+                padding: 2.5em 1.5em 2em;
450
+            }
451
+            &__text {
452
+                h4 {
453
+                    font-size: 0.8em;
454
+                }
455
+                p {
456
+                    font-size: 0.7em;
457
+                    word-break: break-all;
458
+
459
+                }
460
+            }
461
+            &__pic {
462
+                flex: 0 0 3.5em;
463
+            }
464
+            &__additional {
465
+                &__icon {
466
+                    flex: 0 0 1.5em;
467
+                    width: 1.5em;
468
+                }
469
+            }
470
+        }
471
+    }
472
+    .modal-feature {
473
+        .modal {
474
+            &-body {
475
+                padding: 2.5em 1.3em 1em;
476
+            }
477
+            &__principle {
478
+                flex-wrap: wrap;
479
+                h3 {
480
+                    font-size: 1em;
481
+                    font-weight: 300;
482
+                }
483
+                &__item {
484
+                    width: 6.5em;
485
+                    height: 6.5em;
486
+                    &-blue {
487
+                        &::before {
488
+                            display: none;
489
+                        }
490
+                    }
491
+                }
492
+                &__item {
493
+                    padding: 0;
494
+                    display: flex;
495
+                    justify-content: center;
496
+                    align-items: center;
497
+                    margin-bottom: 0.6em;
498
+                    &-blue {
499
+                        padding: 0;
500
+                    }
501
+                }
502
+                &__title {
503
+                    margin-bottom: 0;
504
+                }
505
+                &__text {
506
+                    p {
507
+                        color: $gray;
508
+                    }
509
+                    &-pc {
510
+                        display: none;
511
+                    }
512
+                    &-mb {
513
+                        width: 8.5em;
514
+                        display: block;
515
+                    }
516
+                }
517
+            }
518
+            &__item {
519
+                width: 50%;
520
+                margin-bottom: 1em;
521
+            }
522
+        }
523
+    }
524
+    .modal-unlimit {
525
+        .modal {
526
+            &-body {
527
+                padding: 2.5em 1em 1.3em;
528
+            }
529
+            &__preface {
530
+                margin-bottom: 1em;
531
+            }
532
+            &__intro {
533
+                display: block;
534
+                margin-top: 0;
535
+                &__pic {
536
+                    width: 65%;
537
+                    margin-bottom: 2.2em;
538
+                }
539
+                ul {
540
+                    width: 79%;
541
+                    list-style: none;
542
+                    padding-left: 1em;
543
+                    margin-bottom: 0;
544
+                }
545
+            }
546
+        }
547
+    }
548
+    .modal-show {
549
+        .modal {
550
+            &__preface {
551
+                margin-bottom: 1em;
552
+            }
553
+            &__operation {
554
+                margin-bottom: 1em;
555
+            }
556
+            &__feature {
557
+                flex-wrap: wrap;
558
+                height: auto;
559
+                &__item {
560
+                    height: 5.5em;
561
+                    margin-bottom: 0.5em;
562
+                    &:nth-child(1), &:nth-child(2), &:nth-child(3) {
563
+                        width: 32%;
564
+                    }
565
+                    &:nth-child(4), &:nth-child(5) {
566
+                        width: 49%;
567
+                    }
568
+                    p {
569
+                        width: 100%;
570
+                        .red {
571
+                            font-size: 1.2em;
572
+                            font-weight: 400;
573
+                        }
574
+                    }
575
+                }
576
+            }
577
+        }
578
+    }
579
+    .modal-test {
580
+        .modal {
581
+            &-body {
582
+                padding: 2.5em 1em 0.7em;
583
+            }
584
+            &__title {
585
+                margin-bottom: 0.2em;
586
+            }
587
+            &__game {
588
+                margin-bottom: 0.6em;
589
+                &__item {
590
+                    &.active {
591
+                        .modal__game__ques {
592
+                            padding: 0.3em 4.5em 0.5em 0.6em;
593
+                        }
594
+                    }
595
+                }
596
+                &__ques {
597
+                    padding: 0.3em 4.5em 0.5em 0.6em;
598
+                    p {
599
+                        line-height: 1.3;
600
+                        display: flex;
601
+                        justify-content: flex-start;
602
+                        align-items: center;
603
+                    }
604
+                }
605
+                &__btns {
606
+                    &__btn {
607
+                        width: 1.8em;
608
+                        height: 1.78em;
609
+                    }
610
+                }
611
+                &__ans {
612
+                    &__icon {
613
+                        flex: 0 0 1em;
614
+                        width: 1em;
615
+                    }
616
+                }
617
+            }
294 618
         }
295 619
     }
296 620
 }

BIN
src/fe/mrna/images/rearch-popup/circle-green.png Vedi File


BIN
src/fe/mrna/images/rearch-popup/circle-white.png Vedi File


BIN
src/fe/mrna/images/rearch-popup/cross-red.png Vedi File


BIN
src/fe/mrna/images/rearch-popup/cross-white.png Vedi File


BIN
src/fe/mrna/images/rearch-popup/unlimit-pic_mb.png Vedi File


+ 156
- 10
src/fe/mrna/index.html Vedi File

@@ -299,7 +299,7 @@
299 299
               </p>
300 300
             </div>
301 301
           </div>
302
-          <div class="research__item" data-research="proud">
302
+          <div class="research__item" data-bs-toggle="modal" data-bs-target="#testModal">
303 303
             <div class="research__pic">
304 304
               <img src="./images/research-pic-test.png" alt="">
305 305
             </div>
@@ -614,7 +614,7 @@
614 614
               <div class="modal__principle__title">
615 615
                 <h3>疫苗原理 </h3>
616 616
               </div>
617
-              <div class="modal__principle__text">
617
+              <div class="modal__principle__text modal__principle__text-pc">
618 618
                 <p>
619 619
                   注射被稱為抗原的滅活病毒蛋白質,刺激人體免疫系統識別病毒,當病毒再次出現時快速被消滅或控制。 <span>〔8〕</span>
620 620
                 </p>
@@ -622,14 +622,24 @@
622 622
             </div>
623 623
             <div class="modal__principle__item modal__principle__item-red">
624 624
               <div class="modal__principle__title">
625
-                <h3>mRNA疫苗原理  </h3>
625
+                <h3>mRNA<br class="d-lg-none">疫苗原理</h3>
626 626
               </div>
627
-              <div class="modal__principle__text">
627
+              <div class="modal__principle__text modal__principle__text-pc">
628 628
                 <p>
629 629
                   不需要注射抗原本身。將抗原的基因序列或「代碼」翻譯成的mRNA,誘導身體產生真實的抗體。然後,mRNA會被人體的自然防禦機制降解而消失,留下抗體對抗病毒。 
630 630
                 </p>
631 631
               </div>
632 632
             </div>
633
+            <div class="modal__principle__text modal__principle__text-mb">
634
+              <p>
635
+                不需要注射抗原本身。將抗原的基因序列或「代碼」翻譯成的mRNA,誘導身體產生真實的抗體。然後,mRNA會被人體的自然防禦機制降解而消失,留下抗體對抗病毒。 
636
+              </p>
637
+            </div>
638
+            <div class="modal__principle__text modal__principle__text-mb">
639
+              <p>
640
+                不需要注射抗原本身。將抗原的基因序列或「代碼」翻譯成的mRNA,誘導身體產生真實的抗體。然後,mRNA會被人體的自然防禦機制降解而消失,留下抗體對抗病毒。 
641
+              </p>
642
+            </div>
633 643
           </div>
634 644
           <h3>mRNA疫苗的五大特色</h3>
635 645
           <div class="modal__list">
@@ -686,7 +696,10 @@
686 696
           </div>
687 697
           <div class="modal__intro">
688 698
             <div class="modal__intro__pic">
689
-              <img src="./images/rearch-popup/unlimit-pic.png" alt="">
699
+              <picture>
700
+                <source media="(max-width: 992px)" srcset="./images/rearch-popup/unlimit-pic_mb.png">
701
+                <img src="./images/rearch-popup/unlimit-pic.png" alt="">
702
+              </picture>
690 703
             </div>
691 704
             <ul>
692 705
               <li>
@@ -742,7 +755,7 @@
742 755
         <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
743 756
         <div class="modal-body">
744 757
           <div class="modal__title">
745
-            <h2>mRNA疫苗如何在疫情大展身手</h4>
758
+            <h2>mRNA疫苗<br class="d-lg-block">如何在疫情大展身手</h4>
746 759
           </div>
747 760
           <div class="modal__preface">
748 761
             <p>2023年諾貝爾生醫獎由匈牙利裔的美籍科學家卡里科(Katalin Kariko),和美國科學家魏斯曼(Drew Weissman)共同獲獎。兩人長期致力於mRNA疫苗研發,因為在核苷(nucleoside)修飾的有關發現,得以促成開發有效的COVID-19信使核糖核酸(mRNA)疫苗,故獲得醫學獎殊榮。
@@ -825,7 +838,12 @@
825 838
               </p>
826 839
             </div>
827 840
             <div class="modal__feature__item">
828
-              <p>
841
+              <p class="d-lg-none">
842
+                在 mRNA 按指令完成<br>
843
+                任務後細胞很快會將其<br>
844
+                <span class="red">分解和消除</span>
845
+              </p>
846
+              <p class="d-none d-lg-block">
829 847
                 在 mRNA 按<br>
830 848
                 指令完成任務後<br>
831 849
                 細胞很快會將其<br>
@@ -833,12 +851,17 @@
833 851
               </p>
834 852
             </div>
835 853
             <div class="modal__feature__item">
836
-              <p>
854
+              <p class="d-lg-none">
855
+                與所有其他類型的疫苗<br>
856
+                一樣在安全及效力方面同樣<br>
857
+                <span class="red">具嚴格法規<br class="d-none d-lg-block">審核標準</span>
858
+                
859
+              </p>
860
+              <p class="d-none d-lg-block">
837 861
                 與所有其他類型的<br>
838 862
                 疫苗一樣在安全<br>
839 863
                 及效力方面同樣<br>
840
-                <span class="red">具嚴格法規
841
-                  審核標準</span>
864
+                <span class="red">具嚴格法規<br>審核標準</span>
842 865
               </p>
843 866
             </div>
844 867
           </div>
@@ -847,6 +870,129 @@
847 870
     </div>
848 871
   </div>
849 872
 
873
+  <div class="modal modal-research modal-test fade" id="testModal" tabindex="-1" aria-labelledby="testModalLabel" aria-hidden="true">
874
+    <div class="modal-dialog modal-dialog-centered">
875
+      <div class="modal-content">
876
+        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
877
+        <div class="modal-body">
878
+          <div class="modal__title">
879
+            <h2>mRNA小試身手</h4>
880
+          </div>
881
+          <div class="modal__preface">
882
+            <p>你好像更了解mRNA了,來點小試身手吧 !</p>
883
+          </div>
884
+          <div class="modal__game">
885
+            <div class="modal__game__item" data-num="1">
886
+              <div class="modal__game__ques">
887
+                <div class="modal__game__btns">
888
+                  <div class="modal__game__btns__btn modal__game__btns__btn-circle">
889
+                    <img src="./images/rearch-popup/circle-white.png" alt="">
890
+                  </div>
891
+                  <div class="modal__game__btns__btn modal__game__btns__btn-cross">
892
+                    <img src="./images/rearch-popup/cross-white.png" alt="">
893
+                  </div>
894
+                </div>
895
+                <p>
896
+                  <span class="num">Q1</span>mRNA如同食譜,身體就是按照它來創建基因代碼。
897
+                </p>
898
+              </div>
899
+              <div class="modal__game__ans">
900
+                <div class="modal__game__ans__icon">
901
+                  <img src="./images/rearch-popup/cross-red.png" alt="">
902
+                </div>
903
+                <p>是DNA;mRNA如同把食譜給廚師的信使,透過轉錄使細胞可根據它來製造蛋白質。</p>
904
+              </div>
905
+            </div>
906
+            <div class="modal__game__item" data-num="2">
907
+              <div class="modal__game__ques">
908
+                <div class="modal__game__btns">
909
+                  <div class="modal__game__btns__btn modal__game__btns__btn-circle">
910
+                    <img src="./images/rearch-popup/circle-white.png" alt="">
911
+                  </div>
912
+                  <div class="modal__game__btns__btn modal__game__btns__btn-cross">
913
+                    <img src="./images/rearch-popup/cross-white.png" alt="">
914
+                  </div>
915
+                </div>
916
+                <p>
917
+                  <span class="num">Q2</span>mRNA會經由疫苗注射而穿透細胞的細胞核影響DNA。
918
+                </p>
919
+              </div>
920
+              <div class="modal__game__ans">
921
+                <div class="modal__game__ans__icon">
922
+                  <img src="./images/rearch-popup/cross-red.png" alt="">
923
+                </div>
924
+                <p>mRNA無法進入細胞核。</p>
925
+              </div>
926
+            </div>
927
+            <div class="modal__game__item" data-num="3">
928
+              <div class="modal__game__ques">
929
+                <div class="modal__game__btns">
930
+                  <div class="modal__game__btns__btn modal__game__btns__btn-circle">
931
+                    <img src="./images/rearch-popup/circle-white.png" alt="">
932
+                  </div>
933
+                  <div class="modal__game__btns__btn modal__game__btns__btn-cross">
934
+                    <img src="./images/rearch-popup/cross-white.png" alt="">
935
+                  </div>
936
+                </div>
937
+                <p>
938
+                  <span class="num">Q3</span>mRNA經由疫苗進入身體後不會長期滯留於體內。
939
+                </p>
940
+              </div>
941
+              <div class="modal__game__ans">
942
+                <div class="modal__game__ans__icon modal__game__ans__icon-circle">
943
+                  <img src="./images/rearch-popup/circle-green.png" alt="">
944
+                </div>
945
+                <p>mRNA 和包裹它的奈米脂質顆粒,從疫苗中引入體內後,會在自然狀態下在2天內分解並離開你的身體,且無其他毒性風險。</p>
946
+              </div>
947
+            </div>
948
+            <div class="modal__game__item" data-num="4">
949
+              <div class="modal__game__ques">
950
+                <div class="modal__game__btns">
951
+                  <div class="modal__game__btns__btn modal__game__btns__btn-circle">
952
+                    <img src="./images/rearch-popup/circle-white.png" alt="">
953
+                  </div>
954
+                  <div class="modal__game__btns__btn modal__game__btns__btn-cross">
955
+                    <img src="./images/rearch-popup/cross-white.png" alt="">
956
+                  </div>
957
+                </div>
958
+                <p>
959
+                  <span class="num">Q4</span>mRNA技術永遠只能針對COVID-19做使用。
960
+                </p>
961
+              </div>
962
+              <div class="modal__game__ans">
963
+                <div class="modal__game__ans__icon">
964
+                  <img src="./images/rearch-popup/cross-red.png" alt="">
965
+                </div>
966
+                <p>目前mRNA技術已開始往其他疾病領域發展,未來可能解決癌症、罕見病、HPV等疾病。</p>
967
+              </div>
968
+            </div>
969
+            <div class="modal__game__item" data-num="5">
970
+              <div class="modal__game__ques">
971
+                <div class="modal__game__btns">
972
+                  <div class="modal__game__btns__btn modal__game__btns__btn-circle">
973
+                    <img src="./images/rearch-popup/circle-white.png" alt="">
974
+                  </div>
975
+                  <div class="modal__game__btns__btn modal__game__btns__btn-cross">
976
+                    <img src="./images/rearch-popup/cross-white.png" alt="">
977
+                  </div>
978
+                </div>
979
+                <p>
980
+                  <span class="num">Q5</span>一般疫苗原理與mRNA疫苗原理的差異在於是否是注射抗原本身。
981
+                </p>
982
+              </div>
983
+              <div class="modal__game__ans">
984
+                <div class="modal__game__ans__icon modal__game__ans__icon-circle">
985
+                  <img src="./images/rearch-popup/circle-green.png" alt="">
986
+                </div>
987
+                <p>一般疫苗會注射抗原刺激免疫系統判別病毒進行消滅;mRNA疫苗則是將抗原的基因序列翻譯成的mRNA,誘導身體產生真實的抗體。</p>
988
+              </div>
989
+            </div>
990
+          </div>
991
+        </div>
992
+      </div>
993
+    </div>
994
+  </div>
995
+
850 996
   <script src="lib/jquery-3.6.4.min.js"></script>
851 997
   <script src="https://www.youtube.com/iframe_api"></script>
852 998
   <script src="lib/swiper.min.js"></script>

+ 19
- 1
src/fe/mrna/js/main.js Vedi File

@@ -76,7 +76,7 @@ main = function () {
76 76
 		// 	lenisHandler();
77 77
 		// }
78 78
 
79
-		// $("#showModal").modal('show');
79
+		$("#showModal").modal('show');
80 80
 
81 81
 		loadImagesAndPerformAction(imgUrls, startHandler);
82 82
 
@@ -114,6 +114,20 @@ main = function () {
114 114
 			autoPlayHistory(currentHistoryIdx);
115 115
 		});
116 116
 
117
+		$(".modal-test .modal__game__btns__btn").click(function(){
118
+			console.log("modal__game__item click")
119
+			let num = $(this).parents(".modal__game__item").data("num");
120
+			modalGameItemAni(num)
121
+			$(this).parents(".modal__game__item").addClass("active");
122
+			$(this).parent(".modal__game__btns").hide();
123
+		});
124
+
125
+		$("#testModal").on('hidden.bs.modal', event => {
126
+			$("#testModal .modal__game__item").removeClass("active");
127
+			$("#testModal .modal__game__btns").css("display", "flex")
128
+			$("#testModal .modal__game__ans").hide();
129
+		})
130
+
117 131
 		// 測試用
118 132
 		// gsap.to(".game__item-start", { duration: 0.5, autoAlpha: 0 });
119 133
 		// gsap.to(".game__item-main", { duration: 0.5, autoAlpha: 0 });
@@ -122,6 +136,10 @@ main = function () {
122 136
 		// gameResultCal()
123 137
 	}
124 138
 
139
+	function modalGameItemAni(num) {
140
+		$(".modal-test .modal__game__item:nth-child("+num+") .modal__game__ans").css("display", "flex");
141
+	}
142
+
125 143
 	// 初始元素動態
126 144
 	function elementReset() {
127 145
 		// gsap.set(".qa__item", { y: 50, autoAlpha: 0 });