06 2022 档案
摘要:1.图片旋转,直接在需要转动的元素上添加类名即可。 @keyframes rotation{ from {transform: rotate(0);} to{transform: rotate(360deg);} } .zhuan{ transform: rotate(360deg); animat
阅读全文
摘要:1.第一步 // 切换结束后,开始 // 定义一个index,使索引值自增。activeIndex为swiper中的,它的值为轮播结束后第几个slide if (mySwiper.activeIndex == 2 && index == 2) { musicplay('修改为自己的音乐地址', 'b
阅读全文