上一页 1 2 3 4 5 6 ··· 40 下一页
摘要: vue中可以用的音频播放demo,可以作为组件引入 参考文章: https://segmentfault.com/a/1190000012453975 https://blog.csdn.net/xzwwjl1314/article/details/107204842/ 其中主要参考第二篇,但在进度 阅读全文
posted @ 2021-04-07 17:30 jane_panyiyun 阅读(437) 评论(0) 推荐(0) 编辑
摘要: JS中sort()方法原理及使用 转载--https://www.cnblogs.com/saifei/p/9043821.html sort() 方法用于对数组的元素进行排序,并返回数组。默认排序顺序是根据字符串UniCode码。因为排序是按照字符串UniCode码的顺序进行排序的,所以首先应该把 阅读全文
posted @ 2021-04-07 10:05 jane_panyiyun 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 百度地图一套JS API,非常实用 import mapStyleJson from "./mapStyleJson"; import $ from "jquery"; class BaiduMapGl { constructor(el, centerPoint, zoom) { this.el = 阅读全文
posted @ 2021-04-07 10:00 jane_panyiyun 阅读(463) 评论(0) 推荐(0) 编辑
摘要: data中定义 zhanList: [{ title: '实践中心', show: true, }, { title: '实践所', show: true, }, { title: '实践站', show: true, }, { title: '实践点', show: true, } ], serv 阅读全文
posted @ 2021-04-07 09:58 jane_panyiyun 阅读(1909) 评论(0) 推荐(0) 编辑
摘要: 常用CSS写法 1. 隐藏滚动条或更改滚动条样式 /*css主要部分的样式*//*定义滚动条宽高及背景,宽高分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 10px; /*对垂直流动条有效*/ height: 10px; /*对水平流动条有效*/ } /*定义 阅读全文
posted @ 2021-04-07 09:56 jane_panyiyun 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 外网配置 let config = { baseURL: "http://api.ksw******n:6699/go***/", // 公网的接口地址 headers: { 'Content-Type': "application/json;charset=utf-8" } // timeout: 阅读全文
posted @ 2021-04-07 09:54 jane_panyiyun 阅读(296) 评论(0) 推荐(0) 编辑
摘要: VUE 动态设置子组件弹窗的层级,解决弹窗层级失效问题 子组件点击更多,出弹窗,在其中存入全局的变量 more() { // 此处是为了动态修改点出来弹窗的z-index 设置全局的一个变量 监听它 this.$store.commit("getActive", 'middle'); this.$n 阅读全文
posted @ 2021-04-07 09:50 jane_panyiyun 阅读(1702) 评论(0) 推荐(0) 编辑
摘要: 1. 解决:数据预警 swiper轮播点击失效 2. 参考:https://www.cnblogs.com/xinci/p/11194990.html 3. 核心:点击事件绑定在swiper里面,而不是在vue template div上面。因为swiper在looptrue的时候会多复制2个假的, 阅读全文
posted @ 2020-12-09 10:35 jane_panyiyun 阅读(1366) 评论(1) 推荐(1) 编辑
摘要: swiper 官网地址:https://www.swiper.com.cn/ Swiper在移动端的实际应用(演示) https://www.swiper.com.cn/demo/senior/index.html https://blog.csdn.net/weixin_42931825/arti 阅读全文
posted @ 2020-09-28 10:59 jane_panyiyun 阅读(646) 评论(0) 推荐(1) 编辑
摘要: https://www.cnblogs.com/mmzuo-798/p/9413377.html 阅读全文
posted @ 2020-09-21 09:41 jane_panyiyun 阅读(101) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 40 下一页