mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-11 22:15:32 +08:00
bug(custom):
This commit is contained in:
@@ -372,8 +372,8 @@ const SpPage = memo(
|
||||
url: isGoodsShelves()
|
||||
? '/subpages/guide/index'
|
||||
: VERSION_IN_PURCHASE
|
||||
? '/pages/purchase/index'
|
||||
: '/pages/index'
|
||||
? '/pages/purchase/index'
|
||||
: '/pages/index'
|
||||
})
|
||||
}}
|
||||
/>
|
||||
@@ -463,15 +463,21 @@ const SpPage = memo(
|
||||
'padding-top': `${state.customNavigation && !props.immersive ? state.gNavbarH : 0}px`,
|
||||
'padding-bottom': props.renderFooter
|
||||
? Taro.pxTransform(
|
||||
props.footerHeight + (isIphoneX() ? DEFAULT_SAFE_AREA_HEIGHT : 0)
|
||||
)
|
||||
props.footerHeight + (isIphoneX() ? DEFAULT_SAFE_AREA_HEIGHT : 0)
|
||||
)
|
||||
: 0
|
||||
})}
|
||||
>
|
||||
<context.Provider value={{}}>{props.children}</context.Provider>
|
||||
|
||||
<View className='sp-page__powered-by text-center'>
|
||||
Powered by <SpImage src='powered-logo.png' width={100} height={20} />
|
||||
</View>
|
||||
</View>
|
||||
)}
|
||||
{props.loading && <SpLoading />}
|
||||
|
||||
|
||||
{props.renderFooter && (
|
||||
<View
|
||||
key={lang}
|
||||
@@ -484,7 +490,6 @@ const SpPage = memo(
|
||||
<context.Provider value={{}}>{props.renderFooter}</context.Provider>
|
||||
</View>
|
||||
)}
|
||||
|
||||
{/* 浮动 */}
|
||||
{!props.isDefault && (
|
||||
<View className='float-container'>
|
||||
@@ -502,7 +507,7 @@ const SpPage = memo(
|
||||
)
|
||||
|
||||
SpPage.defaultProps = {
|
||||
onReady: () => {},
|
||||
onReady: () => { },
|
||||
btnHomeEnable: true,
|
||||
className: '',
|
||||
children: null,
|
||||
|
||||
@@ -41,6 +41,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.sp-page__powered-by {
|
||||
color: #B3B3B3;
|
||||
font-size: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.float-container {
|
||||
position: fixed;
|
||||
bottom: 350px;
|
||||
@@ -64,9 +70,11 @@
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
|
||||
&__body {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.title-container {
|
||||
font-size: 26px;
|
||||
white-space: nowrap;
|
||||
@@ -105,17 +113,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.p-title-hot-img {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
.sp-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.img-hotzone_zone {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user