摘要: 第一步,配置路由 第二步,配置菜单组件 就可以实现打开新窗口页签。 阅读全文
posted @ 2020-04-28 14:57 海底流 阅读(5642) 评论(0) 推荐(1)
摘要: 安装 npm install vue-awesome-swiper -save 或者 yarn add vue-awesome-swiper 使用 全局注册没问题 import VueAwesomeSwiper from 'vue-awesome-swiper' import 'swiper/css 阅读全文
posted @ 2020-04-28 14:48 海底流 阅读(5259) 评论(0) 推荐(1)
摘要: 效果 代码: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="IE=edge" > <meta name="viewport" content="widt 阅读全文
posted @ 2019-11-08 17:45 海底流 阅读(347) 评论(0) 推荐(0)
摘要: 如果示例是正确的,到了自己的页面不正确,很可能的原因就是,代码中标点符号,或者方法开始和闭合括号不成对值; 阅读全文
posted @ 2019-10-23 13:58 海底流 阅读(769) 评论(0) 推荐(0)
摘要: 阿里云文档地址:https://help.aliyun.com/document_detail/52204.html?spm=a2c4g.11174283.6.1041.60ce149bIGfVYM; web端SDK上传demo地址:https://help.aliyun.com/document_ 阅读全文
posted @ 2019-10-15 15:09 海底流 阅读(4660) 评论(1) 推荐(0)
摘要: html代码 css代码 javascript代码 // 滚动条 function scrollFunction(event){ let e = event || window.event; if (e.wheelDelta) { //第一步:先判断浏览器IE,谷歌滑轮事件 if (e.wheelD 阅读全文
posted @ 2019-09-24 11:37 海底流 阅读(290) 评论(0) 推荐(0)
摘要: // 数据自动滚动事件BEGIN var botTimer = null; // 定时器对象 $('.tbody').hover(function () { clearInterval(botTimer); // hover}, function () { scrollCore('tbodyScro 阅读全文
posted @ 2019-09-02 15:36 海底流 阅读(804) 评论(0) 推荐(0)
摘要: ehcarts官网网站给的是北京交通线路图https://www.echartsjs.com/examples/editor.html?c=lines-bmap-effect,这里其实有误区。 在开发项目的时候,我一直以为将某一路公交车的每个站点的坐标(经纬度),放到series中的data,渲染就 阅读全文
posted @ 2019-08-13 11:13 海底流 阅读(4929) 评论(0) 推荐(0)
摘要: 1.react组件,行内样式,添加格式: 解析为: 2.第二种样式赋值法,定义className,使用表达式; 3.第三种在模板中直接使用className名称,在public/index.html中定义样式;同理,写一个css,在public/index.html页面引用也是可以的: 阅读全文
posted @ 2019-07-11 10:37 海底流 阅读(3623) 评论(0) 推荐(0)
摘要: 微信小程序中,条件渲染,官方文档: 但实际开发中运用<block hidden=“{{isShow}}”></block>却没有生效。原来hidden属性只针对块元素起作用,可能是因为样式中使用了display:flex; 解决方法: (1)将display:flex;修改掉; (2)将block换 阅读全文
posted @ 2019-07-10 14:43 海底流 阅读(6545) 评论(0) 推荐(0)