From cfa5e0cb9316c8a98c28a2d7fb5759bcc7c57421 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Thu, 12 Oct 2023 09:45:23 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 +++---- pages.json | 4 +++- pages/goods-category/goods-category.css | 5 ++++- pages/goods-category/goods-category.vue | 28 ++++++++++++------------- pages/personal/personal.vue | 2 +- 5 files changed, 26 insertions(+), 21 deletions(-) diff --git a/App.vue b/App.vue index 453b19c7..c682d5f3 100644 --- a/App.vue +++ b/App.vue @@ -67,11 +67,11 @@ // tabbar页面 tabbar_pages: ['/pages/index/index', '/pages/goods-category/goods-category', '/pages/cart/cart', '/pages/user/user'], // 请求地址 - // request_url: 'https://new.shopxo.vip/', - request_url: 'http://shopxo.com/', + request_url: 'https://new.shopxo.vip/', + // request_url: 'http://shopxo.com/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - // static_url: 'https://new.shopxo.vip/', - static_url: 'http://shopxo.com/', + static_url: 'https://new.shopxo.vip/', + // static_url: 'http://shopxo.com/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', // 基础信息 diff --git a/pages.json b/pages.json index 7eeac4c0..06371e6a 100644 --- a/pages.json +++ b/pages.json @@ -31,7 +31,9 @@ "titlePenetrate": "YES", "navigationBarTitleText": "", // #endif - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + // 禁止页面下拉 + "disableScroll": true } }, { diff --git a/pages/goods-category/goods-category.css b/pages/goods-category/goods-category.css index 265678f0..6cd8fa76 100644 --- a/pages/goods-category/goods-category.css +++ b/pages/goods-category/goods-category.css @@ -2,7 +2,10 @@ * 头部背景 */ .goods-top-bg { + height: calc(320rpx + var(--status-bar-height) + 5px); + /* #ifdef H5 */ height: 286rpx; + /* #endif */ background-color: #f5f5f5; } @@ -26,7 +29,7 @@ /* #endif */ padding-bottom: 20rpx; height: 64rpx; - z-index: 101; + z-index: 5; } .category-content { diff --git a/pages/goods-category/goods-category.vue b/pages/goods-category/goods-category.vue index eaa4da68..cfd8f896 100644 --- a/pages/goods-category/goods-category.vue +++ b/pages/goods-category/goods-category.vue @@ -1,8 +1,8 @@