自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 vue 图片放大旋转缩小等功能

npm install v-viewer --saveimport Viewer from 'v-viewer'import 'viewerjs/dist/viewer.css'Vue.use(Viewer);Viewer.setDefaults({ Options: { "inline": true, "button": true, "navbar": true, "title": true, "toolbar": true, "tooltip": true, "movable": true

2021-04-26 13:39:19 799

原创 vue 前端生成二维码 (包括vue-qr和qrcode)

一、vue-qrnpm install vue-qr --saveimport vueQr from ‘vue-qr’<template> <vue-qr :text="downloadData.url" :margin="0" colorDark="#f67b29" colorLight="#fff" :logoSrc="downloadData.icon + '?cache'" :logoScale="0.3" :size="200"></vue-qr>&

2021-04-26 09:07:37 492

原创 时间戳与时间格式的互相转换

//定时获取时间 timeFormate(timeStamp) { let year = new Date(timeStamp).getFullYear(); let month =new Date(timeStamp).getMonth() + 1 < 10? "0" + (new Date(timeStamp).getMonth() + 1): new ...

2019-08-30 14:54:57 224

原创 js微信分享步骤

1、引入文件<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>2、// 微信分享$(function(){ var time=Date.parse(new Date()); var localurl=window.docume...

2019-08-30 10:50:46 665

原创 jQuery小功能集锦

一、jQuery实现回到顶部功能(当页面滚到到一定距离出现回到顶部按钮)HTML代码:&amp;amp;lt;a id=&amp;quot;topzm&amp;quot; style=&amp;quot;position: fixed;bottom: 170px;right: 0px;z-index: 10000;border-radius: 5px;background:#c7a05f ;&amp;quot; &amp;amp;gt; &

2018-11-27 14:15:16 245

空空如也

空空如也

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

TA关注的人

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