diff --git a/admin/src/router/apiRouter.ts b/admin/src/router/apiRouter.ts index c83abbc..d087b0f 100644 --- a/admin/src/router/apiRouter.ts +++ b/admin/src/router/apiRouter.ts @@ -122,14 +122,6 @@ const apiRouter: IMenu[] = [ title: '会员管理' } }, - { - path: '/super/vipSetMeal', - name: 'vipSetMeal', - component: '/super/vipSetMeal/index', - meta: { - title: 'vip套餐' - } - }, ] }, { @@ -169,14 +161,6 @@ const apiRouter: IMenu[] = [ meta: { title: '域名管理' } - }, - { - path: '/super/payRecord', - name: 'payRecord', - component: '/super/payRecord/index', - meta: { - title: '付款记录' - } } ] }, diff --git a/admin/src/views/agent/invite.vue b/admin/src/views/agent/invite.vue index 19caef7..147820f 100644 --- a/admin/src/views/agent/invite.vue +++ b/admin/src/views/agent/invite.vue @@ -25,7 +25,6 @@ const { state, sizeChangeHandle, currentChangeHandle } = useCurd({ > - diff --git a/admin/src/views/home/admin-home.vue b/admin/src/views/home/admin-home.vue index 7f95f1b..762ee72 100644 --- a/admin/src/views/home/admin-home.vue +++ b/admin/src/views/home/admin-home.vue @@ -71,9 +71,8 @@ const getHomeData = async (type: any) => { member_count: res.member_count, agent_count: res.agent_count, user_count: res.user_count, - pay_vip: res.pay_vip, - pay_agent: res.pay_agent, - pay_count: res.pay_count, + card_count: res.card_count, + uv_count: res.uv_count, } // 用户增长趋势 if (res.user_growth.length > 0) { @@ -116,24 +115,24 @@ onMounted(() => { - +
- 支付会员数 + 卡片数量
- {{ dataValue?.pay_count || 0 }} - 人 + {{ dataValue?.card_count || 0}} + 个
- +
- 购买会员收入 + UV次数
- {{ dataValue?.pay_vip }} - 元 + {{ dataValue?.uv_count || 0}} + 次
diff --git a/admin/src/views/home/components/BuyVip.vue b/admin/src/views/home/components/BuyVip.vue deleted file mode 100644 index 65d754e..0000000 --- a/admin/src/views/home/components/BuyVip.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - - diff --git a/admin/src/views/home/home.vue b/admin/src/views/home/home.vue index 41b23ab..3049852 100644 --- a/admin/src/views/home/home.vue +++ b/admin/src/views/home/home.vue @@ -5,7 +5,6 @@ import { userStore } from '@/stores' import ChangePassword from '@/views/home/components/ChangePassword.vue' import Welcome from '@/views/home/components/Welcome.vue' import { data_get, setClipboard } from '@/utils' -import BuyVip from '@/views/home/components/BuyVip.vue' import { getNotify } from '@/api/super' // 获取概况数据 const dataList = ref({}) @@ -25,13 +24,7 @@ const copyCode = () => { var path = window.location.pathname setClipboard(root + path + '#/register?code=' + code) } -const success = ref(false) -// 开通会员 -const buyVipVisible = ref(false) -const tiyan = () => { - success.value = false - localStorage.removeItem('register') -} + const notify = ref({} as any) const noticeShow = ref(false) onMounted(() => { @@ -43,21 +36,15 @@ onMounted(() => { noticeShow.value = true } }) - if (localStorage.getItem('register')) { - success.value = true - } })