From 72c12a79fd24b2bf068c2bb2ec41625cde2a8fea Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Fri, 9 Jan 2026 17:18:43 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E5=BF=AB=E5=BA=94=E7=94=A8=E7=9A=84=E5=8F=91=E8=A1=8C=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 39cc2b5..b19f0c0 100644 --- a/readme.md +++ b/readme.md @@ -114,8 +114,61 @@ export default config; ### 快应用发布 1. 使用HBuilderX打开项目 -2. 点击项目中unpackage下面第六个【⚙】manifest.jion--->web配置--->运行的基础路径--->/hwappx/改编号/(编号可以在.local.config.js中找到需要的编号----.local.config.js在【⚙】manifest.jion上面第4个) -3. 选择菜单栏 "发行" ->自定义发行--->H5-xcx.aigc-quickapp.com "快应用",进行发布构建 -4. 在电脑本地文件夹里找到unpackage--->dist--->build--->h5中h5-xcx.aigc-quickapp.com--->进行手动打包,例如:mp-weixin-2025-10-31-1761881054836.zip(可以写上id) +2. 点击项目中【⚙】manifest.jion--->web配置--->运行的基础路径--->/hwappx/改编号/ +"h5" : { + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "TUHBZ-CNWKU-UHAVP-GZQ26-HNZFO-3YBF4" + } + } + }, + "router" : { + "mode" : "history", + "base" : "/hwappx/2811/" + }, + +(编号可以在.local.config.js中找到需要的编号) + +const localDevConfig = ({ + '460': { // 制氧设备平台 + uniacid: 460, + domain: 'https://xcx30.5g-quickapp.com/', + }, + '576-xcx30.5g': { // 活性石灰装备 + uniacid: 576, + domain: 'https://xcx30.5g-quickapp.com/', + }, + '2285': { // 数码喷墨墨水 + uniacid: 2285, + domain: 'https://xcx.aigc-quickapp.com/', + }, + '2811': { // POCT检测分析平台 + uniacid: 2811, + domain: 'https://xcx6.aigc-quickapp.com/', + }, + '2724': { // 生物菌肥 + uniacid: 2724, + domain: 'https://xcx.aigc-quickapp.com/', + }, + '2505': { // 煤矿钻机 + uniacid: 2505, + domain: 'https://xcx.aigc-quickapp.com/', + }, + '2777': { // 养老服务 + uniacid: 2777, + domain: 'https://xcx.aigc-quickapp.com/', + }, + '1': { // 开发平台 + uniacid: 1, + domain: 'https://dev.aigc-quickapp.com', + }, + '1-test': { // 测试平台 + uniacid: 1, + domain: 'https://test.aigc-quickapp.com', + }, +})['2811']; // 选择要使用的环境配置 +3. 选择菜单栏 "发行" ->自定义发行--->H5-xcx.aigc-quickapp.com "快应用",网站标题为"快应用" 域名为xcx.aigc-quickapp.com 进行发布构建 +4. 在电脑本地文件夹里找到unpackage--->dist--->build--->h5中h5-xcx.aigc-quickapp.com--->进行手动打包,例如:static.zip(可以写上id 例如 POCT检测分析平台-定制化-2026-01-06.zip) 5. 然后将压缩包发给开发定制客户技术人员, 6. 使用快应用开发者工具打开发布后的代码进行上传发布 \ No newline at end of file