From 0d4707520940affeb4ac1697bbce9cebf5da60f8 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 23 九月 2025 10:37:02 +0800
Subject: [PATCH] feat: 页面

---
 apps/cMiniApp/src/subpackages/wallet/withdrawDetailInfo/InnerPage.vue |   37 +++++++++++++++++++++++++------------
 1 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/apps/cMiniApp/src/subpackages/wallet/withdrawDetailInfo/InnerPage.vue b/apps/cMiniApp/src/subpackages/wallet/withdrawDetailInfo/InnerPage.vue
index 75882a7..f682131 100644
--- a/apps/cMiniApp/src/subpackages/wallet/withdrawDetailInfo/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/wallet/withdrawDetailInfo/InnerPage.vue
@@ -1,24 +1,24 @@
 <template>
-  <WithdrawMoneyCard :money="100" :title="`鎻愮幇-${'鏀粯瀹�'}鎻愮幇`"></WithdrawMoneyCard>
+  <WithdrawMoneyCard
+    :money="detail?.amount"
+    :title="EnumUserWalletTransactionTypeText[detail.type]"
+  ></WithdrawMoneyCard>
   <List>
     <ListItem title="鎻愮幇鍗曞彿" :show-arrow="false">
       <template #extra>
-        <div class="income-detail-info-value">{{ '5893485943859843095843' }}</div>
+        <div class="income-detail-info-value">{{ detail?.code }}</div>
       </template>
     </ListItem>
     <ListItem title="鎻愮幇閲戦" :show-arrow="false">
       <template #extra>
-        <div class="income-detail-info-value">{{ '瀹佹尝浜哄姏鏃犲咖' }}</div>
+        <div class="income-detail-info-value">{{ toThousand(detail?.amount) }}</div>
       </template>
     </ListItem>
     <ListItem title="鎻愮幇鏂瑰紡" :show-arrow="false">
       <template #extra>
-        <div class="income-detail-info-value">{{ '2024.11.13' }}</div>
-      </template>
-    </ListItem>
-    <ListItem title="鏈嶅姟璐�" :show-arrow="false">
-      <template #extra>
-        <div class="income-detail-info-value">{{ '33.33鍏�' }}</div>
+        <div class="income-detail-info-value">
+          {{ detail.type ? EnumUserWalletTransactionTypeText[detail.type] : '' }}
+        </div>
       </template>
     </ListItem>
     <ListItem title="鏀粯瀹濇埛鍚�" :show-arrow="false">
@@ -31,9 +31,14 @@
         <div class="income-detail-info-value">{{ '5893485943859843095843' }}</div>
       </template>
     </ListItem>
+    <ListItem title="鏈嶅姟璐�" :show-arrow="false">
+      <template #extra>
+        <div class="income-detail-info-value">{{ toThousand(detail?.serviceFee) }}</div>
+      </template>
+    </ListItem>
     <ListItem title="瀹為檯鍒拌处" :show-arrow="false">
       <template #extra>
-        <div class="income-detail-info-value">{{ '33.33鍏�' }}</div>
+        <div class="income-detail-info-value">{{ toThousand(detail?.actualAmount) }}</div>
       </template>
     </ListItem>
   </List>
@@ -41,13 +46,21 @@
 
 <script setup lang="ts">
 import { List, ListItem, WithdrawMoneyCard } from '@12333/components';
-import { useUserStore } from '@/stores/modules/user';
+import { EnumUserWalletTransactionTypeText } from '@12333/constants';
+import Taro from '@tarojs/taro';
+import { useGetPersonalUserTransaction } from '../hooks';
+import { toThousand } from '@12333/utils';
 
 defineOptions({
   name: 'InnerPage',
 });
 
-const userStore = useUserStore();
+const router = Taro.useRouter();
+const id = router.params?.id;
+
+const { detail } = useGetPersonalUserTransaction({
+  id: id,
+});
 </script>
 
 <style lang="scss">

--
Gitblit v1.9.1