/* pages/subject/subject.wxss */ .top{ padding: 12px; background-color: #D8EFFF; color: #0091FF; } .top view{ color: #0091FF; /* font-size: 13px; */ /* display: inline-block; */ float: right; margin-right: 10px; } .top text{ position: relative; /* width:60px; */ height:28px; padding: 0 10px; border-radius:8px; background-color: #0091FF; color: #fff; text-align: center; line-height: 28px; float: right; font-size: 12px; top: -3px; } .count{ top:13px; position: absolute; /* top: 55px; */ right: 15px; color: #358BFF; text-align: right; } .content{ padding: 0 12px; transition: all .3s linear; } .num{ margin: 12px 0; color: #000; font-weight: 600; line-height: 50rpx; display: flex; } .num image{ width: 38px; position: relative; top: 2px; } .ques{ margin-bottom: 120rpx; } .ans .option view{ margin-bottom: 24px; border: 1px solid #D8D8D8; padding: 10px; border-radius: 4px; } .ans .option .correct{ border-color: #36D488; color: #36D488; } .ans .option .error{ border-color: #FF6868; color: #FF6868; } .ans radio,.ans checkbox{ width: 100%; } .btn{ position: fixed; width: 100%; left: 0; z-index: 9; bottom: 80rpx; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 50px; } .btn text{ width:45%; height:40px; border: 1px solid #0091FF; color: #0091FF; /* background:rgba(212,230,255,1); */ border-radius:31px; display: inline-block; text-align: center; line-height: 40px; /* margin: 0 20px; */ font-weight: 500; } .btn .hide{ /* background-color: #eee; */ border-color: #eee; color: #eee; } .btn view{ width: 100%; background-color: #DAEFFF; color: #0091FF; height: 84rpx; border-radius: 44rpx; text-align: center; line-height: 84rpx; font-size: 30rpx; margin-top: 20rpx; } .analysis{ background-color: #FCF4DD; padding: 10px; border-radius: 4px; margin-top: 10px; font-size: 13px; line-height: 23px; } .ans_bg{ position: fixed; width: 100%; height: 100vh; top: 0; left: 0; background-color: rgba(0,0,0,.5); z-index: 9999; } .ans_card{ width: 93%; background-color: #fff; border-radius: 8px; padding: 10px; margin: auto; position: absolute; bottom: 20px; left: 0; right: 0; overflow: auto; max-height: 90%; display: flex; justify-content: flex-start; flex-wrap: wrap; } .ans_card view{ padding: 10px 0; margin-bottom: 10px; border-bottom: 1px solid #d9d9d9; font-weight: 600; width: 100%; } .ans_card text{ display: inline-block; width: 55rpx; height: 55rpx; border-radius: 50%; border: 1px solid #d9d9d9; text-align: center; line-height: 55rpx; margin:8rpx; } .ans_card .act{ background-color: #22CC62; border-color: #22CC62; color: #fff; } .close{ width: 20px; float: right; }