上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 主要是应用geo这个属性: export const baseOption = ({ areaStr, scatterDara, zoom = 1.6, layoutSize = '80%', aspectScale = 0.8, layoutCenterOne = 55, layoutCenter 阅读全文
posted @ 2022-07-25 17:04 玛卡巴鉲 阅读(3456) 评论(0) 推荐(0) 编辑
摘要: 高德地图Api官网:https://lbs.amap.com/api/javascript-api/reference/search#m_AMap.DistrictSearch 1.使用DistrictSearch插件可以通过城市名或城市码查询到城市的区号、城市编码、中心点、边界、下辖区域等详细信息 阅读全文
posted @ 2022-07-22 16:04 玛卡巴鉲 阅读(4000) 评论(0) 推荐(0) 编辑
摘要: // 横向虚线 .dash-horizontal { width: 100%; height: 1px; background-image: linear-gradient(to right, #ddd 0%, #ddd 50%, transparent 50%); background-size: 阅读全文
posted @ 2022-07-20 09:28 玛卡巴鉲 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1. 使用插件 vue-seamless-scroll 网址:https://chenxuan1993.gitee.io/component-document/index_prod#/component/seamless-default 配置参数: defaultOption () { return 阅读全文
posted @ 2022-07-08 13:52 玛卡巴鉲 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 1.获取详细地址: AMap.plugin("AMap.Geocoder", () => { geocoder = new AMap.Geocoder(); if (geocoder) { geocoder.getAddress([lng, lat], (status, result) => { i 阅读全文
posted @ 2022-06-13 17:31 玛卡巴鉲 阅读(1439) 评论(0) 推荐(0) 编辑
摘要: 1.卸载sass npm uninstall sass 2.下载node-sass npm i node-sass@4.14.1 --save-dev 打包app.css文件出现就解决了。 阅读全文
posted @ 2022-05-24 14:37 玛卡巴鉲 阅读(64) 评论(0) 推荐(0) 编辑
摘要: <div> <div class="spanDom">咯技术的和卡仕达卡仕达和凯撒接电话卡是ask就电话卡手机号</div> </div> 好奇其中原理就去搜资料看了一下,特此记录。 如上一串代码: span内容过长出现省略号,这个就是一段css: .a { overflow: hidden; te 阅读全文
posted @ 2022-03-28 17:51 玛卡巴鉲 阅读(400) 评论(0) 推荐(0) 编辑
摘要: const getBrowser = () => { const { userAgent, browserLanguage, language } = navigator const outputDevice = { isIos: !!userAgent.match(/\(i[^;]+;( U;)? 阅读全文
posted @ 2022-03-16 10:22 玛卡巴鉲 阅读(386) 评论(0) 推荐(0) 编辑
摘要: function delInitCurrent(delLength = 1) { const totalPage = Math.ceil((this.pager.total - delLength) / this.pager.size) const currentPage = this.pager. 阅读全文
posted @ 2022-03-10 15:07 玛卡巴鉲 阅读(138) 评论(0) 推荐(1) 编辑
摘要: 初始化项目 npm install --save mapbox-gl import mapboxGl from 'mapbox-gl' mapboxGl.accessToken = 'your accessToken' const map = new mapboxgl.Map({ container 阅读全文
posted @ 2022-02-22 16:48 玛卡巴鉲 阅读(583) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页