摘要: <n-form :model="formValue" ref="formRefName" :rules="rules" :size="'medium'" label-placement="top" > const formValue = ref({ deviceNewName: '', }); wa 阅读全文
posted @ 2024-02-19 09:33 饼MIN 阅读(654) 评论(0) 推荐(0)
摘要: 参考文章 阅读全文
posted @ 2023-10-21 14:01 饼MIN 阅读(127) 评论(0) 推荐(0)
摘要: ### 阅读全文
posted @ 2023-10-20 00:02 饼MIN 阅读(18) 评论(0) 推荐(0)
摘要: 在input框内也可以用iconfont图标 <input type="text" class="iconfont " placeholder="&#xe62d; 请输入宿舍信息"> 阅读全文
posted @ 2023-09-13 14:39 饼MIN 阅读(26) 评论(0) 推荐(0)
摘要: 利用排他思想的案例 let building = document.querySelector("aside") /* 排他思想 */ for(let i = 0 ;i<building.children.length;i++){ building.children[i].onclick = fun 阅读全文
posted @ 2023-09-13 14:20 饼MIN 阅读(15) 评论(0) 推荐(0)
摘要: for in与for of的区别 使用for of遍历的内容必须要有迭代器 for in一般用于遍历对象也可以遍历数组,遍历的是对象的属性或者数组的下标,for of一般用于遍历数组,map,set等,它不能遍历对象 因为对象身上没有迭代器 for in一般遍历的是key,for of一般遍历的是v 阅读全文
posted @ 2023-09-13 13:09 饼MIN 阅读(69) 评论(0) 推荐(0)
摘要: 浮动布局 盒模型布局 弹性盒布局 定位布局 多列布局 多列布局案例 网格布局 响应式布局 圣杯布局 阅读全文
posted @ 2023-09-11 11:53 饼MIN 阅读(15) 评论(0) 推荐(0)
摘要: 新闻排版 CSS样式 section{ width: 1000px; height: 500px; border: 1px solid #000; margin: 100px auto; column-count: 4; column-gap: 10px; column-rule: 2px soli 阅读全文
posted @ 2023-09-10 21:53 饼MIN 阅读(40) 评论(0) 推荐(0)
摘要: 骰子布局 CSS样式 section { width: 350px; height: 350px; background-color: #000; border: 5px solid #e0dfcc; margin: 100px auto; display: flex; flex-wrap: wra 阅读全文
posted @ 2023-09-10 21:26 饼MIN 阅读(38) 评论(0) 推荐(0)
摘要: 伪类 a:link {color: red;} /* 未访问的链接状态,必须给a */ a:visited {color: green;} /* 已访问的链接状态,必须给a */ a:hover {color: blue;} /* 鼠标滑过链接状态,可以随便给 */ a:active {color: 阅读全文
posted @ 2023-09-10 20:15 饼MIN 阅读(36) 评论(0) 推荐(0)