From 69ca66b91ffc05a3c5ec0fc65bf6e07e6226a190 Mon Sep 17 00:00:00 2001 From: linfeng Date: Wed, 2 Aug 2023 10:21:31 +0800 Subject: [PATCH 1/3] update login/weixin.vue desc --- .../pages/login/weixin.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue index 0a06c41..5f756a3 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue @@ -30,7 +30,7 @@ }, getSysInfo() { this.$H.get("system/miniConfig").then(res => { - if(res.code==0){ + if (res.code == 0) { this.logo = res.logo; } }) @@ -39,14 +39,13 @@ async login() { uni.showLoading({ mask: true, - title: '正在登陆' + title: '正在登录中' }); var that = this; let code = await this.getLoginCode(); that.$H.post('user/miniWxlogin', { code: code }).then(res => { - if (res.code === 0) { uni.setStorageSync("hasLogin", true); uni.setStorageSync("token", res.token); @@ -57,12 +56,7 @@ } uni.hideLoading(); }) - - - }, - - getUserInfo() { this.$H.get("user/userInfo").then(res => { uni.setStorageSync("userInfo", res.result) @@ -111,4 +105,4 @@ margin-top: 30rpx; text-align: center; } - + \ No newline at end of file From cbe591f6e5a4feb1e0472691886437a5fcb61f21 Mon Sep 17 00:00:00 2001 From: linfeng Date: Thu, 3 Aug 2023 10:33:41 +0800 Subject: [PATCH 2/3] =?UTF-8?q?update=20uniapp=E5=90=AF=E5=8A=A8=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/linfeng-community-uniapp-ky/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/README.md b/src/main/resources/static/linfeng-community-uniapp-ky/README.md index 7adcf7d..969602c 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/README.md +++ b/src/main/resources/static/linfeng-community-uniapp-ky/README.md @@ -2,10 +2,11 @@ 林风社交论坛用户端linfeng-community-uniapp-ky启动方式: -将项目导入HBuilderX编辑器,在项目根目录执行npm install安装依赖, - -然后执行`运行`—>`运行到浏览器` +将项目导入HBuilderX编辑器,初次使用请在项目根目录执行npm install安装依赖, +运行到H5端请执行`运行`—>`运行到浏览器` +运行到微信小程序需要注意,先在`mainfest.json`—>`微信小程序配置`,设置小程序APPID, +然后再`运行`—>`运行到小程序模拟器`—>`微信开发者工具` 注意:开源版适配H5和微信小程序端。 From f7303707a84490c72cd6c493d6583a35fc0e1253 Mon Sep 17 00:00:00 2001 From: linfeng Date: Fri, 4 Aug 2023 10:57:35 +0800 Subject: [PATCH 3/3] update --- .../resources/static/linfeng-community-uniapp-ky/pages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages.json b/src/main/resources/static/linfeng-community-uniapp-ky/pages.json index cf8d58e..536c587 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages.json +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages.json @@ -113,7 +113,7 @@ ], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "林风论坛", + "navigationBarTitleText": "林风社交论坛开源版", "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF" },