摘要: Mpvue 一 Mpvue中使用Vant Weapp组件库 目前vant已经支持了npm的方式,但是由于node_modules目录下的代码是不会被编进dist目录下的,所以暂时只能用git方式使用。 与普通的vue项目不同的是,mpvue需要将vant weapp下载后,将其将dist目录下的所有 阅读全文
posted @ 2020-09-27 16:40 糖羽仙 阅读(348) 评论(0) 推荐(0) 编辑
摘要: Mybatis Generator代码生成工具 1 概述:Mybatis Generator(MBG)是Mybatis的一个代码生成工具。MBG解决了对数据库操作有最大影响的一些CRUD操作,很大程度上提升开发效率。如果需要联合查询仍然需要手写sql。 2 配置: 1) 添加依赖 <!-- myba 阅读全文
posted @ 2020-09-25 11:04 糖羽仙 阅读(292) 评论(0) 推荐(0) 编辑
摘要: Netty学习笔记 一ByteBuf 1 非池化内存: UnpooledByteBufAllocator.DEFAULT.heapBuffer(8192); 2 池化内存: 1 // 常规使用 2 3 //新建池化内存数据 4 5 ByteBuf buf = PooledByteBufAllocat 阅读全文
posted @ 2020-09-25 10:11 糖羽仙 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 一、axios请求的简易封装 1,下载安装axios: npm install axios --save 2,在/src/static/目录下建立一个http.js /** * Created by Administrator on 2019/5/27. */ import axios from ' 阅读全文
posted @ 2020-09-21 15:04 糖羽仙 阅读(573) 评论(0) 推荐(2) 编辑
摘要: 对h5+中的拍照,图片上传进行压缩功能合并 阅读全文
posted @ 2019-05-28 17:21 糖羽仙 阅读(2682) 评论(0) 推荐(1) 编辑
摘要: html连续播放音频 阅读全文
posted @ 2018-12-15 10:46 糖羽仙 阅读(1898) 评论(0) 推荐(1) 编辑
摘要: 百度文字转语音 阅读全文
posted @ 2018-12-12 16:33 糖羽仙 阅读(2045) 评论(0) 推荐(0) 编辑
摘要: 将秒转化为时分秒 阅读全文
posted @ 2018-12-12 11:00 糖羽仙 阅读(6684) 评论(0) 推荐(0) 编辑
摘要: 封装好的函数,以后再开发移动app,直接引入,传入对应的值就好啦,哦嘻嘻嘻 阅读全文
posted @ 2018-12-01 15:03 糖羽仙 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: js平滑滚动到顶部、底部、指定地方 阅读全文
posted @ 2018-12-01 14:45 糖羽仙 阅读(1155) 评论(0) 推荐(0) 编辑