mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
init
This commit is contained in:
26
src/App.vue
26
src/App.vue
@@ -8,19 +8,19 @@
|
||||
-->
|
||||
<template>
|
||||
<div id="container">
|
||||
<div id="nav">
|
||||
<router-link
|
||||
v-for="item in routes"
|
||||
:key="item.path"
|
||||
:to="item.path"
|
||||
:class="{
|
||||
link: true,
|
||||
active: name === item.name,
|
||||
}"
|
||||
>
|
||||
{{ item.name }}
|
||||
</router-link>
|
||||
</div>
|
||||
<!-- <div id="nav">-->
|
||||
<!-- <router-link-->
|
||||
<!-- v-for="item in routes"-->
|
||||
<!-- :key="item.path"-->
|
||||
<!-- :to="item.path"-->
|
||||
<!-- :class="{-->
|
||||
<!-- link: true,-->
|
||||
<!-- active: name === item.name,-->
|
||||
<!-- }"-->
|
||||
<!-- >-->
|
||||
<!-- {{ item.name }}-->
|
||||
<!-- </router-link>-->
|
||||
<!-- </div>-->
|
||||
<main>
|
||||
<router-view />
|
||||
</main>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="pathdetails">
|
||||
<div class="pathdetails" style="padding: 30px">
|
||||
<!-- 面包屑导航 -->
|
||||
<div class="crumb">
|
||||
<div>产品经理学习路径图</div>
|
||||
|
||||
Reference in New Issue
Block a user