摘要:
一、QueryWrapper和LambdaQueryWrapper的区别 写法和表达方式不同: QueryWrapper:使用传统的字符串形式构建查询条件,通过支持链式调用的方式,可以方便地拼接多个查询条件。 LambdaQueryWrapper:使用 Lambda 表达式构建查询条件,可以通过实体 阅读全文
摘要:
主要代码如下: .info{ width: 90vw; height: 102vw; display: block; position: fixed; z-index: 999; top: 50%; left: 50%; transform: translate(-50%, -50%); borde 阅读全文
摘要:
resize和overflow实现拉大和缩小,绝对定位+transform实现剧中,max-height和max-width限制图片不能超出div的范围 <html> <head> <style> #div{ background-color: antiquewhite; height: 300px 阅读全文
摘要:
1、单行文字的处理 <html> <head> <style> /* 要点,设置行高和DIV的行高一行 */ #div{ background-color: antiquewhite; height: 100px; line-height: 100px; text-align: center; } 阅读全文
摘要:
<html> <head> <style> #tasklist{ /* background-color:gray; */ display: flex; } .item{ margin-right: 20px; } .active{ border-bottom: 3px solid orange; 阅读全文
摘要:
1、弹性盒子模型(FlexBox),不考虑兼容性问题的情况下,建议新手直接使用这种模式,简单,最重要的是元素不会浮动,不会影响后面的元素的布局,比如下面代码中的我在底层这个div的显示没有任何影响。 <html> <head> <style> #tasklist{ background-color: 阅读全文
摘要:
效果图: 代码结构: 阅读全文
摘要:
1、如果本地已经有代码,现在想用git管理,操作步骤如下: 1、进入项目根目录下,执行git init 2、添加所有文件git add . 3、提交 git commit -m 'init' 4、关联到远程仓库,git上先创建一个项目,然后再关联 git remote add origin http 阅读全文
摘要:
1、官网下载: http://nginx.org/en/download.html 当时的版本:1.24.0 2、新建/usr/local/nginx目录,用做编译指定的目录 3、解压 tar -zxvf nginx-1.24.0.tar.gz 4、进入解压后的目录,分别执行3个命令 ./confi 阅读全文
摘要:
项目的框架概述: 前端: 1、采用vue2.0 2、采用element ui 后端: 1、Jave 一、前端 1、创建项目 vue create web_admin 创建成功后的项目结构 2、安装element ui指定版本 yarn add element-ui@2.15.12 3、在main.j 阅读全文