自定义博客皮肤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 axios三层封装

utils文件下创建request.js文件。第一层封装 // 引入axios文件 import axios from 'axios' import qs from 'qs' // 声明公共的地址 axios.defaults.baseURL = '' // 设置超时 axios.defaults.timeout = 10000 // 添加请求拦截器 axios.interceptors.request.use(config => { return config }) // 添加响应拦截器 a

2021-11-02 13:53:47 417

原创 vue elmentui 日期选择器 多段时间 不可选

日期选择器,实现动态的多段时间禁用。 <template slot-scope="scope"> <!-- 选择开始时间 --> <el-date-picker v-model="scope.row.start" type="date" :picker-options="scope.row.mergeDate?pickerOptions0(scope.row.m.

2021-10-26 15:52:32 416

原创 微信小程序分包

小程序限制每个包2M,分包总共20M。直接上代码 "subPackages":[ { "root": "pagesA", "pages":[{//配置path,style}] }, { "root": "pagesB", "pages":[{//配置path,style}] } ]

2021-10-19 11:39:38 81

原创 微信小程序客服

完成企业认证,即可。ps.注意先认证微信开放平台的微信公众号,再领取小程序认证。不然,后续要多花钱!!!已踩坑. 认证完,直接按钮调用。简简单单,有钱真好 <button open-type="contact" class="service">联系客服</button> ...

2021-10-19 11:02:19 110

原创 VUE中使用swiper

安装vue-awesome-swiper npm install vue-awesome-swiper@3 main.js引入 // 引入swiper import VueAwesomeSwiper from 'vue-awesome-swiper' import 'swiper/dist/css/swiper.css' Vue.use(VueAwesomeSwiper) 代码 <template> <swiper ref=.

2021-10-18 12:03:16 123

空空如也

空空如也

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

TA关注的人

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