From 2d9eaadefb271a43a9a7de7c299377321e07bc8e Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 14 Aug 2025 13:29:10 +0800
Subject: [PATCH] 1
---
src/page/list/trading-list.vue | 36 +++++++++++++++++++++++++++---------
1 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/src/page/list/trading-list.vue b/src/page/list/trading-list.vue
index 66d3361..4ee434a 100644
--- a/src/page/list/trading-list.vue
+++ b/src/page/list/trading-list.vue
@@ -1,6 +1,9 @@
<template>
<div>
<!-- 搜索框 -->
+ <div class="pages_title">
+ <div class="pages_title_txt">{{$t('hj225')}}</div>
+ </div>
<div class="search">
<div class="search_content">
<div class="left_search">
@@ -19,31 +22,45 @@
/>
</div>
</div>
- <div class="right_search">Search</div>
+ <div class="right_search" @click="sousuo">{{ $t("Search") }}</div>
</div>
</div>
- <tabsList />
+
+ <tabsList ref="tabsList" />
</div>
</template>
<script>
import tabsList from "./tradingList/tabs";
export default {
+ name: "TradingList",
components: { tabsList },
data() {
return {
- gpcode: "",
+ gpcode: ""
};
},
methods: {
- gpinput(e) {
- console.log(clickTab, "clickTab");
+ sousuo() {
+ this.$refs.tabsList.sousuo = this.gpcode;
},
- },
+ gpinput(e) {
+ this.gpcode = e.target.value;
+ this.$refs.tabsList.sousuo = e.target.value;
+ }
+ }
};
</script>
<style scoped lang="less">
+ .pages_title_txt{
+ margin: 20px;
+ font-size: 25px;
+ color: #285F52;
+ }
+ .pages_title{
+ border-bottom: 1px solid #bebebe;
+ }
.search {
height: 1rem;
display: flex;
@@ -51,7 +68,7 @@
justify-content: center;
margin: 15px 22px;
position: relative;
- z-index: 3000;
+ z-index: 99;
.search_content {
width: 100%;
@@ -93,10 +110,11 @@
text-align: center;
height: 100%;
border-radius: 0.5rem;
- background-color: #0066ed;
+ background-color: #185546;
color: #ffffff;
font-weight: bold;
margin-left: 20px;
+ padding: 0 10px;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3