.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; padding: 16px 10px 12px 12px; flex-shrink: 0; font-size: 16px; font-weight: 500; img { width: 20px; height: 20px; margin-right: 5px; margin-top: 4px; } } .content { flex: 1; overflow-x: hidden; overflow-y: auto; padding: 0 12px; &::-webkit-scrollbar { width: 0; display: none; } // .collapseKnow:nth-of-type(n+2) { // padding-top: 2px !important; // } } .matItem { border-radius: 6px; border: 1px solid #C2DBE2; background: linear-gradient(360deg, #F2F4F5 0%, #E7F9FF 100%); margin: 0 15px 15px; overflow: hidden; position: relative; .iconPayment { position: absolute; right: 0; top: 0; padding: 0 4px; border-radius: 0 3px 0 6px; background: rgba(0, 0, 0, 0.74); opacity: 0.7; font-weight: 500; font-size: 12px; color: #FFFFFF !important; z-index: 9; &.VIP { background-color: RGBA(220, 138, 94, .6); opacity: 1; } } .cover { position: relative; height: 102px; background: #fff; overflow: hidden; &>img { display: block; width: 100%; } .audioPlayTypeSection { position: absolute; right: 8px; bottom: 8px; font-size: 0; .iconPlay { width: 20px; height: 20px; margin: 0 0 0 8px; } } } .title { display: flex; align-items: center; padding: 7px 6px; font-size: 11px; font-weight: 400; color: #131415; line-height: 16px; background: #E7F9FF; .typeImg { width: 13px; height: 13px; margin-right: 4px; } .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; } .tName { overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; } :global { .van-icon { display: none; margin-left: auto; } } } &.itemActive { border: 2px solid var(--van-primary-color); .title { :global { .van-icon { display: initial; } } } } } .kjColumn { margin: 0 12px 0 6px; padding: 10px 12px; border-top: 1px solid #F2F2F2; display: flex; align-items: center; justify-content: space-between; .kjLeft { display: flex; align-items: center; overflow-x: hidden; img { width: 13px; height: 17px; } span { flex: 1; overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #333333; font-weight: 500; margin: 4px 4px 4px 6px; } } .kjRight { width: 24px; height: 24px; } } .collapse { .collapseItem { padding: 12px 12px 2px; } .collapseKnow { padding: 8px 12px 6px 12px; position: relative; :global { .van-cell { margin-bottom: 8px; font-size: 13px; font-weight: normal !important; color: #333 !important; } } } :global { .van-cell { background: transparent; font-size: 14px; 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; } .firstArrow { margin-top: 3px; } .itemImage { width: 15px; height: 15px; margin-right: 6px; } .activeItem { background: #ECF8FF; border-radius: 9px; margin-top: 4px; padding: 8px 12px 2px; :global { .van-cell { color: #1C9AF7; font-weight: 600; } } } .activeItem2 { background: #F5F6FA; border-radius: 9px; :global { .van-cell { color: #1C9AF7 !important; font-weight: 500 !important; } } } .itemActive { font-weight: 500; span { color: #1C9AF7; } } }