周建泽

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2021年3月29日

摘要: <input oninput="this.value=this.value.replace(/\D/g,'').replace(/^0+(?=\d)/,'')" value=""/> 阅读全文
posted @ 2021-03-29 15:16 周建泽 阅读(740) 评论(0) 推荐(0)

2021年3月14日

摘要: <div> <button onclick="fileUps.click()"><img src="你的路径"> </button> <input class="你的class" type="file" onchange="fileupload()" id="fileUps" style="disp 阅读全文
posted @ 2021-03-14 00:22 周建泽 阅读(492) 评论(0) 推荐(0)

2021年3月12日

摘要: layui.use('layer',function () { layer.confirm('是否确认审核成功?',{ btn: ['确定', '取消']//按钮 },function(index) { layer.close(index); //此处请求后台程序,下方是成功后的前台处理…… var 阅读全文
posted @ 2021-03-12 11:49 周建泽 阅读(2354) 评论(0) 推荐(0)

2021年2月4日

摘要: function randomNum(minNum, maxNum) { switch (arguments.length) { case 1: return parseInt(Math.random() * minNum + 1, 10); break; case 2: return parseI 阅读全文
posted @ 2021-02-04 10:25 周建泽 阅读(139) 评论(0) 推荐(0)

2020年7月9日

摘要: 1.普通图片添加 方法一:鼠标直接拖动至demo.tex下面 自动生成如下代码: 1 \begin{figure} 2 \centering 3 \includegraphics[width=0.7\linewidth]{figures/1} 4 \caption{} 5 \label{fig:1} 阅读全文
posted @ 2020-07-09 20:26 周建泽 阅读(376) 评论(0) 推荐(0)

摘要: 1.建立普通表格 方法一: 代码: \documentclass[utf8]{ctexart}%中文环境 \usepackage{mathtools,amsmath,graphicx,array}%调用宏包 \begin{document} \begin{tabular}{|l|c|r|} %"{| 阅读全文
posted @ 2020-07-09 17:18 周建泽 阅读(544) 评论(0) 推荐(0)

摘要: 注:对数学公式命令行不熟悉的,可以到网站 https://www.latexlive.com/ 上直接编辑数学公式,再复制代码到Latex上 1.公式编译 代码: 1 \begin{equation} 2 \end{equation} 范例: 1 \documentclass[utf8]{ctexa 阅读全文
posted @ 2020-07-09 16:11 周建泽 阅读(914) 评论(0) 推荐(0)

2020年7月7日

摘要: 1.文档换行 代码: 空一行 范例: 1 \documentclass[utf8]{ctexart}%中文环境 2 \usepackage{mathtools,amsmath,graphicx,array}%调用宏包 3 \begin{document}%使用文档(document)的环境 4 co 阅读全文
posted @ 2020-07-07 19:07 周建泽 阅读(170) 评论(0) 推荐(0)

摘要: 编译器:TexStdio 环境:Texlive2020 在文档的第一行加上如下代码; 1 \documentclass[utf8]{ctexart}%中文环境 以下为完整范例: 代码: \documentclass[utf8]{ctexart}%中文环境 \usepackage{mathtools, 阅读全文
posted @ 2020-07-07 19:02 周建泽 阅读(1708) 评论(0) 推荐(0)

摘要: 1.文章标题、作者与日期 代码: 1 \title{文章标题} 2 \author{张三} 3 \date{2020/7/7}%不想要日期可以填空,无此行代码自动填充日期 范例: \documentclass[utf8]{ctexart}%中文环境 \usepackage{mathtools,ams 阅读全文
posted @ 2020-07-07 18:59 周建泽 阅读(198) 评论(0) 推荐(0)