From beb96c535f39f4acd401083096688c0ab019df8c Mon Sep 17 00:00:00 2001 From: claw_bot Date: Mon, 9 Mar 2026 10:48:13 +0000 Subject: [PATCH] =?UTF-8?q?fix:=201.=20=E4=BF=AE=E5=A4=8Ddetail=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=82=A1=E7=A5=A8=E6=90=9C=E7=B4=A2=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E9=97=AE=E9=A2=98=EF=BC=8C=E9=80=82=E9=85=8D?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E5=B0=8F=E5=86=99=E5=AD=97=E6=AE=B5=EF=BC=9B?= =?UTF-8?q?2.=20=E4=BC=98=E5=8C=96=E8=B4=A7=E5=B8=81=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=EF=BC=8C=E7=BC=A9=E7=9F=AD=E4=B8=BA=E4=BB=85?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/detail/detail.vue | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index a784270..a2e4817 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -171,8 +171,11 @@ :key="idx" @click="selectStock(result)" > - {{ result.Ticker }} - {{ result.Exchange }} + + {{ result.ticker }} + {{ result.assetType }} + + {{ result.exchange }} @@ -268,9 +271,9 @@ const transactionForm = ref({ // 货币选择相关 const currencyList = ref([ - { name: '人民币 CNY', code: 'CNY' }, - { name: '美元 USD', code: 'USD' }, - { name: '港币 HKD', code: 'HKD' } + { name: 'CNY', code: 'CNY' }, + { name: 'USD', code: 'USD' }, + { name: 'HKD', code: 'HKD' } ]); const currencyIndex = ref(0); @@ -732,12 +735,27 @@ const submitTransaction = async () => { background-color: #F3F4F6; } +.item-left { + display: flex; + flex-direction: row; + align-items: center; + gap: 12rpx; +} + .item-ticker { font-size: 26rpx; font-weight: 600; color: #1F2937; } +.item-type { + font-size: 18rpx; + color: #064E3B; + background-color: #D1FAE5; + padding: 2rpx 8rpx; + border-radius: 4rpx; +} + .item-exchange { font-size: 22rpx; color: #9CA3AF;