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