![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
「已注销」
这个作者很懒,什么都没留下…
展开
-
逐渐消失的消息弹框
可以多次添加逐渐消失 HTML <div class="toast_box"></div> <div class="toast"></div> css .toast,.toast_box{width:100%;position:absolute;bottom:-.1rem;font-size:0;text-align:center;z-index:...原创 2019-06-27 17:06:00 · 422 阅读 · 0 评论 -
流动消息推送
动态推送显示消息 HTML <span id="news"></span> js var noticeList = [{name:1},{name: 2}]; var nt = ''; var noticeData = function(){ clearInterval(nt) if(noticeList.length>0){ var nt_lengt...原创 2019-06-27 17:14:18 · 111 阅读 · 0 评论 -
vue 使用 swiper loop失效
vue中使用swiper 导入 import 'swiper/dist/css/swiper.css'; import { swiper, swiperSlide } from 'vue-awesome-swiper'; 然后页面使用 <swiper :options="banner" > <swiper-slide v-for="(item,index) i...转载 2019-06-27 17:27:53 · 923 阅读 · 1 评论 -
react项目执行npm run eject报错
执行npm run eject报错 应该是没装好git,或者装了但是没提交到仓库,解决方案如下: 先执行 git add . 后执行 git commit -m “init” 成功以后再npm run eject就没错了 ...转载 2019-07-15 18:09:52 · 400 阅读 · 0 评论 -
vue swiper click失效
<swiper :options="bannerOption" class="ba_s" ref="bannerSwiper" v-if="bannerList.length>0"> <swiper-slide v-for="(item,index) in bannerList" :key="index"><img :src="item.ban...转载 2019-07-18 17:01:54 · 2822 阅读 · 0 评论