You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

493 lines
12 KiB

* {
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100vw;
background: url("../images/bg.png") no-repeat;
background-size: 100% 100%;
}
:root {
font-family: '微软雅黑';
}
a {
display: block;
color: #222222;
text-decoration: none;
}
ul, li {
list-style: none;
}
img {
width: 100%;
display: block;
}
#app {
font-family: '微软雅黑';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #222222;
font-size: 0.16rem;
}
.el-input__inner {
font-family: '微软雅黑';
font-size: 0.16rem;
color: #666666;
}
.el-select {
.el-input {
.el-input__suffix {
right: 0.07rem;
.el-input__icon {
width: 0.1rem;
svg {
display: none;
}
&::after {
content: '';
width: 0;
height: 0;
display: block;
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
border-left: 0.05rem solid transparent;
border-right: 0.05rem solid transparent;
border-bottom: 0.05rem solid #222222;
}
}
}
}
}
.tabs {
width: 100%;
height: 0.6rem;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 0.22rem;
background-color: rgba(21, 81, 136, 0.46);
.tab-item {
margin: 0 1rem;
position: relative;
cursor: pointer;
color: #ffffff;
img {
width: 100%;
height: 2px;
position: absolute;
left: 0;
bottom: -9px;
}
&.active {
color: #23FBFF;
}
}
}
.main {
width: calc(~"100% - 0.4rem");
height: calc(~"100vh - 1.44rem");
padding: 0 0.2rem;
display: flex;
.panel {
height: calc(~"100% - 0.2rem");
background-color: #ffffff;
border-radius: 10px;
}
.menu {
width: 2.5rem;
padding: 0.2rem;
height: calc(~"100% - 0.6rem");
.tip {
height: 0.32rem;
padding-left: 0.12rem;
line-height: 0.32rem;
color: #ffffff;
font-size: 0.18rem;
font-weight: bold;
background: url("/images/menu-bg.png") no-repeat center/cover;
}
.menu-item {
margin-bottom: 0.1rem;
.el-row {
margin-top: 0.2rem;
.el-col {
span {
width: 100%;
height: 0.3rem;
padding: 0;
display: block;
line-height: 0.3rem;
text-align: center;
margin: 0 0 0.1rem 0;
font-size: 0.16rem;
color: #666666;
border-radius: 0.05rem;
cursor: pointer;
border: 1px solid #ECF4FF;
background-color: #ECF4FF;
&.active {
border-color: #498DF0;
}
}
}
}
}
}
.container {
width: calc(~"100% - 2.9rem");
margin-left: 0.2rem;
position: relative;
.toolbar {
margin: 0 0.25rem;
display: flex;
align-items: center;
border-bottom: 1px solid #B4BFCA;
.times {
display: flex;
margin-right: 0.2rem;
align-items: center;
padding-bottom: 0.07rem;
div:first-child {
span:last-child {
border-radius: 0.05rem 0 0 0.05rem;
}
}
div:last-child {
span:last-child {
border-radius: 0 0.05rem 0.05rem 0;
}
}
.time-item {
position: relative;
span {
display: block;
position: relative;
color: #498DF0;
&.hour {
height: 0.2rem;
font-size: 0;
}
&.time {
width: 0.37rem;
line-height: 0.26rem;
text-align: center;
cursor: pointer;
background-color: #e6edfd;
color: #0a2e62;
font-size: 0.14rem;
font-weight: 400;
}
}
&.active {
.time {
color: #ffffff;
background-color: #5B87ED !important;
border-radius: 5px;
&::before {
display: none;
}
}
}
&.first-hour {
.hour {
font-size: 0.12rem;
color: #2c70fa;
font-weight: 700;
}
&::before {
height: 100%;
}
}
&:first-of-type {
.hour {
font-size: 0.12rem;
color: #2c70fa;
font-weight: 700;
}
}
}
}
.halfHour {
:nth-child(4n-2) {
span.time {
background-color: #CDDAF6;
}
}
:nth-child(4n-1) {
span.time {
background-color: #CDDAF6;
}
}
:nth-child(even) {
span.hour {
font-size: 0.12rem !important;
color: #2c70fa;
font-weight: 700;
}
}
}
.oneHour {
:nth-child(2n) {
span.time {
background-color: #CDDAF6;
}
}
.hour {
font-size: 0.12rem !important;
color: #2c70fa!important;
font-weight: 700;
}
}
.date-picker {
width: 1.44rem;
height: 0.33rem;
line-height: normal;
cursor: pointer;
.el-input__inner {
height: 100%;
border: 0;
padding: 0 0 0 0.1rem;
line-height: 1.2;
cursor: pointer;
background-color: #ECF4FF;
}
.el-input__prefix {
left: auto;
right: 0.05rem;
color: #498DF0;
}
}
.control-btn {
margin: 0 0.15rem;
span {
width: 0.08rem;
display: inline-block;
cursor: pointer;
&:last-of-type {
margin-left: 0.15rem;
}
}
}
.el-select {
width: 0.57rem;
margin-right: 0.03rem;
.el-input {
line-height: 0.33rem;
.el-input__inner {
height: 0.33rem;
padding: 0 0.15rem;
line-height: 0.33rem;
border: 0;
background-color: #ECF4FF;
}
.el-input__suffix {
.el-input__icon {
width: 0.1rem;
}
}
}
}
.refresh-btn {
width: 0.47rem;
margin: 0 0.3rem 0 0.12rem;
cursor: pointer;
}
.btns-group {
span, a {
width: 0.88rem;
height: 0.33rem;
line-height: 0.33rem;
display: inline-block;
text-align: center;
border-radius: 4px;
cursor: pointer;
background-color: #ECF4FF;
}
a {
margin-left: 0.06rem;
}
}
&.day-toolbar {
.times {
.time-item {
.time {
//line-height: 0.46rem;
}
}
}
}
}
.picture-view {
width: 100%;
height: calc(~"100% - 0.71rem");
position: relative;
.arrow {
width: 0.68rem;
display: block;
position: absolute;
top: 50%;
left: 0.3rem;
z-index: 10;
cursor: pointer;
transform: translateY(-50%);
&.arrow-next {
left: auto;
right: 0.3rem;
}
}
.save-btn {
top: 0.6rem;
right: 2rem;
}
//.title {
// padding-bottom: 0.4rem;
// line-height: 0.3rem;
// text-align: center;
// font-size: 0.3rem;
// font-weight: bold;
//}
.picture-container {
height: 100%;
display: flex;
//flex-direction: column;
justify-content: center;
align-content: center;
}
.picture {
width: 100%;
height: calc(~"100% - 1.1rem");
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
.el-image {
height: 90%;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.el-image__inner {
width: auto;
max-width: 100%;
margin: 0 auto;
}
}
.el-image-viewer__mask {
opacity: 0.8;
}
}
}
.image-slot {
width: 1.5rem;
height: 1.5rem;
text-align: center;
display: flex;
align-items: center;
background: #F7F8FA;
img {
width: 0.8rem;
height: 0.8rem;
margin: 0 auto;
}
}
.el-image-viewer__canvas {
img {
width: auto;
height: 70%;
}
}
.image-tip {
text-align: center;
margin-top: 0.1rem;
}
.save-btn {
width: 0.26rem;
cursor: pointer;
position: absolute;
right: 0.2rem;
top: 0;
}
}
}
.hide {
display: none !important;
}