From 7a52988eb65d0e50cc56e9da8e0088dfc5f9e416 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Wed, 02 Jul 2025 15:41:31 +0800
Subject: [PATCH] style
---
src/views/quotes/List.vue | 34 ++++++++++++++++++----------------
1 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/views/quotes/List.vue b/src/views/quotes/List.vue
index dc1c752..12a85cf 100644
--- a/src/views/quotes/List.vue
+++ b/src/views/quotes/List.vue
@@ -1,21 +1,21 @@
<template>
<section class="pb-fix">
- <div class="container-box">
- <header class="header">
- <div class="flex-l">
+ <!-- <div class="container-box"> -->
+ <!-- <header class="header"> -->
+ <!-- <div class="flex-l">
<span class="title">{{ t('quotes') }}</span>
</div>
<div class="icon-group">
<div class="icon search" @click="onRoute('/optional/search')">
<img src="@/assets/image/optional/search.png" alt="">
- </div>
+ </div> -->
<!-- <div class="icon setting">
<img src="@/assets/image/quotes/option.png" alt="" @click="onRoute('/optional/setting')">
</div> -->
- </div>
- </header>
- <section class="tab-container">
- <van-tabs v-model:active="tabActive" shrink @click-tab="onClickTab">
+ <!-- </div> -->
+ <!-- </header> -->
+ <!-- <section class="tab-container"> -->
+ <!-- <van-tabs v-model:active="tabActive" shrink @click-tab="onClickTab"> -->
<!-- <van-tab title="ETF">
<section v-if="tabActive === 0" class="etf-container">
<div class="kline-chart-container">
@@ -227,9 +227,9 @@
<div class="divider"></div>
</section>
</van-tab> -->
- <van-tab :title="t('加密货币')">
+ <!-- <van-tab :title="t('加密货币')"> -->
<Cryptos id="cryptos" />
- </van-tab>
+ <!-- </van-tab> -->
<!-- <van-tab :title="t('外汇')">
<Foreign v-if="tabActive === 2" />
</van-tab> -->
@@ -260,9 +260,9 @@
</div>
</div>
</van-tab> -->
- </van-tabs>
- </section>
- </div>
+ <!-- </van-tabs> -->
+ <!-- </section> -->
+ <!-- </div> -->
</section>
</template>
@@ -452,8 +452,9 @@
const getIndexCardInfo = () => {
_getETFItemList({
- type: 'indices',
- symbol: ['.DJI', '.INX', '.IXIC']
+ type: 'forex',
+ category: 'forex'
+ // symbol: ['.DJI', '.INX', '.IXIC']
}).then(data => {
indexCardInfo.value = data || []
})
@@ -470,7 +471,8 @@
const getETFItemList = () => {
_getETFItemList({
- type: 'indices'
+ type: 'forex',
+ category: 'forex'
}).then(data => {
if (data === null) {
data = []
--
Gitblit v1.9.3