|
@@ -6,8 +6,7 @@ const Layout = ({ children,type }) => {
|
6
|
6
|
|
7
|
7
|
const navStyle = Taro.getMenuButtonBoundingClientRect()
|
8
|
8
|
|
9
|
|
-console.log(`calc(100vh - 42.5px - ${navStyle.bottom}px -10px)`,'`calc(100vh - 42.5px - ${navStyle.bottom}px -10px)`')
|
10
|
|
- return <ScrollView className='scrol' scrollY style={type=='custom'?{height:`calc(100vh - 42.5px - ${navStyle.bottom}px - 10px)`}:undefined} >
|
|
9
|
+ return <ScrollView className='scrol' scrollY style={type=='custom'?{height:`calc(100vh - 65px - ${navStyle.bottom}px - 10px)`}:undefined} >
|
11
|
10
|
<View className='page-container' >
|
12
|
11
|
{children}
|
13
|
12
|
</View>
|