瀏覽代碼

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

zhengxy 2 年之前
父節點
當前提交
d4376e9fcc
共有 1 個文件被更改,包括 17 次插入1 次删除
  1. 17 1
      project/src/components/dataBoard/shortDramaTrends.vue

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

25
       </div>
25
       </div>
26
     </div>
26
     </div>
27
     <!-- E 筛选区 -->
27
     <!-- E 筛选区 -->
28
-
28
+    <!-- S 数据更新时间 -->
29
+    <div class="update-time"><i class="el-icon-warning-outline" />数据更新时间:{{ updateTime || '-' }}</div>
30
+    <!-- E 数据更新时间 -->
29
     <!-- S 折线图 -->
31
     <!-- S 折线图 -->
30
     <div class="trendBox mt-10" v-loading="chartLoading">
32
     <div class="trendBox mt-10" v-loading="chartLoading">
31
       <div class="legendBox">
33
       <div class="legendBox">
200
         sort_field: 'paid', // 排序字段 - 默认值
202
         sort_field: 'paid', // 排序字段 - 默认值
201
         sort_type: 'desc', // 升序/降序
203
         sort_type: 'desc', // 升序/降序
202
       },
204
       },
205
+      updateTime: '', // 数据更新时间
203
     }
206
     }
204
   },
207
   },
205
   computed: {
208
   computed: {
754
 <style lang="scss" scoped>
757
 <style lang="scss" scoped>
755
 .shortDramaTrends-wrap {
758
 .shortDramaTrends-wrap {
756
   min-width: 1125px;
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
 .screenBox {
774
 .screenBox {
759
   position: relative;
775
   position: relative;