- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 TED-4-美好人生的定义
文章:What keeps us healthy and happy as we go through life? If you are gonna invest now in your future best self, where would you put your time and your energy? There was a recent survey of millennial...
2019-01-26 11:33:36 1829
原创 TED-3-每个孩子都是一个冠军
文章:I have spent my entire life either at all schoolhouse, on the way to the schoolhouse, or talking about what happens in the schoolhouse. Both my parents were educators, my maternal grandparents we...
2019-01-24 18:12:38 756
原创 TED-2-拖延症患者的大脑
文章:Now, the Dark Playground is a place that all of you procrastinators out there know very well. It's where leisure activities happen at times when leisure activities are not supposed to be happenin...
2019-01-24 16:19:23 797
原创 PC端聊天系统——基于angular
做后台管理系统遇到一个要写聊天系统的功能,我用的是angular,界面样式如下,长连接部分使用的是laravel-echo和socket.io1、下载laravel-echo和socket.ionpm install laravel-echo --savenpm install socket.io-client --save2、代码:html:<nz-row ...
2019-01-23 17:33:11 1411
原创 前端上传视频至阿里云
1、开通阿里云服务,获取userId官方文档地址:https://help.aliyun.com/document_detail/52204.html?spm=a2c4g.11186623.6.915.51366bd19lzWGq2、下载第三方js库:放在src/assets/lib文件夹下3、引入使用第三方库:告诉angular去哪加载库在angular.json中找...
2019-01-23 16:59:11 14425 2
原创 TED-1-说话之道
文章:I'd like to have a little rummage in there with you now and just pull a few tools out that you might like to take away and play with, which will increase the power of your speaking.在这里,我想喝大家做一点...
2019-01-23 16:00:35 356 2
原创 封装搜索框组件
后台管理系统多是以表格和表单为主,有列表就一定会有列表的筛选功能,所以在此把列表头部的搜索功能拆分出一个公共组件,方便使用。大致样式如下图:这里我使用的是ng-zorro蚂蚁金服的angular组件库index.html:<div nz-form class="ant-advanced-search-form"> <nz-row [nzGutter]="...
2019-01-23 15:14:15 1374
原创 培养优秀的JS代码风格
尽管技术一般,但是也要写一手好代码让人看起来有大神风范;好代码不仅要精炼,更要易读。一、变量(努力做一个干净的小变量好嘛)(1)变量的数量控制避免滥用变量:数据只使用一次或不使用就无需装到变量中,例let temp = 2; // 定义好了之后就没有用过function func() { var a = 1; var b = 2; var c = a +...
2019-01-22 18:07:43 235
原创 英文学习——100个经典句型
1、Do you by any chance know where the nearest gas station is?你知不知道最近的加油站在哪?2、You know that doesn't make sense to me.你知道那对我来说没有任何意义。3、Due to the heavy rain,the flight has been cancelled.由于大雨,...
2019-01-22 15:59:01 3719
原创 英语学习——100个超级短句
1、It's up to you.你来决定。/ 随便你。2、How can I get in touch with you?我该怎么练习你呢?3、Where are you headed?你这是要去哪呢?4、It's a small world.世界真小。/ 真巧啊!5、What is the most convenient time for you?你什么时候...
2019-01-21 16:03:43 1807
原创 React Native入门--开发环境搭建
React Natvie中文网:https://reactnative.cn/docs/getting-started/一、开发环境的搭建和配置1、安装node(8.3版本以上)、python2.x(建议2.7.13),node用于提供npm包管理器,专门用于管理js包;安装完node建议设置npm镜像以加快后面的过程:npm config set registry http...
2019-01-08 15:44:07 209 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人