diff --git a/CnBlogAndroid/App.js b/CnBlogAndroid/App.js index cc1bf85..3c546f5 100644 --- a/CnBlogAndroid/App.js +++ b/CnBlogAndroid/App.js @@ -202,12 +202,11 @@ const SimpleNavigation = StackNavigator({ HomeworkLists: { screen: HomeworkLists, navigationOptions: { - header: null,/* headerTitle: '作业列表', headerStyle: { height: 40, backgroundColor: 'rgb(51,204,255)', - }*/ + } }, }, HomeworkDetail: { diff --git a/CnBlogAndroid/Source/images/calender.png b/CnBlogAndroid/Source/images/calender.png new file mode 100644 index 0000000..9a44cdc Binary files /dev/null and b/CnBlogAndroid/Source/images/calender.png differ diff --git a/CnBlogAndroid/Source/images/edit.png b/CnBlogAndroid/Source/images/edit.png new file mode 100644 index 0000000..2d1c737 Binary files /dev/null and b/CnBlogAndroid/Source/images/edit.png differ diff --git a/CnBlogAndroid/Source/images/heart.png b/CnBlogAndroid/Source/images/heart.png new file mode 100644 index 0000000..272c405 Binary files /dev/null and b/CnBlogAndroid/Source/images/heart.png differ diff --git a/CnBlogAndroid/Source/images/home.png b/CnBlogAndroid/Source/images/home.png new file mode 100644 index 0000000..0ba0011 Binary files /dev/null and b/CnBlogAndroid/Source/images/home.png differ diff --git a/CnBlogAndroid/Source/images/message.png b/CnBlogAndroid/Source/images/message.png new file mode 100644 index 0000000..a552b6a Binary files /dev/null and b/CnBlogAndroid/Source/images/message.png differ diff --git a/CnBlogAndroid/Source/images/people.png b/CnBlogAndroid/Source/images/people.png new file mode 100644 index 0000000..1dae313 Binary files /dev/null and b/CnBlogAndroid/Source/images/people.png differ diff --git a/CnBlogAndroid/Source/images/ring.png b/CnBlogAndroid/Source/images/ring.png new file mode 100644 index 0000000..38f8a9c Binary files /dev/null and b/CnBlogAndroid/Source/images/ring.png differ diff --git a/CnBlogAndroid/Source/images/save.png b/CnBlogAndroid/Source/images/save.png new file mode 100644 index 0000000..17fc9d4 Binary files /dev/null and b/CnBlogAndroid/Source/images/save.png differ diff --git a/CnBlogAndroid/Source/images/setting.png b/CnBlogAndroid/Source/images/setting.png new file mode 100644 index 0000000..f82d987 Binary files /dev/null and b/CnBlogAndroid/Source/images/setting.png differ diff --git a/CnBlogAndroid/Source/screens/ClassHome.js b/CnBlogAndroid/Source/screens/ClassHome.js index c1af233..3c9d3f8 100644 --- a/CnBlogAndroid/Source/screens/ClassHome.js +++ b/CnBlogAndroid/Source/screens/ClassHome.js @@ -2,6 +2,8 @@ import Config from '../config'; import api from '../api/api.js'; import {authData} from '../config' import * as Service from '../request/request.js' +import MyAdapter from './MyAdapter.js'; +import HeaderNoBackComponent from './HeaderNoBackComponent.js'; import React, { Component} from 'react'; import { Platform, @@ -20,19 +22,249 @@ import { import { StackNavigator, } from 'react-navigation'; +const screenWidth= MyAdapter.screenWidth; +const screenHeight= MyAdapter.screenHeight; +const titleFontSize= MyAdapter.titleFontSize; +const abstractFontSize= MyAdapter.abstractFontSize; +const informationFontSize= MyAdapter.informationFontSize; +const btnFontSize= MyAdapter.btnFontSize; // 此页面应该传入classId作为属性 // 现在暂时Id为238(BUAA软工的ID) export default class ClassHome extends Component{ - render(){ - let classId = 238;//this.props.classId - return( - - 假装是班级博客 - {/*将classId传入作业界面*/} -