123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- {
- "name" : "能联全球",
- "appid" : "__UNI__E1538E0", // 自行更换uniapp appid 可登录查看uniapp提供的用户统计 https://tongji.dcloud.net.cn/
- "description" : "发展合作平台",
- "versionName" : "1.3.0",
- "versionCode" : 133,
- "transformPx" : false,
- "networkTimeout" : {
- "request" : 12000, // 自定义配置request请求超时时间为12秒
- "connectSocket" : 60000, // 官方默认60秒
- "uploadFile" : 60000, // 官方默认60秒
- "downloadFile" : 60000 // 官方默认60秒
- },
- "app-plus" : {
- /* 5+App特有相关 */
- "usingComponents" : true,
- "splashscreen" : {
- "alwaysShowBeforeRender" : true,
- "waiting" : true,
- "autoclose" : true,
- "delay" : 0
- },
- "modules" : {
- "Share" : {},
- "Push" : {},
- "Camera" : {}
- },
- "compatible" : {
- "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
- },
- "privacy" : {
- "prompt" : "template",
- "template" : {
- //prompt取值为template时有效,用于配置模板提示框上显示的内容
- "title" : "服务协议和隐私政策",
- "message" : "尊敬的用户,欢迎您注册为此应用程序的用户。在注册前请您仔细阅读<a href='https://8.8.20.112:19001/#/pages/profile/profileSetUp/appUser/userAgreementZH'>用户协议</a>和<a href='https://8.8.20.112:19001/#/pages/profile/profileSetUp/appUser/privacyPolicyZH'>隐私政策</a>,了解我们的应用程序使用规则,您个人信息的处理以及应用程序权限。<br/>经您确认后,此用户协议和隐私政策即在您和应用程序之间具有法律效力。请务必在注册前认真阅读全部服务协议内容。如有任何疑问,可向本应用客服咨询。",
- "buttonAccept" : "同意", //继续下一步
- "buttonRefuse" : "暂不使用" //退出下载
- }
- },
- /* 模块配置 */
- "distribute" : {
- /* 应用发布信息 */
- "android" : {
- /* android打包配置 */
- "permissions" : [
- "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>"
- ],
- "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
- "autoSdkPermissions" : false
- },
- "ios" : {
- "privacyDescription" : {
- "NSPhotoLibraryUsageDescription" : "请点击\"好\",以允许访问,若不允许,你将无法使用保存图片到相册等功能",
- "NSPhotoLibraryAddUsageDescription" : "请点击\"好\",以允许访问,若不允许,你将无法使用保存图片到相册等功能",
- "NSCameraUsageDescription" : "",
- "NSMicrophoneUsageDescription" : ""
- },
- "idfa" : false,
- "dSYMs" : false
- },
- /* ios打包配置 */
- "sdkConfigs" : {
- "ad" : {},
- "payment" : {},
- "push" : {},
- "share" : {
- "weixin" : {
- "appid" : "wxdef433f92edcb388",
- "UniversalLinks" : "https://geidcp.com/ulink/"
- }
- },
- "oauth" : {}
- },
- "icons" : {
- "android" : {
- "hdpi" : "unpackage/res/icons/72x72.png",
- "xhdpi" : "unpackage/res/icons/96x96.png",
- "xxhdpi" : "unpackage/res/icons/144x144.png",
- "xxxhdpi" : "unpackage/res/icons/192x192.png"
- },
- "ios" : {
- "appstore" : "unpackage/res/icons/1024x1024.png",
- "ipad" : {
- "app" : "unpackage/res/icons/76x76.png",
- "app@2x" : "unpackage/res/icons/152x152.png",
- "notification" : "unpackage/res/icons/20x20.png",
- "notification@2x" : "unpackage/res/icons/40x40.png",
- "proapp@2x" : "unpackage/res/icons/167x167.png",
- "settings" : "unpackage/res/icons/29x29.png",
- "settings@2x" : "unpackage/res/icons/58x58.png",
- "spotlight" : "unpackage/res/icons/40x40.png",
- "spotlight@2x" : "unpackage/res/icons/80x80.png"
- },
- "iphone" : {
- "app@2x" : "unpackage/res/icons/120x120.png",
- "app@3x" : "unpackage/res/icons/180x180.png",
- "notification@2x" : "unpackage/res/icons/40x40.png",
- "notification@3x" : "unpackage/res/icons/60x60.png",
- "settings@2x" : "unpackage/res/icons/58x58.png",
- "settings@3x" : "unpackage/res/icons/87x87.png",
- "spotlight@2x" : "unpackage/res/icons/80x80.png",
- "spotlight@3x" : "unpackage/res/icons/120x120.png"
- }
- }
- },
- "splashscreen" : {
- "android" : {
- "hdpi" : "C:/Users/Administrator/Desktop/安卓启动页/用所选项目新建的文件夹/480_762.png",
- "xhdpi" : "C:/Users/Administrator/Desktop/安卓启动页/用所选项目新建的文件夹/720_1242.png",
- "xxhdpi" : "C:/Users/Administrator/Desktop/安卓启动页/用所选项目新建的文件夹/1080_1882.png"
- },
- "ios" : {
- "iphone" : {
- "portrait-896h@3x" : "",
- "landscape-896h@3x" : "",
- "portrait-896h@2x" : "",
- "landscape-896h@2x" : "",
- "iphonex" : "",
- "iphonexl" : "",
- "retina55" : "",
- "retina55l" : "",
- "retina47" : "",
- "retina47l" : "",
- "retina40l" : "",
- "retina40" : "",
- "retina35" : ""
- },
- "ipad" : {
- "portrait-1366h@2x" : "",
- "landscape-1366h@2x" : "",
- "portrait-1194h@2" : "/Users/stav/Downloads/开屏图/ipad.png",
- "landscape-1194h@2x" : "",
- "portrait-1112h@2x" : "",
- "landscape-1112h@2x" : "",
- "portrait-retina7" : "",
- "landscape-retina7" : "",
- "portrait7" : "",
- "landscape7" : "",
- "portrait-1194h@2x" : ""
- }
- },
- "androidStyle" : "default",
- "iosStyle" : "common"
- }
- },
- "uniStatistics" : {
- "enable" : true
- },
- "locales" : {
- "en" : {
- "name" : "WEI-GEIDCO",
- "description" : "World of Energy Interconnection",
- "android" : {},
- "ios" : {}
- },
- "zh" : {
- "name" : "能联全球",
- "description" : "发展合作平台",
- "android" : {},
- "ios" : {}
- }
- }
- },
- // "nvueCompiler": "uni-app"
- // "nvue": {
- // "flex-direction": "row"
- // }
- "uni-app" : {
- "scripts" : {
- "h5-weixin" : {
- "title" : "微信服务号",
- "BROWSER" : "Chrome",
- "env" : {
- "UNI_PLATFORM" : "h5"
- },
- "define" : {
- "H5-WEIXIN" : true
- }
- }
- }
- },
- /* SDK配置 */
- "quickapp" : {},
- /* 快应用特有相关 */
- "mp-weixin" : {
- /* 小程序特有相关 */
- "usingComponents" : true,
- "appid" : "",
- // 这里添加微信小程序appid
- "setting" : {
- "urlCheck" : true,
- "minified" : true,
- "postcss" : true,
- "es6" : true
- },
- "permission" : {},
- "plugins" : {},
- // 根据具体情况填写version(版本号)和provider(插件APPID)
- // "live-player-plugin" : {
- // "version" : "1.0.16",
- // "provider" : "wx2b03c6e691cd7370"
- // }
- "uniStatistics" : {
- "enable" : true
- }
- },
- //页面js加载超时时间(超时后展示 error 对应的组件)
- "mp-qq" : {
- "setting" : {
- "minified" : false,
- "urlCheck" : false
- },
- "appid" : "", // 这里添加QQ小程序 appid
- "uniStatistics" : {
- "enable" : true
- }
- },
- "uniStatistics" : {
- "enable" : true
- },
- "mp-alipay" : {
- "uniStatistics" : {
- "enable" : true
- }
- },
- "mp-baidu" : {
- "uniStatistics" : {
- "enable" : true
- }
- },
- "mp-toutiao" : {
- "uniStatistics" : {
- "enable" : true
- }
- },
- "h5" : {
- "router" : {
- "mode" : "hash",
- "base" : ""
- },
- "title" : "全球能源互联网",
- "devServer" : {
- //关闭ip检查 (用于会议签到机接口调用)
- "disableHostCheck" : true,
- // 设置代理
- "hot" : true, //热加载
- "host" : "0.0.0.0", //ip地址
- "port" : 8080, //端口
- "https" : false, //false关闭https,true为开启
- "open" : true, //自动打开浏览器
- "proxy" : {
- "/api" : {
- "target" : "http://m.geidcp.com/", //手机调试
- // "target" : "http://172.16.1.159:7000/", //手机调试
- "changeOrigin" : true,
- "pathRewrite" : {
- "^/api" : "/" //这里理解成用‘/api’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
- }
- }
- }
- },
- "optimization" : {
- "treeShaking" : {
- "enable" : false
- }
- },
- "domain" : "8.8.20.112:19001"
- }
- }
- // "domain" : "10.0.1.159:9110"
- /* SDK配置 */
|