diff --git a/src/components/sp-page/index.js b/src/components/sp-page/index.js
index fc868b183..c1fad9105 100644
--- a/src/components/sp-page/index.js
+++ b/src/components/sp-page/index.js
@@ -404,7 +404,7 @@ const SpPage = memo(
style={styleNames(pageCenterStyle)}
>
{props.renderNavigation ? (
- {props.renderNavigation}
+ {props.renderNavigation}
) : (
{renderTitle || props.title || navigationBarTitleText}
@@ -446,7 +446,7 @@ const SpPage = memo(
className='sp-page__body'
style={styleNames({
'height': `${state.bodyHeight}px`,
- 'padding-top': `${state.customNavigation && !props.immerse ? state.gNavbarH : 0}px`,
+ 'padding-top': `${state.customNavigation && !props.immersive ? state.gNavbarH : 0}px`,
'padding-bottom': props.renderFooter
? Taro.pxTransform(
props.footerHeight + (isIphoneX() ? DEFAULT_SAFE_AREA_HEIGHT : 0)
diff --git a/src/pages/item/espier-detail.js b/src/pages/item/espier-detail.js
index 8d7402202..2a682506e 100644
--- a/src/pages/item/espier-detail.js
+++ b/src/pages/item/espier-detail.js
@@ -283,12 +283,12 @@ function EspierDetail(props) {
distributor_id: getDistributorId()
})
data = pickBy(itemDetail, doc.goods.ESPIER_DETAIL_GOODS_INFO)
- if (data.approveStatus == 'instock') {
- setState((draft) => {
- draft.isDefault = true
- draft.defaultMsg = '商品已下架'
- })
- }
+ // if (data.approveStatus == 'instock') {
+ // setState((draft) => {
+ // draft.isDefault = true
+ // draft.defaultMsg = '商品已下架'
+ // })
+ // }
} catch (e) {
setState((draft) => {
draft.isDefault = true
@@ -479,6 +479,8 @@ function EspierDetail(props) {
/>
}
>
+
+
{/* */}
{!info && }
{info && (
diff --git a/src/pages/item/espier-detail.scss b/src/pages/item/espier-detail.scss
index 007ea6414..c9f5b5de2 100644
--- a/src/pages/item/espier-detail.scss
+++ b/src/pages/item/espier-detail.scss
@@ -1,4 +1,14 @@
.page-item-espierdetail {
+ &__header-bg {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ width: 100vw;
+ height: 250px !important;
+ z-index: 999;
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
+ }
.goods-pic-container {
position: relative;
}