|
@@ -107,7 +107,7 @@ function CustomNavbar(WrappedComponent, props: Props) {
|
|
let { navBar, capsuleWidth } = this.state
|
|
let { navBar, capsuleWidth } = this.state
|
|
const { indexStore: { navBarTop }, bookStore } = this.props.store
|
|
const { indexStore: { navBarTop }, bookStore } = this.props.store
|
|
let stateIndex = bookStore.workDirection
|
|
let stateIndex = bookStore.workDirection
|
|
- return <View style={{ height: navBar + navBarTop + 5 }}>
|
|
|
|
|
|
+ return <View style={{ height: '100vh'}}>
|
|
<View className='navbarWrap' style={{ paddingTop: navBarTop + 5, height: navBar, backgroundColor: isReloadBook ? bookStore.bookConfig?.off_on ? "#FFF" : "#363738" : "#FFF" }}>
|
|
<View className='navbarWrap' style={{ paddingTop: navBarTop + 5, height: navBar, backgroundColor: isReloadBook ? bookStore.bookConfig?.off_on ? "#FFF" : "#363738" : "#FFF" }}>
|
|
<View className='content'>
|
|
<View className='content'>
|
|
{
|
|
{
|
|
@@ -153,7 +153,7 @@ function CustomNavbar(WrappedComponent, props: Props) {
|
|
</View>
|
|
</View>
|
|
<View style={{ width: capsuleWidth + 'px' }}></View>
|
|
<View style={{ width: capsuleWidth + 'px' }}></View>
|
|
</View>
|
|
</View>
|
|
- <View style={{ paddingTop: (navBar + navBarTop + 5), height: `100vh`, boxSizing: 'border-box' }}>
|
|
|
|
|
|
+ <View style={{ paddingTop: (navBar + navBarTop + 5), height: `clac(100vh - ${(navBar + navBarTop + 5)}px)`, boxSizing: 'border-box' }}>
|
|
<WrappedComponent {...passThroughProps} stateIndex={stateIndex} navBar={navBar + navBarTop + 5} />
|
|
<WrappedComponent {...passThroughProps} stateIndex={stateIndex} navBar={navBar + navBarTop + 5} />
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</View>
|