From def37e5080f47f0b586df1942ffcea7d84d3ab41 Mon Sep 17 00:00:00 2001 From: kola-web Date: Tue, 5 Aug 2025 17:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 150 ++++++++++++++++++++++++++-------------------------- src/app.ts | 15 +++--- 2 files changed, 82 insertions(+), 83 deletions(-) diff --git a/project.config.json b/project.config.json index 5634447..f6772f8 100644 --- a/project.config.json +++ b/project.config.json @@ -1,75 +1,75 @@ -{ - "description": "项目配置文件", - "miniprogramRoot": "src/", - "compileType": "miniprogram", - "setting": { - "useCompilerPlugins": [ - "typescript", - "sass" - ], - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" - }, - "coverView": false, - "postcss": false, - "minified": false, - "enhance": true, - "showShadowRootInWxmlPanel": false, - "packNpmManually": true, - "packNpmRelationList": [ - { - "packageJsonPath": "package.json", - "miniprogramNpmDistDir": "./src" - } - ], - "ignoreUploadUnusedFiles": true, - "compileHotReLoad": false, - "skylineRenderEnable": true, - "es6": true, - "compileWorklet": false, - "uglifyFileName": false, - "uploadWithSourceMap": true, - "minifyWXSS": true, - "minifyWXML": true, - "localPlugins": false, - "disableUseStrict": false, - "condition": false, - "swc": false, - "disableSWC": true - }, - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": {}, - "srcMiniprogramRoot": "src/", - "editorSetting": { - "tabIndent": "insertSpaces", - "tabSize": 2 - }, - "libVersion": "3.7.7", - "ignore": [], - "packOptions": { - "ignore": [ - { - "value": "/images/*.*", - "type": "glob" - }, - { - "value": "/images/**/*.*", - "type": "glob" - }, - { - "value": "/images/**/**/*.*", - "type": "glob" - } - ], - "include": [ - { - "value": "/images/tabbar/*.*", - "type": "glob" - } - ] - }, - "appid": "wx71ac9c27c3c3e3f4" -} \ No newline at end of file +{ + "description": "项目配置文件", + "miniprogramRoot": "src/", + "compileType": "miniprogram", + "setting": { + "useCompilerPlugins": [ + "typescript", + "sass" + ], + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + }, + "coverView": false, + "postcss": false, + "minified": false, + "enhance": true, + "showShadowRootInWxmlPanel": false, + "packNpmManually": true, + "packNpmRelationList": [ + { + "packageJsonPath": "package.json", + "miniprogramNpmDistDir": "./src" + } + ], + "ignoreUploadUnusedFiles": true, + "compileHotReLoad": false, + "skylineRenderEnable": true, + "es6": true, + "compileWorklet": false, + "uglifyFileName": false, + "uploadWithSourceMap": true, + "minifyWXSS": true, + "minifyWXML": true, + "localPlugins": false, + "disableUseStrict": false, + "condition": false, + "swc": false, + "disableSWC": true + }, + "simulatorType": "wechat", + "simulatorPluginLibVersion": {}, + "condition": {}, + "srcMiniprogramRoot": "src/", + "editorSetting": { + "tabIndent": "insertSpaces", + "tabSize": 2 + }, + "libVersion": "3.7.7", + "ignore": [], + "packOptions": { + "ignore": [ + { + "value": "/images/*.*", + "type": "glob" + }, + { + "value": "/images/**/*.*", + "type": "glob" + }, + { + "value": "/images/**/**/*.*", + "type": "glob" + } + ], + "include": [ + { + "value": "/images/tabbar/*.*", + "type": "glob" + } + ] + }, + "appid": "wxf9ce8010f1ad24aa" +} diff --git a/src/app.ts b/src/app.ts index eb91baa..0526c95 100644 --- a/src/app.ts +++ b/src/app.ts @@ -16,15 +16,15 @@ App({ // 测试号 wx2b0bb13edf717c1d // dev // appid:wxf9ce8010f1ad24aa - // url: 'https://m.xd.hbraas.com', - // upFileUrl: 'https://m.xd.hbraas.com/', - // imageUrl: 'https://m.xd.hbraas.com/xd/', + url: 'https://m.xd.hbraas.com', + upFileUrl: 'https://m.xd.hbraas.com/', + imageUrl: 'https://m.xd.hbraas.com/xd/', // pro // appid:wx71ac9c27c3c3e3f4 - url: 'https://m.xd.hbsaas.com', - upFileUrl: 'https://m.xd.hbsaas.com/', - imageUrl: 'https://m.xd.hbsaas.com/api/xd/', + // url: 'https://m.xd.hbsaas.com', + // upFileUrl: 'https://m.xd.hbsaas.com/', + // imageUrl: 'https://m.xd.hbsaas.com/api/xd/', loginState: '', isLogin: 0, @@ -42,7 +42,6 @@ App({ wx.login({ success: (res) => { - console.log(res); wx.ajax({ method: 'GET', url: '?r=xd/user/init-login', @@ -122,7 +121,7 @@ App({ wx.ajax({ method: 'POST', url: '?r=xd/doctor/index/operate-action-submit', - data: data, + data, loading: false, showMsg: false, });