摘要: 微信小程序地图sdk ##取点 //跳转地图 jumpToMap() { const key = this.qqMapKey; //使用在腾讯位置服务申请的key const referer = '地图'; //调用插件的app的名称 const location = JSON.stringify( 阅读全文
posted @ 2021-05-27 09:34 gggggggxin 阅读(775) 评论(0) 推荐(0) 编辑
摘要: 1.方法一 const service = axios.create({ baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url // withCredentials: true, // send cookies 阅读全文
posted @ 2021-05-18 08:44 gggggggxin 阅读(2218) 评论(0) 推荐(0) 编辑
摘要: onLoad同级,有图片就用图片,没图片就直接用屏幕截图 onShareAppMessage() { let that = this; let pages = getCurrentPages(); let route = pages[pages.length - 1].$page.fullPath; 阅读全文
posted @ 2021-05-17 14:27 gggggggxin 阅读(492) 评论(0) 推荐(0) 编辑
摘要: position: fixed; bottom: 0; left: 0; z-index: 10; transform: translateZ(0);//解决ios固定定位问题 阅读全文
posted @ 2021-05-07 08:54 gggggggxin 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 最外层写 @tap.native.stop="changePop()" 阅读全文
posted @ 2021-04-19 08:46 gggggggxin 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1.HBilderX 新建项目 2.新建两个页面 3.修改pages.josn 添加tabbar配置,tip:小程序height,fontSize不支持。分包预留好位置 { "pages": [ { "path": "pages/Main/home", "style": { "enablePullD 阅读全文
posted @ 2021-04-07 14:53 gggggggxin 阅读(1204) 评论(0) 推荐(0) 编辑
摘要: <label slot="label"> hshhshsh </label> 阅读全文
posted @ 2021-03-30 10:13 gggggggxin 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 试了网上大部分方法,体验感不好,即使软键盘出来。搜索需要再空格一下。于是转为input远程搜索 el-autocomplete <el-autocomplete v-model.trim="cidWords" :fetch-suggestions="searchCustomer" @select=" 阅读全文
posted @ 2021-03-29 17:52 gggggggxin 阅读(451) 评论(0) 推荐(0) 编辑
摘要: <style lang='scss'> //select下拉框在ios移动端需要点击两次才能选中的问题修复 .el-scrollbar { > .el-scrollbar__bar { opacity: 1 !important; } } </style> 阅读全文
posted @ 2021-03-26 17:31 gggggggxin 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: 参考资料 Vue Baidu Map vue百度地图中文 安装 $ npm install vue-baidu-map --save 局部注册 按需引用 注意样式要设置高度 <template> <baidu-map class="bm-view" ak="YOUR_APP_KEY" :center 阅读全文
posted @ 2021-03-17 08:50 gggggggxin 阅读(745) 评论(0) 推荐(0) 编辑