diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
index 3ec4b21..703ead9 100644
--- a/src/layouts/MainLayout.vue
+++ b/src/layouts/MainLayout.vue
@@ -184,7 +184,10 @@ const handleCommand = async (command) => {
// 用户取消
}
} else if (command === 'profile') {
- ElMessage.info('个人信息功能开发中...')
+ router.push({
+ path: '/settings',
+ query: { tab: 'profile' }
+ })
}
}
diff --git a/src/views/memberships/index.vue b/src/views/memberships/index.vue
index b5f6fae..2304d48 100644
--- a/src/views/memberships/index.vue
+++ b/src/views/memberships/index.vue
@@ -67,11 +67,29 @@
搜索
重置
- 生成兑换码
+
+
+ 批量停用{{ selectedActiveCount > 0 ? `(${selectedActiveCount})` : '' }}
+
+ 生成兑换码
+
-
+
+
@@ -111,8 +129,10 @@
{{ formatDateTime(row.created_at) }}
-
+
+ 详情
+ 复制
生成
+
+
+
+ {{ detailRecord.id || '-' }}
+ {{ detailRecord.code || '-' }}
+ {{ statusText(detailRecord.status) }}
+
+ {{ detailRecord.mini_program_name || detailRecord.mini_program?.name || '-' }}
+
+
+ {{ detailRecord.package_type || detailRecord.plan_name || '-' }}
+
+ {{ detailRecord.duration_days || '-' }}
+
+ {{ detailRecord.max_uses || 1 }}
+
+
+ {{ detailRecord.used_count || 0 }}
+
+
+ {{ formatDateTime(detailRecord.expires_at) }}
+
+
+ {{ formatDateTime(detailRecord.created_at) }}
+
+
+