/* pages/user/result.wxss */ @import 'vars.wxss'; page { --colorBorder:#eaeaea; --border:solid 1px #eaeaea; --bgColor:rgba(17, 223, 177, 0.07); --tableDataPaddding:8rpx 20rpx; } .result-info{ padding:30rpx 0; } .result-info .title{ font-size: 40rpx; } .result-info .score{ font-size: 100rpx; padding:40rpx 0 50rpx; } .result-info .tag{ font-size: 24rpx; margin-left:6rpx; } .result-info .result-type text{ background-color: #259b24; border-radius: 8rpx; color: #fff; display: inline-block; padding: 2px 6px; line-height: 40rpx; } .result-info .level-0 { color: #000; background: none; } .result-info .level-1 { background-color: #259b24; } .result-info .level-2 { background-color: #ff9800; } .result-info .level-3 { background-color: #e51c23; } .table-list { border-top: var(--border); } .table-list .row, .item { border-bottom: var(--border); } .item:last-child .content .result { border-bottom: none; } .collapse { line-height: 30px; } .collapse .title { background: rgba(0, 0, 0, 0.04); } .collapse .row view { padding: var(--tableDataPaddding); } .collapse .item .title .col { /* padding: 0 var(--tableDataPaddding); */ margin: 0; } .content .row { font-size: var(--dataTextSize); } .row .subject { width: var(--subjectWidth); } .row .score { width: var(--scoreWidth); text-align: center; } .result{ background-color:var(--bgColor); border-bottom: var(--border); line-height: 40rpx; padding: 20rpx; font-weight: bold; } .header{ background-color:var(--bgColor); } .result .level-1 { color: #259b24; } .result .level-2 { color: #ff9800; } .result .level-3 { color: #e51c23; }