content: /**
   * Created by zhaopengsong on 2016/12/19.
   */
  import React, { Component } from 'react';
  import {
      AppRegistry,
      StyleSheet,
      Text,
      View,
      ScrollView
  } from 'react-native';
  //导入外部组件
  var MyCell = require('./ZPCommonMineCell');
  var MineMiddleView = require('./ZPMineMiddleView');
  var MineHeaderView = require('./ZPMineHeaderView');
  
  var Mine = React.createClass({
      render() {
          return (
              <View style={styles.container}>
                  <ScrollView
                      contentInset= {{top:-200}}
                      contentOffset ={{y:200}}
                  >
                      <MineHeaderView/>
                      <View>
                          <MyCell
                              leftIconName="collect"
                              leftTitle="我的订单"
                              rightTitle="查看全部订单"
                          />
                      </View>
  
                      <MineMiddleView />
  
                      <View style={{marginTop:20}}>
  
  
                          <MyCell
                              leftIconName="draft"
                              leftTitle="钱包"
                              rightTitle="账户余额:¥100"
                          />
  
                          <MyCell
                              leftIconName="like"
                              leftTitle="抵用券"
                              rightTitle="10张"
                          />
                      </View>
                      <View style={{marginTop:20}}>
                          <MyCell
                              leftIconName="card"
                              leftTitle="积分商城"
                          />
                      </View>
  
                      <View style={{marginTop:20}}>
                          <MyCell
                              leftIconName="new_friend"
                              leftTitle="今日推荐"
                              rightIconName="me_new"
                          />
                      </View>
                      <View style={{marginTop:20}}>
                          <MyCell
                              leftIconName="pay"
                              leftTitle="我要合作"
                              rightTitle="轻松开店,招财进宝"
                          />
                      </View>
                  </ScrollView>
  
  
              </View>
  
          );
      }
  });
  
  const styles = StyleSheet.create({
      container: {
          flex: 1,
          backgroundColor: '#e8e8e8',
      },
  });
  module.exports = Mine;