上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页
摘要: 编写不易, 希望大家点赞 import React, {PureComponent} from 'react'; import {Animated, Easing, View} from 'react-native'; export default class NoticeScroll extend 阅读全文
posted @ 2019-12-16 14:49 一路向北√ 阅读(1337) 评论(0) 推荐(0) 编辑
摘要: 写之前要先确定翻页的方式, 有 page Http.post('/api/v1/auto/strategy/history', { page: clean ? 1 : this.state.page + 1, pers: 10,}). 有 id Http.post('/api/v1/token/wi 阅读全文
posted @ 2019-11-26 17:01 一路向北√ 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 一、什么是lodash? lodash库是一个具有一致接口、模块化、高性能等特性的 JavaScript 工具库。 lodash是一个javascript库,也是Node JS的常用模块,它内部封装了诸多对字符串、数组、对象等常见数据类型的处理函数,其中部分是目前 ECMAScript 尚未制定的规 阅读全文
posted @ 2019-11-08 12:49 一路向北√ 阅读(2421) 评论(0) 推荐(0) 编辑
摘要: A页面注册通知: import {DeviceEventEmitter} from 'react-native'; //… //调用事件通知 DeviceEventEmitter.emit('xxxName',param); //xxxName:通知的名称 param:发送的消息(传参) B页面接收 阅读全文
posted @ 2019-10-16 09:45 一路向北√ 阅读(871) 评论(0) 推荐(0) 编辑
摘要: GitHub地址 https://github.com/rilyu/teaset/blob/master/docs/cn/README.md React Native UI 组件库, 超过 20 个纯 JS(ES6) 组件, 专注于内容展示和操作控制。 Teaset 设计精巧, 不依赖任何第三方库, 阅读全文
posted @ 2019-10-16 09:37 一路向北√ 阅读(2813) 评论(0) 推荐(0) 编辑
摘要: 1.计算会员进度 const a = res.data.directCount(当前充值点券) / nextLevelData.map(item => item.direct_number(下一级需要点券)); //得出小数const c = 设计稿长度 /375 * Dimensions.get( 阅读全文
posted @ 2019-10-15 01:23 一路向北√ 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 1.yarn 2.cd ios 3.pod install 阅读全文
posted @ 2019-09-23 11:15 一路向北√ 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Day.js: https://github.com/iamkun/dayjs 中文文档: http://momentjs.cn/docs/ 常用方法 1.当前时间对象 moment () / 指定时间对象 moment("2019-09-19 08:00:00") 2.当前时间 moment(). 阅读全文
posted @ 2019-09-19 23:42 一路向北√ 阅读(2019) 评论(0) 推荐(0) 编辑
摘要: 滴滴在 GitHub 上开源的跨端解决方案 Chameleon(简写 CML)正式发布 1.0 版本,中文名卡梅龙;中文意思变色龙,意味着就像变色龙一样能适应不同环境的企业级跨端整体解决方案,具有易用、轻量、面向未来等特点。下文将详细介绍 Chameleon 项目的研发背景和性能特点。 历时 3 年 阅读全文
posted @ 2019-09-09 09:30 一路向北√ 阅读(373) 评论(0) 推荐(0) 编辑
摘要: module.exports 和 exports的区别 用一句话来说明就是,require方能看到的只有module.exports这个对象,它是看不到exports对象的,而我们在编写模块时用到的exports对象实际上只是对module.exports的引用。 首先我们要明白一个前提,Commo 阅读全文
posted @ 2019-09-04 09:56 一路向北√ 阅读(197) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 32 下一页

web应用开发&研究 -

业精于勤而荒于嬉。

工作,使我快乐。


Font Awesome | Respond.js | Bootstrap中文网