From 536d4d648941b493cb12ab89b1adb53aab952c78 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sun, 17 Aug 2025 18:06:36 +0800
Subject: [PATCH] 1
---
src/components/stock-list.vue | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/src/components/stock-list.vue b/src/components/stock-list.vue
index cfd49fa..6de35ee 100644
--- a/src/components/stock-list.vue
+++ b/src/components/stock-list.vue
@@ -1,9 +1,9 @@
<template>
<div class="stock_list">
<van-row class="markets_head">
- <van-col span="12" class="flex-start head_item">{{ $t("Name") }}</van-col>
+ <van-col span="14" class="flex-start head_item">{{ $t("Name") }}</van-col>
<van-col span="4" class="flex-start head_item">{{ $t("Price") }}</van-col>
- <van-col span="8" class="flex-end head_item">{{ $t("Change") }}</van-col>
+ <van-col span="6" class="flex-end head_item">{{ $t("Change") }}</van-col>
</van-row>
<van-row
@@ -12,7 +12,7 @@
:key="item.id"
@click="toDetails(item)"
>
- <van-col span="12" class="item_n">
+ <van-col span="14" class="item_n">
<div class="flex-start">
<span class="i_icon">{{ item.stock_type }}</span>
<span class="i_hint">{{ item.spell }}</span>
@@ -21,17 +21,10 @@
</van-col>
<van-col span="4" class="flex-start item_n">{{ item.nowPrice }}</van-col>
- <van-col span="8" class="item_n">
+ <van-col span="6" class="item_n flex-end">
<div
class="flex-end"
- style="margin-bottom: .15em;"
- :class="{ red: item.hcrate < 0, green: item.hcrate > 0 }"
- >
- {{ item.hcrate }}
- </div>
- <div
- class="flex-end"
- :class="{ red: item.hcrate < 0, green: item.hcrate > 0 }"
+ :class="{ green: item.hcrate < 0, red: item.hcrate > 0 }"
>
{{ item.hcrateP }}
</div>
@@ -219,9 +212,9 @@
position: relative;
.item_n {
- font-size: 0.4em;
+ font-size: 0.3em;
min-height: 2em;
- font-weight: 500;
+ font-weight: 300;
.i_icon {
border-radius: 0 26em 26em 0;
--
Gitblit v1.9.3