guhongwei 5 éve
szülő
commit
724ee16f4b
3 módosított fájl, 29 hozzáadás és 2 törlés
  1. 6 0
      src/router/index.js
  2. 4 2
      src/style/style.css
  3. 19 0
      src/views/home.vue

+ 6 - 0
src/router/index.js

@@ -127,6 +127,12 @@ const live = [
     name: 'dock_Info',
     component: () => import('../views/hall/dock/dockInfo.vue'),
   },
+  {
+    path: '/',
+    meta: { title: '直播首页', subSite: true },
+    name: 'home_index',
+    component: () => import('../views/home.vue'),
+  },
 ];
 const routes = [...live];
 

+ 4 - 2
src/style/style.css

@@ -265,12 +265,14 @@ p {
 	float: left;
 	height: 50px;
 	line-height: 50px;
-	/* padding: 0 82px; */
 	font-size: 20px;
   border-right: 1px solid #76bdfe;
-  width: 19.9%;
+  width: 20%;
   text-align: center;
 }
+.supermenu .info ul li:last-child{
+  width: 300px;
+}
 
 .supermenu .info ul .active {
 	background-color: #fe950e;

+ 19 - 0
src/views/home.vue

@@ -0,0 +1,19 @@
+<template>
+  <div id="home">
+    <p>home</p>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'home',
+  props: {},
+  components: {},
+  data: () => ({}),
+  created() {},
+  computed: {},
+  methods: {},
+};
+</script>
+
+<style lang="less" scoped></style>