From 5503e81bb32e930ee703210bbdf788fa13ec93d8 Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Wed, 27 Nov 2019 09:48:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/IndexArticleDetail.vue | 158 ++++++++++++++++++++++++++++- src/assets/baoqing.png | Bin 0 -> 1805 bytes src/assets/qiehuan.png | Bin 0 -> 481 bytes src/assets/quit.png | Bin 0 -> 3180 bytes src/components/Emotion/Emotion.vue | 30 ++++++ src/components/Emotion/index.vue | 68 +++++++++++++ src/components/indexcomment.vue | 50 +++++++++ 7 files changed, 302 insertions(+), 4 deletions(-) create mode 100644 src/assets/baoqing.png create mode 100644 src/assets/qiehuan.png create mode 100644 src/assets/quit.png create mode 100644 src/components/Emotion/Emotion.vue create mode 100644 src/components/Emotion/index.vue create mode 100644 src/components/indexcomment.vue diff --git a/src/IndexArticleDetail.vue b/src/IndexArticleDetail.vue index 0349274..0bf3030 100644 --- a/src/IndexArticleDetail.vue +++ b/src/IndexArticleDetail.vue @@ -14,10 +14,57 @@ -

热门推荐

+

热门推荐

+ +
+

389条评论

+

+ 切换为时间排序 +

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +

发布

+
+
+
@@ -27,23 +74,126 @@ import privates from "./components/indexprivate"; import articles from "./components/indexarticle"; import privatets from "./components/indexprivatet"; import heads from "./components/indexhead"; - +import comment from "./components/indexcomment"; +import Emotion from './components/Emotion/index' export default { name: "IndexArticleDetail", data() { - return {}; + return { + show: false, + content:"", + biaoqing:false + }; }, components: { follow, privates, articles, privatets, - heads + heads, + comment, + Emotion + }, + methods:{ + handleEmotion (i) { + this.content += i + }, } }; diff --git a/src/components/Emotion/index.vue b/src/components/Emotion/index.vue new file mode 100644 index 0000000..e041b36 --- /dev/null +++ b/src/components/Emotion/index.vue @@ -0,0 +1,68 @@ + + + + \ No newline at end of file diff --git a/src/components/indexcomment.vue b/src/components/indexcomment.vue new file mode 100644 index 0000000..b5fff06 --- /dev/null +++ b/src/components/indexcomment.vue @@ -0,0 +1,50 @@ + + + \ No newline at end of file