lxf
2025-04-28 72051e590ced04cfd0a46eb7eba713062548c532
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<template>
  <div style="height: 100vh; background: #fff">
    <van-nav-bar
      :placeholder="true"
      :safe-area-inset-top="true"
      :title="$t('新股记录')"
      left-arrow
      @click-left="onClickLeft"
    />
 
    <tabsList ref="tabsList" />
  </div>
</template>
 
<script>
import tabsList from "./favoriteslist/tabs";
import headers from "@/page/login/components/header.vue";
export default {
  components: { tabsList, headers },
  data() {
    return {
      gpcode: "",
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push("/home");
    },
    sousuo() {
      this.$refs.tabsList.sousuo = this.gpcode;
    },
    gpinput(e) {
      this.gpcode = e.target.value;
    },
  },
};
</script>
 
<style scoped lang="less">
.search {
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 22px;
  position: relative;
  z-index: 99;
 
  .search_content {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
 
  .left_search {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 0.5rem;
    display: flex;
    .search_img {
      width: 1rem;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      img {
        width: 0.5rem;
        height: 0.5rem;
      }
    }
 
    .search_input {
      width: 100%;
      overflow: hidden;
      height: 100%;
      display: flex;
    }
  }
 
  .right_search {
    width: 140px;
    line-height: 0.9rem;
    text-align: center;
    height: 100%;
    border-radius: 0.5rem;
    background-color: #0066ed;
    color: #ffffff;
    font-weight: bold;
    margin-left: 20px;
  }
}
/deep/ .van-nav-bar__content {
  height: 65px;
}
/deep/ .van-nav-bar__title {
  font-family: "DINPro";
  width: 100%;
  height: 1.17333rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: normal;
  font-weight: 500;
  font-size: 0.48rem;
  color: #14181f;
}
</style>