大屏12.24修改
Showing
24 changed files
with
186 additions
and
40 deletions
| ... | @@ -157,3 +157,29 @@ export function getYS009(url, objData) { | ... | @@ -157,3 +157,29 @@ export function getYS009(url, objData) { |
| 157 | } | 157 | } |
| 158 | }) | 158 | }) |
| 159 | } | 159 | } |
| 160 | |||
| 161 | /** | ||
| 162 | * 中间 中间模块-收入对比 | ||
| 163 | * @returns {*} | ||
| 164 | */ | ||
| 165 | export function getYS0010(url, objData) { | ||
| 166 | return request({ | ||
| 167 | method: 'post', | ||
| 168 | data: { | ||
| 169 | 'INTERFACEID': 'YS010', | ||
| 170 | 'USERCONTEXT': url, | ||
| 171 | 'FIELD': objData | ||
| 172 | } | ||
| 173 | }) | ||
| 174 | } | ||
| 175 | |||
| 176 | export function getYS0011(url, objData) { | ||
| 177 | return request({ | ||
| 178 | method: 'post', | ||
| 179 | data: { | ||
| 180 | 'INTERFACEID': 'YS011', | ||
| 181 | 'USERCONTEXT': url, | ||
| 182 | 'FIELD': objData | ||
| 183 | } | ||
| 184 | }) | ||
| 185 | } | ... | ... |
src/assets/image/bg_light.png
0 → 100644
124 KB
src/assets/image/box01-light.png
0 → 100644
59.5 KB
src/assets/image/box01-light@2x.png
0 → 100644
89.8 KB
src/assets/image/box02-light@2x.png
0 → 100644
8.37 KB
src/assets/image/box03-light@2x.png
0 → 100644
36.7 KB
src/assets/image/box04-light@2x.png
0 → 100644
20.9 KB
src/assets/image/dark@2x.png
0 → 100644
6.64 KB
src/assets/image/dialogBG-dark.png
0 → 100644
27.7 KB
src/assets/image/dialogBG-light@2x.png
0 → 100644
115 KB
src/assets/image/light@2x.png
0 → 100644
6.9 KB
src/assets/image/more-light@2x.png
0 → 100644
980 Bytes
src/assets/image/rili-light.png
0 → 100644
1.18 KB
src/assets/image/rmb-light.png
0 → 100644
8.91 KB
src/assets/image/title_bg-light@2x.png
0 → 100644
4.14 KB
src/assets/image/top-light@2x.png
0 → 100644
28.1 KB
| ... | @@ -103,15 +103,13 @@ h1 { | ... | @@ -103,15 +103,13 @@ h1 { |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | .text-top { | 105 | .text-top { |
| 106 | background: url('@/assets/image/top@3x.png') no-repeat top center; | ||
| 107 | background-size: 100%; | ||
| 108 | height: calc(63 * 100vw / 1920); | 106 | height: calc(63 * 100vw / 1920); |
| 109 | margin: 0; | 107 | margin: 0; |
| 110 | font-size: calc(17 * 100vw / 1920); | 108 | font-size: calc(17 * 100vw / 1920); |
| 111 | font-weight: 400; | 109 | font-weight: 400; |
| 112 | color: #12BFFF; | ||
| 113 | line-height: calc(40 * 100vw / 1920); | 110 | line-height: calc(40 * 100vw / 1920); |
| 114 | padding-left: calc(30 * 100vw / 1920) | 111 | padding-left: calc(30 * 100vw / 1920) |
| 112 | |||
| 115 | } | 113 | } |
| 116 | 114 | ||
| 117 | .date { | 115 | .date { |
| ... | @@ -119,5 +117,21 @@ h1 { | ... | @@ -119,5 +117,21 @@ h1 { |
| 119 | position: absolute; | 117 | position: absolute; |
| 120 | right: calc(30 * 100vw / 1920); | 118 | right: calc(30 * 100vw / 1920); |
| 121 | } | 119 | } |
| 120 | |||
| 121 | .dark { | ||
| 122 | .text-top { | ||
| 123 | background: url('@/assets/image/top@3x.png') no-repeat top center; | ||
| 124 | background-size: 100%; | ||
| 125 | color: #12BFFF; | ||
| 126 | } | ||
| 127 | } | ||
| 128 | |||
| 129 | .light { | ||
| 130 | .text-top { | ||
| 131 | background: url('@/assets/image/top-light@2x.png') no-repeat top center; | ||
| 132 | background-size: 100%; | ||
| 133 | color: #0060AA; | ||
| 134 | } | ||
| 135 | } | ||
| 122 | </style> | 136 | </style> |
| 123 | 137 | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="bg"> | 2 | <div v-loading="isLoading" class="bg" :class="{dark: styleTheme=='dark',light: styleTheme=='light'}"> |
| 3 | <video id="video" autoplay loop muted src="/bg.mp4"></video> | 3 | <el-button v-if="styleTheme=='light'" class="theme-button dark-btn" @click="handleChangeTheme('dark')"></el-button> |
| 4 | <app-header/> | 4 | <el-button v-else-if="styleTheme=='dark'" class="theme-button light-btn" @click="handleChangeTheme('light')"></el-button> |
| 5 | <app-main/> | 5 | <!-- <video id="video" autoplay loop muted src="/bg.mp4"></video>--> |
| 6 | <app-header /> | ||
| 7 | <app-main :myTheme="styleTheme" /> | ||
| 6 | </div> | 8 | </div> |
| 7 | </template> | 9 | </template> |
| 8 | 10 | ||
| 9 | <script setup> | 11 | <script setup> |
| 10 | import {AppMain, AppHeader, AppBottom} from './components' | 12 | import {AppMain, AppHeader, AppBottom} from './components' |
| 13 | |||
| 14 | const styleTheme = ref('dark') | ||
| 15 | const isLoading = ref(false) | ||
| 16 | |||
| 17 | function handleChangeTheme(type) { | ||
| 18 | styleTheme.value = type | ||
| 19 | isLoading.value = true | ||
| 20 | setTimeout(() => { | ||
| 21 | isLoading.value = false | ||
| 22 | }, 3000) | ||
| 23 | } | ||
| 24 | |||
| 11 | </script> | 25 | </script> |
| 12 | 26 | ||
| 13 | <style lang="scss"> | 27 | <style lang="scss"> |
| ... | @@ -25,7 +39,34 @@ import {AppMain, AppHeader, AppBottom} from './components' | ... | @@ -25,7 +39,34 @@ import {AppMain, AppHeader, AppBottom} from './components' |
| 25 | min-width: 1000px; | 39 | min-width: 1000px; |
| 26 | overflow: hidden; | 40 | overflow: hidden; |
| 27 | //background: rgba(0,0,0,0.75) | 41 | //background: rgba(0,0,0,0.75) |
| 28 | background: url("@/assets/image/bg@2x.png") no-repeat top center; | ||
| 29 | background-size: 100% 100%; | 42 | background-size: 100% 100%; |
| 30 | } | 43 | } |
| 44 | |||
| 45 | .dark { | ||
| 46 | background: url("@/assets/image/bg@2x.png") no-repeat top center; | ||
| 47 | } | ||
| 48 | |||
| 49 | .light { | ||
| 50 | background: url("@/assets/image/bg_light.png") no-repeat top center; | ||
| 51 | } | ||
| 52 | |||
| 53 | .theme-button { | ||
| 54 | position: absolute; | ||
| 55 | z-index: 2; | ||
| 56 | width: 30px; | ||
| 57 | height: 30px; | ||
| 58 | border: none; | ||
| 59 | top: 4vh; | ||
| 60 | right: 20px; | ||
| 61 | } | ||
| 62 | |||
| 63 | .dark-btn { | ||
| 64 | background: url("@/assets/image/dark@2x.png") no-repeat top center; | ||
| 65 | background-size: contain; | ||
| 66 | } | ||
| 67 | |||
| 68 | .light-btn { | ||
| 69 | background: url("@/assets/image/light@2x.png") no-repeat top center; | ||
| 70 | background-size: contain; | ||
| 71 | } | ||
| 31 | </style> | 72 | </style> | ... | ... |
| ... | @@ -13,25 +13,25 @@ | ... | @@ -13,25 +13,25 @@ |
| 13 | v-for="(val,i) in baseList" :key="i" :label="val" :value="val"/> | 13 | v-for="(val,i) in baseList" :key="i" :label="val" :value="val"/> |
| 14 | </el-select> | 14 | </el-select> |
| 15 | </div> | 15 | </div> |
| 16 | <div class="datePick_bg" style="position: absolute;top: 4vh;right: 18px;height: 28px"> | 16 | <div class="datePick_bg" style="position: absolute;top: 4vh;right: 58px;height: 28px"> |
| 17 | <el-date-picker | 17 | <el-date-picker |
| 18 | v-model="nowDate" | 18 | v-model="nowDate" |
| 19 | type="month" | 19 | type="month" |
| 20 | placeholder="历史回溯" | 20 | placeholder="历史回溯" |
| 21 | :size="size" | 21 | :size="size" |
| 22 | style="width: 100%" | 22 | style="width: 100%;height: 100%" |
| 23 | value-format="YYYY-MM" | 23 | value-format="YYYY-MM" |
| 24 | ></el-date-picker> | 24 | ></el-date-picker> |
| 25 | </div> | 25 | </div> |
| 26 | <el-row class="w100"> | 26 | <el-row class="w100"> |
| 27 | <el-col v-if="!isLoad&&obj.IFBASE" :span="8"> | 27 | <el-col v-if="!isLoad&&obj.IFBASE" :span="8"> |
| 28 | <left-page :obj="obj" :type="type" :url="result" :historyDate="nowDate" :sBase="selectBase"/> | 28 | <left-page :obj="obj" :type="type" :url="result" :historyDate="nowDate" :sBase="selectBase" :myTheme="props.myTheme" /> |
| 29 | </el-col> | 29 | </el-col> |
| 30 | <el-col v-if="!isLoad&&obj.IFBASE" :span="8"> | 30 | <el-col v-if="!isLoad&&obj.IFBASE" :span="8"> |
| 31 | <center-page :obj="obj" :isLeader="isLeader" :type="type" :url="result" :historyDate="nowDate" :sBase="selectBase"/> | 31 | <center-page :myTheme="props.myTheme" :obj="obj" :isLeader="isLeader" :type="type" :url="result" :historyDate="nowDate" :sBase="selectBase"/> |
| 32 | </el-col> | 32 | </el-col> |
| 33 | <el-col v-if="!isLoad&&obj.IFBASE" :span="8"> | 33 | <el-col v-if="!isLoad&&obj.IFBASE" :span="8"> |
| 34 | <right-page :obj="obj" :type="type" :url="result" :historyDate="nowDate" :sBase="selectBase"/> | 34 | <right-page :obj="obj" :type="type" :url="result" :historyDate="nowDate" :sBase="selectBase" :myTheme="props.myTheme"/> |
| 35 | </el-col> | 35 | </el-col> |
| 36 | </el-row> | 36 | </el-row> |
| 37 | </div> | 37 | </div> |
| ... | @@ -60,7 +60,7 @@ const nowDate = ref(`${year}-${formatMonth(month)}`) | ... | @@ -60,7 +60,7 @@ const nowDate = ref(`${year}-${formatMonth(month)}`) |
| 60 | let selectBase = ref() | 60 | let selectBase = ref() |
| 61 | let baseList = ref() | 61 | let baseList = ref() |
| 62 | let isLeader = ref(false) | 62 | let isLeader = ref(false) |
| 63 | // url.value = 'http://192.168.1.152:8899/login/sid=a659e865-486c-434f-8707-add6bfa2276d#/' | 63 | // url.value = 'http://192.168.1.152:8899/login/sid=9cdeffd3-0a59-414c-944c-8e71a11b05cc#/' |
| 64 | url.value = window.location.href | 64 | url.value = window.location.href |
| 65 | result.value = url.value?.split('=')[1]?.split('#')[0]; | 65 | result.value = url.value?.split('=')[1]?.split('#')[0]; |
| 66 | 66 | ||
| ... | @@ -69,6 +69,12 @@ function validateEmail(email) { | ... | @@ -69,6 +69,12 @@ function validateEmail(email) { |
| 69 | return re.test(String(email).toLowerCase()); | 69 | return re.test(String(email).toLowerCase()); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | const props = defineProps({ | ||
| 73 | myTheme: { | ||
| 74 | type: String, | ||
| 75 | } | ||
| 76 | }) | ||
| 77 | |||
| 72 | onMounted(() => { | 78 | onMounted(() => { |
| 73 | if (result.value) { | 79 | if (result.value) { |
| 74 | handelGetYS000() | 80 | handelGetYS000() |
| ... | @@ -109,13 +115,11 @@ function setType(){ | ... | @@ -109,13 +115,11 @@ function setType(){ |
| 109 | .basePick_bg { | 115 | .basePick_bg { |
| 110 | position: absolute; | 116 | position: absolute; |
| 111 | top: 4vh; | 117 | top: 4vh; |
| 112 | right: 180px; | 118 | right: 220px; |
| 113 | height: 28px; | 119 | height: 28px; |
| 114 | width: 155px; | 120 | width: 155px; |
| 115 | background: #0B2239; | ||
| 116 | //box-shadow: 0 0 24px 0 rgba(130, 220, 255, 0.5), 0 0 16px 0 rgba(130, 220, 255, 0.27); | 121 | //box-shadow: 0 0 24px 0 rgba(130, 220, 255, 0.5), 0 0 16px 0 rgba(130, 220, 255, 0.27); |
| 117 | border-radius: 5px; | 122 | border-radius: 5px; |
| 118 | border: 1px solid #12BFFF; | ||
| 119 | 123 | ||
| 120 | .select { | 124 | .select { |
| 121 | background-color: transparent; | 125 | background-color: transparent; |
| ... | @@ -141,7 +145,6 @@ function setType(){ | ... | @@ -141,7 +145,6 @@ function setType(){ |
| 141 | :deep(.el-select__placeholder) { | 145 | :deep(.el-select__placeholder) { |
| 142 | font-family: PingFang SC, serif; | 146 | font-family: PingFang SC, serif; |
| 143 | font-weight: 500; | 147 | font-weight: 500; |
| 144 | color: #fff; | ||
| 145 | //text-shadow: 0 2px 0 rgba(0, 1, 1, 0.41); | 148 | //text-shadow: 0 2px 0 rgba(0, 1, 1, 0.41); |
| 146 | //background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%); | 149 | //background: linear-gradient(180deg, #75E2E9 0%, #FFFFFF 100%); |
| 147 | background-color: rgb(33, 123, 188, .1); /* 背景色 */ | 150 | background-color: rgb(33, 123, 188, .1); /* 背景色 */ |
| ... | @@ -154,44 +157,98 @@ function setType(){ | ... | @@ -154,44 +157,98 @@ function setType(){ |
| 154 | border-color: #1c81a6; /* 边框色 */ | 157 | border-color: #1c81a6; /* 边框色 */ |
| 155 | color: #fff; /* 文字颜色 */ | 158 | color: #fff; /* 文字颜色 */ |
| 156 | } | 159 | } |
| 157 | |||
| 158 | :deep(.el-icon ) { | ||
| 159 | color: #fff; | ||
| 160 | } | ||
| 161 | } | 160 | } |
| 162 | } | 161 | } |
| 163 | 162 | ||
| 164 | .datePick_bg { | 163 | .datePick_bg { |
| 165 | background: url("@/assets/image/datePicker.png") no-repeat center; | ||
| 166 | background-size: 100% 100%; | ||
| 167 | width: 155px; | 164 | width: 155px; |
| 168 | } | 165 | border-radius: 5px; |
| 169 | ::v-deep .el-date-editor .el-input__inner { | 166 | |
| 167 | ::v-deep .el-date-editor .el-input__inner { | ||
| 170 | background-color: transparent !important; | 168 | background-color: transparent !important; |
| 171 | border-color: #80ffff; | 169 | border-color: #80ffff; |
| 172 | box-shadow: none; | 170 | box-shadow: none; |
| 173 | height: 30px; | 171 | height: 30px; |
| 174 | color: #fff; | ||
| 175 | padding: 0 0 2px 10px; | 172 | padding: 0 0 2px 10px; |
| 176 | } | 173 | } |
| 177 | ::v-deep .el-input__wrapper { | 174 | ::v-deep .el-input__wrapper { |
| 178 | background: transparent; | 175 | background: transparent; |
| 179 | border: none; | 176 | border: none; |
| 180 | box-shadow: none; | 177 | box-shadow: none; |
| 181 | } | 178 | } |
| 182 | /* 隐藏默认图标 */ | 179 | /* 隐藏默认图标 */ |
| 183 | ::v-deep .el-date-editor .el-input__prefix { | 180 | ::v-deep .el-date-editor .el-input__prefix { |
| 184 | background: url("@/assets/image/rili.png") no-repeat center; | ||
| 185 | background-size: 100% 100%; | ||
| 186 | width: 20px; | 181 | width: 20px; |
| 187 | height: 20px; | 182 | height: 20px; |
| 188 | position: absolute; | 183 | position: absolute; |
| 189 | right: 10px; | 184 | right: 10px; |
| 190 | } | 185 | } |
| 191 | 186 | ||
| 192 | /* 强制右侧显示图标 */ | 187 | /* 强制右侧显示图标 */ |
| 193 | ::v-deep .el-date-editor .el-input__suffix .clear-icon{ | 188 | ::v-deep .el-date-editor .el-input__suffix .clear-icon{ |
| 194 | display: inline-block !important; | 189 | display: inline-block !important; |
| 195 | padding: 0 40px 0 0; | 190 | padding: 0 40px 0 0; |
| 191 | } | ||
| 192 | } | ||
| 193 | |||
| 194 | .dark { | ||
| 195 | .basePick_bg { | ||
| 196 | background: #0B2239; | ||
| 197 | border: 1px solid #12BFFF; | ||
| 198 | |||
| 199 | /* placeholder */ | ||
| 200 | :deep(.el-select__placeholder) { | ||
| 201 | color: #fff; | ||
| 202 | } | ||
| 203 | |||
| 204 | :deep(.el-icon ) { | ||
| 205 | color: #fff; | ||
| 206 | } | ||
| 207 | } | ||
| 208 | |||
| 209 | .datePick_bg { | ||
| 210 | background: url("@/assets/image/datePicker.png") no-repeat center; | ||
| 211 | background-size: 100% 100%; | ||
| 212 | |||
| 213 | ::v-deep .el-date-editor .el-input__inner { | ||
| 214 | color: #fff; | ||
| 215 | } | ||
| 216 | |||
| 217 | /* 隐藏默认图标 */ | ||
| 218 | ::v-deep .el-date-editor .el-input__prefix { | ||
| 219 | background: url("@/assets/image/rili.png") no-repeat center; | ||
| 220 | background-size: 100% 100%; | ||
| 221 | } | ||
| 222 | } | ||
| 223 | } | ||
| 224 | |||
| 225 | .light { | ||
| 226 | .basePick_bg { | ||
| 227 | background: #FFFFFF; | ||
| 228 | border: 1px solid #97D3FF; | ||
| 229 | |||
| 230 | /* placeholder */ | ||
| 231 | :deep(.el-select__placeholder) { | ||
| 232 | color: #005D8D; | ||
| 233 | } | ||
| 234 | |||
| 235 | :deep(.el-icon ) { | ||
| 236 | color: #0060AA; | ||
| 237 | } | ||
| 238 | } | ||
| 239 | |||
| 240 | .datePick_bg { | ||
| 241 | background: #FFFFFF; | ||
| 242 | border: 1px solid #97D3FF; | ||
| 243 | |||
| 244 | :deep(.el-date-editor .el-input__inner) { | ||
| 245 | color: #0060AA; | ||
| 246 | } | ||
| 247 | |||
| 248 | ::v-deep .el-date-editor .el-input__prefix { | ||
| 249 | background: url("@/assets/image/rili-light.png") no-repeat center; | ||
| 250 | background-size: 100% 100%; | ||
| 251 | } | ||
| 252 | } | ||
| 196 | } | 253 | } |
| 197 | </style> | 254 | </style> | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -25,7 +25,6 @@ const showGroup = ref(false) | ... | @@ -25,7 +25,6 @@ const showGroup = ref(false) |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | function open(row,date) { | 27 | function open(row,date) { |
| 28 | debugger | ||
| 29 | showGroup.value = true | 28 | showGroup.value = true |
| 30 | list.value = row | 29 | list.value = row |
| 31 | myDate.value = date | 30 | myDate.value = date | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| ... | @@ -107,7 +107,7 @@ onUnmounted(() => { | ... | @@ -107,7 +107,7 @@ onUnmounted(() => { |
| 107 | }); | 107 | }); |
| 108 | </script> | 108 | </script> |
| 109 | 109 | ||
| 110 | <style scoped> | 110 | <style lang="scss" scoped> |
| 111 | .scrolling-container { | 111 | .scrolling-container { |
| 112 | width: 100%; | 112 | width: 100%; |
| 113 | height: 100%; | 113 | height: 100%; |
| ... | @@ -124,7 +124,6 @@ onUnmounted(() => { | ... | @@ -124,7 +124,6 @@ onUnmounted(() => { |
| 124 | font-family: SimHei, serif; | 124 | font-family: SimHei, serif; |
| 125 | font-weight: 400; | 125 | font-weight: 400; |
| 126 | font-size: calc(17 * 100vw / 1920); | 126 | font-size: calc(17 * 100vw / 1920); |
| 127 | color: #FFFFFF; | ||
| 128 | height: calc(40 * 100vh / 1920); | 127 | height: calc(40 * 100vh / 1920); |
| 129 | margin: calc(8 * 100vw / 1920) 0; | 128 | margin: calc(8 * 100vw / 1920) 0; |
| 130 | white-space: nowrap; /* 强制文本不换行 */ | 129 | white-space: nowrap; /* 强制文本不换行 */ |
| ... | @@ -143,5 +142,15 @@ onUnmounted(() => { | ... | @@ -143,5 +142,15 @@ onUnmounted(() => { |
| 143 | } | 142 | } |
| 144 | } | 143 | } |
| 145 | 144 | ||
| 145 | .dark { | ||
| 146 | .scrolling-item { | ||
| 147 | color: #FFFFFF; | ||
| 148 | } | ||
| 149 | } | ||
| 146 | 150 | ||
| 151 | .light { | ||
| 152 | .scrolling-item { | ||
| 153 | color: #4C5359; | ||
| 154 | } | ||
| 155 | } | ||
| 147 | </style> | 156 | </style> | ... | ... |
-
Please register or sign in to post a comment