From 447c94a70f1e3094a946eb4cdb942f3422f4300c Mon Sep 17 00:00:00 2001 From: al Date: Thu, 9 Jan 2025 16:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=80=E6=AC=BE=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- screeens/Refund/RefundDetail/index.jsx | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/screeens/Refund/RefundDetail/index.jsx b/screeens/Refund/RefundDetail/index.jsx index c810327..4def5ce 100644 --- a/screeens/Refund/RefundDetail/index.jsx +++ b/screeens/Refund/RefundDetail/index.jsx @@ -15,6 +15,7 @@ import baseRequest from "../../../utils/baseRequest"; import Toast from "react-native-toast-message"; import { generateSignature } from "../../../utils/crypto"; import { useFocusEffect } from "@react-navigation/native"; +import dayjs from "dayjs"; export default function RefundDetail({ navigation, route }) { const tailwind = useTailwind(); const insets = useSafeAreaInsets(); @@ -130,7 +131,9 @@ export default function RefundDetail({ navigation, route }) { - ¥ {data?.price} + + ¥ {data ? data?.price / 100 : "0"} + @@ -156,7 +159,9 @@ export default function RefundDetail({ navigation, route }) { - {data?.ct} + + {dayjs(data?.ct * 1000).format("YYYY-MM-DD HH:mm:ss")} + @@ -169,7 +174,9 @@ export default function RefundDetail({ navigation, route }) { - {data?.refund_t} + + {dayjs(data?.refund_t * 1000).format("YYYY-MM-DD HH:mm:ss")} + @@ -218,7 +225,12 @@ export default function RefundDetail({ navigation, route }) { setIndex(2)} checkedIcon="dot-circle-o" uncheckedIcon="circle-o" @@ -249,6 +261,7 @@ export default function RefundDetail({ navigation, route }) { }} > 同意退回用户的[空间成员]费用,同时自动禁止用户再次购买此商品。 + {data && data?.refunds_status} } @@ -257,7 +270,10 @@ export default function RefundDetail({ navigation, route }) { setIndex(-1)} checkedIcon="dot-circle-o" uncheckedIcon="circle-o"