From a3a6db2cf49118f1678f36beb5182c0dfd97f7e0 Mon Sep 17 00:00:00 2001 From: taiwan Date: Tue, 1 Mar 2022 17:40:20 +0800 Subject: [PATCH] 主包goodsList页面修改 --- pages/goods/goodsList/goodsList.json | 1 + pages/goods/goodsList/goodsList.wxml | 60 +++++++++++++++++++++++++++++++----------------------------- pages/goods/goodsList/goodsList.wxss | 13 +++++++++++-- 3 files changed, 43 insertions(+), 31 deletions(-) diff --git a/pages/goods/goodsList/goodsList.json b/pages/goods/goodsList/goodsList.json index 3dc51e0..67f1f66 100644 --- a/pages/goods/goodsList/goodsList.json +++ b/pages/goods/goodsList/goodsList.json @@ -1,4 +1,5 @@ { + "backgroundTextStyle": "dark", "navigationBarTitleText": "商品列表", "usingComponents": { "share_box": "/components/share_box/share_box" diff --git a/pages/goods/goodsList/goodsList.wxml b/pages/goods/goodsList/goodsList.wxml index 1d43976..4f2f585 100644 --- a/pages/goods/goodsList/goodsList.wxml +++ b/pages/goods/goodsList/goodsList.wxml @@ -22,39 +22,41 @@ 搜索店铺商品 - + - - - + + - - + + + diff --git a/pages/goods/goodsList/goodsList.wxss b/pages/goods/goodsList/goodsList.wxss index 45f9716..59f736a 100644 --- a/pages/goods/goodsList/goodsList.wxss +++ b/pages/goods/goodsList/goodsList.wxss @@ -4,6 +4,7 @@ page { .container { color: #666; + overflow-x: visible; } .nav { @@ -41,13 +42,21 @@ page { } .search_fixed { - position: fixed; + position: sticky; top: 0; - width: 95%; + /* width: 95%; */ background-color: #f0f0f0; z-index: 999; } +.nav-box { + position: sticky; + top: 114rpx; + /* width: 95%; */ + background-color: #f0f0f0; + z-index: 999; +} + .ico-dir { width: 16rpx; height: 22rpx; -- libgit2 0.21.4