@ -1,5 +1,7 @@
.fixedBox{
position: absolute;
position: fixed;
z-index: 1000;
top:0;
width: 100vw;
height: 100vh;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
@ -27,7 +27,7 @@ const article:FC = () => {
const html = articleInfo?.content;
return (
<>
<View style={{padding:'10px'}} dangerouslySetInnerHTML={{ __html: html! }}></View>
<View style={{padding:'10px',height:!token ? Taro.getWindowInfo().windowHeight-60+'px' : 'auto',overflow:!token ? 'hidden':'auto'}} dangerouslySetInnerHTML={{ __html: html! }}></View>
{
!token &&
<View className={styles.fixedBox}>
@ -1,5 +1,6 @@
@ -28,7 +28,7 @@ const article:FC = () => {