政务服务平台 - 静态资源优化
| @ -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'] | ||||||
|  | |||||||
| Before Width: | Height: | Size: 349 KiB | 
| Before Width: | Height: | Size: 472 KiB | 
| Before Width: | Height: | Size: 1.9 MiB | 
| Before Width: | Height: | Size: 281 KiB | 
| Before Width: | Height: | Size: 1.4 MiB | 
| Before Width: | Height: | Size: 132 KiB | 
| Before Width: | Height: | Size: 1.5 MiB | 
| Before Width: | Height: | Size: 1.1 MiB | 
| Before Width: | Height: | Size: 1.4 MiB | 
| Before Width: | Height: | Size: 417 KiB After Width: | Height: | Size: 185 KiB | 
| @ -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"> | ||||||
|  | |||||||
| @ -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: '', | ||||||
|     }, |     }, | ||||||
|   ], |   ], | ||||||
|  | |||||||
| @ -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" /> | ||||||
|  | |||||||
| @ -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> | ||||||
|  | |||||||