1bf6e62f2S猫头猫import React from 'react'; 24060c00aS猫头猫import {StyleSheet, View} from 'react-native'; 3bf6e62f2S猫头猫import rpx from '@/utils/rpx'; 4bf6e62f2S猫头猫import SeekBar from './seekBar'; 5bf6e62f2S猫头猫import PlayControl from './playControl'; 6c446f2b8S猫头猫import useOrientation from '@/hooks/useOrientation'; 7bf6e62f2S猫头猫 84060c00aS猫头猫export default function Bottom() { 9c446f2b8S猫头猫 const orientation = useOrientation(); 10bf6e62f2S猫头猫 return ( 11c446f2b8S猫头猫 <View 12c446f2b8S猫头猫 style={[ 13c446f2b8S猫头猫 style.wrapper, 14*ab5f994aSmaotoumao orientation === 'horizontal' 15c446f2b8S猫头猫 ? { 167aed04d4S猫头猫 height: rpx(156), 17c446f2b8S猫头猫 } 18c446f2b8S猫头猫 : undefined, 19c446f2b8S猫头猫 ]}> 204060c00aS猫头猫 <SeekBar /> 214060c00aS猫头猫 <PlayControl /> 22bf6e62f2S猫头猫 </View> 23bf6e62f2S猫头猫 ); 24bf6e62f2S猫头猫} 25bf6e62f2S猫头猫 26bf6e62f2S猫头猫const style = StyleSheet.create({ 27bf6e62f2S猫头猫 wrapper: { 284245d81aS猫头猫 width: '100%', 297aed04d4S猫头猫 height: rpx(240), 30bf6e62f2S猫头猫 }, 31bf6e62f2S猫头猫}); 32