vue3 数据可视化大屏蓝色顶部组件-海关信息中心

数据可视化大屏素材 yekong 359℃

数据可视化大屏 页面都会有一个特色的顶部,用来放标题时间以及菜单等效果,数据可视化大屏顶部组件 都整理出来方便复用。今天整理的来自数据大屏:vue3 数据可视化大屏蓝色顶部组件-海关信息中心。

vue3 数据可视化大屏蓝色顶部组件-海关信息中心

帧动画效果

通过ae实现从两侧到中间的扫光动画,使用帧动画生成。帧动画虽然增加了效果同时也增加了文件大小。

帧动画文件大小

帧动画图片文件数量74
帧动画图片文件总大小 3M

组件内容

背景加中间标题
加帧动画效果实例

头部大小

1920 * 107

组件代码

<template>
  <div class="header" id="header">
    <div class="headerLeft">
    </div>
    <div class="headerTitle"><span>{{ title }}</span></div>
    <div class="headerRight">
    </div>
  </div>
</template>

<script>
import dayjs from 'dayjs'

export default {
  name: "header",
  data() {
    return {
      date: dayjs().format("YYYY-MM-DD"),
      time: dayjs().format("HH:mm:ss"),
    }
  },
  props: {
    title: {
      type: String,
      default() {
        return '海关信息中心';
      }
    }
  },
  computed: {
    week() {
      var datas = dayjs().day()
      var week = ['日', '一', '二', '三', '四', '五', '六']
      return week[datas]
    }
  },
  watch: {},
  mounted() {
    var that = this;
    setInterval(function () {
      that.time = dayjs().format("HH:mm:ss");
    }, 1000);
  },
  methods: {},
}
</script>

<style lang="scss" scoped>
.header {
  width: 100%;
  position: relative;
  height: 107px;
  z-index: 1;
  background: url("./assets/topbg.png") center center no-repeat;
  background-size: 100% 107px;
  display: flex;
  //top: -78px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: flex-start;

  .headerLeft {
    width: 30%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;

    .dateTime {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: nowrap;
      flex-direction: row;
      align-content: flex-start;
      margin-top: 80px;
    }

    .time {
      font-size: 32px;
      font-family: Alibaba;
      font-weight: normal;
      color: #FFFFFF;
      margin-left: 60px;
    }

    .dateweek {
      font-size: 12px;
      font-family: Alibaba;
      font-weight: normal;
      color: #FFFFFF;
      margin-left: 16px;
      margin-top: 7px;
    }
  }

  .headerRight {
    width: calc(30% - 30px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;
    margin-right: 30px;
  }

  .headerTitle {
    display: flex;
    width: 40%;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;
    margin-top: 20px;

    span {
      font-size: 48px;
      font-family: YouSheBiaoTiHei;
      font-weight: bold;
      color: #1E96FD;
      line-height: 39px;
      background: linear-gradient(0deg, #41C3F5 0%, #CFE7FF 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}
</style>

更多数据可视化大屏顶部组件

vue3 数据可视化大屏顶部组件汇总

源文件下载

文件包括头部效果代码 vue3 vite js nodejs 14

ae扫光动画源文件

相关文件下载地址
此资源需支付 ¥2 后下载
支付宝购买扫右侧红包码购买更优惠,如无法下载请联系微信:17331886870
喜欢 (0)
vue3 数据可视化大屏蓝色顶部组件-海关信息中心