diff --git a/src/assets/images/t-sc.png b/src/assets/images/t-sc.png new file mode 100644 index 0000000..2a81437 Binary files /dev/null and b/src/assets/images/t-sc.png differ diff --git a/src/assets/styles/adminIndex.scss b/src/assets/styles/adminIndex.scss new file mode 100644 index 0000000..3976481 --- /dev/null +++ b/src/assets/styles/adminIndex.scss @@ -0,0 +1,274 @@ +// start +.home_item { + height: 248px; + padding: 0 18px; + background: #fff; + border-radius: 4px; + overflow: hidden; + + .home_item_title { + display: flex; + padding: 18px 0; + border-bottom: 1px solid #eee; + + h4 { + margin-left: 6px; + font-size: 16px; + color: #333333; + } + + .iconfont { + font-size: 16px; + color: #3a8aeb; + } + } +} + +.auth_code { + position: relative; + + .login-code { + position: absolute; + right: 0; + top: 0; + width: 33%; + display: inline-block; + height: 40px; + + img { + cursor: pointer; + vertical-align: middle + } + + span { + position: relative; + display: block; + width: 100%; + font-size: 12px; + text-align: center; + line-height: 40px; + color: #33a1fa; + cursor: pointer; + + &:before { + content: ""; + position: absolute; + left: 2px; + top: 50%; + width: 1px; + height: 18px; + margin-top: -9px; + background-color: #e2e6ee; + } + } + } +} + +.page_add { + text-align: right; + + .table_add { + padding: 0 24px; + height: 28px; + border-radius: 14px; + margin-top: 2px; + } +} + +.form_item { + display: flex; + margin: 0 10px; + + span { + display: block; + line-height: 32px; + font-size: 14px; + margin-right: 10px; + color: #333; + } +} + +.list_table { + margin-top: 20px; +} + +.col_flex { + display: flex; +} + +.el-table { + color: #333; + font-size: 14px; + + .el-button { + padding: 5px 8px; + border: none !important; + } + + .delt_btn { + background-color: #ee5747 !important; + } + + .stop_btn { + background-color: #faaf45 !important; + } + + .record_btn { + background: linear-gradient(to right, #fc8c6f, #fa544e) !important; + } +} + +.el-dialog__body { + .el-form-item { + margin-bottom: 24px; + } + + .el-form-item__label { + line-height: 40px; + color: #333; + } + + .el-input__inner { + width: 336px; + height: 40px; + line-height: 40px; + } + + .el-range-separator { + line-height: 34px; + } + + .el-date-editor { + width: 336px; + } +} + +.el-dialog__header { + position: relative; + padding: 20px 0; + margin: 0 24px; + border-bottom: 1px solid #eee; + + &::before { + content: ""; + position: absolute; + left: -18px; + top: 50%; + width: 44px; + height: 47px; + margin-top: -24px; + background: url(../images/t-zs.png) no-repeat left center; + background-size: 100% 100%; + } + + .el-dialog__title { + color: #000; + } + + .el-dialog__headerbtn { + font-size: 20px; + top: 50%; + right: 0; + transform: translateY(-50%); + } +} + +.el-dialog__footer { + padding: 10px 0 40px 0; + text-align: center; + + .dialog-footer { + .el-button { + font-size: 14px; + padding: 10px 36px; + } + + .el-button--default { + color: #3a8aeb; + border-color: #3a8aeb; + margin-left: 40px; + } + } +} + +.record_layer { + .el-dialog__body { + padding: 0 20px 30px 20px; + color: #333; + } +} + +.item_list { + display: flex; + flex-wrap: wrap; +} + +.item_cont { + position: relative; + width: 166px; + height: 174px; + overflow: hidden; + background-color: #fff; + border: 1px solid #f0f0f0; + border-radius: 6px; + margin: 0 10px 10px 0; + + img { + display: block; + width: 164px; + height: 140px; + } + + .radio_img { + width: 164px; + height: 140px; + background: url(../../assets/images/t-yp.png) no-repeat #b3e8fa center; + background-size: 98px 98px; + } + + .item_format { + display: flex; + position: absolute; + left: 0; + bottom: 38px; + + span { + display: block; + width: 47px; + height: 18px; + // padding: 2px 5px; + margin-left: 6px; + text-align: center; + background: #3a8aeb; + color: #fff; + font-size: 12px; + line-height: 18px; + border-radius: 9px; + } + } + .item_player { + position: absolute; + top: 50%; + left: 50%; + width: 50px; + height: 50px; + background: rgba(255, 255, 255, 0.5); + border-radius: 50%; + margin: -25px 0 0 -25px; + z-index: 999; + } +} + +.file_name { + height: 32px; + line-height: 32px; + padding: 0 10px; + font-size: 14px; + color: #333; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + overflow: hidden; + text-overflow: ellipsis; +} +// end \ No newline at end of file diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index edc2aad..b6abf69 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -6,6 +6,7 @@ @import 'btn'; @import 'eladmin'; @import 'iconfont.css'; +@import 'adminIndex'; body { height: 100%; @@ -193,172 +194,3 @@ aside { z-index: 1000 !important; } -// start -.home_item { - height: 248px; - padding: 0 18px; - background: #fff; - border-radius: 4px; - overflow: hidden; - .home_item_title { - display: flex; - padding: 18px 0; - border-bottom: 1px solid #eee; - h4 { - margin-left: 6px; - font-size: 16px; - color: #333333; - } - .iconfont { - font-size: 16px; - color: #3a8aeb; - } - } -} -.auth_code { - position: relative; - .login-code { - position: absolute; - right: 0; - top: 0; - width: 33%; - display: inline-block; - height: 40px; - img { - cursor: pointer; - vertical-align: middle - } - span { - position: relative; - display: block; - width: 100%; - font-size: 12px; - text-align: center; - line-height: 40px; - color: #33a1fa; - cursor: pointer; - &:before { - content: ""; - position: absolute; - left: 2px; - top: 50%; - width: 1px; - height: 18px; - margin-top: -9px; - background-color: #e2e6ee; - } - } - } -} -.page_add { - text-align: right; - .table_add{ - padding: 0 24px; - height: 28px; - border-radius: 14px; - margin-top: 2px; - } -} -.form_item { - display: flex; - margin: 0 10px; - - span { - display: block; - line-height: 32px; - font-size: 14px; - margin-right: 10px; - color: #333; - } -} -.list_table { - margin-top: 20px; -} -.col_flex { - display: flex; -} -.el-table{ - color: #333; - font-size: 14px; - .el-button{ - padding: 5px 8px; - border: none !important; - } - .delt_btn { - background-color: #ee5747 !important; - } - .stop_btn{ - background-color: #faaf45 !important; - } - .record_btn{ - background: linear-gradient(to right, #fc8c6f, #fa544e) !important; - } -} -.el-dialog__body{ - .el-form-item{ - margin-bottom: 24px; - } - .el-form-item__label{ - line-height: 40px; - color: #333; - } - .el-input__inner{ - width: 336px; - height: 40px; - line-height: 40px; - } - .el-range-separator{ - line-height: 34px; - } - .el-date-editor{ - width: 336px; - } -} -.el-dialog__header{ - position: relative; - padding: 20px 0; - margin: 0 24px; - border-bottom: 1px solid #eee; - &::before{ - content: ""; - position: absolute; - left: -18px; - top: 50%; - width: 44px; - height: 47px; - margin-top: -24px; - background: url(../images/t-zs.png) no-repeat left center; - background-size: 100% 100%; - } - .el-dialog__title{ - color: #000; - } - .el-dialog__headerbtn{ - font-size: 20px; - top: 50%; - right: 0; - transform: translateY(-50%); - } -} -.el-dialog__footer { - padding: 10px 0 40px 0; - text-align: center; - .dialog-footer{ - .el-button{ - font-size: 14px; - padding: 10px 36px; - } - .el-button--default{ - color: #3a8aeb; - border-color: #3a8aeb; - margin-left: 40px; - } - } -} -.record_layer { - .el-dialog__body { - padding: 0 20px 30px 20px; - color: #333; - } -} -// end diff --git a/src/views/device/index.vue b/src/views/device/index.vue index 2c98538..ffa966a 100644 --- a/src/views/device/index.vue +++ b/src/views/device/index.vue @@ -135,7 +135,7 @@
文件夹
+文件夹
+