├── src
├── styles
│ ├── atom.less
│ ├── login.less
│ ├── loading.less
│ ├── iconfont
│ │ └── iconfont.css
│ ├── main.less
│ ├── menu.less
│ ├── create.less
│ ├── header.less
│ ├── message.less
│ ├── reset.less
│ ├── user.less
│ └── topic.less
├── images
│ ├── logo.png
│ └── menu.png
├── constants
│ ├── topicInfo.js
│ └── mutationTypes.js
├── views
│ ├── about.vue
│ ├── index.vue
│ ├── login.vue
│ ├── newTopic.vue
│ ├── message.vue
│ ├── user.vue
│ ├── topic.vue
│ └── topicList.vue
├── utils
│ └── index.js
├── components
│ ├── header.vue
│ ├── reply.vue
│ ├── loading.vue
│ ├── userInfo.vue
│ ├── backTop.vue
│ └── menu.vue
├── apis
│ ├── publicApi.js
│ └── index.js
├── app.js
├── configs
│ └── routes.js
└── vuex
│ └── index.js
├── .gitignore
├── snapshoot
├── all.jpg
├── good.jpg
├── login.jpg
├── menu.jpg
├── reply.jpg
├── topic.jpg
├── islogin.jpg
└── message.jpg
├── public
└── favicon.ico
├── .babelrc
├── template
└── index.html
├── index.html
├── server.js
├── LICENSE
├── README.md
├── webpack.config.dev.js
├── webpack.config.base.js
├── webpack.config.prod.js
└── package.json
/src/styles/atom.less:
--------------------------------------------------------------------------------
1 | .mgr30 {
2 | margin-right: 30px;
3 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
3 | dist/
4 | .vscode/
5 |
--------------------------------------------------------------------------------
/snapshoot/all.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/all.jpg
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/snapshoot/good.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/good.jpg
--------------------------------------------------------------------------------
/snapshoot/login.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/login.jpg
--------------------------------------------------------------------------------
/snapshoot/menu.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/menu.jpg
--------------------------------------------------------------------------------
/snapshoot/reply.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/reply.jpg
--------------------------------------------------------------------------------
/snapshoot/topic.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/topic.jpg
--------------------------------------------------------------------------------
/src/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/src/images/logo.png
--------------------------------------------------------------------------------
/src/images/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/src/images/menu.png
--------------------------------------------------------------------------------
/snapshoot/islogin.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/islogin.jpg
--------------------------------------------------------------------------------
/snapshoot/message.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/soulcm/vue-cnode-mobile/HEAD/snapshoot/message.jpg
--------------------------------------------------------------------------------
/src/constants/topicInfo.js:
--------------------------------------------------------------------------------
1 | export const topicTab = {
2 | 'share': '分享',
3 | 'ask': '问答',
4 | 'good': '精华',
5 | 'job': '招聘',
6 | 'top': '置顶',
7 | 'all': "全部"
8 | }
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | "es2015",
4 | "stage-0"
5 | ],
6 | "env": {
7 | "development": {
8 | "plugins": [
9 | "transform-runtime"
10 | ]
11 | }
12 | }
13 | }
--------------------------------------------------------------------------------
/src/views/about.vue:
--------------------------------------------------------------------------------
1 |
2 |
19 | 20 | {{item.reply_count}}/{{item.visit_count}} 21 |
22 |23 | {{item.create_at | getTimeInfo}} 24 | {{item.last_reply_at | getTimeInfo}} 25 |
26 |