政务服务平台 - 静态资源优化

This commit is contained in:
郭永超 2025-08-18 14:46:12 +08:00
parent 365ca0cb0b
commit bdbc406ea6
15 changed files with 3 additions and 25 deletions

View File

@ -12,7 +12,6 @@ declare module 'vue' {
'CenterMap copy': typeof import('./src/components/centerMap copy.vue')['default'] 'CenterMap copy': typeof import('./src/components/centerMap copy.vue')['default']
CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default'] CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default']
Components: typeof import('./src/components/index.js')['default'] Components: typeof import('./src/components/index.js')['default']
copy: typeof import('./src/components/centerMap copy.vue')['default']
CurrentTime: typeof import('./src/components/currentTime.vue')['default'] CurrentTime: typeof import('./src/components/currentTime.vue')['default']
CustomBack: typeof import('./src/components/customBack.vue')['default'] CustomBack: typeof import('./src/components/customBack.vue')['default']
CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default'] CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default']

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 KiB

After

Width:  |  Height:  |  Size: 185 KiB

View File

@ -1,20 +1,3 @@
<!-- <template>
<div class="custom-page" :style="`background-image: url(${getAssetsFile('images/output/output.png')})`"></div>
</template>
<script setup>
import { ref, watch, onMounted, computed } from 'vue';
import { getAssetsFile } from '@/utils';
</script>
<style scoped lang="scss">
.custom-page {
height: calc(100vh - 150px);
background-size: cover;
background-repeat: no-repeat;
}
</style> -->
<template> <template>
<div class="app-container"> <div class="app-container">
<div class="container-custom"> <div class="container-custom">

View File

@ -131,15 +131,15 @@ const state = reactive({
], ],
pestList: [ pestList: [
{ {
image: getAssetsFile('images/plantingAndBreeding/pic1.png'), image: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/pic1.png',
video: '', video: '',
}, },
{ {
image: getAssetsFile('images/plantingAndBreeding/pic2.png'), image: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/pic2.png',
video: '', video: '',
}, },
{ {
image: getAssetsFile('images/plantingAndBreeding/pic3.png'), image: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/pic3.png',
video: '', video: '',
}, },
], ],

View File

@ -1,7 +1,5 @@
<template> <template>
<!-- <div class="custom-page" :style="`background-image: url(${getAssetsFile('images/landBase/land2.png')})`"> -->
<div class="custom-page"> <div class="custom-page">
<!-- <div class="custom-page"> -->
<div class="content"> <div class="content">
<div style="display: flex"> <div style="display: flex">
<pieChart v-for="(item, index) in data" :key="index" class="m-left" :refs="item.refs" :title="item.title" :data="item.data" /> <pieChart v-for="(item, index) in data" :key="index" class="m-left" :refs="item.refs" :title="item.title" :data="item.data" />

View File

@ -1,7 +1,5 @@
<template> <template>
<!-- <div class="custom-page" :style="`background-image: url(${getAssetsFile('images/landBase/land2.png')})`"> -->
<div> <div>
<!-- <h1>统计数据</h1> -->
<div class="content"> <div class="content">
<div :ref="props.refs" style="width: 500px; height: 350px"></div> <div :ref="props.refs" style="width: 500px; height: 350px"></div>
</div> </div>