├── public
├── favicon.ico
└── index.html
├── src
├── assets
│ ├── logo.png
│ └── impl.js
├── plugins
│ └── element.js
├── pages
│ ├── test
│ │ ├── Test.js
│ │ └── TestComponent.vue
│ ├── product
│ │ ├── list
│ │ │ ├── BoughtProducts.vue
│ │ │ ├── Selling.vue
│ │ │ ├── MyProducts.vue
│ │ │ └── CensoringProduct.vue
│ │ ├── Edit.vue
│ │ └── Detail.vue
│ ├── chat
│ │ ├── StartChat.vue
│ │ └── Chat.vue
│ ├── login
│ │ └── Login.vue
│ ├── register
│ │ └── Register.vue
│ └── profile
│ │ └── Profile.vue
├── main.js
├── router
│ └── fleaRouter.js
├── components
│ ├── UserSummary.vue
│ ├── ProductList.vue
│ ├── ChatPanel.vue
│ └── ProductDetailTable.vue
└── index.vue
├── babel.config.js
├── vue.config.js
├── .editorconfig
├── .gitignore
├── README.md
└── package.json
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leafee98/flea-market-front/master/public/favicon.ico
--------------------------------------------------------------------------------
/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leafee98/flea-market-front/master/src/assets/logo.png
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [
3 | '@vue/cli-plugin-babel/preset'
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/vue.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | configureWebpack: {
3 | performance: {
4 | hints: false
5 | }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | [*.{js,jsx,ts,tsx,vue}]
2 | indent_style = space
3 | indent_size = 2
4 | trim_trailing_whitespace = true
5 | insert_final_newline = true
6 |
--------------------------------------------------------------------------------
/src/plugins/element.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import Element from 'element-ui'
3 | import 'element-ui/lib/theme-chalk/index.css'
4 |
5 | Vue.use(Element)
6 |
--------------------------------------------------------------------------------
/src/pages/test/Test.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import testComponent from './TestComponent.vue'
3 |
4 | new Vue({
5 | render: h => h(testComponent)
6 | }).$mount('#app')
7 |
--------------------------------------------------------------------------------
/src/pages/product/list/BoughtProducts.vue:
--------------------------------------------------------------------------------
1 |
2 |
6 |
| {{ item.name }} | 10 |
11 |
12 | {{ item.value }}
13 |
14 | |
15 |
| product name | 6 |
7 | {{ detail.productName }}
9 | |
10 |
| product price | 14 |
15 | {{ detail.expectedPrice }}
17 | |
18 |
| product id | 22 |
23 | {{ detail.productId}}
25 | |
26 |
| product status | 30 |
31 | {{ detail.productStatus }}
33 | |
34 |
| publish time | 38 |
39 | {{ publishTimeStr }}
41 | |
42 |