examTeamApp/assets/common.scss

811 lines
15 KiB
SCSS

body,html,* {
font-family: "Microsoft YaHei";
font-size: 28rpx;
}
.text_l{
text-align: left;
}
.text_r{
text-align: right !important;
}
.text_c{
text-align: center;
}
.f-r{
float: right !important;
}
.bgfff{
background: #fff !important;
}
.c666{
color: #666 !important;
}
.c999{
color: #999 !important;
}
.size12 {
font-size: 24rpx !important
}
.size14 {
font-size: 14rpx !important
}
.size16 {
font-size: 32rpx !important
}
.size18 {
font-size: 36rpx !important
}
.size20 {
font-size: 40rpx !important
}
.mt-5 {
margin-top: 5px !important;
}
.mt-10 {
margin-top: 10px !important;
}
.mt-15 {
margin-top: 15px !important;
}
.mb-5 {
margin-bottom: 5px !important;
}
.mb-10 {
margin-bottom: 10px !important;
}
.mr-5 {
margin-right: 5px !important;
}
.mr-10 {
margin-right: 10px !important;
}
.ml-5 {
margin-left: 5px !important;
}
.ml-10 {
margin-left: 10px !important;
}
.ml-15 {
margin-left: 15px !important;
}
.bold {
font-weight: bold;
}
.bold {
font-weight: bold;
}
.flex {
display: flex;
align-items: center;
justify-content: space-between;
}
.overflow {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.box_shadow {
box-shadow: 0px 1px 5px 2px #dfe2e1fc;
}
.border-bottom {
border-bottom: 1px solid #f7f7f7;
}
.borderR {
border-right: 1px solid #f7f7f7;
}
.nolist {
margin-top: 40%;
padding: 15px;
text-align: center;
image {
width: 100px;
height: 100px;
}
text {
display: block;
width: 100%;
margin-top: 15px;
text-align: center;
}
}
.btn {
text-align: center;
color: #fff;
height: 35px;
line-height: 35px;
border-radius: 10px;
}
.endtext {
text-align: center;
font-size: 14px;
color: #999;
padding: 15px 0;
}
//
.groupBtn {
display: flex;
.del {
color: $btncolor !important;
background-color: #ffe4b8 !important;
}
.btn {
background-color: $btncolor;
width: 45%;
margin: 10px auto 15px;
text-align: center;
height: 36px;
line-height: 36px;
border-radius: 10px;
color: #fff;
}
}
//
.wrapper {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 999;
.bg {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.4);
z-index: 99;
}
// 信息
.edit {
width: 15rem;
height: auto;
background: #fff;
border-radius: 10px;
padding: 15px;
position: relative;
top: 15%;
margin: auto;
z-index: 99999;
overflow: hidden;
.title {
text-align: center;
width: 100%;
color: #333;
font-size: 18px;
font-weight: bold;
}
.editem {
position: relative;
display: flex;
font-size: 14px;
border-radius: 10px;
margin-top: 15px;
height: 40px;
justify-content: space-between;
background: #eee;
padding: 0px 10px;
align-items: center;
.radioimg {
font-size: 22px;
color: $btncolor;
}
.radio {
width: 50%;
text-align: right;
display: flex;
justify-content: center;
align-items: center;
}
.name {
width: 4rem;
color: #333;
}
.right {
width: 60%;
height: 40px;
line-height: 40px;
text-align: right;
display: flex;
justify-content: flex-end;
input {
margin-right: 10px;
height: 40px;
line-height: 40px;
text-align: left;
}
picker {
width: 100%;
text-align: left;
}
.uni-input {
position: absolute;
right: 30px;
top: 0;
left: 0;
height: 40px;
line-height: 40px;
text-align: right;
z-index: 9999;
}
}
.value {
position: relative;
z-index: 999;
width: 3rem;
text-align: center;
float: left;
margin-right: 10px;
}
.iconfont {
margin-left: 10px;
float: right;
display: flex;
}
}
.tips {
font-size: 0.75rem;
color: #999;
text-align: center;
margin-top: 15px;
margin-bottom: 20px;
display: flex;
}
}
}
// 报告页
.myinfoPage {
width: 100%;
background: #fff;
margin-top: 10px;
padding-bottom: 15px;
border-radius: 10px;
.box1 {
display: flex;
flex-wrap: wrap;
border-radius: 10px;
font-size: 14px;
position: relative;
margin: 0px 15px 0;
padding-bottom: 10px;
.list {
width: 100%;
display: flex;
justify-content: space-between;
color: #666;
padding: 0;
line-height: 50px;
align-items: center;
flex-wrap: wrap;
image,
.t-icon {
width: 18px !important;
height: 18px;
border: 2px solid #c7c7c7;
background-color: #c7c7c7;
border-radius: 50%;
margin-right: 5px;
}
.block {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
color: #666;
position: relative;
.level,
.val {
width: 25%;
}
.name {
width: 40%;
display: flex;
align-items: center;
}
.icon {
width: 20px;
text-align: right;
display: flex;
image {
width: 20px;
height: 20px;
}
}
}
.desc {
line-height: 20px;
text-align: left;
width: calc(100% - 20px);
height: auto;
border-radius: 5px;
font-size: 12px;
color: #999;
padding: 10px;
background: #f7f7f7;
}
}
.statuevue {
height: 35px;
position: relative;
width: 100%;
margin: 20px auto 10px;
.bi {
display: flex;
justify-content: space-between;
width: auto;
padding-top: 10px;
.peobox {
position: absolute;
right: 0;
top: -1px;
.xx {
width: 5px;
height: 5px;
border-radius: 50%;
background: #fff;
position: absolute;
z-index: 9;
border: 2px solid #1b2086;
top: 9px;
}
}
}
.item {
position: relative;
margin: 0;
flex: 1;
height: 5px;
color: #666;
font-size: 12px;
.span1 {
width: 100%;
text-align: center;
position: absolute;
top: -23px;
}
.span {
margin-top: 8px;
position: absolute;
right: -8px;
}
}
}
}
.yuanxing {
display: inline-block;
background: #f19601;
width: 8px;
height: 12px;
margin-right: 5px;
font-size: 32rpx;
}
.btnf {
font-size: 13px;
border-radius: 5px;
height: 22px;
margin: 0 10px 0 0;
line-height: 22px;
color: #fff;
font-weight: 400;
width: 44px !important;
text-align: center !important;
float: right;
}
.tivon {
display: flex;
justify-content: center;
align-content: center;
align-items: center;
.bianji {
width: 20px;
height: 20px;
margin-left: 5px;
}
}
.box1 :last-child.list {
.val {
width: 25% !important;
}
}
.kcalClass {
width: 100%;
text-align: center;
font-size: 16px;
line-height: 55px;
margin: -20px auto;
}
.yichang {
background: #ffe4be;
color: #ff4239;
padding: 5px;
text-align: center;
border-radius: 5px;
margin: 0 15px 10px;
}
}
//选择对比
.calendar {
background: #f7f7f7;
min-height: 100vh;
.box {
margin-bottom: 305px;
}
.list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 15px;
align-items: center;
.item {
width: 100%;
height: auto;
background: #fff;
display: flex;
height: 40px;
justify-content: space-between;
padding: 10px 15px;
border-radius: 10px;
align-items: center;
text-align: center;
font-size: 16px;
font-weight: 700;
view {
width: 32%;
}
image {
width: 25px;
height: 25px;
}
text {
width: 100%;
font-size: 12px;
display: block;
color: #666;
text-align: center;
font-weight: 400;
}
.check {
width: 35px !important;
.icon-kongradio {
font-size: 22px;
color: #999;
}
.icon-radio {
font-size: 22px;
color: #FCA82D;
}
}
}
}
.time {
width: 100%;
font-size: 14px;
color: #666;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
text {
font-size: 14px;
margin-top: 3px;
}
}
.bottom {
margin: 0;
width: auto;
position: fixed;
left: 0px;
right: 0px;
bottom: 0px;
z-index: 9;
padding: 0 10px 10px;
background: #fff;
border-radius: 0;
border-top: 1px solid #dfdfdf;
.btn {
width: auto;
margin: 10px 0 0;
}
.list {
margin: 10px 0;
height: 120rpx;
position: relative;
.item {
background: #F7F7F7;
}
.time {
float: left;
text-align: center;
justify-content: center;
color: #fea82d;
font-weight: 700;
width: 35%;
}
.check {
position: absolute;
right: -5px;
top: -5px;
width: 25px;
.icon-quxiao {
font-size: 20px;
color: #999;
}
}
}
}
.pkclass {
position: absolute;
width: 30px;
height: 30px;
background: $greencolor;
border-radius: 50%;
line-height: 27px;
text-align: center;
color: #fff;
font-size: 19px;
left: 30px;
top: 120rpx;
}
.btn.active {
border: none;
color: #333 !important;
background-color: #DFDFDF !important;
display: block;
border-radius: 10px;
}
}
// 对比详情
.pkconp {
background: #f7f7f7;
min-height: 100vh;
.header {
text-align: center;
background: #fff;
padding: 15px 15px 10px;
margin: 15px;
border-radius: 10px 10px 0 0;
display: flex;
align-items: center;
position: relative;
.name {
text-align: left;
}
image {
width: 55px;
height: 55px;
border-radius: 50%;
margin-right: 15px;
}
.pkclass {
position: absolute;
background: linear-gradient(to right, #ff99ae, #ffb2c2);
right: 15px;
padding: 0px 10px;
border-radius: 10px;
color: #fff;
height: 30px;
line-height: 30px;
font-size: 14px;
}
.top {
display: flex;
color: #999;
margin-top: 10px;
}
}
.box {
background: #ffff;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
padding: 15px 0;
margin: 15px;
border-radius: 0 0 10px 10px;
.item {
text-align: center;
color: #999;
width: 33.3%;
line-height: 26px;
border-right: 1px solid #f7f7f7;
box-sizing: border-box;
view {
font-size: 20px;
font-weight: 700;
color: #666;
}
}
}
.control {
background: #fff;
margin: 15px;
display: flex;
border: 1px solid #F0F0F0;
border-radius: 10px;
flex-wrap: wrap;
justify-content: space-between;
.title {
width: 100%;
margin: 10px;
display: flex;
justify-content: space-between;
view {
width: 22%;
text-align: center;
}
.name {
width: 33%;
}
}
.li {
display: flex;
margin: 0 10px;
justify-content: space-between;
height: 54px;
border-top: 1px solid #eee;
align-items: center;
width: 100%;
.name {
width: 33%;
display: flex;
align-items: center;
image {
width: 20px;
height: 20px;
margin-right: 5px;
}
}
.num {
width: 22%;
display: flex;
align-items: center;
justify-content: center;
image {
width: 40rpx;
height: 40rpx;
}
}
.f,
.f0 {
width: 22%;
text-align: center;
text {
display: block;
width: 100%;
color: #999999;
font-size: 11px;
}
}
.f0 {
text {
font-size: 12px;
}
}
}
}
.time {
border-top: 1px solid #f0f0f0;
width: 100%;
padding: 15px 15px 0;
margin-top: 5px;
display: flex;
justify-content: space-between;
.yuanxing {
float: left;
}
}
}