修改图片资源地址端口;

修改ucenter部分内容页面路径;
调整首页样式
修改图标文件地址及名称
This commit is contained in:
ldeyun 2024-10-03 23:43:31 +08:00
parent 12e6f95164
commit 69c5046983
2 changed files with 33 additions and 21 deletions

View File

@ -110,12 +110,12 @@ export default {
ZBGJs: {
title: "压缩因子表格",
url: "/pagesPackage/ngtools_Par/ZBgJs",
icon:'zt'
icon:'zt.png'
},
srjBGJs: {
title: "水容积表格",
url: "/pagesPackage/ngtools_CNG/srjBgJs",
icon:'vt'
icon:'vt.png'
}
// ,
// SqgyJs: {

View File

@ -36,7 +36,8 @@
<view class="Grid-Item" v-for="(item,index) in wxcsJsgridList" :key="index">
<navigator :url="item.url">
<view class="GSimg">
<image class="Image" :src="getStaticFilePath('/logomain.png')" mode="aspectFit"></image>
<image class="Image" :src="getStaticFilePath('mianicon/'+item.icon)" mode="aspectFit">
</image>
</view>
<view class="GStitle">{{ item.type }}</view>
</navigator>
@ -52,7 +53,8 @@
<view class="Grid-Item" v-for="(item,index) in CNGJsgridList" :key="index">
<navigator :url="item.url">
<view class="GSimg">
<image class="Image" :src="getStaticFilePath('/logomain.png')" mode="aspectFill"></image>
<image class="Image" :src="getStaticFilePath('mianicon/'+item.icon)" mode="aspectFill">
</image>
</view>
<view class="GStitle">{{ item.type }}</view>
</navigator>
@ -68,7 +70,8 @@
<view class="Grid-Item" v-for="(item,index) in QtJsgridList" :key="index">
<navigator :url="item.url">
<view class="GSimg">
<image class="Image" :src="getStaticFilePath('/logomain.png')" mode="aspectFill"></image>
<image class="Image" :src="getStaticFilePath('mianicon/'+item.icon)" mode="aspectFill">
</image>
</view>
<view class="GStitle">{{ item.type }}</view>
</navigator>
@ -173,15 +176,18 @@
gridList = []
gridList.push({
"type": this.$t('wxcsJs.ysyzJs.title'),
"url": this.$t('wxcsJs.ysyzJs.url')
"url": this.$t('wxcsJs.ysyzJs.url'),
"icon": this.$t('wxcsJs.ysyzJs.icon')
})
gridList.push({
"type": this.$t('wxcsJs.rzJs.title'),
"url": this.$t('wxcsJs.rzJs.url')
"url": this.$t('wxcsJs.rzJs.url'),
"icon": this.$t('wxcsJs.rzJs.icon')
})
gridList.push({
"type": this.$t('wxcsJs.qtJs.title'),
"url": this.$t('wxcsJs.qtJs.url')
"url": this.$t('wxcsJs.qtJs.url'),
"icon": this.$t('wxcsJs.qtJs.icon')
})
this.wxcsJsgridList = gridList
@ -189,26 +195,31 @@
gridList.push({
"type": this.$t('CNGJs.srjJs.title'),
"url": this.$t('CNGJs.srjJs.url')
"url": this.$t('CNGJs.srjJs.url'),
"icon": this.$t('CNGJs.srjJs.icon')
})
gridList.push({
"type": this.$t('CNGJs.zxcJs.title'),
"url": this.$t('CNGJs.zxcJs.url')
"url": this.$t('CNGJs.zxcJs.url'),
"icon": this.$t('CNGJs.zxcJs.icon')
})
gridList.push({
"type": this.$t('CNGJs.LNGQhJs.title'),
"url": this.$t('CNGJs.LNGQhJs.url')
"url": this.$t('CNGJs.LNGQhJs.url'),
"icon": this.$t('CNGJs.LNGQhJs.icon')
})
this.CNGJsgridList = gridList
gridList = []
gridList.push({
"type": this.$t('QtJs.ZBGJs.title'),
"url": this.$t('QtJs.ZBGJs.url')
"url": this.$t('QtJs.ZBGJs.url'),
"icon": this.$t('QtJs.ZBGJs.icon')
})
gridList.push({
"type": this.$t('QtJs.srjBGJs.title'),
"url": this.$t('QtJs.srjBGJs.url')
"url": this.$t('QtJs.srjBGJs.url'),
"icon": this.$t('QtJs.srjBGJs.icon')
})
// gridList.push({
// "type": this.$t('QtJs.SqgyJs.title'),
@ -329,6 +340,7 @@
height: 100rpx;
}
}
.GStitle {
width: 100%;
height: 34rpx;