自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

曲小强

懒得我都懒得告诉你我为什么懒得不告诉你。

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 React Native 实现页面返回监听

A页面写:import {DeviceEventEmitter} from 'react-native'componentDidMount() { // 这里的`param`可以为空,接受你B页面传过来的数据 this.subscription = DeviceEventEmitter.addListener("EventType", (param)=>{ ...

2019-03-29 13:17:19 2648 2

原创 Warning: Failed prop type: Invalid prop value of type number supplied to Textinput, expected string

react-native 使用TextInput标签时会遇到这个警告:Warning: Failed prop type: Invalid prop value of type number supplied to Textinput, expected string in Textinput (at Appointmentnumber is: 112) in Appointmentnumbe...

2019-03-27 10:14:33 13147

原创 本地项目上传到github

首先你要有自己的github账户,如果你没有,请点击https://github.com/首页注册。点按钮注册成功之后,在页面上方用户菜单上选择 “+”->New repository创建一个新的仓库为仓库取一个名字,点击创建仓库按钮 你将成功创建一个仓库然后安装git,如果你没有,或者不会安装,请点击这里https://www.baidu.com/,如果不愿意,你...

2019-03-19 15:40:18 461

原创 react-native DatePickerAndroid(二)

import React, {Component} from 'react';import {StyleSheet, Text, View,TouchableHighlight,DatePickerAndroid} from 'react-native';import { withNavigation } from 'react-navigation';class MyPage exte...

2019-03-14 10:39:06 567

原创 react-native DatePickerAndroid调起日历(一)

贴 代码import React, {Component} from 'react';import {StyleSheet, Text, View,TouchableHighlight,DatePickerAndroid} from 'react-native';import { withNavigation } from 'react-navigation';class MyPag...

2019-03-13 17:38:49 1347

原创 react-native带参数跳转

import { NavigationActions } from 'react-navigation';const navigateAction = NavigationActions.navigate({ routeName: 'Profile', params: {}, action: NavigationActions.navigate({ routeName: 'S...

2019-03-12 14:15:41 1422

原创 react截取url的字符

constructor(props) { super(props); let {search} = this.props.location let paramsString = search.substring(1) let searchParams = new URLSearchParams(paramsString) let orderNo = se...

2019-03-12 13:49:53 2020

原创 写一个react-native状态按钮切换

效果是这样的因为是自学的,所以很多地方要自己摸索,贴个代码,不懂的可以一起讨论,虚心求教!~~import React, {Component} from 'react';import { View, Text, Button, StyleSheet, Image, TouchableOpacity,TextInput, ScrollView } from 'react-nativ...

2019-03-04 17:44:51 2197

css 抖动效果 包括俩种

css 抖动效果 包括俩种

2021-01-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除