摘要: LLL/短信平台 - Gitee.com gdcx分支,gdcx-client 阅读全文
posted @ 2023-05-26 08:53 fnasklf 阅读(111) 评论(0) 推荐(0) 编辑
摘要: // 防抖(输入框可用) debounceFun (fun, time = 300){ clearTimeout(this.debounceTimer) this.debounceTimer = setTimeout(() => { fun() }, time) }, // 节流 throttleF 阅读全文
posted @ 2023-05-09 15:35 fnasklf 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1.根据父id,将列表整理为树状结构 if (CollUtil.isNotEmpty(sysMenuList)) { //使用java8转为树状图结构 Map<Long, List<SysMenu>> longListMap = sysMenuList.stream().collect(Collec 阅读全文
posted @ 2023-03-09 19:19 fnasklf 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 1、封装一个js文件 // bmpgl.js export function BMPGL (ak) { // ak为百度地图api申请应用后获得 return new Promise(function (resolve, reject) { window.init = function () { / 阅读全文
posted @ 2023-03-01 10:34 fnasklf 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 实现效果 template: <template> <view> <!-- 选择相机拍照 --> <view class="container"> <!-- 相机 --> <!-- 初始showcamera == true显示相机,拍照后showcamera == false --> <view c 阅读全文
posted @ 2023-02-13 09:58 fnasklf 阅读(467) 评论(0) 推荐(0) 编辑
摘要: template <uni-forms-item label="验证码" name="code" style="position: relative;"> <input maxlength="6" type="number" placeholder="请输入验证码" v-model="formDat 阅读全文
posted @ 2023-01-09 10:39 fnasklf 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 这里需要用到moment.js插件 官网:Moment.js 中文网 (momentjs.cn) 我这里将插件的实例挂载到了this.$moment上 let initTime = e.createTime // 格式 2022-12-12 12:30:51 // let a = this.$mom 阅读全文
posted @ 2023-01-06 19:28 fnasklf 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 安装 npm install postcss-px-to-viewport --save-dev 在vue中使用 根目录新建postcss.config.js文件 输入以下代码 module.exports = { plugins: { 'postcss-px-to-viewport': { uni 阅读全文
posted @ 2022-11-30 17:26 fnasklf 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 1、安装配置插件 pinyin-pro官网网址: pinyin-pro - npm (npmjs.com) npm 安装 npm install pinyin-pro 项目中引入 import { pinyin } from 'pinyin-pro'; 2.编写工具类方法 定义三个变量: // 双向 阅读全文
posted @ 2022-11-22 16:48 fnasklf 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 使用echarts实现简单的地图标注效果 - 掘金 (juejin.cn) 阅读全文
posted @ 2022-11-07 18:49 fnasklf 阅读(277) 评论(0) 推荐(0) 编辑