上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页
摘要: <div style="display: flex;flex-direction: row;align-content: center;margin-top: 20px;"> <!-- <p style="flex: 2">设置科目类型时长</p>--> <!-- <span style="flex 阅读全文
posted @ 2020-03-18 10:24 小白咚 阅读(4121) 评论(0) 推荐(0) 编辑
摘要: 1.多表查询 笛卡尔积:有两个集合A,B,取这两个集合的所有组成情况 要完成多表查询,需要消除无用的数据 内连接查询 隐式内连接 -- 查询所有员工信息和对应的部门信息 SELECT * FROM emp,dept WHERE emp.'dept_id' = dept.'id'; -- 查询员工表的 阅读全文
posted @ 2020-02-23 15:29 小白咚 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 约束,多表之间的关系,范式,数据库的备份和还原 1.主键约束:primary key 2.非空约束:not null 3.唯一约束:unique 4.外键约束:foreign key NAME VARCHAR(20) NOT NULL -- name为非空 phone_number VARCHAR( 阅读全文
posted @ 2020-02-23 15:27 小白咚 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 3.条件查询 2.2.7.24 == 查询年龄大于20岁 SELECT * FROM student WHERE age >= 20; == 查询年龄等于20岁 SELECT * FROM student WHERE age = 20; == 查询年龄不等于20岁 SELECT * FROM stu 阅读全文
posted @ 2020-02-23 15:24 小白咚 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 借鉴:https://www.jianshu.com/p/1971fc5b97ca https://blog.csdn.net/qq_40614207/article/details/94003793 贴出代码 // 定义导出Excel表格事件 exportExcel() { // 解决生成重复数据 阅读全文
posted @ 2020-02-20 14:33 小白咚 阅读(1189) 评论(0) 推荐(0) 编辑
摘要: ###MySQL 数据库DataBase 1.持久化存储数据,其实数据库就是一个文件系统 2.方便存储和管理数据 3.使用了统一的方式操作数据库--sql mysql -uroot -proot 卸载 必须卸载干净 找到安装目录中的my.ini 配置文件 datadir="c:/ProgramDat 阅读全文
posted @ 2020-02-20 09:41 小白咚 阅读(259) 评论(4) 推荐(0) 编辑
摘要: mac系统-https://github.com/creationix/nvm#install-script curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash windows系统- 阅读全文
posted @ 2020-02-15 21:55 小白咚 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 子组件调用(绑定)父组件的方法 父组件接收子组件事件的参数 子组件给父组件传值 就相当于父组件给子组件传递了一个方法,子组件触发这个方法,也就相当于父组件调用了这个方法 可以说是互相影响,数据双向绑定 子组件 <div @click="clickCell(参数)"> props:{ clickCel 阅读全文
posted @ 2020-02-12 23:04 小白咚 阅读(1534) 评论(0) 推荐(0) 编辑
摘要: router-link 跳转前提是在router.js 中配置了要跳转到目的的那一页 { path: '/setting', component: Mesetting } 还需要引入这个组件-也就是这一页的路径 import Mesetting from './../pages/Me/MeSetti 阅读全文
posted @ 2020-02-12 23:03 小白咚 阅读(6019) 评论(0) 推荐(0) 编辑
摘要: 前面的笔记,有格式化时间的 <!-- 格式化-隐藏中间位数-手机号过滤器--> <p>{{userInfo.user_phone | phoneFormat}}</p> export default { filters: { phoneFormat(phone) { // 1. 转成数组-延展操作符 阅读全文
posted @ 2020-02-11 22:38 小白咚 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 字体图标--在阿里图库中下载svg格式的 https://icomoon.io/ 将svg格式的图片转换为css的字体网站 1.点击icomoonAPP 2.点击importlicons导入下载好的图片 3.选中图片 4.点击下方GenerateFont 5.下载Download 6.解压下载好的 阅读全文
posted @ 2020-02-10 18:04 小白咚 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 向vuex的变量存储数据 1.在state.js中添加 userInfo: {}, 2.actions.js中添加同步用户信息-将参数userInfo传递给USER_INFO 创建一个方法-不用异步方法 syncUserInfo({commit}, userInfo){ commit(USER_IN 阅读全文
posted @ 2020-02-08 15:54 小白咚 阅读(4809) 评论(0) 推荐(0) 编辑
摘要: 前端点击发送验证码 后端生成验证码 后端调用运营商 运营商将验证码发到用户手机 前端输入 后端对比验证下载tenxun运营商代码分析: // 安装md5加密npm i blueimp-md5 --save// 用户密码也需要这个加密-一般暴力破解需要无限的测试-较安全的是在加上一个反向md5还有盐v 阅读全文
posted @ 2020-02-06 23:23 小白咚 阅读(1495) 评论(0) 推荐(0) 编辑
摘要: 前端 <section class="login-message"> <input type="text" maxlength="11" placeholder="验证码" v-model="captcha"> <img ref="captcha" class="get-verification" 阅读全文
posted @ 2020-02-06 22:43 小白咚 阅读(530) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>vue中的变异方法:排序:sort()方法 和反转:reverse() 方法</title> <script type="text/javascript" sr 阅读全文
posted @ 2020-01-18 16:46 小白咚 阅读(9993) 评论(0) 推荐(1) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页