触摸屏-直流
Lufaneng 1 year ago
parent 5f4904d3ce
commit d023bea163

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 KiB

@ -7,5 +7,5 @@
} }
:root:root { :root:root {
--el-color-primary: #006eff; /* 改变主色调 */ --el-color-primary: #25b15f; /* 改变主色调 */
} }

@ -248,7 +248,8 @@ onUnmounted(() => {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
overflow: auto; overflow: auto;
background: center / cover url('@/assets/images/handle_control_bg.png') no-repeat; background: center / cover url('@/assets/images/背景小@2x.png') no-repeat;
background-color: #0A3933;
} }
.main-content { .main-content {
@ -299,10 +300,14 @@ onUnmounted(() => {
:deep(.el-table__header) { :deep(.el-table__header) {
.el-table__cell { .el-table__cell {
background-color: #0881FE; background-color: #24806B;
color: #fff; color: #fff;
} }
} }
:deep(.el-pagination.is-background .el-pager li.is-active) {
background-color: #24806B;
}
} }
@ -342,9 +347,16 @@ onUnmounted(() => {
} }
.back-button { .back-button {
background-color: #000; // background-color: #000;
color: #fff; // color: #fff;
border: #000; border: #000;
background: linear-gradient(180deg, rgba(223, 196, 137, 1) 0%, rgba(190, 151, 99, 1) 100%);
color: #fff;
}
.restart-button {
background: linear-gradient(180deg, rgba(248, 250, 249, 1) 0%, rgba(138, 195, 182, 1) 100%);
color: rgba(41, 112, 93, 1);
} }
} }

@ -579,7 +579,8 @@ const delMode = () => {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
overflow: auto; overflow: auto;
background: center / cover url('@/assets/images/handle_control_bg.png') no-repeat; background: center / cover url('@/assets/images/背景小@2x.png') no-repeat;
background-color: #0A3933;
} }
.main-content { .main-content {
@ -660,7 +661,7 @@ const delMode = () => {
} }
&.selected { &.selected {
background-color: #0881FE; background-color: #FFAF11;
} }
} }
} }
@ -691,12 +692,12 @@ const delMode = () => {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-color: #3e4458; background-color: rgba($color: #188549, $alpha: .3);
.el-icon { .el-icon {
font-size: 30px; font-size: 30px;
background-color: #fff; background-color: #fff;
background: linear-gradient(180deg, rgba(248, 251, 255, 1) 0%, rgba(248, 251, 255, 1) 0%, rgb(124, 144, 181) 96%, rgba(165, 197, 255, 1) 94.08%); background: linear-gradient(180deg, rgba(244, 248, 247, 1) 0%, rgba(142, 198, 185, 1) 96%);
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 5px; border-radius: 5px;
@ -730,7 +731,7 @@ const delMode = () => {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background-color: #212329; background-color: rgba($color: #188549, $alpha: .3);
width: 30px; width: 30px;
height: 100%; height: 100%;
} }
@ -912,7 +913,7 @@ const delMode = () => {
} }
.time-item { .time-item {
color: rgba(255, 255, 255, 0.7); color: #fff;
font-size: 16px; font-size: 16px;
margin: 0 20px; margin: 0 20px;
} }
@ -928,9 +929,11 @@ const delMode = () => {
} }
.back-button { .back-button {
background-color: #000; // background-color: #000;
color: #fff; // color: #fff;
border: #000; border: #000;
background: linear-gradient(180deg, rgba(223, 196, 137, 1) 0%, rgba(190, 151, 99, 1) 100%);
color: #fff;
} }
} }
@ -987,7 +990,7 @@ const delMode = () => {
margin-bottom: 10px; margin-bottom: 10px;
&.add { &.add {
background-color: #397ff6; background: linear-gradient(180deg, rgba(51, 224, 188, 1) 0%, rgba(5, 149, 117, 1) 100%);
} }
&.del { &.del {
@ -1002,8 +1005,8 @@ const delMode = () => {
} }
.mode-button.active { .mode-button.active {
background: #ffffff; background: linear-gradient(180deg, rgba(51, 224, 188, 1) 0%, rgba(5, 149, 117, 1) 100%);
color: #1976d2; color: #fff;
} }
.setting-button { .setting-button {
@ -1033,8 +1036,9 @@ const delMode = () => {
/* 弹窗样式 */ /* 弹窗样式 */
:deep(.brightness-dialog) { :deep(.brightness-dialog) {
background: rgba(30, 30, 30, 0.95); // background: rgba(30, 30, 30, 0.95);
backdrop-filter: blur(20px); // backdrop-filter: blur(20px);
background: linear-gradient(180.44deg, rgba(226, 232, 251, 1) 0.64%, rgba(255, 255, 255, 1) 25.32%);
} }
:deep(.brightness-dialog .el-dialog__header) { :deep(.brightness-dialog .el-dialog__header) {
@ -1043,14 +1047,14 @@ const delMode = () => {
} }
:deep(.brightness-dialog .el-dialog__title) { :deep(.brightness-dialog .el-dialog__title) {
color: #ffffff; color: #6C75A0 100%;
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
} }
:deep(.brightness-dialog .el-dialog__body) { :deep(.brightness-dialog .el-dialog__body) {
// background: rgba(255, 255, 255, 0.05); // background: rgba(255, 255, 255, 0.05);
color: #ffffff; color: #6C75A0 100%;
} }
.brightness-content { .brightness-content {
@ -1062,7 +1066,7 @@ const delMode = () => {
font-size: 18px; font-size: 18px;
font-weight: 500; font-weight: 500;
margin-bottom: 30px; margin-bottom: 30px;
color: #ffffff; color: #6C75A0;
} }
.brightness-slider-container { .brightness-slider-container {
@ -1138,12 +1142,12 @@ const delMode = () => {
:deep(.el-input-number__increase) { :deep(.el-input-number__increase) {
background-color: transparent; background-color: transparent;
color: #fff; color: #6C75A0;
} }
:deep(.el-input-number__decrease) { :deep(.el-input-number__decrease) {
background-color: transparent; background-color: transparent;
color: #fff; color: #6C75A0;
} }
} }
@ -1151,10 +1155,10 @@ const delMode = () => {
:deep(.el-input__wrapper) { :deep(.el-input__wrapper) {
background-color: transparent; background-color: transparent;
color: #fff; color: #6C75A0;
input { input {
color: #fff; color: #6C75A0;
} }
} }

@ -201,7 +201,7 @@
<template #footer> <template #footer>
<div class="dialog-footer"> <div class="dialog-footer">
<el-button @click="brightnessDialogVisible = false">取消</el-button> <el-button @click="brightnessDialogVisible = false">取消</el-button>
<el-button type="primary" @click="confirmBrightness"></el-button> <el-button type="primary" style="background-color: #25b15f; border-color: #25b15f;" @click="confirmBrightness"></el-button>
</div> </div>
</template> </template>
</el-dialog> </el-dialog>
@ -554,7 +554,8 @@ onUnmounted(() => {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
overflow: auto; overflow: auto;
background: center / cover url('@/assets/images/handle_control_bg.png') no-repeat; background: center / cover url('@/assets/images/背景小@2x.png') no-repeat;
background-color: #0A3933;
} }
.main-content { .main-content {
@ -640,7 +641,7 @@ onUnmounted(() => {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-bottom: 15px; margin-bottom: 15px;
background-color: #212329; background-color: #24806B;
width: 30px; width: 30px;
height: 100%; height: 100%;
} }
@ -701,9 +702,9 @@ onUnmounted(() => {
} }
.circuit-status.active { .circuit-status.active {
background: rgba(33, 150, 243, 0.2); background: rgba(31, 223, 130, 0.2);
border-color: rgba(33, 150, 243, 0.5); border-color: rgba(35, 219, 62, 0.764);
color: #64b5f6; color: #25b15f;
} }
.circuit-icon { .circuit-icon {
@ -772,9 +773,9 @@ onUnmounted(() => {
} }
.brightness-display.active { .brightness-display.active {
background: rgba(33, 150, 243, 0.3); background: rgba(31, 223, 130, 0.2);
border-color: rgba(33, 150, 243, 0.6); border-color: rgba(35, 219, 62, 0.764);
color: #64b5f6; color: #25b15f;
box-shadow: 0 0 10px rgba(33, 150, 243, 0.3); box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
} }
@ -803,7 +804,7 @@ onUnmounted(() => {
} }
.time-item { .time-item {
color: rgba(255, 255, 255, 0.7); color: #fff;
font-size: 16px; font-size: 16px;
margin: 0 20px; margin: 0 20px;
} }
@ -819,9 +820,11 @@ onUnmounted(() => {
} }
.back-button { .back-button {
background-color: #000; // background-color: #000;
color: #fff; color: #fff;
border: #000; border: #000;
background: linear-gradient(180deg, rgba(223, 196, 137, 1) 0%, rgba(190, 151, 99, 1) 100%);
color: #fff;
} }
} }
@ -875,8 +878,8 @@ onUnmounted(() => {
} }
.mode-button.active { .mode-button.active {
background: #ffffff; background: linear-gradient(180deg, rgba(51, 224, 188, 1) 0%, rgba(5, 149, 117, 1) 100%);
color: #1976d2; color: #fff;
} }
.setting-button { .setting-button {
@ -943,11 +946,11 @@ onUnmounted(() => {
} }
:deep(.brightness-slider .el-slider__bar) { :deep(.brightness-slider .el-slider__bar) {
background: #1976d2; background: #25b15f;
} }
:deep(.brightness-slider .el-slider__button) { :deep(.brightness-slider .el-slider__button) {
border-color: #1976d2; border-color: #25b15f;
} }
:deep(.brightness-slider .el-slider__stop) { :deep(.brightness-slider .el-slider__stop) {

@ -3,8 +3,11 @@
<!-- 主要内容 --> <!-- 主要内容 -->
<div class="main-content"> <div class="main-content">
<!-- 时间显示 --> <!-- 时间显示 -->
<div class="time-display"> <!-- <div class="time-display">
{{ currentTime }} {{ currentTime }}
</div> -->
<div class="logo">
<img src="@/assets/images/logo@2x.png" alt="">
</div> </div>
<!-- 主标题 --> <!-- 主标题 -->
@ -107,13 +110,13 @@ onUnmounted(() => {
}) })
</script> </script>
<style scoped> <style scoped lang="scss">
.smart-control-app { .smart-control-app {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background: center / cover url('@/assets/images/backgroundImg.png') no-repeat; background: center / cover url('@/assets/images/首页背景@2x.png') no-repeat;
} }
.main-content { .main-content {
@ -126,6 +129,16 @@ onUnmounted(() => {
padding: 40px; padding: 40px;
box-sizing: border-box; box-sizing: border-box;
justify-content: center; justify-content: center;
.logo {
position: absolute;
top: 20px;
left: 20px;
img {
height: 50px;
}
}
} }
.time-display { .time-display {
@ -157,7 +170,7 @@ onUnmounted(() => {
.title-decoration { .title-decoration {
width: 80px; width: 80px;
height: 6px; height: 6px;
background: linear-gradient(90deg, transparent, #64b5f6, #42a5f5, #64b5f6, transparent); background: linear-gradient(90deg, transparent, #64f6be, #42f5a4, #54e98d, transparent);
position: relative; position: relative;
animation: titleGlow 2s ease-in-out infinite alternate; animation: titleGlow 2s ease-in-out infinite alternate;
} }
@ -170,7 +183,7 @@ onUnmounted(() => {
transform: translateX(-50%); transform: translateX(-50%);
width: 12px; width: 12px;
height: 12px; height: 12px;
background: radial-gradient(circle, #64b5f6 0%, #42a5f5 70%, transparent 100%); background: linear-gradient(90deg, transparent, #64f6be, #42f5a4, #54e98d, transparent);
border-radius: 50%; border-radius: 50%;
box-shadow: box-shadow:
0 0 15px #64b5f6, 0 0 15px #64b5f6,

@ -143,7 +143,7 @@
<div class="chartBox"> <div class="chartBox">
<div class="search"> <div class="search">
<el-date-picker value-format="YYYY-MM-DD" v-model="recdDate" type="date" placeholder="请选择时间" /> <el-date-picker value-format="YYYY-MM-DD" v-model="recdDate" type="date" placeholder="请选择时间" />
<el-button type="primary" :loading="lineDataLoading" @click="getLineData"></el-button> <el-button type="primary" class="mode-button active" style="width:70px;height: 32px; margin-bottom: 0;" :loading="lineDataLoading" @click="getLineData"></el-button>
</div> </div>
<Linechart :lineData="lineData"></Linechart> <Linechart :lineData="lineData"></Linechart>
</div> </div>
@ -545,7 +545,8 @@ onUnmounted(() => {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
background: center / cover url('@/assets/images/handle_control_bg.png') no-repeat; background: center / cover url('@/assets/images/背景小@2x.png') no-repeat;
background-color: #0A3933;
} }
.main-content { .main-content {
@ -634,7 +635,7 @@ onUnmounted(() => {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-bottom: 15px; margin-bottom: 15px;
background-color: #212329; background-color: #24806B;
width: 30px; width: 30px;
height: 100%; height: 100%;
} }
@ -834,9 +835,11 @@ onUnmounted(() => {
} }
.back-button { .back-button {
background-color: #000; // background-color: #000;
color: #fff; // color: #fff;
border: #000; border: #000;
background: linear-gradient(180deg, rgba(223, 196, 137, 1) 0%, rgba(190, 151, 99, 1) 100%);
color: #fff;
} }
} }
@ -891,8 +894,8 @@ onUnmounted(() => {
} }
.mode-button.active { .mode-button.active {
background: #ffffff; background: linear-gradient(180deg, rgba(51, 224, 188, 1) 0%, rgba(5, 149, 117, 1) 100%);
color: #1976d2; color: #fff;
} }
.setting-button { .setting-button {

@ -597,7 +597,8 @@ onUnmounted(() => {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
overflow: auto; overflow: auto;
background: center / cover url('@/assets/images/handle_control_bg.png') no-repeat; background: center / cover url('@/assets/images/背景小@2x.png') no-repeat;
background-color: #0A3933;
} }
.main-content { .main-content {
@ -646,7 +647,7 @@ onUnmounted(() => {
box-sizing: border-box; box-sizing: border-box;
.main_item { .main_item {
border: .5px solid #ddd; border: .5px solid #0e9228;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 450px; height: 450px;
@ -657,15 +658,17 @@ onUnmounted(() => {
align-items: center; align-items: center;
height: 50px; height: 50px;
font-size: 16px; font-size: 16px;
background-color: #21232A; // background-color: #21232A;
color: #8088AA; background-color: rgba($color: #188549, $alpha: .3);
border-bottom: .5px solid #ddd; color: #fff;
border-bottom: .5px solid #0e9228;
} }
.main_content { .main_content {
padding: 20px; padding: 20px;
font-size: 14px; font-size: 14px;
background-color: #282d36; // background-color: #282d36;
background-color: rgba($color: #000000, $alpha: .3);
flex: 1; flex: 1;
&.energy_meter { &.energy_meter {
@ -686,8 +689,8 @@ onUnmounted(() => {
.value { .value {
text-align: center; text-align: center;
background-color: #21232A; background-color: rgba($color: #188549, $alpha: .3);
color: #8088AA; color: #fff;
padding: 5px 10px; padding: 5px 10px;
min-height: 32px; min-height: 32px;
box-sizing: border-box; box-sizing: border-box;
@ -697,7 +700,7 @@ onUnmounted(() => {
.subLoopParameter_item { .subLoopParameter_item {
border-radius: 10px; border-radius: 10px;
border: 1px solid #fff; border: 1px solid #0e9228;
padding: 15px; padding: 15px;
margin-bottom: 20px; margin-bottom: 20px;
@ -795,9 +798,11 @@ onUnmounted(() => {
} }
.back-button { .back-button {
background-color: #000; // background-color: #000;
color: #fff; // color: #fff;
border: #000; border: #000;
background: linear-gradient(180deg, rgba(223, 196, 137, 1) 0%, rgba(190, 151, 99, 1) 100%);
color: #fff;
} }
} }
@ -807,22 +812,22 @@ onUnmounted(() => {
} }
:deep(.el-input__wrapper) { :deep(.el-input__wrapper) {
background-color: #212329 !important; background-color: rgba($color: #188549, $alpha: .3) !important;
box-shadow: none; box-shadow: none;
border: 1px soild #3B3D45; border: 1px soild #0e9228;
input { input {
color: #8088AA; color: #fff;
} }
} }
:deep(.el-select__wrapper) { :deep(.el-select__wrapper) {
background-color: #212329 !important; background-color: rgba($color: #188549, $alpha: .3) !important;
box-shadow: none; box-shadow: none;
border: 1px soild #3B3D45; border: 1px soild #0e9228;
.el-select__placeholder { .el-select__placeholder {
color: #8088AA; color: #fff;
} }
} }
</style> </style>

Loading…
Cancel
Save