Merge branch 'master' of http://ngtools.cn:53000/ldeyun/NGTools
This commit is contained in:
commit
1386ffada0
@ -110,12 +110,12 @@ export default {
|
|||||||
ZBGJs: {
|
ZBGJs: {
|
||||||
title: "压缩因子表格",
|
title: "压缩因子表格",
|
||||||
url: "/pagesPackage/ngtools_Par/ZBgJs",
|
url: "/pagesPackage/ngtools_Par/ZBgJs",
|
||||||
icon:'zt'
|
icon:'zt.png'
|
||||||
},
|
},
|
||||||
srjBGJs: {
|
srjBGJs: {
|
||||||
title: "水容积表格",
|
title: "水容积表格",
|
||||||
url: "/pagesPackage/ngtools_CNG/srjBgJs",
|
url: "/pagesPackage/ngtools_CNG/srjBgJs",
|
||||||
icon:'vt'
|
icon:'vt.png'
|
||||||
}
|
}
|
||||||
// ,
|
// ,
|
||||||
// SqgyJs: {
|
// SqgyJs: {
|
||||||
|
2
main.js
2
main.js
@ -1,6 +1,6 @@
|
|||||||
import App from './App'
|
import App from './App'
|
||||||
import i18n from './lang/i18n'
|
import i18n from './lang/i18n'
|
||||||
Vue.prototype.staticDir = 'https://ngtools.cn/pic/static/';
|
Vue.prototype.staticDir = 'https://ngtools.cn:3000/pic/static/';
|
||||||
Vue.prototype.getStaticFilePath = function(url) {
|
Vue.prototype.getStaticFilePath = function(url) {
|
||||||
return Vue.prototype.staticDir + url;
|
return Vue.prototype.staticDir + url;
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="warp">
|
<view class="warp">
|
||||||
<uni-nav-bar dark :fixed="true" shadow background-color="#007AFF" status-bar title="天然气计算工具集" />
|
<uni-nav-bar dark :fixed="true" shadow background-color="#007AFF" status-bar title="天然气计算工具集" />
|
||||||
<view >
|
<view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 流量计算 -->
|
<!-- 流量计算 -->
|
||||||
<view class="section-box">
|
<view class="section-box">
|
||||||
<text class="decoration"></text>
|
<text class="decoration"></text>
|
||||||
@ -36,7 +36,8 @@
|
|||||||
<view class="Grid-Item" v-for="(item,index) in wxcsJsgridList" :key="index">
|
<view class="Grid-Item" v-for="(item,index) in wxcsJsgridList" :key="index">
|
||||||
<navigator :url="item.url">
|
<navigator :url="item.url">
|
||||||
<view class="GSimg">
|
<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>
|
||||||
<view class="GStitle">{{ item.type }}</view>
|
<view class="GStitle">{{ item.type }}</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
@ -52,7 +53,8 @@
|
|||||||
<view class="Grid-Item" v-for="(item,index) in CNGJsgridList" :key="index">
|
<view class="Grid-Item" v-for="(item,index) in CNGJsgridList" :key="index">
|
||||||
<navigator :url="item.url">
|
<navigator :url="item.url">
|
||||||
<view class="GSimg">
|
<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>
|
||||||
<view class="GStitle">{{ item.type }}</view>
|
<view class="GStitle">{{ item.type }}</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
@ -68,7 +70,8 @@
|
|||||||
<view class="Grid-Item" v-for="(item,index) in QtJsgridList" :key="index">
|
<view class="Grid-Item" v-for="(item,index) in QtJsgridList" :key="index">
|
||||||
<navigator :url="item.url">
|
<navigator :url="item.url">
|
||||||
<view class="GSimg">
|
<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>
|
||||||
<view class="GStitle">{{ item.type }}</view>
|
<view class="GStitle">{{ item.type }}</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
@ -173,15 +176,18 @@
|
|||||||
gridList = []
|
gridList = []
|
||||||
gridList.push({
|
gridList.push({
|
||||||
"type": this.$t('wxcsJs.ysyzJs.title'),
|
"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({
|
gridList.push({
|
||||||
"type": this.$t('wxcsJs.rzJs.title'),
|
"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({
|
gridList.push({
|
||||||
"type": this.$t('wxcsJs.qtJs.title'),
|
"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
|
this.wxcsJsgridList = gridList
|
||||||
|
|
||||||
@ -189,26 +195,31 @@
|
|||||||
|
|
||||||
gridList.push({
|
gridList.push({
|
||||||
"type": this.$t('CNGJs.srjJs.title'),
|
"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({
|
gridList.push({
|
||||||
"type": this.$t('CNGJs.zxcJs.title'),
|
"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({
|
gridList.push({
|
||||||
"type": this.$t('CNGJs.LNGQhJs.title'),
|
"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
|
this.CNGJsgridList = gridList
|
||||||
gridList = []
|
gridList = []
|
||||||
|
|
||||||
gridList.push({
|
gridList.push({
|
||||||
"type": this.$t('QtJs.ZBGJs.title'),
|
"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({
|
gridList.push({
|
||||||
"type": this.$t('QtJs.srjBGJs.title'),
|
"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({
|
// gridList.push({
|
||||||
// "type": this.$t('QtJs.SqgyJs.title'),
|
// "type": this.$t('QtJs.SqgyJs.title'),
|
||||||
@ -262,7 +273,7 @@
|
|||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* #endif */
|
/* #endif */
|
||||||
|
|
||||||
@ -270,7 +281,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: left;
|
align-items: left;
|
||||||
padding-left : calc(10vw /2);
|
padding-left: calc(10vw /2);
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
@ -296,7 +307,7 @@
|
|||||||
|
|
||||||
/* #endif */
|
/* #endif */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.Grid {
|
.Grid {
|
||||||
width: 90vw;
|
width: 90vw;
|
||||||
@ -305,7 +316,7 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-content: space-between;
|
align-content: space-between;
|
||||||
padding-left : calc(10vw /2);
|
padding-left: calc(10vw /2);
|
||||||
column-gap: calc(25% / 3);
|
column-gap: calc(25% / 3);
|
||||||
row-gap: 5rpx;
|
row-gap: 5rpx;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
@ -329,6 +340,7 @@
|
|||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.GStitle {
|
.GStitle {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
|
@ -127,11 +127,13 @@
|
|||||||
// }
|
// }
|
||||||
// // #endif
|
// // #endif
|
||||||
],
|
],
|
||||||
[{
|
[
|
||||||
"title": this.$t('mine.feedback'),
|
// {
|
||||||
"to": '/uni_modules/uni-feedback/pages/opendb-feedback/opendb-feedback',
|
// "title": this.$t('mine.feedback'),
|
||||||
"icon": "help"
|
// "to": '/uni_modules/uni-feedback/pages/opendb-feedback/opendb-feedback',
|
||||||
}, {
|
// "icon": "help"
|
||||||
|
// },
|
||||||
|
{
|
||||||
"title": this.$t('mine.settings'),
|
"title": this.$t('mine.settings'),
|
||||||
"to": '/pagesPackage/ucenter/settings/settings',
|
"to": '/pagesPackage/ucenter/settings/settings',
|
||||||
"icon": "gear"
|
"icon": "gear"
|
||||||
|
Loading…
Reference in New Issue
Block a user