| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- .subjects {
- padding: 15px 0 0;
- background: #f6f8f9;
- min-height: calc(100vh - 15px);
- .subjectContainer {
- min-height: calc(100vh - 95px);
- }
- .subjectMaxLength {
- margin: 0 14px 10px;
- background: linear-gradient(139deg, #fff6ee 0%, #ffecdd 100%) #ffffff;
- border-radius: 10px;
- padding: 7px 11px;
- background: #ffffff;
- font-size: 14px;
- color: #ff9e5a;
- line-height: 22px;
- }
- .title {
- padding: 12px 0;
- margin: 0 15px;
- color: #333;
- font-size: 16px;
- display: flex;
- align-items: center;
- &::before {
- content: ' ';
- display: inline-block;
- width: 3px;
- height: 16px;
- background: #2dc7aa;
- border-radius: 3px;
- margin-right: 8px;
- vertical-align: text-bottom;
- }
- }
- .subject-list {
- display: flex;
- align-items: center;
- // justify-content: space-between;
- // justify-content: center;
- flex-wrap: wrap;
- padding: 0 10px;
- .subject-item {
- position: relative;
- width: 108px;
- height: 108px;
- margin-right: 5px;
- margin-left: 5px;
- margin-bottom: 10px;
- border-radius: 7px;
- overflow: hidden;
- }
- .topBg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(180deg,
- rgba(0, 0, 0, 0) 0%,
- rgba(0, 0, 0, 0.54) 100%);
- }
- .checkbox {
- position: absolute;
- right: 7px;
- top: 7px;
- }
- .name {
- position: absolute;
- bottom: 7px;
- left: 7px;
- font-size: 16px;
- font-weight: 500;
- color: #ffffff;
- line-height: 22px;
- }
- :global {
- .van-checkbox__icon,
- .van-radio__icon {
- height: 22px;
- .van-icon {
- border: 0;
- background-color: transparent;
- }
- }
- .van-checkbox__icon--checked .van-icon,
- .van-radio__icon--checked .van-icon {
- background-color: transparent;
- border: transparent;
- }
- }
- }
- }
|