Thinkphp自定义美化success和error提示跳转页面

该博客介绍了如何在 Thinkphp 框架中自定义美化 success 和 error 提示跳转页面。首先,修改 `application/config.php` 文件,将默认跳转页面模板设置为 `default_jump.tpl`。然后,在 `thinkphp/tpl` 目录下创建 `default_jump.tpl` 文件,并添加相应的 CSS 动画代码,包括 `success_short_Animation`, `success_long_Animation` 和加载动画等效果。" 88561614,7573415,使用原生JS构建简单Hash路由,"['原生Js', '路由', '单页面', 'hash']
摘要由CSDN通过智能技术生成

/success short animate/

@-webkit-keyframes success_short_Animation {

0% {

width: 0;

left: 1px;

top: 19px;

}

54% {

width: 0;

left: 1px;

top: 19px;

}

70% {

width: 50px;

left: -4px;

top: 37px;

}

84% {

width: 17px;

left: 21px;

top: 48px;

}

100% {

width: 25px;

left: 14px;

top: 45px;

}

}

@-moz-keyframes success_short_Animation {

0% {

width: 0;

left: 1px;

top: 19px;

}

54% {

width: 0;

left: 1px;

top: 19px;

}

70% {

width: 50px;

left: -4px;

top: 37px;

}

84% {

width: 17px;

left: 21px;

top: 48px;

}

100% {

width: 25px;

left: 14px;

top: 45px;

}

}

@-webkit-keyframes success_short_Animation {

0% {

width: 0;

left: 1px;

top: 19px;

}

54% {

width: 0;

left: 1px;

top: 19px;

}

70% {

width: 50px;

left: -4px;

top: 37px;

}

84% {

width: 17px;

left: 21px;

top: 48px;

}

100% {

width: 25px;

left: 14px;

top: 45px;

}

}

/success short animate/

/success long animate/

@-webkit-keyframes success_long_Animation {

0% {

width: 0;

right: 46px;

top: 54px;

}

65% {

width: 0;

right: 46px;

top: 54px;

}

84% {

width: 55px;

right: 0px;

top: 35px;

}

100% {

width: 47px;

right: 8px;

top: 38px;

}

}

@-moz-keyframes success_long_Animation {

0% {

width: 0;

right: 46px;

top: 54px;

}

65% {

width: 0;

right: 46px;

  • 27
    点赞
  • 26
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值