随笔分类 -  前端

摘要:~~~js clickoutside: { bind(el, binding, vnode) { function handleClickOutside(e) { console.log('e.target', e.target); if (e.target el || el.contains(e. 阅读全文
posted @ 2023-06-01 08:36 INEEDSSD 阅读(60) 评论(0) 推荐(0)
摘要:使用JS+CSS实现一个简单的轮播通知 效果图 html <div> <ul id="notification"> <li>通知1</li> <li>通知2</li> <li>通知3</li> <li>通知4</li> <li>通知5</li> </ul> </div> CSS部分 * { marg 阅读全文
posted @ 2023-03-17 12:42 INEEDSSD 阅读(209) 评论(0) 推荐(0)
摘要:页面使用和来记录打开过的页面,但是当点击关闭,关闭当前页面时,发现beforeEach触发了两次,并且当前页面重新被刷新。 <router-link v-for="view in visitedViews" :to="view.path" :key="view.path" :class="{acti 阅读全文
posted @ 2023-03-12 15:46 INEEDSSD 阅读(1158) 评论(0) 推荐(0)
摘要:样式一 <table class="table"> <tr> <th>列1</th> <th>列2</th> <th>列3</th> <th>列4</th> </tr> <tr> <td>123123</td> <td>123123</td> <td>123123</td> <td>123123</ 阅读全文
posted @ 2021-03-09 23:30 INEEDSSD 阅读(60) 评论(0) 推荐(0)
摘要:样式一 <!-- 来自BiliBili:https://www.bilibili.com/video/BV1tA411h7id/? --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>登录界面</title> </head> 阅读全文
posted @ 2021-03-09 23:25 INEEDSSD 阅读(1993) 评论(0) 推荐(0)