- 博客(9)
- 收藏
- 关注
原创 angular
文章目录 文章参考 在 app.module.ts 中引入 HttpClientModule 并注入 Angular get 请求数据 在用到的地方引入 HttpClient 并在构造函数声明 get 请求数据 Angular post 提交数据 在用到的地方引入 HttpClient、HttpHeaders 并在构造函数声明 HttpClient po...
2019-06-25 14:14:18 101
原创 react native 遮罩层
import React, {Component} from 'react';import { AppRegistry, StyleSheet, Text, View, Animated, Easing, Modal, Button, TouchableOpacity} from 'react-native';exp...
2018-07-31 11:25:36 3373
原创 react native.页面跳转 navigator
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */import React, {Component} from 'react';import { Image,} from 'react-native';import { TabNavigator,...
2018-07-30 17:37:22 249
原创 ReactNative全屏图片背景技巧
render() { return ( <Image source={require('./assets/images/isolate/loginBg.png')} style={styles.backgroundImage} /> ); } const styles = StyleSheet.create({ backgroundIm...
2018-07-26 14:56:33 805
原创 底部导航
import React, { Component } from 'react';import { AppRegistry, StyleSheet, Text, View, Image, Platform, //判断当前运行的系统 Platform.OS === 'ios' Navigator,} from 'react-nativ...
2018-07-25 17:05:15 340
原创 react native 九宫格
import React, { Component } from 'react';import { AppRegistry, StyleSheet, TextInput, ListView, TouchableOpacity, Image, ScrollView, Text, Alert, View} from ...
2018-07-25 10:49:00 330
原创 swiper 轮播图
<Swiper style={styles.swiper} //样式 height={200} //组件高度 loop={true} //如果设置为false,那么滑动到最后一张时,再次滑动将不会滑到第一张图片。 autoplay={true} ...
2018-07-20 16:15:36 204
原创 swiper 轮播图
通过npm安装:npm install react-native-swiper --saveimport React, {Component} from 'react'import { StyleSheet, Text, View, Image, Dimensions} from 'react-native'import Swiper from ...
2018-07-20 12:58:15 419
原创 TabBarIOS,TabBarIOS.Item
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow */import React, {Component} from 'react';import {Platform, StyleSheet, Text, View,TabBarIOS,} fro...
2018-07-19 13:58:54 210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人