parent
fe4c7108d8
commit
541be630b5
@ -0,0 +1,3 @@ |
||||
export default definePageConfig({ |
||||
navigationBarTitleText: '分类' |
||||
}) |
@ -0,0 +1,21 @@ |
||||
import {FC} from "react"; |
||||
import {View} from "@tarojs/components"; |
||||
import {useRouter} from "@tarojs/taro"; |
||||
|
||||
type SortType = '' |
||||
|
||||
interface Params { |
||||
id: number |
||||
type: SortType |
||||
jumpUrl: () => void |
||||
} |
||||
|
||||
const Sort: FC = () => { |
||||
const params = useRouter().params as unknown as Params |
||||
|
||||
return ( |
||||
<View>ds</View> |
||||
) |
||||
} |
||||
|
||||
export default Sort |
@ -0,0 +1,6 @@ |
||||
export default definePageConfig({ |
||||
navigationBarTitleText: ' ', |
||||
backgroundColor:'#000000', |
||||
navigationBarTextStyle:'white', |
||||
navigationBarBackgroundColor:'#000000' |
||||
}) |
@ -0,0 +1,27 @@ |
||||
import {Video} from "@tarojs/components"; |
||||
import {FC} from "react"; |
||||
import Taro from "@tarojs/taro"; |
||||
|
||||
interface Props { |
||||
url: string |
||||
} |
||||
|
||||
const VideoFull: FC<Props> = () => { |
||||
const {url} = Taro.useRouter().params |
||||
return ( |
||||
<Video |
||||
style={{width: '100%', height: '100vh'}} |
||||
src={url!} |
||||
autoplay |
||||
loop |
||||
showFullscreenBtn={false} |
||||
showPlayBtn={false} |
||||
showCenterPlayBtn={true} |
||||
enableProgressGesture={false} |
||||
enablePlayGesture |
||||
autoPauseIfOpenNative |
||||
/> |
||||
) |
||||
} |
||||
|
||||
export default VideoFull |
Loading…
Reference in new issue