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