vue管理系统跳转大屏

 1.配置路由

2.跳转用a标签

<a class="logout_title"
   target="_parent"
   href="/dataPresentation/waterGis/waterGis1"
   >
   <a class="el-icon-full-screen"></a>
</a>
  1. _blank表示跳到新页面打开,打开一个新窗口
  2. _self表示当前页面打开链接
  3. _parent表示在父集框架中打开
  4. _top表示在整个窗口中打开
  5. framename表示在指定的框架中打开

 3.在大屏页面可以用a标签返回也可以用 this.$router.push({path:"/dataPresentation/waterGis/waterGis"})返回

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Vue中实现大屏数字翻转动画可以使用CSS动画和Vue的过渡效果结合来实现。下面是一个简单的示例代码: ```html <template> <div class="number-container"> <transition name="flip"> <span :key="currentNumber" class="number">{{ currentNumber }}</span> </transition> </div> </template> <script> export default { data() { return { currentNumber: 0, }; }, mounted() { // 模拟数据更新 setInterval(() => { this.currentNumber = Math.floor(Math.random() * 100); // 生成一个随机数 }, 2000); }, }; </script> <style> .number-container { display: flex; align-items: center; justify-content: center; height: 200px; } .number { font-size: 48px; font-weight: bold; animation: flip 1s ease-in-out; } @keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } } .flip-enter-active { animation: flip 1s ease-in-out; } .flip-leave-active { animation: flip 1s ease-in-out reverse; } </style> ``` 在上面的代码中,我们使用了Vue的过渡效果来实现数字的翻转动画。通过设置`<transition>`组件的`name`属性为"flip",然后在CSS中定义了名为"flip"的动画效果。在`mounted`钩子函数中,我们使用`setInterval`函数模拟数据的更新,每隔2秒更新一次`currentNumber`的值。当`currentNumber`的值发生变化时,Vue的过渡效果会自动触发,从而实现数字的翻转动画效果。 希望这个示例能帮助到你实现Vue大屏数字翻转动画。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值