├── static └── .gitkeep ├── demo ├── demo.gif └── weChat.png ├── config ├── prod.env.js ├── dev.env.js └── index.js ├── src ├── assets │ ├── logo.png │ ├── images │ │ ├── timg.jpeg │ │ ├── avatar.jpeg │ │ ├── bg_login.jpg │ │ └── default.png │ └── css │ │ ├── article.css │ │ └── articleDetail.css ├── common │ ├── config.js │ └── httpInterceptor.js ├── resources │ ├── friendMessage.js │ └── user.js ├── filters │ ├── utils │ │ ├── TimeFilter.js │ │ ├── index.js │ │ ├── FriendMenuTimeFilter.js │ │ └── ChatMessageTimeFilter.js │ └── index.js ├── store │ ├── index.js │ ├── getters.js │ └── modules │ │ ├── friendMessage.js │ │ ├── user.js │ │ └── message.js ├── App.vue ├── components │ ├── avatar │ │ └── Identicon.vue │ ├── DemoList.vue │ ├── TimeLine.vue │ ├── ChatList.vue │ ├── index.vue │ ├── ChatMenu.vue │ ├── Login.vue │ ├── Register.vue │ ├── chat │ │ ├── chatRoom.vue │ │ └── friendsMenu.vue │ └── HelloWorld.vue ├── main.js ├── utils │ ├── validate.js │ ├── notification.js │ ├── util.js │ └── sortPickerView.js └── router │ └── index.js ├── .editorconfig ├── .gitignore ├── .postcssrc.js ├── index.html ├── .babelrc ├── README.md └── package.json /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/demo/demo.gif -------------------------------------------------------------------------------- /demo/weChat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/demo/weChat.png -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/assets/images/timg.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/src/assets/images/timg.jpeg -------------------------------------------------------------------------------- /src/assets/images/avatar.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/src/assets/images/avatar.jpeg -------------------------------------------------------------------------------- /src/assets/images/bg_login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/src/assets/images/bg_login.jpg -------------------------------------------------------------------------------- /src/assets/images/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luanxuechao/vue-blog/HEAD/src/assets/images/default.png -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"' 7 | }) 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /src/common/config.js: -------------------------------------------------------------------------------- 1 | const host = location.hostname 2 | 3 | console.log('主机域名', host) 4 | let URL = process.env.NODE_ENV == 'production'?'http://www.csails.cn:3001': 'http://localhost:3001' 5 | 6 | 7 | export { URL } 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | .vscode 11 | *.suo 12 | *.ntvs* 13 | *.njsproj 14 | *.sln 15 | -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/resources/friendMessage.js: -------------------------------------------------------------------------------- 1 | import httpServer from '../common/httpInterceptor' 2 | import Qs from 'qs' 3 | export function delFriendMessage(){ 4 | return httpServer({ 5 | url: 'FriendMessages/deletedMessage', 6 | method: 'delete' 7 | }); 8 | } 9 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |1976年
17 |Apple I 问世
18 |1984年
21 |发布 Macintosh
22 |2007年
25 |发布 iPhone
26 |2010年
29 |发布 iPad
30 |2011年10月5日
33 |史蒂夫·乔布斯去世
34 |详细信息
83 |92 | {{personal.chatUser.motto}} 93 |
94 |96 | 97 | 备注: 98 | 99 | 100 | {{personal.remark}} 101 | 102 |
103 |104 | 105 | 地区: 106 | 107 | 108 | {{personal.chatUser.address?personal.chatUser.address.province.value:''}}{{personal.chatUser.address?personal.chatUser.address.city.value:''}} 109 | 110 |
111 |
9 |
10 | 14 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 15 |
16 |
17 |
18 | 用户昵称
19 |
20 | 1小时前
21 | js问题集合
22 |
23 |
24 |
34 |
35 | 39 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 40 |
41 |
42 |
43 | 用户昵称
44 |
45 | 1小时前
46 | js问题集合
47 |
48 |
49 |
59 |
60 | 64 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 65 |
66 |
67 |
68 | 用户昵称
69 |
70 | 1小时前
71 | js问题集合
72 |
73 |
74 |
84 |
85 | 89 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 90 |
91 |
92 |
93 | 用户昵称
94 |
95 | 1小时前
96 | js问题集合
97 |
98 |
99 |
109 |
110 | 114 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 115 |
116 |
117 |
118 | 用户昵称
119 |
120 | 1小时前
121 | js问题集合
122 |
123 |
124 |
134 |
135 | 139 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 140 |
141 |
142 |
143 | 用户昵称
144 |
145 | 1小时前
146 | js问题集合
147 |
148 |
149 |
159 |
160 | 164 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 165 |
166 |
167 |
168 | 用户昵称
169 |
170 | 1小时前
171 | js问题集合
172 |
173 |
174 |
184 |
185 | 189 | 这是文章内容的简介部分!!!!!!!!阿斯达啊撒 啊是 阿斯达 阿斯达 的飒飒大胆看上了你懒惰了哪里你了那里看到哪里;是你的;案例可能的;按啦啦你拉倒了你懒死了哪里你看了哪里阿兰的李娜;李达康哪里看你兰兰你拉拉手哪里哪里呢 190 |
191 |
192 |
193 | 用户昵称
194 |
195 | 1小时前
196 | js问题集合
197 |
198 |
199 |
213 | Chevalier
214 |