yxxw-html/css/style.css

1054 lines
16 KiB
CSS

/* 头部 */
.header {
height: 50px;
background-color: #00ffff;
position: fixed;
left: 0;
top: 0;
z-index: 999;
}
.header .head {
display: flex;
justify-content: space-between;
align-items: center;
}
/* logo */
.logo {
width: 78px;
height: 38px;
}
.logo img {
height: 38px;
}
/* 导航 */
.nav {
display: flex;
align-items: center;
width: calc(100% - 340px);
height: 50px;
}
.nav>li {
height: 50px;
margin: 0 18px;
transition: all .6s;
}
.nav>li>a {
display: block;
padding: 0 2px;
line-height: 50px;
transition: all .6s;
}
.nav>li:hover>a {
transform: rotateX(360deg);
}
/* 顶部右侧 */
.top-right{
display: flex;
justify-content: flex-end;
align-items: center;
width: 212px;
}
/* 通知 */
.notice{
margin-right: 14%;
}
/* 登录/注册 */
.login-registration{
display: flex;
align-items: center;
}
.login-registration ins{
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border: 3px solid rgba(255, 255, 255, .4);
border-radius: 100%;
overflow: hidden;
}
.login-registration ins>img{
max-width: 100%;
}
.login-registration span{
margin: 0 8px;
}
.icon-arrow{
width: 0;
height: 0;
margin-top: 6px;
border-top: 6px solid #565656;
border-right: 6px solid transparent;
border-bottom: 6px solid transparent;
border-left: 6px solid transparent;
}
/* 整屏半透明背景 */
.nav-bg{
display: none;
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
z-index: 99;
}
/* 手机端导航按钮 */
.head .head-btn {
display: none;
width: 20px;
float: right;
position: relative;
cursor: pointer;
margin-top: 5px;
z-index: 999;
}
.head .head-btn i {
display: block;
width: 100%;
height: 2px;
float: left;
background-color: #0094da;
border-radius: 50px;
transition: all .5s ease 0s;
-webkit-transition: all .5s ease 0s;
-moz-transition: all .5s ease 0s;
}
.head .head-btn i.bar-top {
margin-top: 0;
}
.head .head-btn i.bar-cen {
margin-top: 5px;
}
.head .head-btn i.bar-bom {
margin-top: 5px;
}
.head .head-btn.cur i {
background-color: #0094da;
}
.head .head-btn.cur i.bar-cen {
opacity: 0;
}
.head .head-btn.cur i.bar-top {
-webkit-transform: rotate(45deg) translate(5px, 5px);
transform: rotate(45deg) translate(5px, 5px);
}
.head .head-btn.cur i.bar-bom {
-webkit-transform: rotate(-45deg) translate(5px, -5px);
transform: rotate(-45deg) translate(5px, -5px);
}
/* 首页样式 */
.main{
margin-top: 86px;
}
.index-main,
.login-main{
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.index-content{
width: calc(100% - 285px);
}
.search{
display: flex;
align-items: center;
}
.search>input{
width: calc(100% - 115px);
height: 50px;
padding: 0 20px 0 38px;
background-color: #fff;
border: 1px solid #e9ebed;
font-size: 14px;
background-image: url(../images/icon/icon-search.png);
background-repeat: no-repeat;
background-size: 20px;
background-position: 10px center;
}
.search-btn{
display: flex;
justify-content: center;
align-items: center;
width: 115px;
height: 50px;
background-color: #00ffff;
font-size: 20px;
}
/* 筛选 */
.screen{
background-color: #fff;
padding: 2px 20px 8px;
margin-top: 22px;
font-size: 14px;
line-height: 30px;
}
.screen li{
display: flex;
align-items: flex-start;
padding: 10px 0 14px;
border-bottom: 1px solid #eaebeb;
}
.screen li:last-child{
border: 0;
}
.screen li>strong{
width: 105px;
padding-right: 14px;
margin-top: 10px;
font-size: 15px;
text-align: right;
}
.screen li>section{
display: flex;
flex-wrap: wrap;
width: calc(100% - 155px);
height: 40px;
overflow: hidden;
}
.screen li>section.open{
height: auto;
}
.screen li>section a{
padding: 0 13px;
margin-top: 10px;
}
.screen li>section a.active{
background-color: #00ffff;
}
.screen li>section select{
width: 30%;
height: 30px;
margin: 10px 9px 0 0;
border: 1px solid #eef1f2;
padding: 0 10px;
background-image: url(../images/icon/icon-arrow.png);
background-repeat: no-repeat;
background-position: calc(100% - 10px) center;
background-size: 11px 7px;
}
.screen li>section select:nth-of-type(3n){
margin-right: 0;
}
.screen li .more-btn{
display: flex;
justify-content: flex-end;
align-items: center;
width: 50px;
margin-top: 10px;
user-select:none;
cursor: pointer;
}
.screen li .more-btn>em{
border-top: 6px solid #888;
margin-left: 5px;
}
.screen li:nth-of-type(odd) .more-btn>ins{
color: #00ffff;
}
.screen li:nth-of-type(odd) .more-btn>em{
border-top: 6px solid #00ffff;
}
.screen li .more-btn>em.rotate{
transform: rotateX(180deg);
margin-top: -6px;
}
/* 患者列表 */
.patient-list li{
padding: 17px 20px 27px;
margin-top: 24px;
background-color: #fff;
}
.patient-top{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding-bottom: 15px;
border-bottom: 1px solid #eaebeb;
}
.patient-top>span{
display: flex;
align-items: center;
font-size: 15px;
line-height: 1.5;
}
.patient-top>span>img{
height: 19px;
margin-right: 5px;
}
.patient-top>span:nth-of-type(2)>img{
height: 16px;
}
.patient-top>span:nth-of-type(3)>img{
height: 21px;
}
.patient-top>span em{
width: 40px;
height: 40px;
border-radius: 100%;
margin-left: 8px;
overflow: hidden;
}
.patient-top>span em>img{
max-width: 100%;
}
.patient-bottom{
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.patient-detailed{
width: 100%;
padding: 15px 0 17px;
overflow: hidden;
}
.patient-detailed span{
font-size: 16px;
line-height: 1.5;
}
.patient-detailed span:before{
content: "";
display: block;
width: 7px;
height: 18px;
margin: 3px 6px 0 0;
background-color: #00ffff;
float: left;
}
.patient-bl{
width: calc(100% - 250px);
line-height: 2;
}
.patient-bl h2{
font-size: 14px;
margin-bottom: 8px;
}
.patient-bl p{
font-size: 14px;
opacity: .8;
}
.patient-br{
width: 200px;
padding: 0 6px;
text-align: center;
}
.patient-br>span{
display: block;
font-size: 13px;
line-height: 2.1;
opacity: .6;
}
.choice-btn{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 50px;
margin: 8px 0 18px;
border: 1px solid #00ffff;
font-size: 18px;
color: #00ffff;
transition: all .6s;
}
.choice-btn:hover{
background-color: #00ffff;
color: #383838;
}
.collection-btn{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
font-size: 14px;
line-height: 1.4;
color: #585858;
}
.collection-btn>img{
height: 19px;
margin-right: 4px;
}
/* 分页 */
.paging{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin: 36px 0;
}
.paging a{
display: flex;
justify-content: center;
align-items: center;
width: 34px;
height: 34px;
margin: 0 3px;
border: 1px solid #e1e1e1;
border-radius: 3px;
}
.paging a.prev,
.paging a.next{
width: auto;
padding: 0 10px;
}
.paging a.active{
background-color: #00ffff;
border: 1px solid #00ffff;
}
.paging a>em{
transform: scaleY(1.25);
}
/* 侧边栏 */
.index-side{
width: 265px;
padding: 33px 30px 40px;
background-color: #fff;
}
.index-side>span{
display: flex;
justify-content: center;
align-items: center;
width: 92px;
height: 92px;
border-radius: 100%;
margin: 0 auto;
overflow: hidden;
}
.index-side>span img{
max-width: 100%;
max-height: 100%;
}
.index-side>p{
font-size: 14px;
line-height: 2.3;
font-weight: bold;
text-align: center;
margin: 8px 0 18px;
}
.index-side>button{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 50px;
background-color: #00ffff;
border: 1px solid #00ffff;
font-size: 16px;
transition: all .6s;
}
.index-side>button:hover{
background-color: #fff;
color: #00ffff;
}
/* 登录/注册页样式 */
.login-main{
margin-bottom: 40px;
background-color: #fff;
}
.login-txt{
width: calc(100% - 430px);
padding: 44px 20px 0;
}
.login-txt h1{
font-size: 34px;
line-height: 2;
}
.login-txt>span{
display: block;
font-size: 16px;
color: #6b6b6b;
}
.login-txt>span a{
color: #0578ef;
}
.login-information{
margin-top: 26px;
}
.login-information li{
display: flex;
align-items: center;
margin-bottom: 20px;
}
.login-information li>span{
width: 120px;
margin-right: 16px;
font-size: 16px;
color: #6b6b6b;
text-align: right;
}
.login-information li>input{
width: calc(88% - 136px);
height: 48px;
padding: 0 10px;
border: 1px solid #e9ebed;
border-radius: 5px;
font-size: 16px;
}
.login-information li>section{
display: flex;
justify-content: space-between;
align-items: center;
width: calc(88% - 136px);
}
.login-information li>section input{
width: calc(62% - 10px);
height: 48px;
padding: 0 10px;
border: 1px solid #e9ebed;
border-radius: 5px;
font-size: 16px;
}
.code-btn{
width: 38%;
height: 48px;
background-color: #f6f6f6;
border: 1px solid #e9ebed;
border-radius: 5px;
font-size: 14px;
color: #6b6b6b;
}
.login-img{
width: 430px;
}
.login-img>img{
width: 100%;
}
.agree{
display: flex;
justify-content: space-between;
align-items: center;
width: calc(88% - 136px);
margin-left: 136px;
font-size: 14px;
line-height: 2.2;
}
.agree>span{
display: flex;
align-items: center;
color: #6b6b6b;
}
.agree>span em{
width: 22px;
height: 22px;
border: 1px solid #e9ebed;
border-radius: 2px;
margin-right: 7px;
overflow: hidden;
cursor: pointer;
transition: all .6s;
}
.agree>span em.checked{
background-color: #0578ef;
background-image: url(../images/icon/icon-yes.png);
background-size: 100%;
transition: all .6s;
}
.agree>a{
color: #0578ef;
}
.agree span>.icon-arrow{
border-top: 6px solid #9b9b9b;
margin-left: 7px;
}
.register-agree{
margin-bottom: 32px;
}
.login-btn{
width: calc(88% - 136px);
height: 48px;
margin: 25px 0 40px 136px;
background-color: #00ffff;
font-size: 16px;
font-weight: bold;
transition: all .6s;
}
.register-btn{
margin: 8px 0 20px 136px;
}
.wechat-btn-bg{
display: flex;
justify-content: center;
align-items: center;
width: calc(88% - 136px);
margin-left: 136px;
}
.wechat-btn{
display: flex;
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
border-radius: 100%;
background-color: #ebebeb;
overflow: hidden;
}
.wechat-btn img{
max-width: 100%;
max-height: 100%;
}
/* 患者信息列表页样式 */
/* 概况 */
.survey{
display: flex;
justify-content: space-between;
align-items: center;
height: 190px;
padding: 0 20px;
background-image: url(../images/user-bg.jpg);
background-size: cover;
}
.survey-left{
display: flex;
align-items: center;
}
.survey-left>span{
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
border-radius: 100%;
margin: 0 18px 0 10px;
overflow: hidden;
}
.survey-left>span img{
max-width: 100%;
max-height: 100%;
}
.survey-left h2{
font-size: 24px;
line-height: 2;
font-weight: normal;
}
.survey-left p{
font-size: 16px;
opacity: .8;
}
.survey-right{
display: flex;
align-items: center;
}
.survey-right>span{
font-size: 15px;
line-height: 2;
}
.survey-right>span strong{
font-size: 18px;
}
.withdrawal-btn,
.recharge-btn{
width: 138px;
height: 42px;
background-color: #00ffff;
border: 1px solid #00ffff;
font-size: 15px;
margin-left: 18px;
transition: all .6s;
}
.withdrawal-btn:hover,
.recharge-btn:hover{
background-color: transparent;
color: #00ffff;
}
/* 二级导航 */
.pull-nav{
padding: 0 20px;
height: 63px;
background-color: #fff;
margin-bottom: 18px;
}
.pull-nav-swiper{
width: 100%;
overflow: hidden;
}
.pull-nav-swiper .swiper-wrapper{
justify-content: center;
}
.pull-nav-swiper .swiper-slide{
display: flex;
align-items: center;
width: auto;
margin: 0 20px;
}
.pull-nav-swiper .swiper-slide>a{
padding: 0 4px;
font-size: 16px;
line-height: 62px;
}
.pull-nav-swiper .swiper-slide>a.active{
color: #00ffff;
border-bottom: 1px solid #00ffff;
}
.pull-nav-swiper .swiper-wrapper.hide{
display: none;
}
/* 表单 */
.from-list-bg{
border: 1px solid #e9ebed;
background-color: #fff;
padding: 30px 18px 0;
margin-bottom: 44px;
}
.from-list{
font-size: 15px;
}
.from-list li{
display: flex;
justify-content: space-between;
align-items: center;
height: 52px;
}
.from-list li:nth-of-type(odd){
background-color: #f3f6f6;
}
.from-list li:first-child{
background-color: #ccffff;
font-size: 16px;
}
.from-list li>span{
width: 16%;
}
.from-list li>span:first-child{
width: 26%;
text-indent: 24px;
}
.from-list li>span>em{
margin-left: 8px;
}
.from-list li>span>a{
margin-left: 12px;
color: #0578ef;
}
.from-list li>a{
width: 5%;
color: #0578ef;
}
.from-list-last li>a{
width: 8%;
}
.from-list li:first-child>a{
color: #383838;
}
.from-list li>ins{
width: 10%;
text-align: center;
}
.from-list li>ins a{
color: #0578ef;
}
.from-list li>ins em{
color: #0578ef;
margin: 0 2px;
}
.color-01{
color: #969696;
}
.color-02{
color: #1cc918;
}
.color-03{
color: #f60000;
}
.color-04{
color: #0578ef;
}
/* 三列表单 */
.from-list-three li>span:last-child{
width: 50%;
}
/* 五列表单 */
.from-list-five li>span:nth-of-type(3){
width: 26%;
}
/* 六列表单 */
.from-list-six li>span{
width: 18%;
}
.from-list-six li>span:first-child{
width: 18%;
}
/* 尾部 */
.footer{
padding: 20px 0 30px;
background-color: #fff;
border-top: 2px solid #00ffff;
}
.foot-nav{
display: flex;
align-items: center;
}
.foot-nav>a{
font-size: 14px;
line-height: 2.3;
font-weight: bold;
margin-right: 28px;
}
.foot-nav>a:last-child{
margin-right: 0;
}
.foot-record{
font-size: 14px;
line-height: 2.3;
opacity: .8;
}
.foot-record>a:first-child{
margin: 0 13px;
}
/* 响应式布局 */
@media screen and (max-width:1760px) {
}
@media screen and (max-width:1680px) {
}
@media screen and (max-width:1600px) {
}
@media screen and (max-width:1520px) {
}
@media screen and (max-width:1440px) {
}
@media screen and (max-width:1360px) {
.header .head {
width: 100%;
justify-content: space-between;
align-items: center;
}
.head .head-btn {
display: block;
margin: 0;
margin-right: 30px;
}
.head .nav {
display: block;
width: 38vw;
height: 100vh;
background-color: #FFFFFF;
position: fixed;
padding-top: 80px;
top: 0px;
right: -38vw;
z-index: 9999;
transition: all .6s;
}
.head .nav.active {
right: 0;
transition: all .6s;
}
.head .nav-bg {
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
z-index: 200;
transition: all .6s;
}
.head .nav-bg.active {
display: block;
opacity: 1;
transition: all .6s;
}
.head .nav li {
margin: 0;
padding: 0;
height: auto;
}
.head .nav li>a {
width: 100%;
font-size: 16px;
margin: 0;
padding: 0;
line-height: 60px;
text-align: center;
}
.head .nav li.active>a {
font-weight: normal;
border: 0;
background-color: #0094da;
color: #FFFFFF;
}
.nav-bg {
display: none;
}
}
@media screen and (max-width:1280px) {
}
@media screen and (max-width:1200px) {
}
@media screen and (max-width:1120px) {
}
@media screen and (max-width:940px) {
}
@media screen and (max-width:780px) {
/* 头部 */
.header {
height: 50px;
background-color: rgba(255, 255, 255, 1);
}
.header .head {
justify-content: space-between;
width: calc(100% - 30px);
margin: 0 auto;
height: 50px;
}
.logo {
width: auto;
height: 40px;
margin: 0;
}
.logo img {
width: auto;
height: 40px;
margin: 0;
}
.head .head-btn {
display: block;
margin: 0;
}
.head .nav {
display: block;
width: 38vw;
height: 100vh;
background-color: #FFFFFF;
position: fixed;
padding-top: 50px;
top: 0px;
right: -38vw;
z-index: 9999;
transition: all .6s;
}
.head .nav.active {
right: 0;
transition: all .6s;
}
.head .nav-bg {
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
z-index: 200;
transition: all .6s;
}
.head .nav-bg.active {
display: block;
opacity: 1;
transition: all .6s;
}
.head .nav li {
margin: 0;
padding: 0;
height: auto;
}
.head .nav li>a {
width: 100%;
font-size: 15px;
margin: 0;
padding: 0;
line-height: 40px;
text-align: center;
}
.head .nav li.active>a {
font-weight: normal;
border: 0;
background-color: #0094da;
color: #FFFFFF;
}
.nav-bg {
display: none;
}
}
@media screen and (max-width:414px) {
}
@media screen and (max-width:350px) {
}