diff --git a/pages.json b/pages.json index 3901c24..5454509 100644 --- a/pages.json +++ b/pages.json @@ -3,16 +3,22 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "lazyCodeLoading": "requiredComponents", - "entryPagePath": "pages/login/index", // 专门指定登录页为初始页 + "entryPagePath": "pages/nearbystores/index", // 专门指定登录页为初始页 "pages": [{ - "path": "pages/nearbystores/index", - + "path": "pages/nearbystores/index", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom" } },{ + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + },{ "path": "pages/index/index", "style": { "navigationBarTitleText": "首页", @@ -21,14 +27,8 @@ "navigationBarTextStyle": "#FFFFFF", "navigationStyle": "custom" } - },{ - "path": "pages/nearbystores/index", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - },{ + }, + { "path": "pages/my", "style": { "navigationBarTitleText": "", diff --git a/pages/institutionalStructure/institutionalStructure.vue b/pages/institutionalStructure/institutionalStructure.vue index 9b3660e..56d7c5c 100644 --- a/pages/institutionalStructure/institutionalStructure.vue +++ b/pages/institutionalStructure/institutionalStructure.vue @@ -216,7 +216,7 @@ page { } .subRow view{ padding-right: 20px; - font-size: 18px; + font-size: 16px; } .topLeft{ font-size: 21px; @@ -224,7 +224,7 @@ page { color: #522510; } .bottomRight{ - font-size: 18px; + font-size: 16px; font-weight: 1000; color: #522510; } diff --git a/pages/nearbystores/index.vue b/pages/nearbystores/index.vue index 65ccbc9..453df16 100644 --- a/pages/nearbystores/index.vue +++ b/pages/nearbystores/index.vue @@ -13,11 +13,11 @@ - + - + @@ -170,6 +170,25 @@ import { navigateToPage } from "../../utils/router.js"; page { background-color: #fff; } + .page { + /* H5环境下的优化 */ + /* #ifdef H5 */ + position: relative; + z-index: 1; + /* #endif */ + } + .bj{ + width: 100%; + height: 100vh; + position: fixed; + top: 0; + left: 0; + z-index: -1; + /* H5环境下的背景优化 */ + /* #ifdef H5 */ + object-fit: cover; + /* #endif */ + } .bot{ position: fixed; left: 50%; @@ -289,6 +308,16 @@ import { navigateToPage } from "../../utils/router.js"; padding: 0 30rpx; box-sizing: border-box; justify-content: space-between; + /* H5环境下的透明度和触摸优化 */ + /* #ifdef H5 */ + background: transparent; + pointer-events: none; + /* #endif */ + .tubiao-item { + /* #ifdef H5 */ + pointer-events: auto; + /* #endif */ + } image{ width: 82rpx; height: 82rpx; @@ -304,6 +333,11 @@ import { navigateToPage } from "../../utils/router.js"; display: flex; align-items: center; white-space: nowrap; + /* H5环境下的透明度和触摸优化 */ + /* #ifdef H5 */ + background: transparent; + pointer-events: none; + /* #endif */ .ggimg { width: 32rpx; height: 32rpx; @@ -326,14 +360,6 @@ import { navigateToPage } from "../../utils/router.js"; color: #522510; } } - .bj{ - width: 100%; - height: 100vh; - position: fixed; - top: 0; - left: 0; - z-index: -1; - } .bot .list .li image { width: 56rpx; height: 56rpx;