diff --git a/package.json b/package.json index 8a4688e..0c17c90 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,13 @@ }, "rules": {} }, + "rules": { + "vue/multi-word-component-names": "off" + }, "browserslist": [ "> 1%", "last 2 versions", "not dead", "not ie 11" ] -} +} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 591a031..6bb3680 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,21 @@ @@ -21,6 +27,14 @@ export default { -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; - margin-top: 60px; + width: 100%; + height: 100%; +} +body { + margin: 0; + padding: 0; + background-color: #f5f5f5; + height: 100%; + width: 100%; } diff --git a/src/assets/coffee1.png b/src/assets/coffee1.png new file mode 100644 index 0000000..f452514 Binary files /dev/null and b/src/assets/coffee1.png differ diff --git a/src/components/MenuList.vue b/src/components/MenuList.vue new file mode 100644 index 0000000..b79dd1f --- /dev/null +++ b/src/components/MenuList.vue @@ -0,0 +1,44 @@ + + + + + + \ No newline at end of file diff --git a/src/components/coffeeIndex.vue b/src/components/coffeeIndex.vue new file mode 100644 index 0000000..e280d43 --- /dev/null +++ b/src/components/coffeeIndex.vue @@ -0,0 +1,232 @@ + + + + + + \ No newline at end of file diff --git a/src/view/MenuItem.vue b/src/view/MenuItem.vue new file mode 100644 index 0000000..d380e6a --- /dev/null +++ b/src/view/MenuItem.vue @@ -0,0 +1,79 @@ + + + + + \ No newline at end of file diff --git a/主页面参考图.png b/主页面参考图.png new file mode 100644 index 0000000..3d8774a Binary files /dev/null and b/主页面参考图.png differ