Compare commits
2 Commits
5844b1889c
...
16a7af460f
Author | SHA1 | Date |
---|---|---|
helloworld180 | 16a7af460f | 3 months ago |
helloworld180 | b520351ee1 | 3 months ago |
@ -0,0 +1 @@
|
||||
[{"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\main.js":"1","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\App.vue":"2","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\router\\index.js":"3","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\Main.vue":"4","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\components\\header.vue":"5","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\components\\background.vue":"6","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\recommend\\index.vue":"7","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\chat\\chat.vue":"8","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\community\\trends.vue":"9","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\space\\space.vue":"10","D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\login\\login.vue":"11"},{"size":261,"mtime":1731506523733,"results":"12","hashOfConfig":"13"},{"size":97,"mtime":1731506523731,"results":"14","hashOfConfig":"13"},{"size":1052,"mtime":1731513557777,"results":"15","hashOfConfig":"13"},{"size":753,"mtime":1731509041050,"results":"16","hashOfConfig":"13"},{"size":2627,"mtime":1731513642386,"results":"17","hashOfConfig":"13"},{"size":910,"mtime":1731506523732,"results":"18","hashOfConfig":"13"},{"size":161,"mtime":1731508571798,"results":"19","hashOfConfig":"13"},{"size":156,"mtime":1731511731213,"results":"20","hashOfConfig":"13"},{"size":155,"mtime":1731512433247,"results":"21","hashOfConfig":"13"},{"size":157,"mtime":1731512507547,"results":"22","hashOfConfig":"13"},{"size":151,"mtime":1731513510444,"results":"23","hashOfConfig":"13"},{"filePath":"24","messages":"25","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"10795if",{"filePath":"26","messages":"27","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"30","messages":"31","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"44","messages":"45","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\main.js",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\App.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\router\\index.js",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\Main.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\components\\header.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\components\\background.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\recommend\\index.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\chat\\chat.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\community\\trends.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\space\\space.vue",[],"D:\\我的桌面\\恋爱森林\\dazuoye\\src\\views\\login\\login.vue",[]]
|
@ -1,25 +1,49 @@
|
||||
import layout from '../views/Main.vue'
|
||||
import Login from '../views/shequ/index.vue'
|
||||
import login from '@/views/login/login.vue'
|
||||
import main from '../views/Main.vue'
|
||||
import recommend from '@/views/recommend/index.vue'
|
||||
import community from '@/views/community/trends.vue'
|
||||
import chat from '@/views/chat/chat.vue'
|
||||
import space from '@/views/space/space.vue'
|
||||
|
||||
|
||||
import {createRouter ,createWebHashHistory} from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
|
||||
{
|
||||
path:'/',
|
||||
component : layout
|
||||
path : '/',
|
||||
component : login
|
||||
},
|
||||
{
|
||||
path:'/main',
|
||||
component : main,
|
||||
children:[
|
||||
{
|
||||
path:'recommend',
|
||||
component: recommend
|
||||
},
|
||||
{
|
||||
path:'community',
|
||||
component: community
|
||||
},
|
||||
{
|
||||
path:'chat',
|
||||
component: chat
|
||||
},
|
||||
|
||||
{
|
||||
path : '/login',
|
||||
component : Login
|
||||
path:'space',
|
||||
component: space
|
||||
}
|
||||
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
]
|
||||
const router = createRouter({
|
||||
|
||||
const router = createRouter({
|
||||
routes,
|
||||
history:createWebHashHistory()
|
||||
|
||||
})
|
||||
|
||||
export default router
|
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
私信聊天
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'chatIndex', // 添加组件名称
|
||||
// 其他组件选项
|
||||
}
|
||||
</script>
|
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
社区动态
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'CommunityIndex', // 添加组件名称
|
||||
// 其他组件选项
|
||||
}
|
||||
</script>
|
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
登录
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'loginIndex', // 添加组件名称
|
||||
// 其他组件选项
|
||||
}
|
||||
</script>
|
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
智能推荐
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'RecommendIndex', // 添加组件名称
|
||||
// 其他组件选项
|
||||
}
|
||||
</script>
|
@ -1,21 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
haha
|
||||
<div class="mb-4">
|
||||
<el-button>Default</el-button>
|
||||
<el-button type="primary">Primary</el-button>
|
||||
<el-button type="success">Success</el-button>
|
||||
<el-button type="info">Info</el-button>
|
||||
<el-button type="warning">Warning</el-button>
|
||||
<el-button type="danger">Danger</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
<script setup></script>
|
||||
<script>
|
||||
export default {
|
||||
name: 'CommunityIndex', // 添加组件名称
|
||||
// 其他组件选项
|
||||
}
|
||||
</script>
|
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
个人空间
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'spaceIndex', // 添加组件名称
|
||||
// 其他组件选项
|
||||
}
|
||||
</script>
|
Loading…
Reference in new issue