|
@@ -31,8 +31,8 @@ const { data: taskData, run: getTaskData } = useRequest(() => getTasks({}), {
|
|
initialData: { list: [] },
|
|
initialData: { list: [] },
|
|
})
|
|
})
|
|
const menus = ref([
|
|
const menus = ref([
|
|
- { title: '积分明细', icon: integral },
|
|
|
|
- { title: '优惠券包', icon: coupon },
|
|
|
|
|
|
+ { title: '积分明细', icon: integral, path: '/pages/mine/points/index' },
|
|
|
|
+ { title: '优惠券包', icon: coupon, path: '/pages/mine/coupons/index' },
|
|
{ title: '我的订单', icon: order },
|
|
{ title: '我的订单', icon: order },
|
|
{ title: '专属客服', icon: agent },
|
|
{ title: '专属客服', icon: agent },
|
|
{ title: '个人设置', icon: setting, path: '/pages/mine/setting/index' },
|
|
{ title: '个人设置', icon: setting, path: '/pages/mine/setting/index' },
|
|
@@ -53,6 +53,7 @@ const pieces = ref([
|
|
class: 'flex-row! pb-0 pr-0',
|
|
class: 'flex-row! pb-0 pr-0',
|
|
iconSize: 68,
|
|
iconSize: 68,
|
|
gridItemClass: 'col-start-2 row-start-1',
|
|
gridItemClass: 'col-start-2 row-start-1',
|
|
|
|
+ path: '/pages/material/settled-in/index',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '筑巢荟公约',
|
|
title: '筑巢荟公约',
|
|
@@ -61,8 +62,10 @@ const pieces = ref([
|
|
class: 'col-start-2 row-start-2 flex-row! pb-0',
|
|
class: 'col-start-2 row-start-2 flex-row! pb-0',
|
|
iconSize: 44,
|
|
iconSize: 44,
|
|
gridItemClass: 'col-start-2 row-start-2',
|
|
gridItemClass: 'col-start-2 row-start-2',
|
|
|
|
+ path: '/pages/mine/convention/index',
|
|
},
|
|
},
|
|
])
|
|
])
|
|
|
|
+
|
|
const avatar = computed(() =>
|
|
const avatar = computed(() =>
|
|
!isEmpty(userInfo.value.avatar) ? userInfo.value.avatar : 'https://via.placeholder.com/72x72',
|
|
!isEmpty(userInfo.value.avatar) ? userInfo.value.avatar : 'https://via.placeholder.com/72x72',
|
|
)
|
|
)
|