自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 面试题前端

字符串转数组1、split方法const text = "abc";const chars = text.split('');console.log(chars);//['a', 'b', 'c']```2、展开运算符const text = "abc????";const chars = [ ...text ];console.log(chars);//["a", "b", "c", "????"]3、解构赋值const text = "abc????";const [ ...c

2022-05-10 13:44:58 288

原创 微信公众号开放标签跳转小程序

微信公众号开放标签跳转小程序

2022-03-09 16:09:19 438

原创 创建个人博客

安装 Gatsby CLI.npm install -g gatsby-cli创建站点gatsby new gatsby-site切换到站点目录cd gatsby-site加参数npm install --ignore-scripts启动开发服务器gatsby develop构建生产版本gatsby build在本地启动生产版本服务器gatsby serve...

2021-04-09 18:33:11 88

原创 2021-03-30

vue实现鼠标悬浮的时候,图片翻转180度,离开变回原来的 <div @mouseenter="pState = 1" @mouseleave="pState = 0"> <img v-if="pState == 1" :src="require('@/assets/yj.png')" /> <img v-else :src="require('@/assets/yj-.png')" alt=""/&

2021-03-30 22:13:34 99

原创 vue创建需要安装的东西

vue创建需要安装的东西创建项目安装vue-router安装elementui安装sass创建项目vue create test安装vue-routernpm install element-ui -S安装elementuinpm install element-ui -S安装sassnpm install node-sass@4.14.1npm install sass-loader@7.3.1 --save-dev //安装指定版本...

2021-03-30 21:00:53 118

原创 layui图片上传、预览、删除

layui图片上传、预览、删除、 <div class="layui-upload"> <button type="button" id="test2" class="layui-btn tj">多图片上传</button> <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: 88%">

2021-02-07 09:23:15 1193

空空如也

空空如也

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

TA关注的人

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