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.

494 lines
12 KiB

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