diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue index bbea95c..995c5fc 100644 --- a/src/views/bigScreen/index.vue +++ b/src/views/bigScreen/index.vue @@ -888,7 +888,7 @@ const rightPie2Option = ref({ type: 'pie', radius: ['50%', '70%'], center: ['50%', '50%'], - // color: ['rgb(131,249,103)', '#FBFE27', '#FE5050', '#1DB7E5'], //'#FBFE27','rgb(11,228,96)','#FE5050' + color: ['#AED88F', '#91ACE0', '#FED961', '#FC7100', '#FF0000'], //'#FBFE27','rgb(11,228,96)','#FE5050' data: [], roseType: 'radius', label: { @@ -1253,29 +1253,29 @@ li { height: 2.375rem; width: 100%; overflow: hidden; - } - .scroll .item { - border: 1px solid rgba(255, 255, 255, .1); - padding: .1rem 0; - font-size: .2rem; - color: rgba(255, 255, 255, .6); - display: flex; - align-items: center; - justify-content: space-around; + .item { + padding: .1rem 0; + font-size: .2rem; + color: rgba(255, 255, 255, .6); + display: flex; + align-items: center; + justify-content: space-around; - span:nth-child(1) { - flex: 0 1 60%; - } + span:nth-child(1) { + flex: 0 1 60%; + } - span:nth-child(2) { - flex: 0 1 20%; - } + span:nth-child(2) { + flex: 0 1 20%; + } - span:nth-child(3) { - flex: 0 1 20%; + span:nth-child(3) { + flex: 0 1 20%; + } } } + } } diff --git a/src/views/index.vue b/src/views/index.vue index aca5b65..5eaa183 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -207,7 +207,7 @@ const leftPieOption = ref({ type: 'pie', radius: ['50%', '70%'], center: ['50%', '50%'], - // color: ['rgb(131,249,103)', '#FBFE27', '#FE5050', '#1DB7E5'], //'#FBFE27','rgb(11,228,96)','#FE5050' + color: [ '#AED88F', '#91ACE0', '#FED961', '#FC7100', '#FF0000'], //'#FBFE27','rgb(11,228,96)','#FE5050' data: [], roseType: 'radius', label: { diff --git a/vite.config.ts b/vite.config.ts index fdac7ea..1692545 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -30,7 +30,8 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => { open: true, proxy: { [env.VITE_APP_BASE_API]: { - target: 'http://192.168.123.32:8080', + // target: 'http://192.168.123.32:8080', + target: 'http://localhost:8080', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')