From c547081aa61be5c7b6d4c12853c675954c2156eb Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 10 Feb 2026 14:45:18 +0800
Subject: [PATCH] 1
---
src/views/quotes/components/Search.vue | 18 ++++--------------
1 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/src/views/quotes/components/Search.vue b/src/views/quotes/components/Search.vue
index 5cde743..bf65df9 100644
--- a/src/views/quotes/components/Search.vue
+++ b/src/views/quotes/components/Search.vue
@@ -1,10 +1,9 @@
<template>
<div id="cryptos">
<div class="tradeRecord">
- <van-loading color="#1194F7" class="loading-box" v-if="isLoading" />
+ <van-loading color="#92D1FF" class="loading-box" v-if="isLoading" />
<div class="content">
-
- <van-tabs v-model:active="active" class="w-full px-2 box-border" sticky @click="changeType">
+ <van-tabs v-model:active="active" class="w-full px-2 box-border" sticky @click="changeType">
<van-tab :title="$t('当前委托')" class="text-30">
<!-- <div class="all-select flex justify-end">
<div class="select-box flex" @click.stop="isAll = !isAll">
@@ -77,10 +76,7 @@
export default {
props: {
- invalidState: {
- type: [String, Number],
- default: null
- }
+
},
computed: {
...mapGetters('user', ['userInfo']),
@@ -113,13 +109,7 @@
}
// this.getCoins()
this.symbol = this.$route.query.symbol
- // 如果传入了 invalidState 字段,直接展示历史委托页面
- if (this.invalidState) {
- this.active = 1
- this.type = 'hisorders'
- } else {
- this.active = this.$route.query.selectIndex !== undefined ? +this.$route.query.selectIndex : 0
- }
+ this.active = this.$route.query.selectIndex !== undefined ? +this.$route.query.selectIndex : 0
this.getOrderList(this.type)
// this.getCoinPrce(this.symbol)
},
--
Gitblit v1.9.3