- 博客(3)
- 资源 (8)
- 收藏
- 关注
原创 react-router环境简单搭建
[https://ant.design/docs/react/use-with-create-react-app-cn]首先,根据此链接完成react的安装,然后,使用命令npm install react-router-dom,npm install history --save在package.json中安装相应的环境,接着,新建router.js和在home.js router.js代码如下...
2019-12-03 18:24:13 184
原创 h5react采用ant横向滑动
<View style={{ overflowX: “scroll” }}> <Flex style={{ width: “800px”, overflow: “hidden”, textAlign: “center”, height: “50px”, lineHeight: “50px”,background:"#fff" }}> <Text style={{ wi...
2019-08-17 14:09:43 603
原创 微信小程序不换行横项滑动
首先外面得包个scroll-view,然后white-space:nowrap 子集外面得设置 display:inline-block;width:38%
2019-08-17 11:17:42 1343 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人