摘要: 效果图 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <titl 阅读全文
posted @ 2024-01-10 15:50 珞珞9527 阅读(96) 评论(0) 推荐(0) 编辑
摘要: js常用的数据处理方法: 一、数据类型判断 1、typeof 右侧跟一个一元表达式。返回该表达式的数据类型,返回的结果是用该类型的字符串形式表示 number、boolean、symbol、string、object、undefined、function 对于基本类型,除 null 以外,均可以返回 阅读全文
posted @ 2024-01-03 16:33 珞珞9527 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 先看效果: 起初是用cavans绘制的 结果会模糊,倍数绘制再缩小也是模糊,最后换成了svg绘制: cavans: global.progressChart = { template: ` <div class="process-chart-box"> <canvas id="progressCha 阅读全文
posted @ 2023-04-10 20:54 珞珞9527 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 先看一个警告 [Vue warn]: Invalid default value for prop "content": Props with type Object/Array must use a factory function to return the default value. // 阅读全文
posted @ 2023-02-14 11:51 珞珞9527 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 如何实现css子元素hover时不触发父元素hover? css的hover不存在点击事件阻止冒泡的方法。直接点就使用onmouseover和onmouseout处理。 后面用了个兄弟元素盖住父元素就简单实现了。 实现效果: 代码: <!DOCTYPE html> <html lang="en"> 阅读全文
posted @ 2023-02-11 16:01 珞珞9527 阅读(2249) 评论(0) 推荐(0) 编辑
摘要: 找到的html demo,只有pc端 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vi 阅读全文
posted @ 2023-02-09 11:04 珞珞9527 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 【新建】-【快捷方式】 粘贴-【rundll32.exe powrprof.dll,SetSuspendState Hibernate】 阅读全文
posted @ 2023-01-30 15:21 珞珞9527 阅读(104) 评论(0) 推荐(0) 编辑
摘要: ##法1 插件 f12.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name=" 阅读全文
posted @ 2023-01-17 15:21 珞珞9527 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 原文 https://blog.csdn.net/weixin_42599077/article/details/103516695 // 拖拽 map2.on("drag", function() { map2_x = map2.getCenter().lng; map2_y = map2.get 阅读全文
posted @ 2022-01-06 17:57 珞珞9527 阅读(128) 评论(0) 推荐(0) 编辑
摘要: triplayers 地图流动效果 效果图: 代码: <html> <head> <script src="https://unpkg.com/deck.gl@^8.4.0/dist.min.js"></script> <script src="https://unpkg.com/@deck.gl/ 阅读全文
posted @ 2021-09-10 16:55 珞珞9527 阅读(65) 评论(0) 推荐(0) 编辑