From 732c30b33f782c2d2ebb62eacda2fb7a453a7ecd Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sat, 31 Jan 2026 11:01:45 +0800
Subject: [PATCH] 1
---
src/components/index-component.vue | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/components/index-component.vue b/src/components/index-component.vue
index 02818e9..44eb433 100644
--- a/src/components/index-component.vue
+++ b/src/components/index-component.vue
@@ -1,9 +1,5 @@
<template>
- <div
- class="index_component"
- :class="dataObj.chg > 0 ? 'bg-green' : 'bg-red'"
- @click="toLine"
- >
+ <div class="index_component" :class="dataObj.chg > 0 ? 'bg-green' : 'bg-red'" @click="toLine">
<div class="item_title">
<span class="line-one">{{ dataObj.name }}</span>
</div>
@@ -29,12 +25,11 @@
},
dataObj: {
type: Object,
- default: () => {}
+ default: () => { }
}
},
computed: {
klist() {
- console.log(this.dataObj, "aaaaaaaaaaaaa");
if (!this.dataObj.kData || this.dataObj.kData.length == 0) return [];
return this.dataObj.kData.map(item => {
return item.c;
@@ -92,11 +87,11 @@
padding: 0 0.5em;
font-size: 0.35em;
color: #333;
- font-weight: 500;
span {
width: 100%;
display: inline-block;
+ font-weight: 800;
}
}
--
Gitblit v1.9.3