Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2019年3月第二周 #11

Open
tianyuanfeng opened this issue Mar 9, 2019 · 0 comments
Open

2019年3月第二周 #11

tianyuanfeng opened this issue Mar 9, 2019 · 0 comments
Labels
weekSummary 每周总结

Comments

@tianyuanfeng
Copy link
Owner

tianyuanfeng commented Mar 9, 2019

1. axios二次封装
由于之前系统 ajax 封装一直没有做好,在做新界面迁移的时候,考虑的点比较多
过程中找了比较多的资料
vue axios 封装
axios基于常见业务场景的二次封装
Axios中文说明
Axios中文文档

image

2.前端自适应方案
之前对自适应的实现方式的了解
1.rem
2.媒体查询
3.百分比

技术在一直进步,怕自己落伍了,依旧还是查资料,和前端小伙伴讨论,最终定了一个方案。
但是隐约感觉这样子做,后面还是会有一些未知的问题,也有一些不太合理的地方,因为我们的需求是针对PC端的,然后要支持4K大屏图的展示效果。不过,那天大家说了,我们一起爬坑。

理论基础
这篇文章写得挺全的,知识点
像素的世界
这个博主,写得比较有趣
Flexible
这个是阿里的方案,我们现在是这样做的
vw
这个应该是有一个新发现 vw,vh实现自适应

这次在做自适应的时候,没有满足于找到一个可执行的方案,就背后的原理也研究了一下。

CSS像素、物理像素、逻辑像素、设备像素比、PPI、Viewport
这篇文章总结的非常好

3.React 基础知识学习
因为需要给实习生培训,所以周末整理了一下React基础知识。

4.其他
这周看了一本书《小王子》
跑步3次,每次9公里

5.总结
其实我一直都觉得,不是工作需要我,而是我更需要工作。
时间过得好快呀!想做的事情好多,只能和时间赛跑了。

@tianyuanfeng tianyuanfeng added the weekSummary 每周总结 label Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
weekSummary 每周总结
Projects
None yet
Development

No branches or pull requests

1 participant