数据大屏静态资源优化
Before Width: | Height: | Size: 311 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 347 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 76 KiB |
@ -40,7 +40,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
return;
|
||||
}
|
||||
next();
|
||||
next();
|
||||
}
|
||||
} catch (error) {
|
||||
next(`/login?redirect=${to.path}`);
|
||||
|
@ -5,7 +5,7 @@
|
||||
<div class="name" :style="n.nameStyle">
|
||||
<span :style="n.spanStyle">{{ n.title || '--' }}</span>
|
||||
</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>
|
||||
</template>
|
||||
</div>
|
||||
@ -31,7 +31,7 @@ let homeList = reactive([
|
||||
name: 'operationM',
|
||||
linkType: 0,
|
||||
url: '',
|
||||
img: 'images/vsualized/home1.png',
|
||||
img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home1.png',
|
||||
style: 'left: 21%;bottom:300px;',
|
||||
imgstyle: 'width:100px;height:100px',
|
||||
nameStyle: 'padding: 0 16px;margin: 16px 0;',
|
||||
@ -42,7 +42,7 @@ let homeList = reactive([
|
||||
name: 'operation',
|
||||
linkType: 0,
|
||||
url: '',
|
||||
img: 'images/vsualized/home2.png',
|
||||
img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home2.png',
|
||||
style: 'left: 22%;bottom: 24px;',
|
||||
imgstyle: 'width:160px;height:160px',
|
||||
nameStyle: 'padding: 0 22px;margin: 24px 0;border-radius: 16px;',
|
||||
@ -53,7 +53,7 @@ let homeList = reactive([
|
||||
name: 'dataV',
|
||||
linkType: 1,
|
||||
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;',
|
||||
imgstyle: 'width:100px;height:100px',
|
||||
nameStyle: 'padding: 0 16px;margin: 16px 0;',
|
||||
@ -64,7 +64,7 @@ let homeList = reactive([
|
||||
name: 'gov',
|
||||
linkType: 0,
|
||||
url: '',
|
||||
img: 'images/vsualized/home4.png',
|
||||
img: 'https://gov-cloud.oss-cn-chengdu.aliyuncs.com/frontend/zhengwu/home4.png',
|
||||
style: 'right: 24%;bottom: 24px;',
|
||||
imgstyle: 'width:160px;height:160px',
|
||||
nameStyle: 'padding: 0 22px;margin: 24px 0;border-radius: 16px;',
|
||||
|