Browse Source

feat: 企微数据 - 短剧数据趋势 - 数据更新时间页面

zhengxy 2 years ago
parent
commit
d4376e9fcc
1 changed files with 17 additions and 1 deletions
  1. 17 1
      project/src/components/dataBoard/shortDramaTrends.vue

+ 17 - 1
project/src/components/dataBoard/shortDramaTrends.vue

@@ -25,7 +25,9 @@
25 25
       </div>
26 26
     </div>
27 27
     <!-- E 筛选区 -->
28
-
28
+    <!-- S 数据更新时间 -->
29
+    <div class="update-time"><i class="el-icon-warning-outline" />数据更新时间:{{ updateTime || '-' }}</div>
30
+    <!-- E 数据更新时间 -->
29 31
     <!-- S 折线图 -->
30 32
     <div class="trendBox mt-10" v-loading="chartLoading">
31 33
       <div class="legendBox">
@@ -200,6 +202,7 @@ export default {
200 202
         sort_field: 'paid', // 排序字段 - 默认值
201 203
         sort_type: 'desc', // 升序/降序
202 204
       },
205
+      updateTime: '', // 数据更新时间
203 206
     }
204 207
   },
205 208
   computed: {
@@ -754,6 +757,19 @@ export default {
754 757
 <style lang="scss" scoped>
755 758
 .shortDramaTrends-wrap {
756 759
   min-width: 1125px;
760
+  .update-time {
761
+    margin-top: 10px;
762
+    padding-left: 20px;
763
+    display: flex;
764
+    align-items: center;
765
+    font-size: 12px;
766
+    color: #999;
767
+    i {
768
+      font-size: 14px;
769
+      font-weight: 600;
770
+      margin-right: 4px;
771
+    }
772
+  }
757 773
 }
758 774
 .screenBox {
759 775
   position: relative;