diff --git a/CoreCms.Net.Uni-App/CoreShop/.hbuilderx/launch.json b/CoreCms.Net.Uni-App/CoreShop/.hbuilderx/launch.json
index 81f13f4f..ee5be774 100644
--- a/CoreCms.Net.Uni-App/CoreShop/.hbuilderx/launch.json
+++ b/CoreCms.Net.Uni-App/CoreShop/.hbuilderx/launch.json
@@ -2,6 +2,10 @@
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
+ "app-plus" :
+ {
+ "launchtype" : "local"
+ },
"default" :
{
"launchtype" : "local"
diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-button/coreshop-button.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-button/coreshop-button.vue
index 371e8807..f92058ca 100644
--- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-button/coreshop-button.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-button/coreshop-button.vue
@@ -1,6 +1,6 @@
diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue
index 5ba46e20..c6bf2355 100644
--- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-fixed-bottom-button/coreshop-fixed-bottom-button.vue
@@ -1,6 +1,14 @@
+
+
+
+
+
+
+
+
@@ -25,7 +33,7 @@
justify-content: space-between;
padding-bottom: calc(env(safe-area-inset-bottom) / 2);
- .btn {
+ .btn {
width: calc(100% - 40rpx);
margin: 20rpx;
}
diff --git a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue
index f881ed4e..0415482c 100644
--- a/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/components/coreshop-login-modal/coreshop-login-modal.vue
@@ -35,6 +35,8 @@
+
确定授权
-
+
@@ -57,7 +59,7 @@
import { useShopConfigStore, useUserInfoStore } from '@/core/store';
import type { Response } from '@/core/models';
import { Invitecode, UserToken } from '@/core/consts';
- import { queryLoginPhoneNumber, queryLogin, queryAliPayAppAuthTokenBYCode ,queryDecryptPhoneNumberByAli} from '@/core/api';
+ import { queryLoginPhoneNumber, queryLogin, queryAliPayAppAuthTokenBYCode, queryDecryptPhoneNumberByAli } from '@/core/api';
import { loginGetCode, handleShowToast, handleRouteNavigateTo } from '@/core/utils';
/** 获取项目配置 */
@@ -86,7 +88,13 @@
watch(() => props.show, (newVal : boolean) => {
if (newVal) {
+ // #ifdef MP-ALIPAY || MP-WEIXIN
loginPopup.value.open();
+ // #endif
+
+ // #ifndef MP-WEIXIN || MP-ALIPAY
+ handleRouteNavigateTo(`/pages/login/login`)
+ // #endif
} else {
loginPopup.value.close();
}
diff --git a/CoreCms.Net.Uni-App/CoreShop/core/hooks/systemInfo.ts b/CoreCms.Net.Uni-App/CoreShop/core/hooks/systemInfo.ts
index a303386a..bc9c363e 100644
--- a/CoreCms.Net.Uni-App/CoreShop/core/hooks/systemInfo.ts
+++ b/CoreCms.Net.Uni-App/CoreShop/core/hooks/systemInfo.ts
@@ -12,11 +12,15 @@ export const useSystemInfo = () => {
});
- onMounted(async () => {
- const menuButton = uni.getMenuButtonBoundingClientRect();
- const systemInfo = await uni.getSystemInfo();
+ onMounted(() => {
+ const systemInfo = uni.getSystemInfoSync();
state.systemInfo = systemInfo;
+
+ // #ifndef APP
+ const menuButton = uni.getMenuButtonBoundingClientRect();
state.menuButtonHeight = menuButton.height + (menuButton.top - systemInfo.statusBarHeight) * 2;
+ // #endif
+
state.statusBarHeight = systemInfo.statusBarHeight + state.menuButtonHeight;
})
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.scss b/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.scss
index f477b891..66002fed 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.scss
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.scss
@@ -3,8 +3,7 @@
position: relative;
display: flex;
align-items: center;
- justify-content: space-between;
- max-width: 500rpx;
+ justify-content: space-between;
.page-name {
font-size: 32rpx;
margin-right: 20rpx;
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.vue b/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.vue
index 38fb3232..2e85f21e 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/classify/classify.vue
@@ -5,16 +5,22 @@
-
- 分类
-
-
- 搜索
-
-
-
+
+
+
+
+
+
+ 分类
+
+
+ 搜索
+
+
+
@@ -38,7 +44,7 @@