自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

转载 forEach() 方法

<button onclick="numbers.forEach(myFunction)">点我</button><p id="demo"></p> <script>demoP = document.getElementById("demo");var numbers = [4, 9, 16, 25]; function myFunction(item, index) { demoP.innerHTML = demoP.inn

2020-09-01 17:21:09 271

原创 floor() 方法

Math 对象方法返回小于等于x的最大整数:var num = Math.floor(8.8)以上实例将输出:8Math 对象方法:abs(x) 返回 x 的绝对值。acos(x) 返回 x 的反余弦值。asin(x) 返回 x 的反正弦值。atan(x) 以介于 -PI/2 与 PI/2 弧度之间的数值来返回 x 的反正切值。atan2(y,x) 返回从 x 轴到点 (x,y) 的角度(介于 -PI/2 与 PI/2 弧度之间)。ceil(x) 对数进行上舍入。cos(x) 返回数

2020-09-01 17:13:30 538

转载 vue swiper轮播图

<template> <swiper ref="mySwiper" :options="swiperOptions"> <swiper-slide>Slide 1</swiper-slide> <swiper-slide>Slide 2</swiper-slide> <swiper-slide>Slide 3</swiper-slide> <swiper-slide&gt

2020-09-01 15:05:17 434

转载 vue swiper轮播图不显示 swiper-pagination 小圆点

<div class="swiper-pagination" slot="pagination"></div> //这个上面加一个 slot="pagination" new Swiper('.swiper-container', { loop: true, // 如果需要分页器 pagination:{ el:'.swiper-pagination', clickable:true, ..

2020-09-01 14:59:37 2617

原创 git 项目提交

终端依次输入代码:git add .git commit -m 'init ready'git push

2020-09-01 09:51:18 100

原创 重置css样式

reset.css获取 reset.css 路径:https://meyerweb.com/eric/tools/css/reset/代码如下/* http://meyerweb.com/eric/tools/css/reset/ *//* v1.0 | 20080212 */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, ad

2020-09-01 08:56:55 282

原创 Mac创建gitee项目

创建项目在终端上输入命令cd desktopthen 克隆文件(http://文件的地址)git clone http://创建一个vue项目vue init webpack +项目名称如何生成公钥鼠标移动至个人头像–>点击设置–>SSH公钥你可以按如下命令来生成 sshkey:ssh-keygen -t rsa -C "xxxxx@xxxxx.com" 注意:这里的 xxxxx@xxxxx.com 只是生成的 sshkey 的名称,并不约束或要求具体命名为某个

2020-09-01 08:30:51 258

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除