CourseDetails.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. class CourseList extends Component {
  19. render() {
  20. return (
  21. <View style={styles.courseList}>
  22. <View style={[styles.padding, styles.title]}>
  23. </View>
  24. </View>
  25. );
  26. }
  27. }
  28. export default class CourseDetails extends Component {
  29. render() {
  30. return (
  31. <ScrollView style={{backgroundColor: '#F0F1F5'}}>
  32. <VideoExplain
  33. title={'同步辅导语文一年级下册'}
  34. details={'汉字,作为象形文字,是中华文化的载体,本课程从甲骨文开始,让孩子爱上识字爱上文字的美。了解文字…'}
  35. uri={'http://chimee.org/vod/1.mp4'}
  36. />
  37. <CourseListRow title={'课件'}></CourseListRow>
  38. </ScrollView>
  39. );
  40. }
  41. }
  42. const styles = StyleSheet.create({
  43. });