diff --git a/src/components/sp-page/index.js b/src/components/sp-page/index.js
index 067adc56c..18ccb1e7d 100644
--- a/src/components/sp-page/index.js
+++ b/src/components/sp-page/index.js
@@ -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
})}
>
{props.children}
+
+
+ Powered by
+
)}
{props.loading && }
+
+
{props.renderFooter && (
{props.renderFooter}
)}
-
{/* 浮动 */}
{!props.isDefault && (
@@ -502,7 +507,7 @@ const SpPage = memo(
)
SpPage.defaultProps = {
- onReady: () => {},
+ onReady: () => { },
btnHomeEnable: true,
className: '',
children: null,
diff --git a/src/components/sp-page/index.scss b/src/components/sp-page/index.scss
index 9ae28c599..b1e9b3859 100644
--- a/src/components/sp-page/index.scss
+++ b/src/components/sp-page/index.scss
@@ -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;
}
-
+
}
-}
+}
\ No newline at end of file