douyin/README.md
2022-10-18 12:37:43 +08:00

105 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p align="center">
<img src="https://badgen.net/github/stars/zyronon/douyin" alt="Star">
<a href="https://github.com/vuejs/vue">
<img src="https://img.shields.io/badge/Vue-3-brightgreen.svg" alt="Vue">
</a>
<a href="https://cn.vitejs.dev">
<img src="https://img.shields.io/badge/vite-2-brightgreen.svg" alt="Vant-ui">
</a>
<a href="http://mockjs.com">
<img src="https://img.shields.io/badge/mockjs-brightgreen.svg" alt="easymock">
</a>
<a href="https://github.com/Geek-James/ddBuy/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/mashape/apistatus.svg" alt="license">
</a>
</p>
简体中文 | [English](https://github.com/zyronon/douyin/vue3-vite/README.en.md)
# 此代码仅供学习,请勿用于商业用途
## 简介
**douyin** 是一个模仿抖音的移动端短视频项目,它基于 [vue 3](https://v3.cn.vuejs.org/),
[vite 2](https://cn.vitejs.dev/)
实现。使用了最新的Vue全家桶技术栈后台数据通过[mock-js](http://mockjs.com)搭建。相信不管你是处于哪个段位的工程师,本项目都能帮助到你。
## 核心技术拆解TODO
- 手机端抓包
- 首页无限滚动
- me页面滚动逻辑
- 通话进入和挂起动画
欢迎提Bug,如有新的需求和想法,欢迎 issue 和 pr
## 预览
### 电脑端请用Chrome手机模式访问
### 手机请安卓Via浏览器预览。其他浏览器检测到页面内有视频会强制将视频全屏并显示控制按钮导致css和js都失效后面可能考虑用app套个壳至少在手机上能正常显示
[在线预览地址1](http://ttentau.top/dy/)
[在线预览地址2](http://ttentau.top/dy/)
## 功能点
页面|进度
---|---
首页|50%
-- 音乐|&#9745;
-- 抖音音乐榜|&#9745;
-- 搜索|50%
-- 直播|50%
朋友|0%
消息|&#9745;
-- 聊天|&#9745;
-- 各种通知|&#9745;
我|90%
-- 求更新|&#9745;
-- 关注和粉丝|&#9745;
-- 编辑资料|&#9745;
-- 添加朋友|&#9745;
-- 我的音乐|&#9745;
-- 抖音商城|0
-- 收藏视频\音乐|&#9745;
-- 右侧菜单子页面|10%
-- 设置|&#9745;
-- -- 具体设置页面|0%
登录\注册|&#9745;
## 运行
```bash
# 克隆项目到本地
git clone https://github.com/zyronon/douyin.git
# 进入项目目录
cd douyin
# 安装依赖
npm install
# 启动服务
npm run serve
# 访问
Chrome浏览器访问 http://localhost:8080
Chrome切换成移动端模式快捷键先按F12调出控制台再按Ctrl+Shift+M
```
## 问题反馈
移步Issues欢迎提出问题和建议。
## MIT许可协议
[MIT](LICENSE)
## 声明
本项目仅做技术交流和学习,请勿用于商业目的!
Copyright (c) 2021 zyronon