- 博客(16)
- 资源 (2)
- 收藏
- 关注
原创 Mysql:Accounts and Roles Root Account Password Enter the password for the root acc
把8.0版本的第一个移入右边框里,就会出现输入两次密码,直接输入,一直next,没有next选择finish,结束就行了。关于Mysql下载步骤中Accounts and Roles只有password,我下载了没有十次也有八次了。然后点击左框的第一个,然后再点绿色的箭头,把内容添加进去,后面就傻瓜式操作直至这一步完成。最后验证一下成功是否,win+R,输入cmd,输入密码就ok.双击出现这个画面,点击No,然后找到Remove。勾选第一个,不管你是什么版本,然后Next。直接点击取消,然后找到。
2024-09-13 14:43:36
1503
1
原创 echarts图表的x轴和y轴的配置
xAxis与yAxis中有很多配置项,以xAxis进行详解,yAxis参照xAxis即可。splitArea :坐标轴在 grid 区域中的分隔区域,默认不显示。splitLine: 坐标轴在 grid 区域中的分隔线设置。nameTextStyle:坐标轴名称的文字样式。axisLabel:坐标轴刻度标签的相关设置。axisLine:坐标轴轴线相关设置。axisTick:坐标轴刻度相关设置。
2024-02-04 14:04:08
2551
1
原创 js数组去重
function unique(arr) { var newArr = []; for (var i = 0; i < arr.length; i++) { if (newArr.indexOf(arr[i]) === -1) { newArr.push(arr[i]); } } return newA.
2022-08-02 20:30:24
129
原创 jquery设计轮播图
css布局 <div id="banner"> <div id="imgList"> <a class="item" href="javascript:;"><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/a316c1232aec88bd1e73da856a599a62.jpg?thumb=1&w=1226&h=460&f=webp&am.
2022-05-25 14:37:48
118
转载 正则表达式(数字、字符、特殊需求)
一、校验数字的表达式数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(\.[0-9]{1,2})?$ 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,2})$ 正数、负数、和小数:^(\-|\+)?\d+(\.\d+)?$ 有两位小数的正实数:^[0-9]+(\.[0-9]{2})?$
2022-05-05 11:27:21
224
原创 优快云文章打印
我习惯性用谷歌浏览器,打开你需要打印的页面,然后打开F12,找到console窗口,将代码复制进去,Enter一下(function(){ 'use strict'; var articleBox = $("div.article_content"); articleBox.removeAttr("style"); $("#btn-readmore").parent().remove(); $("#side").remove(); $("#comment_title, #comment_l
2022-05-04 10:14:32
812
原创 new实例化绘制彩球
css样式: #box { width: 1200px; height: 900px; margin: auto; position: relative; overflow: hidden; background-color: black; } #c { border-radius: 50%; }<body> <div id=.
2022-04-19 11:15:10
198
原创 js制作成绩表(自动创建表单)
css代码 table { margin: 50px auto 0; text-align: center; } .class-schedule { font-weight: bold; } tr, td { text-align: center; width: 140px; border-co.
2022-04-18 13:57:37
1374
2
原创 格式化天-时-分-秒
<script> function countDown(time) { var nowTime = +new Date(); //返回当前总的毫秒数、现在时间 var inputtime = +new Date(time); //返回用户输入时间总的毫秒数、将来时间 var times = (inputtime - nowTime) / 1000; //times是剩余时间总的毫秒 .
2022-04-08 20:12:39
443
原创 格式化日期(年-月-日-星期几)
<script> var date = new Date(); console.log(date.getFullYear()); console.log(date.getMonth() + 1); console.log(date.getDate()); console.log(date.getDay()); var year = date.getFullYear(); var...
2022-04-08 20:09:12
690
原创 js判断一个数是否是素数(素数也叫作质数)
var num = prompt('请输入一个正整数'); var iszhishu = true; if (num > 1) { for (var i = 2; i < j; i++) { if (num % i == 0) { iszhishu = false; } } if (...
2022-03-29 10:26:03
211
原创 原生js实现时间戳
<script> function count(time) { var newTime = +new Date();//返回当前总的毫秒数、现在时间 var timing = +new Date(time);//返回用户输入时间总的毫秒数、将来时间 var times = (timing - newTime) / 1000;//times是剩余时间总的毫秒 var d = parse.
2022-03-24 14:19:36
316
原创 css文本溢出省略
1.单行文本溢出省略```css/* 1.先强制一行内显示文本 *//*默认 normal 是自动换行,nowrap是强制一行显示文本*/white-space: nowrap;/* 2.超出的部分隐藏 */overflow: hidden;/* 3.文字用省略号替代超出的部分*//*ellipsis:省略号*/text-overflow: ellipsis;```2.多行文本溢出省略多行文本溢出显示省略号,有较大的兼容性问题,适合于 webKit 浏览器或移动端(..
2022-03-22 17:24:41
1462
关于父子之间的nth-child使用
2022-03-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅