CourseDetails.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Sample React Native App
  3. * https://github.com/facebook/react-native
  4. *
  5. * @format
  6. * @flow
  7. */
  8. import React, { Component } from "react";
  9. import {
  10. StyleSheet,
  11. Text,
  12. View,
  13. Image,
  14. ScrollView,
  15. FlatList
  16. } from "react-native";
  17. import VideoExplain from './components/VideoExplain'
  18. import CourseListRow from './components/CourseListRow'
  19. import CourseListLine from './components/CourseListLine'
  20. export default class CourseDetails extends Component {
  21. render() {
  22. return (
  23. <ScrollView style={{backgroundColor: '#F0F1F5'}}>
  24. <VideoExplain
  25. title={'同步辅导语文一年级下册'}
  26. details={'汉字,作为象形文字,是中华文化的载体,本课程从甲骨文开始,让孩子爱上识字爱上文字的美。了解文字…'}
  27. uri={'http://chimee.org/vod/1.mp4'}
  28. />
  29. <CourseListRow title={'课件'}></CourseListRow>
  30. <CourseListLine title={'课件'}></CourseListLine>
  31. </ScrollView>
  32. );
  33. }
  34. }
  35. const styles = StyleSheet.create({
  36. });