数据大屏静态资源优化

This commit is contained in:
郭永超 2025-08-20 14:29:03 +08:00
parent e8d9ba5acc
commit b9798abfee
22 changed files with 5 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

View File

@ -40,7 +40,6 @@ router.beforeEach(async (to, from, next) => {
return; return;
} }
next(); next();
next();
} }
} catch (error) { } catch (error) {
next(`/login?redirect=${to.path}`); next(`/login?redirect=${to.path}`);

View File

@ -5,7 +5,7 @@
<div class="name" :style="n.nameStyle"> <div class="name" :style="n.nameStyle">
<span :style="n.spanStyle">{{ n.title || '--' }}</span> <span :style="n.spanStyle">{{ n.title || '--' }}</span>
</div> </div>
<div class="img-icon" :style="n.imgstyle"><img :src="getAssetsFile(n.img)" /></div> <div class="img-icon" :style="n.imgstyle"><img :src="n.img" /></div>
</div> </div>
</template> </template>
</div> </div>
@ -31,7 +31,7 @@ let homeList = reactive([
name: 'operationM', name: 'operationM',
linkType: 0, linkType: 0,
url: '', url: '',
img: 'images/vsualized/home1.png', img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home1.png',
style: 'left: 21%;bottom:300px;', style: 'left: 21%;bottom:300px;',
imgstyle: 'width:100px;height:100px', imgstyle: 'width:100px;height:100px',
nameStyle: 'padding: 0 16px;margin: 16px 0;', nameStyle: 'padding: 0 16px;margin: 16px 0;',
@ -42,7 +42,7 @@ let homeList = reactive([
name: 'operation', name: 'operation',
linkType: 0, linkType: 0,
url: '', url: '',
img: 'images/vsualized/home2.png', img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home2.png',
style: 'left: 22%;bottom: 24px;', style: 'left: 22%;bottom: 24px;',
imgstyle: 'width:160px;height:160px', imgstyle: 'width:160px;height:160px',
nameStyle: 'padding: 0 22px;margin: 24px 0;border-radius: 16px;', nameStyle: 'padding: 0 22px;margin: 24px 0;border-radius: 16px;',
@ -53,7 +53,7 @@ let homeList = reactive([
name: 'dataV', name: 'dataV',
linkType: 1, linkType: 1,
url: '/new-digital-agriculture-screen/v2/land', url: '/new-digital-agriculture-screen/v2/land',
img: 'images/vsualized/home3.png', img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home3.png',
style: 'right: 23%;bottom:300px;', style: 'right: 23%;bottom:300px;',
imgstyle: 'width:100px;height:100px', imgstyle: 'width:100px;height:100px',
nameStyle: 'padding: 0 16px;margin: 16px 0;', nameStyle: 'padding: 0 16px;margin: 16px 0;',
@ -64,7 +64,7 @@ let homeList = reactive([
name: 'gov', name: 'gov',
linkType: 0, linkType: 0,
url: '', url: '',
img: 'images/vsualized/home4.png', img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home4.png',
style: 'right: 24%;bottom: 24px;', style: 'right: 24%;bottom: 24px;',
imgstyle: 'width:160px;height:160px', imgstyle: 'width:160px;height:160px',
nameStyle: 'padding: 0 22px;margin: 24px 0;border-radius: 16px;', nameStyle: 'padding: 0 22px;margin: 24px 0;border-radius: 16px;',