摘要: function copyWord(dom) { var dom='.'+dom; var copyText = $(dom).text().trim(); // 使用trim()移除两端空白 // navigator clipboard 需要https等安全上下文 if (navigator.cl 阅读全文
posted @ 2024-07-22 16:18 我喜欢喝糖水 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 这个东西很多人都可能用 electron - update 这个玩意,但是我用了,发现总是更新不了,于是放弃,使用electron 自带功能 主进程 main.js 中引入 const { autoUpdater } = require('electron-updater'); 以下为主要代码,也是 阅读全文
posted @ 2024-03-30 18:27 我喜欢喝糖水 阅读(33) 评论(0) 推荐(0) 编辑
摘要: package.json 中的更改: 增加: "homepage": "./", "build": { "productName": "xxxx", "appId": "com.xxx.win", "directories": { "output": "dist" }, "files": [ "di 阅读全文
posted @ 2023-10-18 18:46 我喜欢喝糖水 阅读(29) 评论(0) 推荐(0) 编辑
摘要: const a = 9.99; const b = 8.03; // 加法 let c = new Decimal(a).add(new Decimal(b)) // 减法 let d = new Decimal(a).sub(new Decimal(b)) // 乘法 let e = new De 阅读全文
posted @ 2023-09-11 17:10 我喜欢喝糖水 阅读(805) 评论(0) 推荐(0) 编辑
摘要: // 获取当前日期 var today = new Date(); var year = today.getFullYear(); var month = today.getMonth() + 1; var day = today.getDate(); // 格式化日期 var formattedD 阅读全文
posted @ 2023-09-01 15:52 我喜欢喝糖水 阅读(8) 评论(0) 推荐(0) 编辑
摘要: @media screen and (max-width: 767.98px) { } @media screen and (min-width: 768px) { } @media screen and (min-width: 992px) { } @media screen and (min-w 阅读全文
posted @ 2023-06-29 18:30 我喜欢喝糖水 阅读(7) 评论(0) 推荐(0) 编辑
摘要: .quess{ padding-top: 70px;/* 70px是导航栏高度 */ margin-top: -70px; } .quess 是锚点的类名 原理: padding影响锚点元素的定位,margin不影响锚点元素的定位。 所以使用padding调整锚点元素跳转后的位置,使用margin抵 阅读全文
posted @ 2021-11-19 17:12 我喜欢喝糖水 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1、股票基础知识入门学习:网址 https://www.cfchi.cn/ 财富池云课堂网,里面包含:期货、股票、基金 的视频教程。以及书籍,而且都是免费,基本每天都更新。播放体验也很不错。值得推荐 2、爱金股股票查询网:网址:https://www.aijingu.com/ 股票基本面查询、龙虎榜 阅读全文
posted @ 2021-11-13 15:05 我喜欢喝糖水 阅读(820) 评论(0) 推荐(0) 编辑
摘要: “”国庆去看了《长津湖》,非常不错的电影,里面有一幕提到了杨根思同志以及杨根思同志的三个不相信。 因为电影只有一幕,没有能够记下来,所以电影之后,自己又去花时间了解。 杨根思同志的“三个不相信”精神——不相信有完不成的任务,不相信有克服不了的困难,不相信有战胜不了的敌人。 真正了解杨根思同志的三个不 阅读全文
posted @ 2021-10-03 14:43 我喜欢喝糖水 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 指标公式描述 吸筹快慢副图 短线强力吸筹指标 通达信公式 源码 贴图最有效的短线指标:描述主力进场快慢的指标,出现蓝色柱子预示后市上涨概率较大。指标源码:N:=9;M1:=3;M2:=3;P:=9;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*10 阅读全文
posted @ 2021-09-03 11:00 我喜欢喝糖水 阅读(635) 评论(0) 推荐(0) 编辑
我喜欢喝糖水的博客友链:股票指标编程学习