2021-02-26 16:06:19 +08:00
|
|
|
<template>
|
2021-03-02 17:34:55 +08:00
|
|
|
<!-- App.vue -->
|
|
|
|
<v-app id="inspire">
|
2021-03-03 16:41:18 +08:00
|
|
|
<!-- 顶部菜单表 -->
|
2021-03-02 17:34:55 +08:00
|
|
|
<AppBar></AppBar>
|
|
|
|
|
|
|
|
<v-main class="grey lighten-3">
|
|
|
|
<v-container>
|
2021-03-03 16:41:18 +08:00
|
|
|
<v-row class="flex-nowrap" justify="center">
|
|
|
|
<v-sheet rounded="lg" class="left-menu-sheet ma-1">
|
|
|
|
<!-- 左菜单列表 -->
|
|
|
|
<MenuContentList></MenuContentList>
|
|
|
|
</v-sheet>
|
2021-03-02 17:34:55 +08:00
|
|
|
|
2021-03-03 16:41:18 +08:00
|
|
|
<v-sheet class="ma-1" min-height="100vh" min-width="60vw" rounded="lg">
|
|
|
|
<v-col>
|
|
|
|
<!-- 轮播 -->
|
2021-03-02 18:27:36 +08:00
|
|
|
<Carousel></Carousel>
|
2021-03-03 16:41:18 +08:00
|
|
|
</v-col>
|
|
|
|
|
|
|
|
<v-col>
|
|
|
|
<!-- 显示商品内容列表 -->
|
2021-03-02 18:27:36 +08:00
|
|
|
<v-row justify="start">
|
2021-03-03 16:41:18 +08:00
|
|
|
<v-card width="100" height="100" class="ma-1">
|
|
|
|
<v-img class="ma-1" src="http://i.serengeseba.com/uploads/i_0_3792700707x1517265037_26.jpg"></v-img>
|
|
|
|
|
|
|
|
<v-card-text>
|
|
|
|
猫
|
|
|
|
</v-card-text>
|
2021-03-02 18:27:36 +08:00
|
|
|
</v-card>
|
|
|
|
|
2021-03-03 16:41:18 +08:00
|
|
|
<v-card width="100" height="100" class="ma-1">
|
|
|
|
<v-img class="ma-1" src="http://i.serengeseba.com/uploads/i_0_3792700707x1517265037_26.jpg"></v-img>
|
2021-03-02 18:27:36 +08:00
|
|
|
</v-card>
|
|
|
|
</v-row>
|
2021-03-03 16:41:18 +08:00
|
|
|
</v-col>
|
|
|
|
</v-sheet>
|
|
|
|
|
|
|
|
<v-sheet rounded="lg" class="left-menu-sheet ma-1" >
|
|
|
|
<!-- 左菜单列表 -->
|
|
|
|
<MenuContentList></MenuContentList>
|
|
|
|
</v-sheet>
|
2021-03-02 17:34:55 +08:00
|
|
|
</v-row>
|
|
|
|
</v-container>
|
|
|
|
</v-main>
|
|
|
|
</v-app>
|
2021-02-26 16:06:19 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-03-02 17:34:55 +08:00
|
|
|
import Carousel from "../components/Carousel.vue";
|
|
|
|
import AppBar from "../components/AppBar";
|
2021-03-03 16:41:18 +08:00
|
|
|
import MenuContentList from "../components/MenuContentList";
|
2021-02-26 16:06:19 +08:00
|
|
|
|
|
|
|
export default {
|
2021-03-02 17:34:55 +08:00
|
|
|
name: "Home",
|
|
|
|
data: () => ({
|
|
|
|
links: ["Dashboard", "Messages", "Profile", "Updates"],
|
|
|
|
}),
|
2021-02-26 16:06:19 +08:00
|
|
|
components: {
|
2021-03-02 17:34:55 +08:00
|
|
|
Carousel,
|
|
|
|
AppBar,
|
2021-03-03 16:41:18 +08:00
|
|
|
MenuContentList,
|
2021-03-02 17:34:55 +08:00
|
|
|
},
|
|
|
|
};
|
2021-02-26 16:06:19 +08:00
|
|
|
</script>
|
2021-03-03 16:41:18 +08:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.left-menu-sheet {
|
|
|
|
width: 15%;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|