vue2-client 1.8.67 → 1.8.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,10 +3,10 @@
3
3
  <div class="data-nav-card-back">
4
4
  <div class="data-nav-card">
5
5
  <div class="search-card">
6
- <div class="search-title-card">
6
+ <a-row class="search-title-card">
7
7
  <img class="search-title-logo" src="@vue2-client/assets/img/logo.png"/>
8
- <span class="search-title-text">数据检索平台</span>
9
- </div>
8
+ <a-col class="search-title-text">数据检索平台</a-col>
9
+ </a-row>
10
10
  <!-- <div class="blue-overlay"></div>-->
11
11
  <div class="search-card-main">
12
12
  <!-- 搜索栏组件 -->
@@ -65,8 +65,8 @@ export default {
65
65
  },
66
66
  methods: {
67
67
  // 处理搜索逻辑,这里简化为直接赋值,实际应调用API
68
- async handleSearch (value, callback, uuid) {
69
- this.loading = true
68
+ async handleSearch (value, callback, uuid) {
69
+ this.loading = true
70
70
  if (!value) {
71
71
  this.$message.warn('请先输入查询的数据')
72
72
  callback()
@@ -89,38 +89,38 @@ export default {
89
89
  }]
90
90
  }).then(res => {
91
91
  this.loading = false
92
- res = [
93
- {
94
- name: '张三',
95
- year: '2013',
96
- money: Math.floor(Math.random() * 100) + 1,
97
- age: Math.floor(Math.random() * 100) + 1
98
- },
99
- {
100
- name: '张三2',
101
- year: '2014',
102
- money: Math.floor(Math.random() * 100) + 1,
103
- age: Math.floor(Math.random() * 100) + 1
104
- },
105
- {
106
- name: '张三3',
107
- year: '2015',
108
- money: Math.floor(Math.random() * 100) + 1,
109
- age: Math.floor(Math.random() * 100) + 1
110
- },
111
- {
112
- name: '张三3',
113
- year: '2016',
114
- money: Math.floor(Math.random() * 100) + 1,
115
- age: Math.floor(Math.random() * 100) + 1
116
- },
117
- {
118
- name: '张三3',
119
- year: '2017',
120
- money: Math.floor(Math.random() * 100) + 1,
121
- age: Math.floor(Math.random() * 100) + 1
122
- }
123
- ]
92
+ // res = [
93
+ // {
94
+ // name: '张三',
95
+ // year: '2013',
96
+ // money: Math.floor(Math.random() * 100) + 1,
97
+ // age: Math.floor(Math.random() * 100) + 1
98
+ // },
99
+ // {
100
+ // name: '张三2',
101
+ // year: '2014',
102
+ // money: Math.floor(Math.random() * 100) + 1,
103
+ // age: Math.floor(Math.random() * 100) + 1
104
+ // },
105
+ // {
106
+ // name: '张三3',
107
+ // year: '2015',
108
+ // money: Math.floor(Math.random() * 100) + 1,
109
+ // age: Math.floor(Math.random() * 100) + 1
110
+ // },
111
+ // {
112
+ // name: '张三3',
113
+ // year: '2016',
114
+ // money: Math.floor(Math.random() * 100) + 1,
115
+ // age: Math.floor(Math.random() * 100) + 1
116
+ // },
117
+ // {
118
+ // name: '张三3',
119
+ // year: '2017',
120
+ // money: Math.floor(Math.random() * 100) + 1,
121
+ // age: Math.floor(Math.random() * 100) + 1
122
+ // }
123
+ // ]
124
124
  if (Array.isArray(res)) {
125
125
  this.addTab(uuid, value, res, false)
126
126
  } else {
@@ -196,7 +196,8 @@ export default {
196
196
  margin: 0 auto;
197
197
  position: absolute;
198
198
  top: 30%;
199
- left:5%;
199
+ left: 5%;
200
+ display: flex;
200
201
 
201
202
  .search-title-logo {
202
203
  width: 60px;
@@ -204,6 +205,7 @@ export default {
204
205
  }
205
206
 
206
207
  .search-title-text {
208
+ line-height: 60px;
207
209
  font-size: 20px;
208
210
  font-weight: bold;
209
211
  }
@@ -235,14 +237,16 @@ export default {
235
237
  //background-color: rgba(#4F93FE, 0.8) // 这里设置蓝色蒙版的颜色和透明度
236
238
  }
237
239
 
238
- .search-card-main{
240
+ .search-card-main {
239
241
  height: 100%;
240
242
  }
241
243
  }
244
+
242
245
  .spingclass {
243
246
  height: 100%;
244
247
  }
245
- :deep(.ant-spin-container){
248
+
249
+ :deep(.ant-spin-container) {
246
250
  height: 100%;
247
251
  }
248
252
  </style>