vue3 数据可视化大屏蓝色顶部组件-基层治理平台

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

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

vue3 数据可视化大屏蓝色顶部组件-基层治理平台

帧动画效果

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

帧动画文件大小

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

组件内容

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

头部大小

1920 * 107

组件代码

<template>
  <div class="pageTop">
    <div class="pageTopCenter">
      <span>{{ title }}</span>
    </div>
  </div>
</template>

<script>
import dayjs from 'dayjs'
import WOW from "wow.js";

export default {
  data() {
    return {
      date: dayjs().format("YYYY-MM-DD"),
      time: dayjs().format("HH:mm:ss"),
    }
  },
  props: {
    title: {
      type: String,
      default() {
        return '数据看板';
      }
    }
  },
  components: {},
  computed: {
    week() {
      var datas = dayjs().day()
      var week = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
      return week[datas]
    }
  },
  mounted() {
    var that = this;
    var wow = new WOW({
      boxClass: "wow",
      animateClass: "animated",
      offset: 0,
      mobile: true,
      live: true,
      scrollContainer: null,
      resetAnimation: true,
    });
    wow.init();
    setInterval(function () {
      that.time = dayjs().format("HH:mm:ss");
    }, 1000);
  },
  methods: {},
  filters: {},
  watch: {}
}
</script>

<style lang="scss" scoped>
.pageTop {
  background: url("./assets/topBg.png") no-repeat;
  width: 100%;
  height: 125px;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: flex-start;

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

    .Address {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: nowrap;
      flex-direction: row;
      align-content: flex-start;
      margin-left: 30px;

      img {
        width: 15px;
        height: 20px;
        margin-right: 8px;
      }

      span {
        font-size: 14px;
        font-family: PingFang;
        font-weight: 500;
        color: #FBFFFF;
        margin-right: 40px;
      }
    }
  }

  .pageTopCenter {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;
    position: relative;
    height: 100%;

    span {
      font-size: 52px;
      font-family: YouSheBiaoTiHei;
      font-weight: 400;
      color: #FFFFFF;
      margin-top: 10px;
      background-image: -webkit-linear-gradient(bottom, #fbfcfd, #b9c8de);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }

  .pageTopRight {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;
    font-size: 14px;
    font-family: PingFang;
    font-weight: 500;
    color: #FBFFFF;

    span {
      margin-right: 30px;
    }
  }
}
</style>

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

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

源文件下载

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

ae扫光动画源文件

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