当前位置:网站首页>Imitation Tiktok homepage interface
Imitation Tiktok homepage interface
2022-07-25 22:05:00 【Doraemon has no pocket y】
Catalog
Bottom navigation bar related code
Bottom navigation bar rendering
If you want to make the homepage interface of Tiktok short video , We're going to quote swiper plug-in unit 、 You need to use iconfont Icon ( You can download it on the official website by yourself ) etc. .
design sketch
We can divide this interface into three parts, namely : Top ( Focus on 、 recommend 、 near )、 middle ( Like the video part and the right 、 Comment on 、 forward )、 Bottom navigation bar . utilize swiper The plug-in slides several videos (swiper For the usage of plug-ins, you can check the detailed tutorial on the official website ).
Top related code
We can use header Component to write the top content of the interface , The top can be divided into three parts ( Left Icon 、 Middle text 、 Right icon ), Let's look at the code :
Top rendering

Content related code
Video part , We need to use a box to put several videos 、 written words 、 Install the avatar, etc . This part can be divided into four parts : Button 、 On the right ( give the thumbs-up 、 Comment on 、 forward )、 Middle text 、 Loop Playback . Let's look at some of the code in this part ( Some other videos can be modified according to their own needs ):

Content rendering

Bottom navigation bar related code
The bottom navigation bar can be divided into five parts : home page 、 friend 、 plus 、 news 、 I . Now let's look at the code :
Bottom navigation bar rendering

Complete code
html

css

js
flexible.js
边栏推荐
- [Fantan] how to design a test platform?
- Redis为何选择单线程?
- [hand tear STL] BitSet (bitmap), bloom filter
- sql语句练习题整理
- Collation of SQL statement exercises
- Playwright tutorial (I) suitable for Xiaobai
- ansible+Crontab批部署巡检
- 2022 the latest software tests eight part essay. Whether you can offer depends on how you recite it
- 这次龙蜥展区玩的新花样,看看是谁的 DNA 动了?
- LeetCode_ 93_ Restore IP address
猜你喜欢

TS:typora代码片段缩进显示异常(已解决)-2022.7.24

Solutions to the failure of win key in ikbc keyboard

『Skywalking』. Net core fast access distributed link tracking platform

2年功能测试,却感觉自己什么都不会,2022我该何去何从?

jenkins+SVN配置

在进行自动化测试,遇到验证码的问题,怎么办?

ansible+Crontab批部署巡检

2022最新软件测试八股文,能不能拿心仪Offer就看你背得怎样了
![[leetcode ladder] linked list · 876 find the middle node of the linked list](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[leetcode ladder] linked list · 876 find the middle node of the linked list

Basic knowledge in the project
随机推荐
mouseEvent事件——mouse坐标描述——focus事件——input事件——节流(thorttle)——mouseWheel(滚轮事件)
『SignalR』.NET使用 SignalR 进行实时通信初体验
Uninstall NPM and install NPM_ Use 'NPM uninstall' to uninstall the NPM package 'recommended collection'
C language: random generated number + bubble sort
Unity performance optimization direction
【饭谈】如何设计好一款测试平台?
Three ways to allocate disk space
The dragon lizard exhibition area plays a new trick this time. Let's see whose DNA moved?
【饭谈】软件测试薪资层次和分段(修仙)
YUV420 yuv420sp image format "recommended collection"
虚拟内存与磁盘
Redis memory elimination mechanism?
[51nod1676 undirected graph isomorphism] undirected graph hash [easy to understand]
关于接口测试你想知道的都在这儿了
『SignalR』. Net using signalr for real-time communication
c sqlite ... ...
Jmeter---设置代理录制请求
[51Nod1676 无向图同构]无向图哈希[通俗易懂]
JSP nine built-in objects
Why does redis choose single thread?
flexible.js