From 584860d11b454774b60c71b63d221b5481c0f3bd Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Wed, 29 Apr 2026 14:21:48 +0800
Subject: [PATCH] 更新为3.29
---
src/page/markets/markets.vue | 51 ++++++++++++++++++++-------------------------------
1 files changed, 20 insertions(+), 31 deletions(-)
diff --git a/src/page/markets/markets.vue b/src/page/markets/markets.vue
index f5e80ae..b4abbc4 100644
--- a/src/page/markets/markets.vue
+++ b/src/page/markets/markets.vue
@@ -1,13 +1,7 @@
<template>
<div class="markets">
<tab-head :rightShow="false">
- <van-popover
- v-model="switchShow"
- trigger="click"
- :actions="actions"
- @select="onSelect"
- placement="bottom-end"
- >
+ <van-popover v-model="switchShow" trigger="click" :actions="actions" @select="onSelect" placement="bottom-end">
<template #reference>
<div class="switch flex-center">
<van-icon name="exchange" size=".45em" />
@@ -18,13 +12,8 @@
</tab-head>
<div class="tabs flex-between">
- <div
- class="tab_item flex-center"
- :class="{ active: item.pid == tab }"
- v-for="item in tabList"
- :key="item.pid"
- @click="tab = item.pid"
- >
+ <div class="tab_item flex-center" :class="{ active: item.pid == tab }" v-for="item in tabList" :key="item.pid"
+ @click="tab = item.pid">
<span class="line-one">{{ item.name }}</span>
</div>
</div>
@@ -55,21 +44,21 @@
value: "US",
name: this.$t("美国")
},
- {
- text: this.$t("hk1"),
- value: "HK",
- name: this.$t("hk1")
- },
- {
- text: this.$t("tw"),
- value: "TW",
- name: this.$t("tw")
- },
- {
- text: this.$t("id1"),
- value: "IN",
- name: this.$t("id1")
- }
+ // {
+ // text: this.$t("日本"),
+ // value: "JP",
+ // name: this.$t("日本")
+ // },
+ // {
+ // text: this.$t("hk1"),
+ // value: "HK",
+ // name: this.$t("hk1")
+ // },
+ // {
+ // text: this.$t("tw"),
+ // value: "TW",
+ // name: this.$t("tw")
+ // },
],
tabList: [],
tab: 1,
@@ -110,7 +99,7 @@
}
await this.getTabData();
},
- mounted() {},
+ mounted() { },
methods: {
// 选择
async onSelect(e) {
@@ -151,7 +140,7 @@
<style lang="less" scoped>
@red: #ee0a24;
-@green: #c4d600;
+@green: #00f0ff;
@white: #fff;
@black: #000;
@green2: #f0f0f0;
--
Gitblit v1.9.3