摘要:
initialRoute={{ component: Home, // 要跳转的页面 title:'首页', // 跳转页面导航栏标题 leftButtonTitle:'左边', // 实例化左边按钮 onLeftButtonPress:() => {alert('左边')}, // 左边按钮点击事 阅读全文
posted @ 2017-12-05 23:35
Da雪山
阅读(490)
评论(0)
推荐(0)
摘要:
import React, { Component } from 'react';import { Platform, StyleSheet, Text, View, ListView} from 'react-native';//从文件中读取数据(ES5)var movieData = requi 阅读全文
posted @ 2017-12-05 23:15
Da雪山
阅读(384)
评论(0)
推荐(0)
摘要:
import React, { Component } from 'react';import { Platform, StyleSheet, Text, View, ListView} from 'react-native';/** ListView 数据列表** ListView最重要的是设置每 阅读全文
posted @ 2017-12-05 22:39
Da雪山
阅读(275)
评论(0)
推荐(0)
摘要:
ScrollView 的使用import React, { Component } from 'react';import { Platform, StyleSheet, Text, View, ScrollView, RefeshControl, Image} from 'react-native 阅读全文
posted @ 2017-12-05 22:14
Da雪山
阅读(238)
评论(0)
推荐(0)
摘要:
import React, { Component } from 'react';import { Platform, StyleSheet, Text, View, ScrollView, RefeshControl} from 'react-native';/** ScrollView的简单实现 阅读全文
posted @ 2017-12-05 21:43
Da雪山
阅读(262)
评论(0)
推荐(0)
摘要:
/* Image* 用于显示图片的组件,包括网络图片,静态资源 * 常用性能: * resizeMode 图片适应模式 cover , contain , stretch * source 图片的引用地址 * * iOS支持的属性: onLoad , onLoadEnd ,onLoadStart, 阅读全文
posted @ 2017-12-05 21:20
Da雪山
阅读(357)
评论(0)
推荐(0)

浙公网安备 33010602011771号