From c594650aa4720513ea1cccc3d0811c915e310b47 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Mon, 24 Nov 2025 07:21:02 +0800 Subject: [PATCH] update pay function --- src/views/ValueForum/PredictionTopicDetail.js | 33 ++--- src/views/ValueForum/components/TradeModal.js | 117 ++++++++++-------- 2 files changed, 85 insertions(+), 65 deletions(-) diff --git a/src/views/ValueForum/PredictionTopicDetail.js b/src/views/ValueForum/PredictionTopicDetail.js index 2f079324..776a43aa 100644 --- a/src/views/ValueForum/PredictionTopicDetail.js +++ b/src/views/ValueForum/PredictionTopicDetail.js @@ -174,8 +174,8 @@ const PredictionTopicDetail = () => { }; return ( - - + + {/* 头部:返回按钮 */} @@ -519,6 +531,9 @@ const TradeModal = ({ isOpen, onClose, topic, mode = 'buy', onTradeSuccess }) => transform: 'translateY(-2px)', }} _active={{ transform: 'translateY(0)' }} + h={{ base: "11", sm: "auto" }} + fontSize={{ base: "sm", sm: "md" }} + px={{ base: "6", sm: "4" }} > {mode === 'buy' ? `购买 ${shares} 份` : `卖出 ${shares} 份`}