From a99c4840e265fe58f79702b2b876bb62b576cdb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Tue, 2 Mar 2021 10:46:50 +0800
Subject: [PATCH 01/14] =?UTF-8?q?=E7=AC=AC=E5=85=AB=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/common/components/index/InfoBar.vue | 2 +-
.../{index => topbar}/TopBarItem.vue | 0
.../components/{index => topbar}/Topbar.vue | 22 --
.../VideoList.bak.vue} | 4 +-
src/common/components/videoList/VideoList.vue | 237 ++++++++++++++++++
.../Videos.vue => videoList/Videos.bak.vue} | 0
src/common/components/videoList/Videos.vue | 72 ++++++
src/main.js | 8 +-
src/router/index.js | 8 +-
src/views/index/Index.vue | 37 +--
10 files changed, 325 insertions(+), 65 deletions(-)
rename src/common/components/{index => topbar}/TopBarItem.vue (100%)
rename src/common/components/{index => topbar}/Topbar.vue (74%)
rename src/common/components/{index/VideoList.vue => videoList/VideoList.bak.vue} (99%)
create mode 100755 src/common/components/videoList/VideoList.vue
rename src/common/components/{index/Videos.vue => videoList/Videos.bak.vue} (100%)
create mode 100755 src/common/components/videoList/Videos.vue
diff --git a/src/common/components/index/InfoBar.vue b/src/common/components/index/InfoBar.vue
index e212195..fb79439 100755
--- a/src/common/components/index/InfoBar.vue
+++ b/src/common/components/index/InfoBar.vue
@@ -1,7 +1,7 @@
逗逗飞
-
Vue 从0到1 实战
+
vue实战 视频类webApp
diff --git a/src/common/components/index/TopBarItem.vue b/src/common/components/topbar/TopBarItem.vue
similarity index 100%
rename from src/common/components/index/TopBarItem.vue
rename to src/common/components/topbar/TopBarItem.vue
diff --git a/src/common/components/index/Topbar.vue b/src/common/components/topbar/Topbar.vue
similarity index 74%
rename from src/common/components/index/Topbar.vue
rename to src/common/components/topbar/Topbar.vue
index 9f8ffea..99eec44 100755
--- a/src/common/components/index/Topbar.vue
+++ b/src/common/components/topbar/Topbar.vue
@@ -39,7 +39,6 @@ export default {
diff --git a/src/common/components/index/Videos.vue b/src/common/components/videoList/Videos.bak.vue
similarity index 100%
rename from src/common/components/index/Videos.vue
rename to src/common/components/videoList/Videos.bak.vue
diff --git a/src/common/components/videoList/Videos.vue b/src/common/components/videoList/Videos.vue
new file mode 100755
index 0000000..08819bc
--- /dev/null
+++ b/src/common/components/videoList/Videos.vue
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/main.js b/src/main.js
index 6fb465a..ce40787 100755
--- a/src/main.js
+++ b/src/main.js
@@ -5,20 +5,16 @@ import store from './store';
import 'lib-flexible/flexible';
import 'common/styles/main.less';
import 'normalize.css/normalize.css';
+// 全屏滚动组件
import VueSwiper from 'vue-awesome-swiper';
-import { Swipe, SwipeItem } from 'vant';
import 'swiper/css/swiper.css';
+// vue 视频播放组件
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css';
-import { Tabbar, TabbarItem } from 'vant';
-
Vue.use(VueSwiper)
-Vue.use(Swipe);
-Vue.use(SwipeItem);
-
Vue.use(VueVideoPlayer)
Vue.config.productionTip = false;
diff --git a/src/router/index.js b/src/router/index.js
index 6499fad..f5dde50 100755
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,7 +11,7 @@ const routes = [
},
{
path: '/index',
- redirect: '/index/recommend/', // app打开之后 默认跳转到首页的推荐标签栏
+ redirect: '/index/recommend/',
},
{
path: '/',
@@ -31,7 +31,7 @@ const routes = [
{
path: 'reVidelList',
name: 'reVidelList',
- component: () => import(/* webpackChunkName: "reVidelList" */ '../common/components/index/VideoList.vue'),
+ component: () => import(/* webpackChunkName: "reVidelList" */ '../common/components/videoList/VideoList.vue'),
},
],
},
@@ -43,7 +43,7 @@ const routes = [
{
path: 'reVidelList',
name: 'reVidelList',
- component: () => import(/* webpackChunkName: "reVidelList" */ '../common/components/index/VideoList.vue'),
+ component: () => import(/* webpackChunkName: "reVidelList" */ '../common/components/videoList/VideoList.vue'),
},
],
},
@@ -57,7 +57,7 @@ const routes = [
{
path: '/friends',
name: 'friends',
- component: () => import(/* webpackChunkName: "videoList" */ '../common/components/index/VideoList.vue'),
+ component: () => import(/* webpackChunkName: "videoList" */ '../common/components/videoList/VideoList.vue'),
},
],
},
diff --git a/src/views/index/Index.vue b/src/views/index/Index.vue
index 52b4df5..3f0448a 100755
--- a/src/views/index/Index.vue
+++ b/src/views/index/Index.vue
@@ -1,41 +1,17 @@
-
+
-
+
From 8de52874eff02dcc7ff107be3bd9ceb13d16c8f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Tue, 2 Mar 2021 16:49:24 +0800
Subject: [PATCH 02/14] =?UTF-8?q?=E7=AC=AC=E5=85=AB=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/fonts/iconfont.css | 16 ++++++----
src/assets/fonts/iconfont.eot | Bin 6152 -> 6244 bytes
src/assets/fonts/iconfont.js | 2 +-
src/assets/fonts/iconfont.json | 7 +++++
src/assets/fonts/iconfont.svg | 3 ++
src/assets/fonts/iconfont.ttf | Bin 5984 -> 6076 bytes
src/assets/fonts/iconfont.woff | Bin 4076 -> 4156 bytes
src/assets/fonts/iconfont.woff2 | Bin 3428 -> 3496 bytes
src/common/components/index/RightBar.vue | 22 +++++++++-----
src/common/components/videoList/VideoList.vue | 11 +++++--
...\261\273webApp\345\244\247\347\272\262.md" | 28 +++++++++---------
11 files changed, 58 insertions(+), 31 deletions(-)
diff --git a/src/assets/fonts/iconfont.css b/src/assets/fonts/iconfont.css
index e430868..82a7331 100644
--- a/src/assets/fonts/iconfont.css
+++ b/src/assets/fonts/iconfont.css
@@ -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/50YD0x3lFvqjndnuPPc29xa90G3wX3T/fAN503Km4I37R6PB3iIFC9HOreBCJNNlW8f5PHhT4CNRYTLlxCObLOJRut/PAze/PB5gSAJjKIHCKpYdwV4AFXjlj4goNKHYEAXCwyoAAIHSkEwgZIQkUBFEFFAGQgpUBlEPFAhRAZMZYk8oBzENpjqE1qgLMRBoADCAJSAuAmUhniILELwyMmiBDymZFEOHguyyAeP7ZMUA1Tq12gE2kG8BJAsBCn/xLTiXSFxTBaNcsNAdTOUAWkUeTwvH14QTzqez8fHjfNVclneGvO7VfpEEZJjeERAgG8Ml+sjCuYSFS9MjPngkpBQiVdEhDeffCrcTfbP5Y4vFK43Kqd7vdOpdLlUDofCbleaOjSdg73a7n4rZenronuURqu1W9sbYO4MwDQxHXRgF7QiEkgEIpAH1judKpdLkc/dYZc/TE677iTsdjlRFFyhTPBQ3PWmw+P77ATtfDRy4sLt56Q2GaudT50dehD8CU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iLmDl7WS4Vz3MRUppr5F4tSNbTX4TgkR1DMupgboS+/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,d09GMgABAAAAAA2oAAsAAAAAF7wAAA1aAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGHAqdLJdZATYCJANgCzIABCAFhG0Hghob7RMjEWZk1Uj2lwfcobqFC0WgKGbl6iSy0ei5aUBPgoFgl/bP65g1298Y/EOX+f7MXKuFLw0kFApICEOJQMRLI5z1gOy909/9PQCb51lbrammT/sv7ZU0V9LkL4/TKIWQIBwEwDG7rX2Azd2Cs9HAKr4aZTiST5CfHuf8lyYFmqAyaJGZFpOi3rTgRcsUZp5snkyhQsv213FiE0V86m06cf0t8/MCCKgBof+bKy2gPXkO5zDuhGHp8zcXmM0/+MdzQJwDKqHsqyJhKmSypUkxWwBwrWttK1Rfhdkar2swOrua8DAnPBgCSV3rCsObp1eoc7iwsGxOkYS6rZELSZd4bdTnluHKVyLiwWdzEV7U368/+XEwIiG4h7qfXU/g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yy9g1U7QAFhM/GM813pBDmOtr8MS2hmVnlEAJvYdnWOxx/H9FlfEe9tzJNfhkzhTpK1sC/yeEhsJUN+9IK9yHb62RYeoDCX+l5bfvjHBRa0YeUAP8/uz5K7ZYXoq6GHkx6hKYGgYAAIZgZBVcoGY9pIE9slLh66zPzi5YBccDAIA9/AeerL+sp4CBgJ1ggmQNGYQFWdXIInjWhAz+DpNhif+yViLV8Oqsi47B/Kw2mIFF7cuQmDiDAMCCL+A+WALDyHpgCPZs/x+ea08DoJk19IF9JaA5e/pmoUXwNxPsO/ycu6XwRxXqr5UzREyceclHPp7nhN8gDGXjaIDXTwJ3LVbF4a9m6bcTGKXRSsupC1XGDEjyp8FHdE/RX51qKrGrfyPUVExmxHSYFTeOd8lrFpFyZlFxVyxp5fb2KSVWicIJYOmLMMn7ZkbWO7PyfuJd8i+LqPpnUfmWJT0EEgFTpp+aA4vS4UQEC0EhGyW0uKa2/Bkjr6W1GmrmO9qchsXO5rZz+hYN2jx88mm065wSynIqbsjDodYsMssJhm4zdi473dpSfr6bIafQdMdCkpMLTwiBRUkSYoY6u9N0/fpnKOJpkg3Z81DyHbJy1CHs/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 {
@@ -15,6 +15,10 @@
-moz-osx-font-smoothing: grayscale;
}
+.icon-bqxin:before {
+ content: "\e68c";
+}
+
.icon-tanhao:before {
content: "\e690";
}
diff --git a/src/assets/fonts/iconfont.eot b/src/assets/fonts/iconfont.eot
index bb05476c1e8d8b9fdffb3c1dfa906bbd58c13717..c66340fd85ca1ed7f1a4a0f03494330a40beb21f 100644
GIT binary patch
delta 832
zcmY+CPe@cj9LK*i@6E2J>8h){
Pj9oss$BF
zG{~OE0*j6z3tb|Fh{Es`MyK!)5#uE*0>Oi=ea8u+d3
zNZ-$-ZGa0!qwZna%Op9F85{S0(1Q5L?#j?euh-Pv$av~J=gk>!JS!S7!hNbheAvtM
z#X2t(ZUNyGFU@2}u8%!F`e+NNS)|iJKP?i6q7ZZ@`PJH;%jF$gC~>&}tf!ry|Hj=8
zKQF39)L#*vsP-FWcg0)onzL-?gnP%oEi>)gf7gD&*|VBB?xW*2omS{phd3>%l}_pg
z-Kslvm(J-qzs?yvk;4BUupePWP>v!5QNcLX2tlEg5lR?cB7kDXuR;yVP{~^Y{+d(p
zvySrLyMbKNXk&{2nuCE6p{d%y*wE6l=i|^Oybqcw8F(|avQPtb!a_CBjBhac=>`iG
zLbqCS6bs#Hp={_b3lo6OSxoKptc6KI&sj|I^nD8xh2}dOm@@Qh3zLUlwXh7>pjZP7
zf{kOynU0Um$!QC#gpDbSsTW%u)A%4lVp5jMxI8Ie$S+RP$-6Q4qPwJ^PN^H}Q=ly{
z84L$|=ucU@9qy!a$s{4_-C!jmZK$eG2IaY>!fYrhz9kZ3Gf`St48N0Wa|_=KuL@74
iEBZyt=7SkLj|P5+_#f3ojueXnP*+FC2Z#Nx$eTaN^s}}A
delta 713
zcmY+BKWLLd7{;Hw?@wZzrfF*u|ANriT9J~Wwh***DH0R}u^GgoUz=)>e11`jR8TTF
zSP`VVBd4G)id>G8tL?0raQw0uO4Z@jy
zqi6rz0eZeNX;_PH%zk`+@E(vk#h`9g7QF*m2nLg-Qq;K6dF&_JT{?g-Hz(Kst=p&7
zOOX~?^;QHTr4Gqr{1s2lU9~3ns!uYZp2?H@w^}Y>6Hd!I!nKWYTX6A4C7j)==%iJ_
znK(X(|34ss9%PV23_eoWft~2&t@hRn0v_U!=tdeH=vw*Ubcnhs(~JzDxfu8eG*ub+
z9JI8wVjS9pDWF-Tfytmf3)4dPS||WIXQ346ehWoGAGOq}4|>!>rO@LRYKE>`s2=)(
z#dJb1SWI{HBMWPTUbC=D=yw*@izfF5R*q)D!XBV`0^?=^+kxg?3%a;Bql{&2iYf73
vLgwUS`Py-v1?QJra38uGUY~c)TlF*kl>Z|(yi)alr}$&9WCsP*)9m_RvWJoW
diff --git a/src/assets/fonts/iconfont.js b/src/assets/fonts/iconfont.js
index ca7a770..282bbe2 100644
--- a/src/assets/fonts/iconfont.js
+++ b/src/assets/fonts/iconfont.js
@@ -1 +1 @@
-!function(c){var t,l,a,o,i,e,n,s='',h=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(h&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}function d(){e||(e=!0,o())}l=function(){var c,t,l,a,o,i=document.createElement("div");i.innerHTML=s,s=null,(c=i.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",t=c,(l=document.body).firstChild?(a=t,(o=l.firstChild).parentNode.insertBefore(a,o)):l.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(l,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),l()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(o=l,i=c.document,e=!1,(n=function(){try{i.documentElement.doScroll("left")}catch(c){return void setTimeout(n,50)}d()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,d())})}(window);
\ No newline at end of file
+!function(c){var t,l,a,o,i,e,n='',s=(s=document.getElementsByTagName("script"))[s.length-1].getAttribute("data-injectcss");if(s&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}function h(){i||(i=!0,a())}t=function(){var c,t,l,a;(a=document.createElement("div")).innerHTML=n,n=null,(l=a.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",c=l,(t=document.body).firstChild?(a=c,(l=t.firstChild).parentNode.insertBefore(a,l)):t.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(l=function(){document.removeEventListener("DOMContentLoaded",l,!1),t()},document.addEventListener("DOMContentLoaded",l,!1)):document.attachEvent&&(a=t,o=c.document,i=!1,(e=function(){try{o.documentElement.doScroll("left")}catch(c){return void setTimeout(e,50)}h()})(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,h())})}(window);
\ No newline at end of file
diff --git a/src/assets/fonts/iconfont.json b/src/assets/fonts/iconfont.json
index e1f6654..41a6bf9 100644
--- a/src/assets/fonts/iconfont.json
+++ b/src/assets/fonts/iconfont.json
@@ -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": "叹号",
diff --git a/src/assets/fonts/iconfont.svg b/src/assets/fonts/iconfont.svg
index 4b6754c..4e417f6 100644
--- a/src/assets/fonts/iconfont.svg
+++ b/src/assets/fonts/iconfont.svg
@@ -20,6 +20,9 @@ Created by iconfont
/>
+
+
+
diff --git a/src/assets/fonts/iconfont.ttf b/src/assets/fonts/iconfont.ttf
index 26c9ef634bd3e14df47a1455191d7f8f7cbac5bd..f3d5640c6b4024ca4db722d63d233092b9a17176 100644
GIT binary patch
delta 808
zcmY+CO-NKx6vzM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=60BgBp%ouc6dGoP;s6@v
zhT>3~$j7EmSPzQ3(6BO;YhVvh9R_v-RWPtGs4fFLggRBzF9xS52Muf+>b!viKxrSs
zQJ|g~^nz5~pqHjz8aOD_2Lnfj`e@L9WQ}(XGL!=bTxzFs!NA>MZO)*#6rCw7Vna-b
w9~P{F^~zed9lLICI|I&hr|EXO*WD%0_a?lbvHtg~?oL`{<+5KCkX!!BA4KSp^8f$<
diff --git a/src/assets/fonts/iconfont.woff b/src/assets/fonts/iconfont.woff
index 488e60a58efdca8f692165bd9be78df767991f5f..1d2566cc5b9d6ee1f2aaa03a022108593eb238df 100644
GIT binary patch
delta 3707
zcmV->4utXSAG{zGcTYw}00961000m?01E&B000-fkrX|Dx=D>=ZDDW#00Dpi009aB
z00SIu0^F2mY<(v
zDDmlRI^>&N9P%wbyno@@Zw*!IYoL)Pnrg0<*4k*RU9R&u&+=lw2cg%an&p3AH76qZ
zydiH#>;2b)D<0@^L(Lg??)8yd->Ty-Fa3RkHs`*>Jx^TI^)K5ePyPSVDUa0u+4YK6
zfv1U5;JKnkaHwepo;7L(o;s=m&)?bwZP%_)ycJbfE4PZuk{{*xLyoCX?_{(#cPqp?^F&bCJK!e@O+H
zfWD6&eTWbN?>7a)n#4hL(nSVPibUjqDWz%2Aj<8~-
zihI7kw2_b{jgonOUXp(xK0gm}N#f_{Pk$+jU!Jz;Ma6DcLy?f$W61!$Y1pqQ{xu2#`PoJ4?;#`u4DW1Rov+CngV_{JOW
z)7Adf#bxU2{BMFNp?drk!N*UD(XJbkKSxgtCfK6OR=-E<{KJF50w*=o@*G_
z7I=@)k*yochRT0&NzXTorPU7llZkXRoN)xZ`d5|WI?N8XW}~%S*b~XtDw&8N$acD7
zD}LIF@2}ZOHcZl_k6cTxM|FC|grxcM=mE=cy<|o)zK!Z61p=rN^2ST>w5mI`t_VXt~f6}4yj5fKxa6dI=nE9BxuL_7uK6L
ziY7t-enrBhN(RXY*^E{u6PU1;Nood=`cU_{X;~ip7=bvZu&)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MhV2Zf+I<%KhE^eEql6(SA$B}72n*BJd)9uaW$C)<
zKVyGCet98V!>hA!#K`4_b2-+8p=@jF-5D^gz4TOe2wH6FT{CO{D42-Bp%ai_lgq8i
zV}$+(DP!3}004NLV_;-pU;yH2VKOZ7{5D@1xLFuL;C5N;VFdl(pJftrGmy){zyuNn
z01ZqE699OeV_;-pU~c%|z!1YSiGkt&e;|{f4FrGU0E-F*q5uGRoMT~NU|=DHCnB*Y
zA+cTY>jMB$qyfbM00000WB{@N@Bv~0>;eD+Bm$TM!UF^YkOTY#Is}dc-~}cHS_QfW
z76xJl^anP0oMT{QU|MV00AZ-<^n06IRHOLqegz8doT>!8NwnVUGiDaKtU{aE}L^@F>)*z0=_^llDF7f!9Kl_3})<
zO&e;0k9K~lUtfxay{@NHPgD4+2HVcL(apQGAEBpF-9laykE%_^detTE4HYB#Zb&|3
zqqsP}wR+1vVWH=`YQlJ4|0U{->BqN_m}@u?9Yx2ye4tM&f0|VcDW)JVj!aN<8u=d~
Mz5$}3M(+Rs0RNns6951J
diff --git a/src/assets/fonts/iconfont.woff2 b/src/assets/fonts/iconfont.woff2
index 2849a323eebd4051733cf865093d0dbf2fea9ed7..8c124b0eb13b976393a448980c97f3ed619cddfa 100644
GIT binary patch
literal 3496
zcmV;Z4OjAaPew8T0RR9101c=B3jhEB02jOf01a9I0RR9100000000000000000000
z0000SLIzd3Z3luH8|@P#5oTo7NcNWp+@ZRK3q_zP
zX65Q6veD?dX+Tecfnb;R&+C{q+us=cLznsf%v`I5FAXFV3P=b;i9p0lBb@bs?7h?9
z{XGDi=UH2=sisf+FYT2ySJLD!kJBiHkRTicz%je6eSpo~g0s=UD!v+JIFe70pC0G@
zmnH?8pfYHYnHH0x-n8IF%M@mwY@SS^Ld*8oabgoieClmFas4gx^8yH{0ipk!D=nZs
zc@F0=?u23K^EVfm%|H0Zb3mK}DxvJFB4H|IvZYBeTL5saYi%o3UxnEkuWK+myPEJY
zCp;JeNnPs-!<(m9sB^fmuxw6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{SU0e
z(+g`0s}!N1mPxf>TkP%{Z7`KesM9T_!UvV0bjZ|7|QGb5A
z9jvhU7L`8wUl1i(Q8nE#E!%Ou{e#1!Za*=g#hc
zSL?&JdgniElwda@*z9#ZzG32|MlxnXc2UndV@D_x8V)HS4}@e1Wqy(^Bq^HhGu7*K_M)|TR2
G4gdgHzlHSx
diff --git a/src/common/components/index/RightBar.vue b/src/common/components/index/RightBar.vue
index 2e7866d..d7f78b9 100755
--- a/src/common/components/index/RightBar.vue
+++ b/src/common/components/index/RightBar.vue
@@ -2,17 +2,17 @@
-
-
-
@@ -32,10 +32,15 @@
diff --git a/src/common/components/videoList/Videos.vue b/src/common/components/videoList/Videos.vue
index 08819bc..09785c7 100755
--- a/src/common/components/videoList/Videos.vue
+++ b/src/common/components/videoList/Videos.vue
@@ -12,7 +12,7 @@
export default {
name: 'Videos',
- props: ['video'],
+ props: ['video', 'index'], // video 是数据 index标识自动播放第一个视频
data() {
return {
playerOptions: {
@@ -31,16 +31,30 @@ export default {
notSupportedMessage: '此视频暂无法播放,请稍后再试', // 允许覆盖Video.js无法播放媒体源时显示的默认信息。
controlBar: false,
},
- playing: true,
+ playing: true, // 用于判断 当前视频是否为播放状态
playBtn: '',
};
},
-
- components: {
- },
created() {
+ this.autoPlayAction();
},
methods: {
+ playOrStop() {
+ if (this.playing) {
+ this.$refs.videoPlayer.player.pause(); // 如果视频处于播放状态 则点击时 暂停此视频的播放
+ this.playing = false; // 设置播放标识为未播放
+ } else {
+ this.$refs.videoPlayer.player.play(); // 如果视频处于暂停状态 则点击时 继续视频的播放
+ this.playing = true; // 设置播放标识为正在播放
+ }
+ },
+
+ // 自动播放第一个视频
+ autoPlayAction() {
+ if (this.index === 0) {
+ this.playerOptions.autoplay = true;
+ }
+ },
},
};
From b59bbdb12b601eb413db8be4ead29374317689e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Wed, 3 Mar 2021 10:14:17 +0800
Subject: [PATCH 04/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E4=B8=80=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/common/components/videoList/VideoList.vue | 13 +++++++++++++
src/common/components/videoList/Videos.vue | 19 +++++++++++++------
src/main.js | 1 +
3 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/src/common/components/videoList/VideoList.vue b/src/common/components/videoList/VideoList.vue
index a35b91d..8dd6134 100755
--- a/src/common/components/videoList/VideoList.vue
+++ b/src/common/components/videoList/VideoList.vue
@@ -51,10 +51,12 @@ export default {
slidePrevTransitionStart: () => { // 上滑 当屏幕向上滑动时
if (this.page > 1) {
this.page -= 1;
+ this.preVideo(this.page - 1);
}
},
slideNextTransitionStart: () => { // 下滑动 当屏幕向下滑动时
this.page += 1;
+ this.nextVideo(this.page - 1);
},
},
},
@@ -84,6 +86,17 @@ export default {
playAction(index) { // 入参的作用是 需要知道 当前屏幕上显示的视频是第几个视频
this.$refs.videos[index].playOrStop(); // 调用video组件你的playOrStop 方法
},
+ // 向前
+ preVideo(index) {
+ this.$refs.videos[index].play();
+ this.$refs.videos[index + 1].stop();
+ },
+
+ // 向后
+ nextVideo(index) {
+ this.$refs.videos[index].play();
+ this.$refs.videos[index - 1].stop();
+ },
},
};
diff --git a/src/common/components/videoList/Videos.vue b/src/common/components/videoList/Videos.vue
index 09785c7..2a8d63e 100755
--- a/src/common/components/videoList/Videos.vue
+++ b/src/common/components/videoList/Videos.vue
@@ -17,7 +17,7 @@ export default {
return {
playerOptions: {
autoplay: false, // 如果true,浏览器准备好时开始回放。
- muted: true, // 默认情况下将会消除任何音频。
+ muted: false, // 默认情况下将会消除任何音频。
loop: true, // 导致视频一结束就重新开始。
preload: 'auto',
fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
@@ -55,6 +55,17 @@ export default {
this.playerOptions.autoplay = true;
}
},
+ // 播放事件
+ play() {
+ this.$refs.videoPlayer.player.load();
+ this.$refs.videoPlayer.player.play();
+ this.playing = true;
+ },
+ // 暂停事件
+ stop() {
+ this.$refs.videoPlayer.player.pause();
+ this.playing = false;
+ },
},
};
@@ -63,17 +74,13 @@ export default {
diff --git a/src/common/components/videoList/VideoList.vue b/src/common/components/videoList/VideoList.vue
index 8dd6134..2f6ba79 100755
--- a/src/common/components/videoList/VideoList.vue
+++ b/src/common/components/videoList/VideoList.vue
@@ -3,18 +3,68 @@
-
-
+
+
+
+
+
+
@@ -32,7 +82,7 @@ export default {
},
data() {
return {
- showComment: false,
+ showComment: false, // 用于控制评论列表是否显示
swiperOptions: {
direction: 'vertical',
grabCursor: true,
@@ -97,6 +147,10 @@ export default {
this.$refs.videos[index].play();
this.$refs.videos[index - 1].stop();
},
+ // 弹出评论列表或者关闭评论列表
+ showComOrclose() {
+ this.showComment = !this.showComment;
+ },
},
};
@@ -104,18 +158,8 @@ export default {
From 5d40096049129811550619900c46bdd01b689963 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Sat, 6 Mar 2021 15:07:23 +0800
Subject: [PATCH 07/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/common/components/index/InfoBar.vue | 14 ++-
src/common/components/index/RightBar.vue | 14 ++-
src/common/components/videoList/VideoList.vue | 30 ++++-
.../components/videoList/Videos.bak.vue | 103 ------------------
4 files changed, 50 insertions(+), 111 deletions(-)
delete mode 100755 src/common/components/videoList/Videos.bak.vue
diff --git a/src/common/components/index/InfoBar.vue b/src/common/components/index/InfoBar.vue
index fb79439..3a3024c 100755
--- a/src/common/components/index/InfoBar.vue
+++ b/src/common/components/index/InfoBar.vue
@@ -1,11 +1,11 @@
-
逗逗飞
-
vue实战 视频类webApp
+
{{item.perName}}
+
{{item.perDesc}}
- 千岛群岛群无多
+ {{item.perMusicName}}
@@ -14,6 +14,14 @@
diff --git a/src/common/components/index/RightBar.vue b/src/common/components/index/RightBar.vue
index 0f32059..46310f5 100755
--- a/src/common/components/index/RightBar.vue
+++ b/src/common/components/index/RightBar.vue
@@ -10,15 +10,15 @@
-
95.9w
+
{{item.perLikes}}
-
285
+
{{item.perComments}}
-
3027
+
{{item.perForward}}
@@ -32,6 +32,14 @@
-
-
From 21f642efd67f89d832dd244ebf589730c89a071f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Sat, 6 Mar 2021 15:08:49 +0800
Subject: [PATCH 08/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E4=B8=89=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...\261\273webApp\345\244\247\347\272\262.md" | 27 ++++++++++---------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git "a/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md" "b/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md"
index 78b857a..5843455 100644
--- "a/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md"
+++ "b/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md"
@@ -28,31 +28,32 @@
### 点击评论分享:2
-### 视频自动播放和播放与暂停:3
+### 视频自动播放和播放与暂停:2
-### 上滑播放和下拉播放:4
+### 上滑播放和下拉播放:3
-### 评论列表:5
+### 评论列表:完结
-### 注册登录:6
+### 注册登录:4
-### 验证码页面:7
+### 验证码页面:4
-### 登录鉴权:8
+### 登录鉴权:5
-### 自定义弹出框组件:9
+### 自定义弹出框组件:6
-### 用户信息页面:10
+### 用户信息页面:7
-### header组件:11
+### header组件:8
-### 编辑信息页面:12
+### 编辑信息页面:9
-### 我的消息页面:13
+### 我的消息页面:10
-### 发布页面获取电脑摄像头:火力全开完成最后的组件:14
+### 发布页面获取电脑摄像头:火力全开完成最后的组件:11
+### 打包发布 12
-### 项目总结 15
+### 项目总结 13
From 67598ebcf565eee081a651dfbef6d580db8c94fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Mon, 8 Mar 2021 09:40:33 +0800
Subject: [PATCH 09/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E4=B8=89=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 1 +
public/static/data.json | 44 ++++++++++++
src/common/components/videoList/VideoList.vue | 53 ++++-----------
src/request/http.js | 68 +++++++++++++++++++
vue.config.js | 11 +--
5 files changed, 133 insertions(+), 44 deletions(-)
create mode 100644 public/static/data.json
create mode 100755 src/request/http.js
diff --git a/package.json b/package.json
index 318ef0a..80865f3 100755
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/public/static/data.json b/public/static/data.json
new file mode 100644
index 0000000..3571440
--- /dev/null
+++ b/public/static/data.json
@@ -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": "@萌宠动漫社创作的原生"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/common/components/videoList/VideoList.vue b/src/common/components/videoList/VideoList.vue
index d5345a8..32fc24b 100755
--- a/src/common/components/videoList/VideoList.vue
+++ b/src/common/components/videoList/VideoList.vue
@@ -59,6 +59,7 @@
展开60条回复
+
@
@@ -71,9 +72,11 @@
diff --git a/src/common/styles/common.less b/src/common/styles/common.less
new file mode 100644
index 0000000..830fcb9
--- /dev/null
+++ b/src/common/styles/common.less
@@ -0,0 +1,8 @@
+
+ .up-enter-active, .up-leave-active {
+ transition: all .5s;
+ }
+ .up-enter, .up-leave-to /* .fade-leave-active below version 2.1.8 */ {
+ opacity: 1;
+ transform: translateY(100%);
+ }
diff --git a/src/router/index.js b/src/router/index.js
index 10ac4fa..20f0425 100755
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,105 +1,9 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
-import Home from '../views/Home.vue';
+import { routes } from './routers.js';
Vue.use(VueRouter);
-const routes = [
- {
- path: '/',
- redirect: '/index/recommend/', // app打开之后 默认跳转到首页的推荐标签栏
- },
- {
- path: '/index',
- redirect: '/index/recommend/',
- },
- {
- path: '/',
- name: 'Home',
- component: Home,
- children: [
- {
- path: '/index',
- name: 'index',
- component: () => import(/* webpackChunkName: "index" */ '../views/index/Index.vue'),
- children: [
- {
- path: 'follows', // 关注
- name: 'follows',
- component: () => import(/* webpackChunkName: "Follows" */ '../views/follow/Follows.vue'),
- children: [
- {
- path: 'reVidelList',
- name: 'reVidelList',
- component: () => import(/* webpackChunkName: "reVidelList" */ '../common/components/videoList/VideoList.vue'),
- },
- ],
- },
- {
- path: 'recommend', // 推荐
- name: 'recommend',
- component: () => import(/* webpackChunkName: "Recommend" */ '../views/recommend/Recommend.vue'),
- children: [
- {
- path: 'reVidelList',
- name: 'reVidelList',
- component: () => import(/* webpackChunkName: "reVidelList" */ '../common/components/videoList/VideoList.vue'),
- },
- ],
- },
- ],
- },
- {
- path: '/friends',
- name: 'friends',
- component: () => import(/* webpackChunkName: "fllow" */ '../views/friends/Friends.vue'),
- children: [
- {
- path: '/friends',
- name: 'friends',
- component: () => import(/* webpackChunkName: "videoList" */ '../common/components/videoList/VideoList.vue'),
- },
- ],
- },
- {
- path: '/msg',
- name: 'msg',
- component: () => import(/* webpackChunkName: "msg" */ '../views/message/Message.vue'),
- },
- {
- path: '/me',
- name: 'me',
- component: () => import(/* webpackChunkName: "me" */ '../views/me/Me.vue'),
- },
- ],
- },
- {
- path: '/sign',
- name: 'Sign',
- component: () => import(/* webpackChunkName: "sign" */ '../views/Sign'),
- },
- {
- path: '/tpsign',
- name: 'TPSign',
- component: () => import(/* webpackChunkName: "sign" */ '../views/TPSign'),
- },
- {
- path: '/code',
- name: 'Code',
- component: () => import(/* webpackChunkName: "sign" */ '../views/Code'),
- },
- {
- path: '/edit',
- name: 'edit',
- component: () => import(/* webpackChunkName: "edit" */ '../views/me/Edit.vue'),
- },
- {
- path: '/publish',
- name: 'publish',
- component: () => import(/* webpackChunkName: "publish" */ '../views/publish/Publish.vue'),
- },
-];
-
const originalPush = VueRouter.prototype.push;
VueRouter.prototype.push = function push(location, onResolve, onReject) {
if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject);
diff --git a/src/router/module/home.js b/src/router/module/home.js
new file mode 100644
index 0000000..f195c77
--- /dev/null
+++ b/src/router/module/home.js
@@ -0,0 +1,65 @@
+/* eslint-disable import/prefer-default-export */
+import Home from 'views/Home.vue';
+
+export const home = [
+ {
+ path: '/',
+ name: 'Home',
+ component: Home,
+ children: [
+ {
+ path: '/index',
+ name: 'index',
+ component: () => import(/* webpackChunkName: "index" */ 'views/index/Index.vue'),
+ children: [
+ {
+ path: 'follows', // 关注
+ name: 'follows',
+ component: () => import(/* webpackChunkName: "Follows" */ 'views/follow/Follows.vue'),
+ children: [
+ {
+ path: 'reVidelList',
+ name: 'reVidelList',
+ component: () => import(/* webpackChunkName: "reVidelList" */ 'components/videoList/VideoList.vue'),
+ },
+ ],
+ },
+ {
+ path: 'recommend', // 推荐
+ name: 'recommend',
+ component: () => import(/* webpackChunkName: "Recommend" */ 'views/recommend/Recommend.vue'),
+ children: [
+ {
+ path: 'reVidelList',
+ name: 'reVidelList',
+ component: () => import(/* webpackChunkName: "reVidelList" */ 'components/videoList/VideoList.vue'),
+ },
+ ],
+ },
+ ],
+ },
+ {
+ path: '/friends',
+ name: 'friends',
+ component: () => import(/* webpackChunkName: "fllow" */ 'views/friends/Friends.vue'),
+ children: [
+ {
+ path: '/friends',
+ name: 'friends',
+ component: () => import(/* webpackChunkName: "videoList" */ 'components/videoList/VideoList.vue'),
+ },
+ ],
+ },
+ {
+ path: '/msg',
+ name: 'msg',
+ component: () => import(/* webpackChunkName: "msg" */ 'views/message/Message.vue'),
+ },
+ {
+ path: '/me',
+ name: 'me',
+ component: () => import(/* webpackChunkName: "me" */ 'views/me/Me.vue'),
+ },
+ ],
+ },
+];
diff --git a/src/router/module/publish.js b/src/router/module/publish.js
new file mode 100644
index 0000000..3f95d9a
--- /dev/null
+++ b/src/router/module/publish.js
@@ -0,0 +1,8 @@
+/* eslint-disable import/prefer-default-export */
+export const publish = [
+ {
+ path: '/publish',
+ name: 'publish',
+ component: () => import(/* webpackChunkName: "publish" */ 'views/publish/Publish.vue'),
+ },
+];
diff --git a/src/router/module/sign.js b/src/router/module/sign.js
new file mode 100644
index 0000000..c1dd62d
--- /dev/null
+++ b/src/router/module/sign.js
@@ -0,0 +1,19 @@
+/* eslint-disable import/prefer-default-export */
+export const sign = [
+ {
+ path: '/sign',
+ name: 'Sign',
+ component: () => import(/* webpackChunkName: "sign" */ 'views/Sign'),
+ },
+ {
+ path: '/code',
+ name: 'Code',
+ component: () => import(/* webpackChunkName: "sign" */ 'views/Code'),
+ },
+ {
+ path: '/tpsign',
+ name: 'TPSign',
+ component: () => import(/* webpackChunkName: "sign" */ 'views/TPSign'),
+ },
+
+];
diff --git a/src/router/routers.js b/src/router/routers.js
new file mode 100644
index 0000000..33061d1
--- /dev/null
+++ b/src/router/routers.js
@@ -0,0 +1,18 @@
+/* eslint-disable import/prefer-default-export */
+import { publish } from './module/publish';
+import { home } from './module/home';
+import { sign } from './module/sign';
+
+export const routes = [
+ {
+ path: '/',
+ redirect: '/index/recommend/', // app打开之后 默认跳转到首页的推荐标签栏
+ },
+ {
+ path: '/index',
+ redirect: '/index/recommend/',
+ },
+ ...home,
+ ...sign,
+ ...publish,
+];
diff --git a/src/views/Sign.vue b/src/views/Sign.vue
index f5597a3..e1c336f 100755
--- a/src/views/Sign.vue
+++ b/src/views/Sign.vue
@@ -31,7 +31,7 @@
其他方式登录
-
+
-
+
@@ -52,11 +52,11 @@ export default {
name: 'Sign',
data() {
return {
- telErea: '',
- showMask: false,
- disabled: true,
- btnBg: false,
- phone: ' ',
+ telErea: '', // 号码所属度
+ showMask: false, // 是否显示其它登录方式
+ disabled: true, // 获取短信验证码按钮是否可用
+ btnBg: false, // 用于’获取短信验证码‘按钮动态样式处理
+ phone: ' ', // v-modal input输入框 双向数据绑定
};
},
methods: {
@@ -89,6 +89,7 @@ export default {
From b4aa6489a56ebc3f423d2c60d709ebd80b1757b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Mon, 8 Mar 2021 16:54:22 +0800
Subject: [PATCH 11/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E4=BA=94=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/module/sign.js | 6 +++---
src/store/index.js | 2 ++
src/store/modules/sign.js | 24 ++++++++++++++++++++++++
src/views/Code.vue | 23 +++++++++++++++++------
src/views/Sign.vue | 4 ++--
5 files changed, 48 insertions(+), 11 deletions(-)
create mode 100644 src/store/modules/sign.js
diff --git a/src/router/module/sign.js b/src/router/module/sign.js
index c1dd62d..0c4d662 100644
--- a/src/router/module/sign.js
+++ b/src/router/module/sign.js
@@ -1,17 +1,17 @@
/* eslint-disable import/prefer-default-export */
export const sign = [
{
- path: '/sign',
+ path: '/sign', // 登录页面
name: 'Sign',
component: () => import(/* webpackChunkName: "sign" */ 'views/Sign'),
},
{
- path: '/code',
+ path: '/codeSign', // 验证码登录
name: 'Code',
component: () => import(/* webpackChunkName: "sign" */ 'views/Code'),
},
{
- path: '/tpsign',
+ path: '/phoneSign', // 手机号密码登录
name: 'TPSign',
component: () => import(/* webpackChunkName: "sign" */ 'views/TPSign'),
},
diff --git a/src/store/index.js b/src/store/index.js
index 9ea7685..c015ba0 100755
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -1,5 +1,6 @@
import Vue from 'vue';
import Vuex from 'vuex';
+import sign from './modules/sign';
Vue.use(Vuex);
@@ -11,5 +12,6 @@ export default new Vuex.Store({
actions: {
},
modules: {
+ sign,
},
});
diff --git a/src/store/modules/sign.js b/src/store/modules/sign.js
new file mode 100644
index 0000000..df3c892
--- /dev/null
+++ b/src/store/modules/sign.js
@@ -0,0 +1,24 @@
+import router from '../../router';
+
+const sign = {
+ namespaced: true, // 命名空间
+ state: {
+ defaultCode: '094607', // 默认的验证码
+ },
+ mutations: {
+
+ },
+ actions: {
+ // 登录操作
+ sign({ state, commit, rootState }, params) {
+ // 登录成功之后 session中缓存登录标识
+ sessionStorage.setItem('isLogin', JSON.stringify(true));
+ // 登录成功之后 跳转到webApp主页
+ router.replace({ path: '/' });
+ },
+ },
+ getters: {
+
+ },
+};
+export default sign;
diff --git a/src/views/Code.vue b/src/views/Code.vue
index 7952980..28dcbf6 100755
--- a/src/views/Code.vue
+++ b/src/views/Code.vue
@@ -18,15 +18,18 @@
diff --git a/src/views/Sign.vue b/src/views/Sign.vue
index e1c336f..f848717 100755
--- a/src/views/Sign.vue
+++ b/src/views/Sign.vue
@@ -27,7 +27,7 @@
- 密码登录
+ 密码登录
其他方式登录
@@ -61,7 +61,7 @@ export default {
},
methods: {
getCode() {
- this.$router.push({ path: '/code' });
+ this.$router.push({ path: '/codeSign' });
},
show() {
this.showMask = true;
From d45d176d0649ef4c6758aede29bb8e435acf8159 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Tue, 9 Mar 2021 09:56:09 +0800
Subject: [PATCH 12/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E5=85=AD=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/common/components/toast/Toast.vue | 58 +++++++++++++++++++++++++++
src/common/components/toast/toast.js | 34 ++++++++++++++++
src/main.js | 5 ++-
3 files changed, 95 insertions(+), 2 deletions(-)
create mode 100644 src/common/components/toast/Toast.vue
create mode 100644 src/common/components/toast/toast.js
diff --git a/src/common/components/toast/Toast.vue b/src/common/components/toast/Toast.vue
new file mode 100644
index 0000000..e8d6081
--- /dev/null
+++ b/src/common/components/toast/Toast.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
diff --git a/src/common/components/toast/toast.js b/src/common/components/toast/toast.js
new file mode 100644
index 0000000..91be576
--- /dev/null
+++ b/src/common/components/toast/toast.js
@@ -0,0 +1,34 @@
+import Vue from 'vue';
+import toast from './Toast.vue';
+
+const Toast = Vue.extend(toast);
+let instance;
+// 时间定时器
+let timer = null;
+const toastMsg = (options) => {
+ if (!instance) {
+ // 创建实例
+ instance = new Toast();
+ // 挂载到页面上
+ document.body.append(instance.$mount.$el);
+ }
+ // 默认时间
+ instance.duration = 2000;
+ if (typeof options === 'string') {
+ instance.message = options;
+ } else if (typeof options === 'object') {
+ instance.type = options.type;
+ instance.message = options.message;
+ instance.duration = options.duration || 2000;
+ } else {
+ return;
+ }
+ instance.show = true;
+ timer = setTimeout(() => {
+ instance.show = false;
+ clearTimeout(timer);
+ timer = null;
+ }, instance.duration);
+};
+
+export default toastMsg;
diff --git a/src/main.js b/src/main.js
index ec88d46..656658a 100755
--- a/src/main.js
+++ b/src/main.js
@@ -8,13 +8,14 @@ import 'normalize.css/normalize.css';
// 全屏滚动组件
import VueSwiper from 'vue-awesome-swiper';
import 'swiper/css/swiper.css';
-
+// 自定义Toast
+import Toast from 'components/toast/toast.js'
// vue 视频播放组件
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css';
import 'vue-video-player/src/custom-theme.css'
-
+Vue.prototype.$toast = Toast
Vue.use(VueSwiper)
Vue.use(VueVideoPlayer)
From e6f8ec422fe2f5b73bcf97c18399e8ecea4a74cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Tue, 9 Mar 2021 11:28:49 +0800
Subject: [PATCH 13/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E5=85=AD=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/common/components/toast/Toast.vue | 74 +++++++++++++--------------
src/common/components/toast/toast.js | 24 +++++----
src/main.js | 4 +-
src/views/TPSign.vue | 18 +++++--
4 files changed, 67 insertions(+), 53 deletions(-)
diff --git a/src/common/components/toast/Toast.vue b/src/common/components/toast/Toast.vue
index e8d6081..9e563ba 100644
--- a/src/common/components/toast/Toast.vue
+++ b/src/common/components/toast/Toast.vue
@@ -1,58 +1,54 @@
-
-
-
diff --git a/src/common/components/toast/toast.js b/src/common/components/toast/toast.js
index 91be576..d017380 100644
--- a/src/common/components/toast/toast.js
+++ b/src/common/components/toast/toast.js
@@ -1,28 +1,34 @@
+// 实例化组件
import Vue from 'vue';
-import toast from './Toast.vue';
+/* eslint-disable import/no-unresolved */
+import toast from './toast.vue';
const Toast = Vue.extend(toast);
+
let instance;
-// 时间定时器
+
+// 时间,设置一个定时器 用于关闭toast提示框
let timer = null;
+// 设置参数
const toastMsg = (options) => {
- if (!instance) {
- // 创建实例
+ if (!instance) { // 判断是否实例化
+ // 创建一个实例
instance = new Toast();
- // 挂载到页面上
- document.body.append(instance.$mount.$el);
+ // 挂载到页面
+ document.body.append(instance.$mount().$el);
}
- // 默认时间
- instance.duration = 2000;
+ // 默认时间
+ instance.duration = 1500;
if (typeof options === 'string') {
instance.message = options;
} else if (typeof options === 'object') {
instance.type = options.type;
instance.message = options.message;
- instance.duration = options.duration || 2000;
+ instance.duration = options.duration || 1500;
} else {
return;
}
+
instance.show = true;
timer = setTimeout(() => {
instance.show = false;
diff --git a/src/main.js b/src/main.js
index 656658a..cb051d8 100755
--- a/src/main.js
+++ b/src/main.js
@@ -9,13 +9,15 @@ import 'normalize.css/normalize.css';
import VueSwiper from 'vue-awesome-swiper';
import 'swiper/css/swiper.css';
// 自定义Toast
+//自定义弹框
import Toast from 'components/toast/toast.js'
+//挂载(链式)
+Vue.prototype.$toast = Toast
// vue 视频播放组件
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css';
import 'vue-video-player/src/custom-theme.css'
-Vue.prototype.$toast = Toast
Vue.use(VueSwiper)
Vue.use(VueVideoPlayer)
diff --git a/src/views/TPSign.vue b/src/views/TPSign.vue
index 90fbb42..43c2e35 100755
--- a/src/views/TPSign.vue
+++ b/src/views/TPSign.vue
@@ -65,7 +65,7 @@ export default {
this.phone = e.target.value;
const regTel = /^[1][3456789][0-9]{9}$/;
if (!regTel.test(this.phone)) {
- console.log('不附和正则表达式');
+ this.$toast('手机号格式不正确');
this.btnBg = false;
this.disabled = true;
}
@@ -77,15 +77,25 @@ export default {
// eslint-disable-next-line no-useless-escape
const regTel = /^[1][3456789][0-9]{9}$/;
if (this.phone === '') {
- console.log('手机号不能为空');
+ this.$toast({
+ message: '手机号不能为空',
+ type: 'error',
+ duration: 20000,
+ });
this.disabled = true;
this.btnBg = false;
} else if (!regTel.test(this.phone)) {
- console.log('请填写正确的手机号');
+ this.$toast({
+ message: '请填写正确的手机号',
+ type: 'error',
+ });
this.disabled = true;
this.btnBg = false;
} else if (this.password === '') {
- console.log('密码不能为空');
+ this.$toast({
+ message: '密码不能为空',
+ type: 'error',
+ });
this.disabled = true;
this.btnBg = false;
} else {
From 39ad79fefad5ac69d972d6016446a36b89176ae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=B1=B3=E4=BA=9A=E6=B5=81=E5=B9=B4?= <354849262@qq.com>
Date: Sat, 13 Mar 2021 19:06:08 +0800
Subject: [PATCH 14/14] =?UTF-8?q?=E7=AC=AC=E5=8D=81=E4=B8=83=E7=AB=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +-
README.md | 2 +-
.../img/1.jpeg => public/assets/img/1.png | Bin
.../img/2.jpg => public/assets/img/2.png | Bin
.../img/3.jpg => public/assets/img/3.png | Bin
public/static/me.json | 89 ++++++++++++++++++
src/main.js | 4 +-
src/router/module/home.js | 5 +
src/store/index.js | 2 +
src/store/modules/me.js | 28 ++++++
src/views/me/Me.vue | 64 ++++++++-----
...\261\273webApp\345\244\247\347\272\262.md" | 4 +-
yarn.lock | 12 +++
13 files changed, 182 insertions(+), 30 deletions(-)
rename src/assets/img/1.jpeg => public/assets/img/1.png (100%)
rename src/assets/img/2.jpg => public/assets/img/2.png (100%)
rename src/assets/img/3.jpg => public/assets/img/3.png (100%)
create mode 100644 public/static/me.json
create mode 100644 src/store/modules/me.js
diff --git a/.env.development b/.env.development
index 6320849..e643641 100755
--- a/.env.development
+++ b/.env.development
@@ -1,4 +1,4 @@
-VUE_APP_ERUDA=true
+VUE_APP_ERUDA=false
NODE_ENV="development";
BASE_URL='/'
VUE_APP_BASE_API="/dev-api"
diff --git a/README.md b/README.md
index 184613c..a580498 100755
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# dou-yin
+# 视频类WebApp
## Project setup
```
diff --git a/src/assets/img/1.jpeg b/public/assets/img/1.png
similarity index 100%
rename from src/assets/img/1.jpeg
rename to public/assets/img/1.png
diff --git a/src/assets/img/2.jpg b/public/assets/img/2.png
similarity index 100%
rename from src/assets/img/2.jpg
rename to public/assets/img/2.png
diff --git a/src/assets/img/3.jpg b/public/assets/img/3.png
similarity index 100%
rename from src/assets/img/3.jpg
rename to public/assets/img/3.png
diff --git a/public/static/me.json b/public/static/me.json
new file mode 100644
index 0000000..6c34127
--- /dev/null
+++ b/public/static/me.json
@@ -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"
+ }
+ ]
+ }
+ }
diff --git a/src/main.js b/src/main.js
index cb051d8..d64454d 100755
--- a/src/main.js
+++ b/src/main.js
@@ -25,8 +25,8 @@ Vue.config.productionTip = false;
Vue.config.devtools = true
store.subscribe((mutation, state) => {
- console.log(mutation.type);
- console.log(mutation.payload);
+ // console.log(mutation.type);
+ // console.log(mutation.payload);
})
store.subscribeAction((action, state)=>{
diff --git a/src/router/module/home.js b/src/router/module/home.js
index f195c77..cf86332 100644
--- a/src/router/module/home.js
+++ b/src/router/module/home.js
@@ -60,6 +60,11 @@ export const home = [
name: 'me',
component: () => import(/* webpackChunkName: "me" */ 'views/me/Me.vue'),
},
+ {
+ path: '/toast',
+ name: 'toast',
+ component: () => import(/* webpackChunkName: "me" */ 'components/toast/toast.vue'),
+ },
],
},
];
diff --git a/src/store/index.js b/src/store/index.js
index c015ba0..1ccb240 100755
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -1,6 +1,7 @@
import Vue from 'vue';
import Vuex from 'vuex';
import sign from './modules/sign';
+import me from './modules/me';
Vue.use(Vuex);
@@ -13,5 +14,6 @@ export default new Vuex.Store({
},
modules: {
sign,
+ me,
},
});
diff --git a/src/store/modules/me.js b/src/store/modules/me.js
new file mode 100644
index 0000000..267f890
--- /dev/null
+++ b/src/store/modules/me.js
@@ -0,0 +1,28 @@
+import { get } from 'request/http';
+import router from '../../router';
+
+const me = {
+ namespaced: true,
+ state: {
+ useInfo: '', // 我的页面的数据暂存
+ vlist: '', // 我的页面的数据暂存
+ },
+ mutations: {
+ assignUseInfo(state, res) {
+ state.useInfo = res.userInfo;
+ state.vlist = res.vlist;
+ },
+ },
+ actions: {
+ fetchMe({ state, commit }, params) {
+ get('/static/me.json') // 发送网络请求
+ .then((res) => {
+ commit('assignUseInfo', res); // 将请求到的数据赋值给vuex中的state
+ })
+ .catch((err) => {
+ });
+ },
+ },
+};
+
+export default me;
diff --git a/src/views/me/Me.vue b/src/views/me/Me.vue
index 9a94068..93e9c59 100755
--- a/src/views/me/Me.vue
+++ b/src/views/me/Me.vue
@@ -8,25 +8,25 @@
-
-
爱学习的孩子
-
抖音号:xxxxxx
-
越努力越幸运
+
{{useInfo.name}}
+
抖音号:{{useInfo.sn}}
+
{{useInfo.sub}}
- 23岁
- 中国最富垃圾车
- +添加学校等标签
+ {{useInfo.age}}岁
+ {{useInfo.desc}}
+ +{{useInfo.tag}}
好好学习,天天向上
@@ -40,24 +40,18 @@
-
-
@@ -67,8 +61,10 @@
@@ -206,8 +212,18 @@ export default {
}
}
.tab-wrap {
- .tab-con img {
- width: 30%;
+ background-color: #000;
+ .tab-con {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ .tab-img {
+ width: 33%;
+ &:nth-child(3n) {
+ border-right: 0;
+ }
+ }
}
}
}
diff --git "a/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md" "b/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md"
index 5843455..0059973 100644
--- "a/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md"
+++ "b/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md"
@@ -34,9 +34,9 @@
### 评论列表:完结
-### 注册登录:4
+### 注册登录:3月8日
-### 验证码页面:4
+### 验证码页面:3月8日
### 登录鉴权:5
diff --git a/yarn.lock b/yarn.lock
index 5c5cd97..9a7232a 100755
--- a/yarn.lock
+++ b/yarn.lock
@@ -1917,6 +1917,13 @@ aws4@^1.8.0:
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.1.tgz#e1e82e4f3e999e2cfd61b161280d16a111f86428"
integrity sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA==
+axios@^0.21.1:
+ version "0.21.1"
+ resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8"
+ integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==
+ dependencies:
+ follow-redirects "^1.10.0"
+
babel-eslint@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
@@ -4150,6 +4157,11 @@ follow-redirects@^1.0.0:
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db"
integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==
+follow-redirects@^1.10.0:
+ version "1.13.3"
+ resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.3.tgz#e5598ad50174c1bc4e872301e82ac2cd97f90267"
+ integrity sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA==
+
for-in@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
前端切图仔
++ 今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班今晚不要加班
+03-19
+10
+ +啦啦啦
+ +03-19
+20
+