|
@@ -109,7 +109,7 @@ const menuData = ref([]);
|
|
|
|
|
|
const writeNoteMenu = {
|
|
|
title: "写游记",
|
|
|
- icon: menu_create_note,
|
|
|
+ icon: menu_travel_note,
|
|
|
to: "/note-create",
|
|
|
};
|
|
|
|
|
@@ -120,12 +120,12 @@ const fixedMenuData = [
|
|
|
to: "/",
|
|
|
},
|
|
|
{
|
|
|
- title: "游记",
|
|
|
- icon: menu_travel_note,
|
|
|
+ title: "旅行笔记",
|
|
|
+ icon: menu_create_note,
|
|
|
to: "/travel-notes",
|
|
|
},
|
|
|
{
|
|
|
- title: "旅游项目",
|
|
|
+ title: "旅行项目",
|
|
|
icon: menu_travel_project,
|
|
|
to: "/travel-projects",
|
|
|
},
|
|
@@ -140,7 +140,7 @@ const fixedMenuData = [
|
|
|
to: "/car",
|
|
|
},
|
|
|
{
|
|
|
- title: "买房卖房",
|
|
|
+ title: "房屋租售",
|
|
|
icon: menu_house,
|
|
|
to: "/house",
|
|
|
},
|
|
@@ -152,22 +152,23 @@ const profileMenu = [
|
|
|
to: "/profile/travel-orders",
|
|
|
},
|
|
|
{
|
|
|
- title: "包车订单",
|
|
|
- to: "/profile/car-orders",
|
|
|
- },
|
|
|
- {
|
|
|
title: "签证订单",
|
|
|
to: "/profile/visa-orders",
|
|
|
},
|
|
|
{
|
|
|
- title: "我的收藏",
|
|
|
- to: "/profile/collection",
|
|
|
+ title: "包车订单",
|
|
|
+ to: "/profile/car-orders",
|
|
|
},
|
|
|
{
|
|
|
title: "我的游记",
|
|
|
to: "/profile/notes",
|
|
|
},
|
|
|
{
|
|
|
+ title: "我的收藏",
|
|
|
+ to: "/profile/collection",
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
title: "我的评论",
|
|
|
to: "/profile/my-comment",
|
|
|
},
|
|
@@ -182,7 +183,12 @@ watch(
|
|
|
menuData.value = fixedMenuData;
|
|
|
} else {
|
|
|
userInfoStore.getUserInfo();
|
|
|
- menuData.value = [...fixedMenuData, writeNoteMenu];
|
|
|
+
|
|
|
+ menuData.value = [
|
|
|
+ ...fixedMenuData.slice(0, 1),
|
|
|
+ writeNoteMenu,
|
|
|
+ ...fixedMenuData.slice(1),
|
|
|
+ ];
|
|
|
}
|
|
|
},
|
|
|
{
|