123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- .book {
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- inset: 0;
- z-index: 100;
- padding-top: 10vh;
- .back {
- position: absolute;
- left: 41px;
- top: 24px;
- }
- &.bookHide {
- visibility: hidden;
- pointer-events: none;
- opacity: 0;
- }
- :global {
- .bookWrap {
- margin: 0 auto;
- }
- .animated {
- transition: margin-left 0.2s ease-in-out;
- }
- .page {
- background: white;
- }
- .shadow {
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.4);
- }
- .page-wrapper {
- perspective: 2000px;
- }
- }
- }
- .wrap {
- position: relative;
- height: 100%;
- overflow: hidden;
- background-color: #ffd8a1;
- width: calc(100% + 1px);
- &::before {
- content: '';
- position: absolute;
- left: 10px;
- right: 10px;
- top: 10px;
- bottom: 10px;
- background-color: #fff;
- z-index: 1;
- }
- .wrapItem {
- position: relative;
- padding: 20px;
- height: 100%;
- overflow: hidden;
- z-index: 2;
- }
- .item {
- display: flex;
- font-size: 14px;
- font-weight: 600;
- color: #333;
- line-height: 20px;
- padding: 13px 0;
- word-break: break-all;
- }
- .des {
- line-height: 16px;
- font-size: 12px;
- font-weight: 400;
- }
- .icon {
- width: 20px;
- height: 20px;
- margin-right: 6px;
- }
- .last {
- font-size: 12px;
- color: #ff5a56;
- margin-left: 6px;
- font-weight: 400;
- }
- }
- :global(.even) {
- .wrap {
- left: -1px;
- &::before {
- right: 0;
- border-radius: 4px 0 0 4px;
- }
- &::after {
- content: '';
- position: absolute;
- right: 0;
- top: 0;
- bottom: 0;
- width: 24px;
- background: linear-gradient(
- to right,
- rgba(255, 255, 255, 0) 20%,
- rgba(229, 199, 156, 0.4) 100%
- );
- z-index: 3;
- }
- }
- }
- :global(.odd) {
- .wrap {
- left: -1px;
- &::before {
- left: 0;
- border-radius: 0 4px 4px 0;
- }
- &::after {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 24px;
- background: linear-gradient(
- to right,
- rgba(255, 225, 183, 0.35) 8%,
- rgba(255, 255, 255, 0) 100%
- );
- z-index: 2;
- }
- }
- .wrapItem {
- padding-left: 20px;
- }
- }
|