1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /**
- * Sample React Native App
- * https://github.com/facebook/react-native
- *
- * @format
- * @flow
- */
- import React, { Component } from "react";
- import {
- Platform,
- StyleSheet,
- Text,
- View,
- Image,
- TouchableOpacity,
- ImageBackground,
- Button,
- DeviceEventEmitter
- } from "react-native";
- import AndroidUtil from "../../util/AndroidUtil";
- import BasePage from "../BasePage";
- import CourseTitle from "./CourseTitle";
- const instructions = Platform.select({
- ios: "Press Cmd+R to reload,\n" + "Cmd+D or shake for dev menu",
- android:
- "Double tap R on your keyboard to reload,\n" +
- "Shake or press menu button for dev menu"
- });
- type Props = {};
- export default class SchedulePage extends BasePage {
- render() {
- return (
- <View style={{ backgroundColor: "#F3F3F3" }}>
- <CourseTitle
- width={this.getWindowWidth()}
- height={50}
- title="第12周 爱上幼儿园"
- // backPress={() => this.goBack()}
- backPress={() => alert("点击返回")}
- sharedpress={() => alert("点击分享")}
- />
- </View>
- );
- }
- }
|