NGTools/uni-starter.config.js
liaody 3d90da2569 pages.json 分文件配置
uni-module 更新升级
2024-10-09 22:44:03 +08:00

49 lines
1.8 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//这是应用的配置页面App.vue挂载到getApp().globalData.config
export default {
"h5": {
"url": "https://uni-starter.dcloud.net.cn", // 前端网页托管的域名
// 在h5端全局悬浮引导用户下载app的功能 更多自定义要求在/common/openApp.js中修改
"openApp": { //如不需要本功能直接移除本节点即可
// //点击悬浮下载栏后打开的网页链接
// "openUrl": '/#/pages/ucenter/invite/invite',
// //左侧显示的应用名称
"appname": '天然气计算',
// //应用的图标
"logo": "https://ngtools.cn:3000/pic/static/logomain.png",
}
},
"mp": {
"weixin": {
//微信小程序原始id微信小程序分享时
"id": "wx9f9b7d747d261686"
}
},
//关于应用
"about": {
//应用名称
"appName": "天然气计算",
//应用logo
"logo": "https://ngtools.cn:3000/pic/static/logomain.png",
//公司名称
"company": "妍杰丽云工作室",
//口号
"slogan": "天然气工业应用计算工具集",
//应用的链接,用于分享到第三方平台和生成关于我们页的二维码
"download": "https://itunes.apple.com/cn/app/hello-uni-app/id1417078253?mt=8",
//version
"version":"1.0.0" //用于非app端显示app端自动获取
},
"download":{ //用于生成二合一下载页面
"ios":"https://itunes.apple.com/cn/app/hello-uni-app/id1417078253?mt=8",
"android":"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-97fca9f2-41f6-449f-a35e-3f135d4c3875/6d754387-a6c3-48ed-8ad2-e8f39b40fc01.apk"
},
//用于打开应用市场评分界面
"marketId":{
"ios":"",
"android":""
},
//配置多语言国际化。i18n为英文单词 internationalization的首末字符i和n18为中间的字符数 是“国际化”的简称
"i18n":{
"enable":false //默认关闭国际化。如果你想使用国际化相关功能请改为true
}
}