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

Chapter18 #8

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VUE_APP_ERUDA=true
VUE_APP_ERUDA=false
NODE_ENV="development";
BASE_URL='/'
VUE_APP_BASE_API="/dev-api"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dou-yin
# 视频类WebApp

## Project setup
```
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^0.21.1",
"babel-plugin-import": "^1.13.0",
"core-js": "^3.6.5",
"lib-flexible": "^0.3.2",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
44 changes: 44 additions & 0 deletions public/static/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"list": [
{
"id": "1",
"url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4",
"perLikes": "7008",
"perComments": "81",
"perForward": "391",
"perName": "@小孟儿",
"perDesc": "女柚子的比赛之路,报告大家,目前一路顺畅",
"perMusicName": "@小孟儿创作的原生"
},
{
"id": "2",
"url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4",
"perLikes": "238",
"perComments": "6",
"perForward": "",
"perName": "@克拉拉ClaraLee",
"perDesc": "你进今天健身了吗",
"perMusicName": "@克拉拉创作的原生"
},
{
"id": "3",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"perLikes": "5.4w",
"perComments": "1401",
"perForward": "784",
"perName": "@普通闲话",
"perDesc": "普通百姓买房子是资产保值增值的最好方面是吗",
"perMusicName": "@普通闲话创作的原生"
},
{
"id": "4",
"url": "http://video.jishiyoo.com/161b9562c780479c95bbdec1a9fbebcc/8d63913b46634b069e13188b03073c09-d25c062412ee3c4a0758b1c48fc8c642-ld.mp4",
"perLikes": "2640",
"perComments": "734",
"perForward": "43",
"perName": "@萌宠动漫社",
"perDesc": "这哪还是龙啊,就是一只二哈",
"perMusicName": "@萌宠动漫社创作的原生"
}
]
}
89 changes: 89 additions & 0 deletions public/static/me.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"userInfo": {
"name": "前端逗逗飞",
"sn": "201509094607",
"sub": "带你走进前端开发",
"age": "23",
"desc": "公众号前端逗逗飞",
"tag": "标签",
"like": "2",
"fans": "20000"

},
"vlist": {
"works": [{
"id": "001",
"url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4",
"icon": "/assets/img/1.png"
},
{
"id": "002",
"url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4",
"icon": "/assets/img/1.png"
},
{
"id": "002",
"url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4",
"icon": "/assets/img/1.png"
},
{
"id": "003",
"url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4",
"icon": "/assets/img/1.png"
}
],
"movs": [
{
"id": "001",
"url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4",
"icon": "/assets/img/2.png"
},
{
"id": "002",
"url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4",
"icon": "/assets/img/2.png"
},
{
"id": "003",
"url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4",
"icon": "/assets/img/2.png"
}, {
"id": "004",
"url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4",
"icon": "/assets/img/2.png"
}
],
"likes": [
{
"id": "001",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"icon": "/assets/img/3.png"
},
{
"id": "002",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"icon": "/assets/img/3.png"
},
{
"id": "003",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"icon": "/assets/img/3.png"
},
{
"id": "004",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"icon": "/assets/img/3.png"
},
{
"id": "005",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"icon": "/assets/img/3.png"
},
{
"id": "006",
"url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4",
"icon": "/assets/img/3.png"
}
]
}
}
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<style lang="less">
#app {
height: 100%;
background-color: #000;
height: 100vh;
background-color: #101821;
p {
margin-top: 5px;
margin-bottom: 5px;
Expand Down
16 changes: 10 additions & 6 deletions src/assets/fonts/iconfont.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1599093955247'); /* IE9 */
src: url('iconfont.eot?t=1599093955247#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA1kAAsAAAAAF2AAAA0VAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGDgqcbJcoATYCJANcCzAABCAFhG0HghIbohMjEeaUVRjZXyZwh+QWHmQgULafQ9GzeS7ZlaXXtwa1gTraxAPP/t778D0p7izCWWxQXXWJZJpjXVyU05Kupzl/X+5idzHECwmaimMW1EqEOh6qUPPLp3qpJg6VtANeFazqkW+afvfsT9efiI0My5n9VXfdaS+06aekD8JZADQg5pXtAghAYJM5rPy8mqa0VGpoVs+dGRBTeCt5rDvpXNb93qVVuXfoMWqAeTJc+rRTqpxSCgtMaAJQJoB0wlAM1iYHqzALseO3uDMBkBVmMtSXXyoHDpxkBhi1sEhdBxxfCVwQG+AUsDjXjEXoIDBxwj2MJ8CO+e2DV2gNOAAhZgTSXY005zWCzA2P7RjloWAe1g7nypM4XQ9EQD0Qg+CbW/UFs3m9aRE8O+4OUENC/50YD0x3lFvqjndnuPPc29xa90G3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7+nbgmPPqA3kB1ni/9VN7/7XkxIh016tgMUH65Ys3W/6Gnuk5wnuU+h838zgP+PMRsWYSZUYK8YP9uvYlasCAC/+Q9cwx/G5+CfwoIwiiSMYaOYLEGHr8eWdxmw3zGNKPy/hG24DmtPeILdxGITBjAnpgxsxvPTNBN1fcI2RDMYhoSPsDEsMvA/tsofQxlj7Av5QrCsHIcvFKb9xiE/pA/drJ1/2yz9r6hH//bTpOoAfP0OwHUA/x59I8RKK+PPkGWoa/fcnPvb6M+j15RUqQGYHSGQlfeAL+C6Eh+2J788de4/gHw/l4TYQkmEIyo0jpxMEkhxJIkjk2RNUnD9HB8rAYNiLoBaOwhBRM4QBoFRghF5GopHfkCY/H1HWEQBRghK5OOTFHOL2Hi1IBkuIngIDMkopZwb1ugviLyW1ptnxv+Bddgq1otVsPcTDNgyPNw12jAroSyl4oPcHWhNIrOUQMiLmDl7WS4Vz3MRUppr5F4tSNbTX4TgkR1DMupgboS+/hdEXksrWPCR/Q+sw9MLawurFKGflkm1YFvs7hptMJVKqNMtpcIHlaDlLhIy/vkSCHkhztGRvVjSjVRaa1F/frodrLD4FpU++l8QJVlRNd0wLdtxvf2Dw6Pjk9MzFZYmltRjlCZBqY2gd7Rgyg80yjfnzu6AV+vDtnrnP2yUYENaS7e5BsWlQIb/ZUgpwc4djUTtjHPlAzCVyEsTYDVDE2lvik9ZfcZhqWS7DEbqtM16HlL2qAlxXay5YXAhXycPYitdjArUNaSk8QrlUr0rjrzzVH7GGFCFfdaW4lwOAAA=') format('woff2'),
url('iconfont.woff?t=1599093955247') format('woff'),
url('iconfont.ttf?t=1599093955247') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1599093955247#iconfont') format('svg'); /* iOS 4.1- */
src: url('iconfont.eot?t=1614668528569'); /* IE9 */
src: url('iconfont.eot?t=1614668528569#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAA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Z81DyHbJy1CHs/PfYM0b8rW1i7VkXZ24qsstRoQhxs8VSwg0VSPMTTMj8L5dAIWdTnGIsc2qLHk3FtTfLr0kvCZvJt0/uu6k3snKKKKqY4kooqZTSyiirnPILi0vLK6tr6xsq14PPOZmqkyaW3HckTUJSKxHnZNFUFmSUb42hM0e3vXO4V5v7P0WUUFNay7MNjcqVAxl+VDDlhLr5kCQpyg3lAzTVyEsTUC0jE2lvSp6itozdQslOHhaLm3Z3NkLOFvVQ2imV3DecsC+TB4FteUwClLWgrGmKlVz9qzn73HNlGVPAVeezujQAAA==') format('woff2'),
url('iconfont.woff?t=1614668528569') format('woff'),
url('iconfont.ttf?t=1614668528569') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1614668528569#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
Expand All @@ -15,6 +15,10 @@
-moz-osx-font-smoothing: grayscale;
}

.icon-bqxin:before {
content: "\e68c";
}

.icon-tanhao:before {
content: "\e690";
}
Expand Down
Binary file modified src/assets/fonts/iconfont.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion src/assets/fonts/iconfont.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/assets/fonts/iconfont.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "106851",
"name": "心",
"font_class": "bqxin",
"unicode": "e68c",
"unicode_decimal": 59020
},
{
"icon_id": "2057047",
"name": "叹号",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/fonts/iconfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/fonts/iconfont.ttf
Binary file not shown.
Binary file modified src/assets/fonts/iconfont.woff
Binary file not shown.
Binary file modified src/assets/fonts/iconfont.woff2
Binary file not shown.
14 changes: 11 additions & 3 deletions src/common/components/index/InfoBar.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<div class="info-bar">
<div class="infobar-item">逗逗飞</div>
<div class="infobar-item">Vue 从0到1 实战</div>
<div class="infobar-item">{{item.perName}}</div>
<div class="infobar-item">{{item.perDesc}}</div>
<div class="infobar-item music-item">
<span class="iconfont icon-douyinbiaoshishang"></span>
<div class="music-name">
<span data-text="千岛群岛群无多">千岛群岛群无多</span>
<span data-text="千岛群岛群无多">{{item.perMusicName}}</span>
</div>
</div>
</div>
Expand All @@ -14,6 +14,14 @@
<script>
export default {
name: 'InfoBar',
props: {
item: { // 父组件通过props将数据传递到子组件
type: Object,
default() { // 默认为空对象
return {};
},
},
},
};
</script>

Expand Down
Loading