jquery实现手机端移动端预约时间段选择效果代码
代码语言:html
所属分类:选择器
代码描述:jquery实现手机端移动端预约时间段选择效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
<style>
.office {
margin: 0 auto;
background: #f7f7f7;
}
.office .office-time {
padding: 15px;
background: #fff;
margin-top: 15px;
}
.office .office-time h4 {
font-size: 16px;
color: #010101;
margin-bottom: 10px;
}
.office .office-time p {
font-size: 14px;
color: #7f7f7f;
margin-bottom: 15px;
}
.office-time-legend {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 15px 0;
}
.office-time-legend .office-time-legend-item {
display: flex;
}
.office-time-legend .legend-img {
width: 19px;
height: 19px;
border-radius: 3px;
border: 1px solid #ddd;
margin-right: 5px;
}
.office-time-legend .legend-img.used {
background: #fff;
}
.office-time-legend .legend-img.disabled {
background: #d7d7d7;
}
.office-time-legend .legend-img.checked {
background: #7ed320;
}
.office-time-legend .legend-text {
font-size: 14px;
color: #010101;
}
.office .office-time-con.office-time-slot {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.office .office-time-con.office-time-slot .office-time-item {
font-size: 14px;
margin-bottom: 10px;
margin-right: 10px;
cursor: pointer;
}
.office .office-time-con .office-time-item {
width: 53px;
height: 53px;
border: 1px solid #ddd;
border-radius: 6px;
text-align: center;
line-height: 53px;
color: #010101;
}
.office .office-time-con.office-time-slot .office-time-item.checked {
color: #010101;
background: #7ed320;
}
.office .office-time-con.office-time-slot .office-time-item.disable {
color: #01010.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0