摘要: demo() { // 初始化默认日期(昨天和今天) const today = new Date(); //今天日期 const yesterday = new Date();//初始化昨日日期(起始日期) // -1 代表的是当前日期的头一天 一个月的话就-29就是30天; yesterday. 阅读全文
posted @ 2025-05-27 15:55 3939! 阅读(35) 评论(0) 推荐(0)
摘要: wxss项目地址: https://gitcode.com/gh_mirrors/we/weui-wxss/blob/master/dist/example/button/button_default.wxml 克隆项目到本地: git clone https://github.com/Tencen 阅读全文
posted @ 2025-05-27 15:40 3939! 阅读(34) 评论(0) 推荐(0)
摘要: JavaScript 中的 Date 对象使用毫秒数来表示时间。因此,一天(24 小时)的毫秒数是: const MS_PER_DAY = 24 * 60 * 60 * 1000; 计算三十天后的日期: let currentDate = new Date();//当前时间 let thirtyDa 阅读全文
posted @ 2025-01-06 13:38 3939! 阅读(629) 评论(0) 推荐(0)
摘要: jquery.min.js /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==ty 阅读全文
posted @ 2024-07-18 09:58 3939! 阅读(25) 评论(0) 推荐(0)
摘要: 1:打开主目录 shift键+鼠标右键 点击“在此处打开powershell” 2: npm install pinyin-pro 3:在js页 const {pinyin}= require('pinyin-pro');//引入 调用: pinyin('汉语拼音'); // 'hàn yǔ pīn 阅读全文
posted @ 2024-05-17 10:03 3939! 阅读(660) 评论(0) 推荐(1)
摘要: 一、选择图片并显示1、创建页面这里我直接将我的页面信息展示出来给大家看。附上我的代码 就是一个简单的页面的代码其中还隐藏了要显示的image,因为没有值,所以还看不到。wxml 页面代码 <view class="display_img"> <block wx:for="{{lista}}"> <v 阅读全文
posted @ 2024-03-06 15:30 3939! 阅读(2605) 评论(0) 推荐(0)
摘要: DataTable dt_Printquantity = new DataTable(); dt_Printquantity = ds.Tables[0]; //将SampleNum列转数组 //1:查询指定字段 string[] arraySampleNum = { "1"}; int[] arr 阅读全文
posted @ 2024-01-24 16:23 3939! 阅读(483) 评论(0) 推荐(0)
摘要: 根据某个字段排序分组: select row_number() over ( PARTITION BY 重复的字段名 ORDER BY 根据主要的ID字段名 DESC ) dsnamesnum dsnamesnum:表示新增的列名 select * from ( select row_number( 阅读全文
posted @ 2024-01-12 10:27 3939! 阅读(450) 评论(0) 推荐(0)
摘要: 1:引入js文件(二维码生成的一个插件) @*二维码生成器*@ <script src="~/BigScreen/js/qrcodes.min.js"></script> 2:html <div class="hgz-QRcode"> <div id="qrcode" style=" padding 阅读全文
posted @ 2024-01-02 13:47 3939! 阅读(73) 评论(0) 推荐(0)
摘要: //图片不平铺解决方法body { background-size: 100% 100%;//图片大小按照父级的大小适应 background-repeat: no-repeat;//不重复 background-image: url(../BigScreen/img/hgz_bg.png); } 阅读全文
posted @ 2023-12-18 15:31 3939! 阅读(233) 评论(0) 推荐(0)