123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- .container {
- position: relative;
- // width: 100vw;
- height: 100vh;
- overflow: hidden;
- background: url('../../common/images/icon_bg.png') no-repeat center center / cover;
- display: flex;
- flex-direction: column;
- padding: 61px 18px 18px 37px;
- }
- .back {
- position: fixed;
- left: 15px;
- top: 17px;
- width: 31px;
- height: 31px;
- &>img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- &:active {
- opacity: 0.8;
- }
- }
- .centerSearch {
- position: absolute;
- top: 15px;
- right: 18px;
- // padding: 6px 9px;
- width: 300px;
- :global {
- .van-search {
- width: 100%;
- z-index: 1;
- padding: 0px 0px;
- }
- .van-field__control::-webkit-input-placeholder {
- font-size: 12px;
- }
- }
- }
- .section {
- display: flex;
- // padding: 0 18px 0 27px;
- height: calc(100vh - 79px);
- .directorySection {
- width: 111px;
- // background: #B5E1FF;
- background: url('./image/d-top.png') no-repeat top center;
- background-size: contain;
- border-radius: 18px;
- margin-right: 15px;
- .directionc {
- overflow-y: auto;
- overflow-x: hidden;
- margin-top: 23px;
- padding: 12px 7px 12px;
- background: #B5E1FF;
- border-radius: 0 0 18px 18px;
- height: calc(100% - 24px);
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- }
- .dirItem {
- text-align: center;
- font-size: 13px;
- font-weight: 500;
- color: #131415;
- padding: 0 7px;
- height: 33px;
- line-height: 33px;
- text-align: center;
- white-space: nowrap;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-bottom: 5px;
- &.active {
- background-color: #fff;
- background: #FEF8EF;
- border-radius: 6px;
- color: #0CA2EA;
- }
- }
- }
- }
- .content {
- overflow-y: auto;
- overflow-x: hidden;
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- // display: flex;
- flex: 1;
- // background-color: #FFFFFF;
- border-radius: 18px;
- padding: 0;
- padding-left: 4%;
- background: rgba(255, 255, 255, 0.8);
- border-radius: 18px;
- border: 2px solid rgba(255, 255, 255, 0.9);
- // border-image: linear-gradient(134deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9)) 2 2;
- .wrap {
- position: relative;
- display: flex;
- flex-wrap: wrap;
- padding-top: 18px;
- gap: 0 32px;
- // padding-left: 16px;
- // height: 100%;
- // padding: 20px 63px 0;
- &.emtpyWrap {
- width: 100%;
- padding-top: 0;
- }
- }
- :global {
- .van-empty {
- padding-bottom: 0 !important;
- }
- .van-empty__description {
- font-size: 14px;
- color: #fff;
- }
- .van-empty__image {
- width: 200px;
- height: 200px;
- }
- }
- }
- .wrapItem {
- position: relative;
- width: 102px;
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 0;
- flex-shrink: 0;
- z-index: 1;
- margin-bottom: 18px;
- .item {
- position: relative;
- margin-bottom: 15px;
- width: 100%;
- height: 144px;
- background-color: #edeff2;
- box-shadow: 0 5px 14px rgba(0, 0, 0, 0.4);
- img {
- position: absolute;
- }
- &::before {
- content: '';
- position: absolute;
- top: 4px;
- right: -4px;
- width: 4px;
- height: calc(100% - 8px);
- background-color: #c5c5c5;
- z-index: 1;
- }
- &::after {
- content: '';
- position: absolute;
- top: 2px;
- right: -2px;
- width: 4px;
- height: calc(100% - 4px);
- background-color: #e7e7e7;
- z-index: 2;
- }
- }
- .name {
- font-size: 13px;
- font-weight: 400;
- color: #131415;
- line-height: 16px;
- text-align: left;
- }
- .favoriteBtn {
- position: absolute;
- top: 113px;
- right: 20px;
- z-index: 3;
- }
- }
- .containerImg {
- position: relative;
- display: block;
- width: 100%;
- height: 170px;
- &::before {
- content: '';
- position: absolute;
- top: 4px;
- right: -4px;
- width: 4px;
- height: calc(100% - 8px);
- background-color: #c5c5c5;
- z-index: 1;
- }
- &::after {
- content: '';
- position: absolute;
- top: 2px;
- right: -2px;
- width: 4px;
- height: calc(100% - 4px);
- background-color: #e7e7e7;
- z-index: 2;
- }
- }
- .cover {
- position: relative;
- z-index: 3;
- display: block;
- width: 100%;
- height: 170px;
- background-color: #edeff2;
- background-image: url('./image/icon_default.svg');
- background-repeat: no-repeat;
- background-position: center center;
- &::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 2;
- background-repeat: no-repeat;
- background-image: linear-gradient(to right,
- rgba(0, 0, 0, 0.2) 0,
- rgba(255, 255, 255, 0.08) 0%,
- transparent 0.5%),
- linear-gradient(to right,
- rgba(0, 0, 0, 0.1) 0.3%,
- rgba(255, 255, 255, 0.09) 1.1%,
- transparent 1.3%);
- background-size: 50% 100%, 50% 100%;
- background-position: 0% top, 9% top;
- }
- :global {
- img {
- width: 100%;
- height: 100%;
- opacity: 0;
- transition: opacity 0.3s ease-in-out;
- }
- }
- &.loaded {
- img {
- opacity: 1;
- }
- }
- }
|