hookehuyr

feat(profile): 添加我的积分页面及路由配置

refactor(login): 重构用户协议展示为结构化数据格式
/*
* @Date: 2025-03-20 20:36:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-23 17:34:57
* @LastEditTime: 2025-12-23 17:54:30
* @FilePath: /mlaj/src/router/routes.js
* @Description: 路由地址映射配置
*/
......@@ -97,6 +97,12 @@ export const routes = [
meta: { title: '我的活动' },
},
{
path: '/profile/points',
name: 'Points',
component: () => import('../views/profile/pointsPage.vue'),
meta: { title: '我的积分' },
},
{
path: '/recall/login',
name: 'RecallLogin',
component: () => import('../views/recall/login.vue'),
......
......@@ -284,11 +284,11 @@ const menuItems1 = [
];
const menuItems2 = ref([
// {
// icon: "wallet",
// title: "我的钱包",
// path: "/profile/wallet",
// },
{
icon: "wallet",
title: "我的积分",
path: "/profile/points",
},
{
icon: "heart",
title: "我的收藏",
......
<!--
* @Date: 2025-12-23 17:53:26
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-23 17:53:56
* @FilePath: /mlaj/src/views/profile/pointsPage.vue
* @Description: 我的积分页面
-->
<template>
<div class="points-page">
我的积分
</div>
</template>
<script setup>
import { ref } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { useTitle } from '@vueuse/core'
const $route = useRoute();
const $router = useRouter();
useTitle($route.meta.title);
</script>
<style lang="less" scoped>
</style>
This diff is collapsed. Click to expand it.