* { margin: 0; padding: 0; } body { height: 100vh; background: url("../images/bg.png") no-repeat top center; } :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 { padding-top: 0.25rem; margin: 0 0.25rem; display: flex; align-items: center; border-bottom: 1px solid #666666; .times { display: flex; margin-right: 0.2rem; align-items: center; border-left: 1px solid #666666; border-right: 1px solid #666666; background-color: #ECF4FF; .time-item { position: relative; span { display: block; position: relative; color: #498DF0; &.hour { height: 0.2rem; font-size: 0; } &.minute { width: 0.37rem; line-height: 0.26rem; text-align: center; color: #666666; cursor: pointer; } } &.active { .minute { color: #ffffff; background-color: #498DF0; &::before { display: none; } &::after { content: ''; width: 0; height: 0; display: block; margin-left: -0.08rem; position: absolute; left: 50%; bottom: -0.08rem; border-left: 0.08rem solid transparent; border-right: 0.08rem solid transparent; border-bottom: 0.08rem solid #498DF0; } } } &.first-hour { .hour { font-size: 0.16rem; } &::before { height: 100%; } } &:first-of-type { .hour { font-size: 0.16rem; } } } .first-hour::before, .time-item .minute::before { content: ''; width: 1px; height: 100%; display: block; position: absolute; left: -1px; bottom: 0; background-color: #666666; } } .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 { width: 0.88rem; height: 0.33rem; line-height: 0.33rem; display: inline-block; text-align: center; border-radius: 4px; cursor: pointer; background-color: #ECF4FF; &:last-of-type { margin-left: 0.06rem; } } } } .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; .picture { height: 70%; .el-image { height: 100%; } } } .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; .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; margin: 1rem auto 0 auto; 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: 10px; } .save-btn { width: 0.26rem; cursor: pointer; position: absolute; right: 0.2rem; top: 0; z-index: 10; } } }