index.module.less 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. .book {
  2. position: fixed;
  3. left: 0;
  4. top: 0;
  5. right: 0;
  6. bottom: 0;
  7. inset: 0;
  8. z-index: 100;
  9. padding-top: 10vh;
  10. .back {
  11. position: absolute;
  12. left: 41px;
  13. top: 24px;
  14. }
  15. &.bookHide {
  16. visibility: hidden;
  17. pointer-events: none;
  18. opacity: 0;
  19. }
  20. :global {
  21. .bookWrap {
  22. margin: 0 auto;
  23. }
  24. .animated {
  25. transition: margin-left 0.2s ease-in-out;
  26. }
  27. .page {
  28. background: white;
  29. }
  30. .shadow {
  31. box-shadow: 0 0 20px 0 rgba(0, 0, 0, .4);
  32. }
  33. .page-wrapper {
  34. perspective: 2000px;
  35. }
  36. }
  37. }
  38. .wrap {
  39. position: relative;
  40. padding: 10Px;
  41. height: 100%;
  42. overflow: hidden;
  43. background-color: #FFD8A1;
  44. .wrapItem {
  45. padding: 10Px;
  46. height: 100%;
  47. background-color: #fff;
  48. border-radius: 3Px;
  49. overflow: hidden;
  50. }
  51. .item {
  52. display: flex;
  53. font-size: 14px;
  54. font-weight: 600;
  55. color: #333;
  56. line-height: 22Px;
  57. padding: 6Px 0;
  58. word-break: break-all;
  59. }
  60. .des {
  61. font-size: 12px;
  62. font-weight: 400;
  63. }
  64. .icon {
  65. width: 22Px;
  66. height: 22Px;
  67. margin-right: 6Px;
  68. }
  69. .last {
  70. font-size: 12Px;
  71. color: #FF5A56;
  72. margin-left: 6px;
  73. font-weight: 400;
  74. }
  75. }
  76. :global(.odd) {
  77. .wrap {
  78. padding-left: 0;
  79. }
  80. .wrapItem {
  81. padding-left: 14Px;
  82. background-image: url('./pics/right-border.png');
  83. background-position: left top;
  84. background-repeat: no-repeat;
  85. background-size: 24Px 100%;
  86. }
  87. }
  88. :global(.even) {
  89. .wrap {
  90. padding-right: 0;
  91. }
  92. .wrapItem {
  93. padding-right: 14Px;
  94. background-image: url('./pics/left-border.png');
  95. background-position: right top;
  96. background-repeat: no-repeat;
  97. background-size: 24Px 100%;
  98. }
  99. }