Compare commits

..

No commits in common. "ce9614295d48ff60d5c59bb1d587027e9471a81b" and "52f349fc2fce256406c77a2e755d787d09549a3f" have entirely different histories.

15 changed files with 313 additions and 440 deletions

View File

@ -21,20 +21,20 @@
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=20.19.0", "node": ">=16.0.0",
"pnpm": ">=8.0.0" "pnpm": ">=8.0.0"
}, },
"dependencies": { "dependencies": {
"@element-plus/icons-vue": "^2.3.2", "@element-plus/icons-vue": "^2.3.2",
"@vueuse/core": "^14.0.0", "@vueuse/core": "^14.0.0",
"dayjs": "^1.11.19", "dayjs": "^1.11.18",
"element-plus": "^2.11.5", "element-plus": "^2.11.5",
"vant": "^4.9.21" "vant": "^4.9.21"
}, },
"devDependencies": { "devDependencies": {
"@vant/auto-import-resolver": "^1.3.0", "@vant/auto-import-resolver": "^1.3.0",
"less": "^4.4.2", "less": "^4.4.2",
"unplugin-auto-import": "^20.2.0", "unplugin-auto-import": "^0.17.0",
"unplugin-vue-components": "^0.26.0" "unplugin-vue-components": "^0.26.0"
} }
} }

View File

@ -9,17 +9,17 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"vue": "^3.5.18", "vue": "^3.4.0",
"vue-router": "^4.6.3", "vue-router": "^4.2.0",
"pinia": "^3.0.3", "pinia": "^2.1.0",
"vant": "^4.9.21", "vant": "^4.8.0",
"axios": "^1.13.2" "axios": "^1.6.0"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^6.0.1", "@vitejs/plugin-vue": "^5.0.0",
"vite": "^7.2.0", "vite": "^5.0.0",
"sass": "^1.93.3", "sass": "^1.70.0",
"unplugin-vue-components": "^0.26.0", "unplugin-vue-components": "^0.26.0",
"unplugin-auto-import": "^20.2.0" "unplugin-auto-import": "^0.17.0"
} }
} }

View File

@ -5,7 +5,7 @@ import Components from 'unplugin-vue-components/vite'
import { VantResolver } from 'unplugin-vue-components/resolvers' import { VantResolver } from 'unplugin-vue-components/resolvers'
export default defineConfig({ export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/bxztapp/' : '/', base: '/bxztapp/',
plugins: [ plugins: [
vue(), vue(),
Components({ Components({

View File

@ -9,17 +9,17 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"vue": "^3.5.18", "vue": "^3.4.0",
"vue-router": "^4.6.3", "vue-router": "^4.2.0",
"pinia": "^3.0.3", "pinia": "^2.1.0",
"axios": "^1.13.2", "axios": "^1.6.0",
"echarts": "^6.0.0", "echarts": "^5.5.0",
"vue-echarts": "^8.0.1" "vue-echarts": "^6.6.0"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^6.0.1", "@vitejs/plugin-vue": "^5.0.0",
"vite": "^7.2.0", "vite": "^5.0.0",
"sass": "^1.93.3", "sass": "^1.70.0",
"less": "^4.4.2" "less": "^4.4.2"
} }
} }

View File

@ -1,4 +1,4 @@
@use './mixins.scss' as *; @import './mixins.scss';
* { * {
margin: 0; margin: 0;

View File

@ -36,7 +36,7 @@ const stats = ref([
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.block-event { .block-event {
background: url(../assets/img/block-panel-bg.png) no-repeat; background: url(../assets/img/block-panel-bg.png) no-repeat;

View File

@ -29,7 +29,7 @@ import YearStatistics from './YearStatistics.vue'
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.cockpit-layout { .cockpit-layout {
width: 100vw; width: 100vw;

View File

@ -99,7 +99,7 @@ const resources = ref([
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.emergency-resources { .emergency-resources {
background: url(../assets/img/emergency-panel-bg.png) no-repeat; background: url(../assets/img/emergency-panel-bg.png) no-repeat;

View File

@ -110,7 +110,7 @@ const markers = ref([
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.map-center { .map-center {
width: 100%; width: 100%;

View File

@ -11,7 +11,7 @@
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.page-header { .page-header {
height: vh(137); height: vh(137);

View File

@ -116,7 +116,7 @@ const districts = ref([
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.weather-warning { .weather-warning {
background: url(../assets/img/weather-panel-bg.png) no-repeat; background: url(../assets/img/weather-panel-bg.png) no-repeat;

View File

@ -51,7 +51,7 @@ const xAxisYears = ref([
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@use '@/styles/mixins.scss' as *; @import '@/styles/mixins.scss';
.year-statistics { .year-statistics {
background: url(../assets/img/statistics-panel-bg.png) no-repeat; background: url(../assets/img/statistics-panel-bg.png) no-repeat;

View File

@ -6,7 +6,7 @@ import vue from '@vitejs/plugin-vue'
import { resolve } from 'path' import { resolve } from 'path'
export default defineConfig({ export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/bxztpc/' : '/', base: '/bxztpc/',
plugins: [ plugins: [
vue(), vue(),
AutoImport({ AutoImport({

View File

@ -6,6 +6,6 @@
"main": "index.js", "main": "index.js",
"scripts": {}, "scripts": {},
"dependencies": { "dependencies": {
"axios": "^1.13.2" "axios": "^1.6.0"
} }
} }

689
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff