上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: 效果: 点击圆点,获取数据,并触发事件 利用on得方式添加事件(点击,双击.....等)额外事件 var echartDom = echarts.init(document.getElementById('echart')); echartDom.setOption(option); //配置项op 阅读全文
posted @ 2021-03-16 20:04 明媚下雨天 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 效果图 pc: 移动: 兼容性:主流浏览器+Ie11均正常显示 移动端 微信浏览器正常显示 预览展示 方案1 js包引入,跳转页面展示pdf,实现在线预览 window.open('./js/pdf/web/viewer.html?file=' + pdf线上地址https://www.wulihu 阅读全文
posted @ 2021-03-03 16:11 明媚下雨天 阅读(1333) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-01-05 19:04 明媚下雨天 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 参考文档链接 http://taro-docs.jd.com/taro/docs/README/index.html https://taro-ui.aotu.io/#/docs/quickstart 基础: https://docs.taro.zone/docs/guide#%E5%9F%BA%E 阅读全文
posted @ 2020-12-28 15:16 明媚下雨天 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 代码:加了 controls和autoplay,无法自动播放 <video src="img/video.mp4" autoplay="autoplay" loop controls></video> 效果: 代码:将controls去除,无法播放,更无法自动播放 <video src="img/v 阅读全文
posted @ 2020-12-24 18:49 明媚下雨天 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 直播合作商:3个 不需要额外的js或者依赖 1.m3u8视频格式 推流 <video id="my-player" class="video-js vjs-default-skin vjs-big-play-centered" preload="auto" controls="controls" x 阅读全文
posted @ 2020-12-15 15:13 明媚下雨天 阅读(177) 评论(1) 推荐(0) 编辑
摘要: element ui 提供了table ,根据对象数组 动态展示表格,但是实际需求中,有很多竖向展示表格的需求 效果图: 原本数据 data: [ { code: "weixin", name: "微信", icon: "src地址", isActive: false, templateInfoLi 阅读全文
posted @ 2020-12-11 17:42 明媚下雨天 阅读(8627) 评论(2) 推荐(0) 编辑
摘要: 1.调用安卓手机的摄像头(小米手机测试 可用,但是图库不能吊起来) <input type="file" id="file" multiple="multiple" capture="camera" accept="image/*" > 2.ios能吊起来摄像头,图库,安卓手机只能图库 <input 阅读全文
posted @ 2020-11-18 10:47 明媚下雨天 阅读(1818) 评论(0) 推荐(0) 编辑
摘要: 指定电话的超链接 <a href=”tel:18588882868″>18588882868</a> 指定邮箱的超链接 <a href=”mailto:253413617@qq.cn”>邮箱</a> 阅读全文
posted @ 2020-11-17 14:47 明媚下雨天 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: 表单中的input type=”file”在前端开发中经常会用到,很悲剧的是input type=”file”在各个浏览器下表现不统一,样式很难起作用;下面具体解决方法: 1.图片定位叠加方案 就是通过将type="file"这个上传按钮透明后,然后叠加在一个图片上 #up-button{ curs 阅读全文
posted @ 2020-11-17 14:38 明媚下雨天 阅读(833) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页