会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuw_flexi
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
29
下一页
2020年1月19日
react-native 之ScrollView的使用
摘要: 1. 分页效果设置 pagingEnabled={true} <ScrollView ref={e => this.scroll = e} horizontal={true} directionalLockEnabled showsHorizontalScrollIndicator={false}
阅读全文
posted @ 2020-01-19 15:58 liuw_flexi
阅读(2422)
评论(0)
推荐(0)
2020年1月17日
gitHub 克隆项目慢
摘要: 打开这个网站 https://www.ipaddress.com 查 192.30.253.113 github.com 199.232.5.194 github.global.ssl.fastly.net sudo vim /etc/hosts 或者 git clone --depth=1 htt
阅读全文
posted @ 2020-01-17 11:25 liuw_flexi
阅读(171)
评论(0)
推荐(0)
2020年1月16日
react native 给View添加点击事件
摘要: http://www.voidcn.com/article/p-vijhprhu-buo.html 直接在View上绑定点击事件,是没有用的。要使任何元素处理React-Native UI中的触摸/单击事件,您需要将元素放在TouchableOpacity,TouchableWithoutFeedb
阅读全文
posted @ 2020-01-16 17:10 liuw_flexi
阅读(7698)
评论(0)
推荐(1)
React Native View属性onLayout
摘要: //通过此属性可以获取View的宽高和相对父级的位置 onLayout = {(event)=>console.log('event',event.nativeEvent.layout)} https://www.hangge.com/blog/cache/detail_1747.html
阅读全文
posted @ 2020-01-16 17:07 liuw_flexi
阅读(1719)
评论(0)
推荐(0)
react native 样式与布局
摘要: https://blog.csdn.net/isaisai/article/details/49801701?_t_t_t=0.5862080130443164 react native Text 上无法指定borderWidth 等一系列属性, 解决方法,在Text 外面添加一个View ,在Vi
阅读全文
posted @ 2020-01-16 17:06 liuw_flexi
阅读(170)
评论(0)
推荐(0)
react native 对日期的处理
摘要: import React, { Component, Fragment } from 'react' import { StyleSheet, Text, View, TouchableOpacity, Dimensions } from 'react-native' import moment f
阅读全文
posted @ 2020-01-16 17:02 liuw_flexi
阅读(645)
评论(0)
推荐(0)
react native 顶部菜单栏效果的实现
摘要: 饿了么App->美食模块这个分类 可以参考:https://segmentfault.com/a/1190000015551664?utm_source=tag-newest 关键步骤:
阅读全文
posted @ 2020-01-16 17:00 liuw_flexi
阅读(889)
评论(0)
推荐(0)
2020年1月8日
iOS self.navigationController 推出界面怎么一次性回到指定第一个
摘要: A->B->C 想要从C一步回到A
阅读全文
posted @ 2020-01-08 16:20 liuw_flexi
阅读(360)
评论(0)
推荐(0)
2020年1月7日
iOS 关于手势/指纹登陆
摘要: 1. 手势 手势的代码有很多,可以参考支付宝或者其他人写的。 手势/指纹登陆是为了省去输入密码的麻烦。参考了中国银行信用卡App --"缤纷生活",截图如下 1. 在登陆成功的情况下才能进入 “设置-账号与安全” 设置手势/指纹,未登陆时 见图10 2. 登陆成功时会提示你是否设置辅助登陆密码,也就
阅读全文
posted @ 2020-01-07 16:57 liuw_flexi
阅读(1274)
评论(0)
推荐(0)
iOS13 present VC方法
摘要: 更新iOS 13之后,发现我们工程模态展示的视图默认是非全屏的。经过百度一番(百度就够了)。因为苹果在iOS13改了默认的样式。在iOS13前,该值默认为UIModalPresentationFullScreen。而在 iOS13 中默认值变为了UIModalPresentationAutomati
阅读全文
posted @ 2020-01-07 16:31 liuw_flexi
阅读(1948)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
29
下一页
公告