//1.contextmenu 禁止鼠标右键菜单 document.addEventListener('contextmenu',function(e){ e.preventDefault(); }); //2.禁止选中文字 selectstart document.addEventListener ...
分类:
其他好文 时间:
2021-06-25 16:33:50
阅读次数:
0
数字转换为中文大写方法 例如: int num = 725; string result=MoneyToCharacter(num); result输出结果为“柒佰叁拾伍元整” 1 private string MoneyToCharacter(decimal Money) 2 { 3 string ...
逐行入栈,排序后直接输出第k小的数据 # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self. ...
分类:
编程语言 时间:
2021-06-25 16:32:21
阅读次数:
0
Anaconda常规用法 ①显示已安装的包名和版本号 conda list ②conda版本 conda --version ③更新conda至最新版本 conda update conda ④查看conda帮助信息 conda --help conda -h ⑤卸载conda Linux或者mac ...
分类:
其他好文 时间:
2021-06-25 16:31:09
阅读次数:
0
1 #查询可安装版本 2 [root@localhost ~]# yum list docker-ce --showduplicates | sort -r 3 Repository extras is listed more than once in the configuration 4 doc ...
分类:
其他好文 时间:
2021-06-24 18:31:06
阅读次数:
0
const db = uniCloud.database(); const collection=db.collection('sblist'); //链表查 var res=await collection.aggregate() .lookup({ from: 'uni-id-users', l ...
分类:
其他好文 时间:
2021-06-24 18:27:17
阅读次数:
0
""" 1.1交换 已知 a的值为”hello”,b的值为”world”,如何交换a和b的值? 得到a的值为”world”,b的值为”hello” """ a = "hello" b = "world" a,b = b,a print(a) print(b) """ 1.2回文 回文的定义:”回文” ...
分类:
编程语言 时间:
2021-06-24 18:06:51
阅读次数:
0
绕过ip限制 1.enclosed alphanumerics List: ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ? ? ? ? ? ? ? ? ? ? ⑴ ⑵ ⑶ ⑷ ⑸ ⑹ ⑺ ⑻ ⑼ ⑽ ⑾ ⑿ ⒀ ⒁ ⒂ ⒃ ⒄ ⒅ ⒆ ⒇ ⒈ ⒉ ⒊ ⒋ ⒌ ⒍ ⒎ ⒏ ⒐ ⒑ ⒒ ⒓ ⒔ ⒕ ⒖ ⒗ ...
分类:
其他好文 时间:
2021-06-24 18:00:02
阅读次数:
0
TabControl中包含三个表示分类的tag:流行(pop)、新款(new)和精选(sell)。当点击对应的tag后,下方显示的商品列表便会进行相应的切换。此外,TabControl组件还有一个重要的功能就是:当向下滚动到一定距离后,它会悬停在滚动区域的顶部。下面我们来依次实现这些功能。 关于Ta ...
分类:
其他好文 时间:
2021-06-24 17:57:09
阅读次数:
0
需求: 商品列表保存到文件中,通过脚本读取修改。 **多谢各位支持** 商品清单{test1.json}: {"iphone":{"5999":{"美国公司生产":"价格贵,性能好"}},"哇哈哈":{"15":{"中国":"好喝不贵,都喜欢"},},"ThinkPad X1":{"9999":{" ...
分类:
编程语言 时间:
2021-06-24 17:48:35
阅读次数:
0