摘要: 概念构建 CSS 盒模型 标准盒子模型 ie盒子模型 margin重叠问题 官方解释:块的上外边距(margin-top)和下外边距(margin-bottom)有时合并(折叠)为单个边距,其大小为单个边距的最大值(或如果它们相等,则仅为其中一个),这种行为称为边距折叠。(块元素的 上下外边距 ,只 阅读全文
posted @ 2023-02-18 22:09 古月明 阅读(18) 评论(0) 推荐(0) 编辑
摘要: HTML 块级元素和行内元素 块级元素:(div、p、table、ul-li、ol-li、h1—h6、form) 默认宽度100%,在浏览器中占一行的位置 padding、margin、width、height、border都设置有效 块级元素中可包含块级元素与行内元素 行内元素: (span、i、 阅读全文
posted @ 2023-02-07 10:48 古月明 阅读(15) 评论(0) 推荐(0) 编辑
摘要: let obj1 = { name:'zhangsan', age:'14', sex:'m' } let obj2 = {} // 直接取obj中的字段 this.obj2 = (({ name,age}) => ({ name,age}))(obj1) console.log(obj2,'obj 阅读全文
posted @ 2022-07-22 14:37 古月明 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 添加key属性 阅读全文
posted @ 2022-02-08 10:37 古月明 阅读(517) 评论(0) 推荐(0) 编辑
摘要: ###可通过属性props来改变级联选择器默认遍历的value和label ###贴段自己的代码 <el-form-item label="类型" > <el-cascader v-model="form.flzj" :options="flzjlist" :props="defaultParams 阅读全文
posted @ 2022-01-17 19:21 古月明 阅读(1841) 评论(0) 推荐(0) 编辑
摘要: const mysql = require('mysql'); const con = mysql.createConnection({ host:'localhost', user:'root', password:'root', database:'xiaouclass', port:3306 阅读全文
posted @ 2021-09-21 14:01 古月明 阅读(90) 评论(0) 推荐(0) 编辑
摘要: // 1.引入 const mysql = require('mysql'); // 2.配置连接信息 let con = mysql.createConnection({ host:'localhost', // 主机名 user:'root', // 用户名 password:'root', / 阅读全文
posted @ 2021-09-21 13:58 古月明 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 其中清除浮动的类名为clearfix 1 @charset 'utf-8'; 2 h1,h2,h3,h4,h5,h6,ul,li,ol,dl,dd,dt,table,form,body 3 /* body是浏览器默认样式 */ 4 { 5 margin: 0px; 6 padding: 0px; 7 阅读全文
posted @ 2021-07-04 14:01 古月明 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 这个作业属于哪个课程https://edu.cnblogs.com/campus/zswxy/software-engineering-2017-1 这个作业要求在哪里 https://edu.cnblogs.com/campus/zswxy/software-engineering-2017-1/ 阅读全文
posted @ 2020-07-07 23:53 古月明 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 这个作业属于哪个课程https://edu.cnblogs.com/campus/zswxy/software-engineering-2017-1 这个作业的要求在哪里 https://edu.cnblogs.com/campus/zswxy/software-engineering-2017-1 阅读全文
posted @ 2020-04-17 16:42 古月明 阅读(168) 评论(0) 推荐(0) 编辑