├── .babelrc
├── .editorconfig
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── .idea
├── .name
├── codeStyleSettings.xml
├── encodings.xml
├── jsLibraryMappings.xml
├── misc.xml
├── modules.xml
├── vcs.xml
├── vue-app.iml
├── watcherTasks.xml
└── workspace.xml
├── .postcssrc.js
├── .project
├── README.md
├── build
├── build.js
├── check-versions.js
├── dev-client.js
├── dev-server.js
├── utils.js
├── vue-loader.conf.js
├── webpack.base.conf.js
├── webpack.dev.conf.js
└── webpack.prod.conf.js
├── config
├── dev.env.js
├── index.js
└── prod.env.js
├── data.json
├── index.html
├── package.json
├── prod.server.js
├── src
├── App.vue
├── common
│ ├── fonts
│ │ ├── icomoon.eot
│ │ ├── icomoon.svg
│ │ ├── icomoon.ttf
│ │ └── icomoon.woff
│ ├── js
│ │ ├── date.js
│ │ ├── store.js
│ │ └── util.js
│ └── stylus
│ │ ├── base.styl
│ │ ├── icon.styl
│ │ ├── index.css
│ │ ├── index.styl
│ │ └── mixin.styl
├── components
│ ├── cartcontrol
│ │ ├── cartcontrol.styl
│ │ └── cartcontrol.vue
│ ├── food
│ │ ├── food.styl
│ │ └── food.vue
│ ├── goods
│ │ ├── decrease_3@2x.png
│ │ ├── decrease_3@3x.png
│ │ ├── discount_3@2x.png
│ │ ├── discount_3@3x.png
│ │ ├── goods.styl
│ │ ├── goods.vue
│ │ ├── guarantee_3@2x.png
│ │ ├── guarantee_3@3x.png
│ │ ├── invoice_3@2x.png
│ │ ├── invoice_3@3x.png
│ │ ├── special_3@2x.png
│ │ └── special_3@3x.png
│ ├── header
│ │ ├── brand@2x.png
│ │ ├── brand@3x.png
│ │ ├── bulletin@2x.png
│ │ ├── bulletin@3x.png
│ │ ├── decrease_1@2x.png
│ │ ├── decrease_1@3x.png
│ │ ├── decrease_2@2x.png
│ │ ├── decrease_2@3x.png
│ │ ├── discount_1@2x.png
│ │ ├── discount_1@3x.png
│ │ ├── discount_2@2x.png
│ │ ├── discount_2@3x.png
│ │ ├── guarantee_1@2x.png
│ │ ├── guarantee_1@3x.png
│ │ ├── guarantee_2@2x.png
│ │ ├── guarantee_2@3x.png
│ │ ├── header.styl
│ │ ├── header.vue
│ │ ├── invoice_1@2x.png
│ │ ├── invoice_1@3x.png
│ │ ├── invoice_2@2x.png
│ │ ├── invoice_2@3x.png
│ │ ├── special_1@2x.png
│ │ ├── special_1@3x.png
│ │ ├── special_2@2x.png
│ │ └── special_2@3x.png
│ ├── ratings
│ │ ├── ratings.styl
│ │ └── ratings.vue
│ ├── ratingselect
│ │ ├── ratingselect.styl
│ │ └── ratingselect.vue
│ ├── seller
│ │ ├── decrease_4@2x.png
│ │ ├── decrease_4@3x.png
│ │ ├── discount_4@2x.png
│ │ ├── discount_4@3x.png
│ │ ├── guarantee_4@2x.png
│ │ ├── guarantee_4@3x.png
│ │ ├── invoice_4@2x.png
│ │ ├── invoice_4@3x.png
│ │ ├── seller.styl
│ │ ├── seller.vue
│ │ ├── special_4@2x.png
│ │ └── special_4@3x.png
│ ├── shopcart
│ │ ├── shopcart.styl
│ │ └── shopcart.vue
│ ├── split
│ │ └── split.vue
│ └── star
│ │ ├── star.styl
│ │ ├── star.vue
│ │ ├── star24_half@2x.png
│ │ ├── star24_half@3x.png
│ │ ├── star24_off@2x.png
│ │ ├── star24_off@3x.png
│ │ ├── star24_on@2x.png
│ │ ├── star24_on@3x.png
│ │ ├── star36_half@2x.png
│ │ ├── star36_half@3x.png
│ │ ├── star36_off@2x.png
│ │ ├── star36_off@3x.png
│ │ ├── star36_on@2x.png
│ │ ├── star36_on@3x.png
│ │ ├── star48_half@2x.png
│ │ ├── star48_half@3x.png
│ │ ├── star48_off@2x.png
│ │ ├── star48_off@3x.png
│ │ ├── star48_on@2x.png
│ │ └── star48_on@3x.png
├── main.js
└── router
│ └── index.js
└── static
├── .gitkeep
└── css
└── reset.css
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["latest", {
4 | "es2015": { "modules": false }
5 | }],
6 | "stage-2"
7 | ],
8 | "plugins": ["transform-runtime"],
9 | "comments": false,
10 | "env": {
11 | "test": {
12 | "presets": ["latest", "stage-2"],
13 | "plugins": [ "istanbul" ]
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/.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 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | build/*.js
2 | config/*.js
3 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | // http://eslint.org/docs/user-guide/configuring
2 |
3 | module.exports = {
4 | root: true,
5 | parser: 'babel-eslint',
6 | parserOptions: {
7 | sourceType: 'module'
8 | },
9 | env: {
10 | browser: true,
11 | },
12 | // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
13 | extends: 'standard',
14 | // required to lint *.vue files
15 | plugins: [
16 | 'html'
17 | ],
18 | // add your custom rules here
19 | 'rules': {
20 | // allow paren-less arrow functions
21 | 'arrow-parens': 0,
22 | // allow async-await
23 | 'generator-star-spacing': 0,
24 | // allow debugger during development
25 | 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
26 | 'semi': ['error','always'],
27 | 'space-before-function-paren': 0,
28 | 'spaced-comment':0,
29 | 'indent':0,
30 | 'no-tabs':0
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 | yarn-error.log
6 |
--------------------------------------------------------------------------------
/.idea/.name:
--------------------------------------------------------------------------------
1 | vue-app
--------------------------------------------------------------------------------
/.idea/codeStyleSettings.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
10 |
84 |
86 |
94 |
131 |
303 |
305 |
307 |
309 |
{{food.info}}
34 |{{food.description}}
26 |{{seller.bulletin}}
57 |{{seller.bulletin}}
41 |