vue2-client 1.8.55 → 1.8.57
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.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<a-card class="question-history" id="question-history" size="small" :bordered="false" :bodyStyle="{ height:'100%', overflowY: '
|
|
2
|
+
<a-card class="question-history" id="question-history" size="small" :bordered="false" :bodyStyle="{ height:'100%', overflowY: 'auto'}">
|
|
3
3
|
<a-tabs v-model="activeKey" :tabBarStyle="{ textAlign: 'center',height:'100%',postion:'' }" tabPosition="top">
|
|
4
4
|
<a-tab-pane key="1" tab="对话历史">
|
|
5
5
|
<a-list item-layout="horizontal" :data-source="questions">
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
</template>
|
|
65
65
|
|
|
66
66
|
<script>
|
|
67
|
-
import { indexedDB } from '
|
|
68
|
-
import { formatDate } from '
|
|
67
|
+
import { indexedDB } from '@vue2-client/utils/indexedDB'
|
|
68
|
+
import { formatDate } from '@vue2-client/utils/util'
|
|
69
69
|
|
|
70
70
|
export default {
|
|
71
71
|
props: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<img class="search-title-logo" src="@vue2-client/assets/img/logo.png"/>
|
|
8
8
|
<span class="search-title-text">数据检索平台</span>
|
|
9
9
|
</div>
|
|
10
|
-
<div class="blue-overlay"></div
|
|
10
|
+
<!-- <div class="blue-overlay"></div>-->
|
|
11
11
|
<div class="search-card-main">
|
|
12
12
|
<!-- 搜索栏组件 -->
|
|
13
13
|
<search-bar ref="searchBar" @search="handleSearch"></search-bar>
|
|
@@ -46,7 +46,7 @@ import DataTabs from './DataTabs.vue'
|
|
|
46
46
|
// import { post } from '@vue2-client/services/api'
|
|
47
47
|
import { formatDate } from '@vue2-client/utils/util'
|
|
48
48
|
import QuestionHistoryAndFavorites from './QuestionHistoryAndFavorites.vue'
|
|
49
|
-
import { post } from '
|
|
49
|
+
import { post } from '@vue2-client/services/api'
|
|
50
50
|
|
|
51
51
|
export default {
|
|
52
52
|
name: 'DynamicStatistics',
|
|
@@ -174,12 +174,12 @@ export default {
|
|
|
174
174
|
|
|
175
175
|
.data-nav-card-back {
|
|
176
176
|
width: 100%;
|
|
177
|
-
height:
|
|
177
|
+
height: auto;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.data-nav-card {
|
|
181
181
|
z-index: 999;
|
|
182
|
-
position: fixed;
|
|
182
|
+
//position: fixed;
|
|
183
183
|
width: 100%;
|
|
184
184
|
height: 150px;
|
|
185
185
|
top: 0;
|
|
@@ -216,7 +216,7 @@ export default {
|
|
|
216
216
|
|
|
217
217
|
.data-main-card {
|
|
218
218
|
//width: 75%;
|
|
219
|
-
height:
|
|
219
|
+
height: calc(100vh - 150px);
|
|
220
220
|
padding: 15px 15px 15px 15px;
|
|
221
221
|
background-color: #f5f7fb;
|
|
222
222
|
}
|