diff --git a/src/components/user-center/DeviceList.vue b/src/components/user-center/DeviceList.vue
index d37f9eb..72113eb 100644
--- a/src/components/user-center/DeviceList.vue
+++ b/src/components/user-center/DeviceList.vue
@@ -1,5 +1,28 @@
+
+
+
+
+
+
+ 设备: {{ getDeviceTypeInfo(device.user_agent)?.type }}
+ SN: {{ device?.identifier?.slice(0, 4) }}{{ device.id }}
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- 设备: {{ device.name }}
- ID: {{ device.deviceId }}
-
-
-
-
-
diff --git a/src/components/user-center/PaymentMethod.vue b/src/components/user-center/PaymentMethod.vue
index 1b2666c..174ad53 100644
--- a/src/components/user-center/PaymentMethod.vue
+++ b/src/components/user-center/PaymentMethod.vue
@@ -1,22 +1,27 @@
diff --git a/src/components/user-center/PlanCard.vue b/src/components/user-center/PlanCard.vue
index 5c16ddf..de447f7 100644
--- a/src/components/user-center/PlanCard.vue
+++ b/src/components/user-center/PlanCard.vue
@@ -24,7 +24,7 @@
]"
class="absolute top-[20px] -right-[40px] h-[16px] w-[126px] origin-center rotate-45 bg-black text-center text-[14px] leading-[16px] font-[200] text-[#ADFF5B]"
>
- 111 off%
+ {{ plan.discount }}
diff --git a/src/pages/UserCenter/MobileLayout/index.vue b/src/pages/UserCenter/MobileLayout/index.vue
index 38cc81f..1b2b5b0 100644
--- a/src/pages/UserCenter/MobileLayout/index.vue
+++ b/src/pages/UserCenter/MobileLayout/index.vue
@@ -4,18 +4,18 @@
+
@@ -43,19 +43,13 @@ import PlanCard from '@/components/user-center/PlanCard.vue'
import DeviceList from '@/components/user-center/DeviceList.vue'
import PaymentMethod from '@/components/user-center/PaymentMethod.vue'
import { Button } from '@/components/ui/button'
-import request from '@/utils/request'
-// --- Mock Data ---
-const devices = [
- { id: '1', name: 'XXX的 MacBook Pro 15-inch', type: 'desktop' as const, deviceId: '87654321' },
- { id: '2', name: 'XXX的 iPhone 15 Pro Max', type: 'mobile' as const, deviceId: '12345678' },
-]
-const plans = [
- { id: 'p1', days: 7, price: 2.79, dailyPrice: '0.39' },
- { id: 'p2', days: 30, price: 5.99, dailyPrice: '0.19', discount: '50% off' },
- { id: 'p3', days: 90, price: 12.99, dailyPrice: '0.14', discount: '64% off' },
- { id: 'p4', days: 365, price: 44.99, dailyPrice: '0.12', discount: '70% off', inverted: true },
-]
+const props = defineProps<{
+ devices: any[]
+ plans: any[]
+ payments: any[]
+ userInfo: { email: string; expireDate: string }
+}>()
// --- State ---
const selectedPlanId = ref('p2')
diff --git a/src/pages/UserCenter/index.vue b/src/pages/UserCenter/index.vue
index 9bc7dbf..52d9984 100644
--- a/src/pages/UserCenter/index.vue
+++ b/src/pages/UserCenter/index.vue
@@ -20,7 +20,12 @@