03 2021 档案

摘要:<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2021-03-11 23:02 Smile浅笑 阅读(83) 评论(0) 推荐(0) 编辑
摘要:正方向范围 li:nth-child(n+6) 选中从第6个开始的子元素 负方向范围 :nth-child(-n+9) 选中从第1个到第9个子元素。使用 :nth-child(-n+9) ,就相当让你选中第9个和其之前的所有子元素 前后限制范围 :nth-child(n+4):nth-child(- 阅读全文
posted @ 2021-03-10 16:25 Smile浅笑 阅读(168) 评论(0) 推荐(0) 编辑
摘要:1.原生js实现 <template> <div> <div style="height:500px;width:500px; background:pink;" id="con_lf_top_div" @click="screen"> </div> </div> </template> <scri 阅读全文
posted @ 2021-03-05 16:40 Smile浅笑 阅读(2004) 评论(0) 推荐(0) 编辑
摘要:https://nodejs.org/zh-cn/download/ 2. .msi 3.创建文件夹 node_cache node_global 4.1 npm config set prefix "D:\Develop\nodejs\node_global" 4.2 npm config set 阅读全文
posted @ 2021-03-04 14:05 Smile浅笑 阅读(80) 评论(0) 推荐(0) 编辑
摘要:/* // 滚动条样式 */ .box { max-height: 100%; overflow-y: auto; } .box::-webkit-scrollbar-track-piece { /* //滚动条凹槽的颜色,还可以设置边框属性 */ background-color: #f8f8f8 阅读全文
posted @ 2021-03-03 16:20 Smile浅笑 阅读(36) 评论(0) 推荐(0) 编辑
摘要:/** * 邮箱 * @param {*} s */ export function isEmail(s) { return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s) } /** * 手机号码 阅读全文
posted @ 2021-03-03 14:37 Smile浅笑 阅读(73) 评论(0) 推荐(0) 编辑
摘要:npm install ant-design-vue --save main.js import Antd from 'ant-design-vue' import 'ant-design-vue/dist/antd.css' Vue.use(Antd) 阅读全文
posted @ 2021-03-03 10:48 Smile浅笑 阅读(2675) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示