|
@@ -254,20 +254,20 @@
|
|
|
</div>
|
|
|
<ul class="value-ul"
|
|
|
v-show="showTable&&dataList.length">
|
|
|
- <li class="value-item">
|
|
|
- <span>日期(频度:{{EdbData.Frequency}})</span>
|
|
|
- <span style="min-width:200px;text-align:center;">值</span>
|
|
|
+ <li class="value-item" style="background-color: #EBEFF6;">
|
|
|
+ <span style="width:240px">日期(频度:{{EdbData.Frequency}})</span>
|
|
|
+ <span style="flex:1;">值</span>
|
|
|
</li>
|
|
|
<li class="value-item"
|
|
|
v-for="item in dataList.slice(0,3)"
|
|
|
:key="item.EdbDataId">
|
|
|
- <span class="value-label">
|
|
|
+ <span class="value-label date" style="width:240px">
|
|
|
<span style="position: relative;">
|
|
|
<i class="new-tag" v-if="EdbData.LatestDate===item.DataTime"></i>
|
|
|
{{item.DataTime}}
|
|
|
</span>
|
|
|
</span>
|
|
|
- <span :class="['value-label',{'predict-act': EdbData.DataInsertConfig.Date===item.DataTime}]" style="min-width:200px;text-align:center;">
|
|
|
+ <span :class="['value-label',{'predict-act': EdbData.DataInsertConfig.Date===item.DataTime}]" style="flex:1;">
|
|
|
<span :class="['value-style',{'predict-act': EdbData.DataInsertConfig.Date===item.DataTime}]">{{item.Value}}</span>
|
|
|
</span>
|
|
|
</li>
|
|
@@ -276,11 +276,14 @@
|
|
|
</div>
|
|
|
<div class="list" v-show="activeTab==='Data'">
|
|
|
<edb-detail-data
|
|
|
+ ref="edb_detail_data"
|
|
|
:current-lang="currentLang"
|
|
|
:table-data="tableData"
|
|
|
:table-colums-one="tableColumsOne"
|
|
|
:table-colums-two="tableColumsTwo"
|
|
|
:data-list="dataList"
|
|
|
+ :haveMore="haveMore"
|
|
|
+ @getNextData="()=>{page_no++;getDataList();}"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -694,6 +697,9 @@ export default {
|
|
|
this.activeTab=''
|
|
|
}else {
|
|
|
this.activeTab='Chart'
|
|
|
+ this.page_no = 1
|
|
|
+ this.$refs.edb_detail_data.$refs.valueUl.scrollTop=0
|
|
|
+ console.log('scroll 置0')
|
|
|
this.initGetData();
|
|
|
}
|
|
|
},
|
|
@@ -2115,19 +2121,19 @@ export default {
|
|
|
overflow: hidden;
|
|
|
.value-ul {
|
|
|
margin-top: 10px;
|
|
|
- border-bottom: 1px solid #dcdfe6;
|
|
|
- max-height: calc(100vh - 495px);
|
|
|
- overflow-y: auto;
|
|
|
+ border-bottom: 1px solid #EBEFF6;
|
|
|
+ //max-height: calc(100vh - 495px);
|
|
|
+ //overflow-y: auto;
|
|
|
.value-item {
|
|
|
/* width: 100%; */
|
|
|
- padding: 14px 0;
|
|
|
+ padding: 10px 0;
|
|
|
border: 1px solid #dcdfe6;
|
|
|
border-bottom: none;
|
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
|
- span{
|
|
|
- flex: 1;
|
|
|
- text-align: center;
|
|
|
+ >span{
|
|
|
+ padding:0 16px;
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
|
.value-label {
|
|
|
position: relative;
|
|
@@ -2141,6 +2147,17 @@ export default {
|
|
|
color: orange;
|
|
|
}
|
|
|
}
|
|
|
+ &.date{
|
|
|
+ &::after{
|
|
|
+ content: '';
|
|
|
+ position:absolute;
|
|
|
+ right:0;
|
|
|
+ top:-14px;
|
|
|
+ height:calc(100% + 28px);
|
|
|
+ width:1px;
|
|
|
+ background-color: #dcdfe6;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.predict-act {
|
|
|
color: orange;
|
|
@@ -2226,6 +2243,7 @@ export default {
|
|
|
>.header{
|
|
|
display: flex;
|
|
|
position: relative;
|
|
|
+ height: 60px;
|
|
|
.el-tabs{
|
|
|
width:200px;
|
|
|
.el-tabs__header{
|
|
@@ -2238,6 +2256,8 @@ export default {
|
|
|
flex: 1;
|
|
|
text-align: center;
|
|
|
font-size: 16px;
|
|
|
+ height: 60px;
|
|
|
+ line-height: 60px;
|
|
|
}
|
|
|
}
|
|
|
}
|