From 4636e7669d3b7b78bb275a7c887511764f2f8b95 Mon Sep 17 00:00:00 2001 From: zhangjing1 Date: Thu, 5 Feb 2026 20:23:38 +0800 Subject: [PATCH 1/5] bug: --- src/subpages/store/list.js | 5 ++--- src/subpages/store/list.scss | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/subpages/store/list.js b/src/subpages/store/list.js index ffd11a50f..b9258a7d9 100644 --- a/src/subpages/store/list.js +++ b/src/subpages/store/list.js @@ -280,7 +280,7 @@ function NearlyShop(props) { - + {/* { @@ -291,9 +291,8 @@ function NearlyShop(props) { > {chooseValue.join('') || '选择地区'} - {/* */} - + */} diff --git a/src/subpages/store/list.scss b/src/subpages/store/list.scss index ed9f7f5f7..52cccb5bf 100644 --- a/src/subpages/store/list.scss +++ b/src/subpages/store/list.scss @@ -11,7 +11,7 @@ border-radius: 40px; display: flex; align-items: center; - padding: 6px 6px 6px 20px; + padding: 6px 6px 6px 6px; } .region-picker { display: flex; From 1257573142499f58594182ed39a8b1a3d10a94b8 Mon Sep 17 00:00:00 2001 From: zhangjing1 Date: Thu, 5 Feb 2026 20:27:06 +0800 Subject: [PATCH 2/5] bug(1): --- src/subpages/store/list.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/subpages/store/list.js b/src/subpages/store/list.js index b9258a7d9..5422b31b0 100644 --- a/src/subpages/store/list.js +++ b/src/subpages/store/list.js @@ -131,12 +131,12 @@ function NearlyShop(props) { // 构建位置相关参数 if (filterType == 1) { - const [chooseProvince, chooseCity, chooseDistrict] = chooseValue + // const [chooseProvince, chooseCity, chooseDistrict] = chooseValue params = { ...params, - province: chooseProvince, - city: chooseCity, - area: chooseDistrict + // province: chooseProvince, + // city: chooseCity, + // area: chooseDistrict } if (keyword) { params = { From 02dc88a1e34c107afb7afdffbdf91e27e2953002 Mon Sep 17 00:00:00 2001 From: zhangjing1 Date: Thu, 5 Feb 2026 21:04:50 +0800 Subject: [PATCH 3/5] =?UTF-8?q?fix(=E6=8C=82=E4=BB=B6):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sp-page/header.js | 2 +- src/components/sp-page/index.scss | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/sp-page/header.js b/src/components/sp-page/header.js index 2e6142fac..5f53897c9 100644 --- a/src/components/sp-page/header.js +++ b/src/components/sp-page/header.js @@ -139,7 +139,7 @@ const CustomNavigationHeader = memo((props) => { const renderNearby = useCallback(() => { return ( - + {VERSION_STANDARD ? shopInfo?.name || '总店' : nearbyText || '选择地区'} diff --git a/src/components/sp-page/index.scss b/src/components/sp-page/index.scss index 55842fc73..28d12b679 100644 --- a/src/components/sp-page/index.scss +++ b/src/components/sp-page/index.scss @@ -163,7 +163,6 @@ .nearby-function-text { font-size: 28px; - color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -172,7 +171,6 @@ .nearby-function-icon { font-size: 28px; - color: #333; } } From 3716e4d433759fce364ae8353efb107631f19653 Mon Sep 17 00:00:00 2001 From: zhangjing1 Date: Thu, 5 Feb 2026 21:37:43 +0800 Subject: [PATCH 4/5] =?UTF-8?q?bug(=E5=88=86=E7=B1=BB):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sp-page/header.js | 18 +++++++----------- src/components/sp-page/index.scss | 16 +++++----------- src/pages/category/index.js | 5 ++++- src/pages/custom/custom-page.js | 6 ------ src/subpages/member/index.js | 3 +-- 5 files changed, 17 insertions(+), 31 deletions(-) diff --git a/src/components/sp-page/header.js b/src/components/sp-page/header.js index 5f53897c9..6a1b38a8b 100644 --- a/src/components/sp-page/header.js +++ b/src/components/sp-page/header.js @@ -41,7 +41,7 @@ const CustomNavigationHeader = memo((props) => { backgroundPosition: 'center', paddingTop: `${gStatusBarHeight}px`, } - if (value?.navigateBackgroundColorr) { + if (value?.navigateBackgroundColor) { style.backgroundColor = value?.navigateBackgroundColor } if (value?.navigateBackgroundImage) { @@ -149,19 +149,15 @@ const CustomNavigationHeader = memo((props) => { }, [handleNearbyClick, nearbyText]) const renderSearch = useCallback(() => { - if (titleStyle !== '3' || !value?.showSearchButton) return null return ( - + Taro.navigateTo({ url: '/subpages/search/index' })}> - onSearchConfirm && onSearchConfirm(e.detail?.value)} - /> - - 搜索 - + {value?.showSearchButton && ( + + 搜索 + + )} ) diff --git a/src/components/sp-page/index.scss b/src/components/sp-page/index.scss index 28d12b679..d6c1a6cd9 100644 --- a/src/components/sp-page/index.scss +++ b/src/components/sp-page/index.scss @@ -218,17 +218,9 @@ border-radius: 8px; overflow: hidden; position: relative; - - .search-input { - flex: 1; - height: 64px; - padding: 0 24px 0 40px; - border: 1px solid #e0e0e0; - border-right: none; - border-radius: 8px 0 0 8px; - background-color: #fff; - font-size: 28px; - } + border: 1PX solid #e0e0e0; + background-color: #fff; + height: 64px; .search-icon { position: absolute; @@ -252,6 +244,8 @@ justify-content: center; white-space: nowrap; flex-shrink: 0; + position: absolute; + right: 0; } } } diff --git a/src/pages/category/index.js b/src/pages/category/index.js index 2f4097d3f..7280132e6 100644 --- a/src/pages/category/index.js +++ b/src/pages/category/index.js @@ -59,7 +59,10 @@ function StoreItemList(props) { return ( } + pageConfig={{ + titleStyle:'3', + navigateBackgroundColor:'#fff' + }} ref={pageRef} showLive renderFooter={} diff --git a/src/pages/custom/custom-page.js b/src/pages/custom/custom-page.js index 2b427f6a4..45e08461a 100644 --- a/src/pages/custom/custom-page.js +++ b/src/pages/custom/custom-page.js @@ -36,9 +36,6 @@ const initialState = { function CustomPage(props) { const $instance = getCurrentInstance() const [state, setState] = useImmer(initialState) - const { setNavigationBarTitle } = useNavigation() - const { address, location } = useSelector((s) => s.user) - const nearbyText = address?.city || location?.city || '' const { wgts, loading, shareInfo, skuPanelOpen, selectType, info, isShowTabBar } = state const MSpSkuSelect = React.memo(SpSkuSelect) const pageRef = useRef() @@ -137,11 +134,8 @@ function CustomPage(props) { return ( } title='会员中心' > From 2cb92870e37728ded390af428992ac186c3902df Mon Sep 17 00:00:00 2001 From: zhangjing1 Date: Thu, 5 Feb 2026 21:45:42 +0800 Subject: [PATCH 5/5] =?UTF-8?q?bug(=E6=90=9C=E7=B4=A2):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sp-page/header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/sp-page/header.js b/src/components/sp-page/header.js index 6a1b38a8b..da99e0b44 100644 --- a/src/components/sp-page/header.js +++ b/src/components/sp-page/header.js @@ -150,7 +150,7 @@ const CustomNavigationHeader = memo((props) => { const renderSearch = useCallback(() => { return ( - Taro.navigateTo({ url: '/subpages/search/index' })}> + Taro.navigateTo({ url: '/subpages/item/list' })}> {value?.showSearchButton && (