123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- .container {
- display: flex;
- flex-direction: column;
- min-width: 266px;
- max-width: 266px;
- height: 100vh;
- color: #333;
- font-size: 12px;
- box-sizing: border-box;
- background: #fff;
- }
- .pointHead {
- display: flex;
- align-items: center;
- padding: 13px 10px 15px 15px;
- flex-shrink: 0;
- font-size: 14px;
- img {
- width: 16px;
- height: 16px;
- margin-right: 7px;
- }
- }
- .content {
- flex: 1;
- overflow-x: hidden;
- overflow-y: auto;
- padding: 0 7px;
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- }
- .matItem {
- border-radius: 6px;
- border: 1px solid #C2DBE2;
- background: linear-gradient(360deg, #F2F4F5 0%, #E7F9FF 100%);
- margin-bottom: 15px;
- overflow: hidden;
- .cover {
- height: 115px;
- background: #fff;
- overflow: hidden;
- &>img {
- display: block;
- width: 100%;
- }
- }
- .title {
- display: flex;
- align-items: center;
- padding: 7px 6px;
- font-size: 11px;
- font-weight: 400;
- color: #131415;
- line-height: 16px;
- .tag {
- padding: 4px 10px;
- border-radius: 4px;
- background: linear-gradient(251deg, #FE7270 0%, #FF9696 100%);
- font-size: 9px;
- font-weight: 600;
- color: #FFF;
- line-height: 13px;
- margin-right: 8px;
- white-space: nowrap;
- flex-shrink: 0;
- }
- :global {
- .van-icon {
- display: none;
- margin-left: auto;
- }
- }
- }
- &.itemActive {
- border: 2px solid var(--van-primary-color);
- .title {
- :global {
- .van-icon {
- display: initial;
- }
- }
- }
- }
- }
- .collapse {
- .collapseItem {
- padding: 7px;
- }
- .collapseKnow {
- padding: 14px 14px 0;
- position: relative;
- :global {
- .van-cell {
- margin-bottom: 8px;
- }
- }
- &::before {
- content: "";
- position: absolute;
- left: 5px;
- top: 8px;
- width: calc(100% - 10px);
- height: 1px;
- background: #D5E2EA;
- }
- }
- :global {
- .van-cell {
- background: transparent;
- font-size: 13px;
- color: #777;
- padding: 0;
- border: none;
- line-height: 18px;
- }
- .van-collapse-item__content {
- padding: 0;
- background-color: transparent;
- }
- }
- .item {
- display: flex;
- align-items: center;
- margin-top: 15px;
- span {
- color: #131415;
- font-size: 12px;
- }
- }
- .arrow {
- width: 12px;
- height: 12px;
- margin-right: 5px;
- }
- .itemImage {
- width: 15px;
- height: 15px;
- margin-right: 6px;
- }
- .activeItem {
- background: #ECF8FF;
- border-radius: 9px;
- :global {
- .van-cell {
- color: #1C9AF7;
- font-weight: 600;
- }
- }
- }
- .itemActive {
- font-weight: 500;
- span {
- color: #1C9AF7;
- }
- }
- }
|