会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
道强开
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2024年1月5日
jq sort
摘要: <!DOCTYPE html><html><body> <h1>JavaScript 数组</h1> <p>sort() 方法对数组的项目进行排序。</p> <p id="demo"></p> <script>const points = [ { "userId": 100, "userName":
阅读全文
posted @ 2024-01-05 17:05 道强开
阅读(11)
评论(0)
推荐(0)
编辑
2024年1月4日
jq验证
摘要: //身份证验证function isIdCardNo(num) { num = num.toUpperCase(); //身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X。 if (!(/(^\d{15}$)|(^\d{17}([0-9]|X
阅读全文
posted @ 2024-01-04 16:50 道强开
阅读(63)
评论(0)
推荐(0)
编辑
jquery模板绑定list数据
摘要: https://aui.github.io/art-template/zh-cn/docs/ /*! art-template@4.12.2 for browser | https://github.com/aui/art-template */!function (e, t) { "object"
阅读全文
posted @ 2024-01-04 16:40 道强开
阅读(33)
评论(0)
推荐(0)
编辑
2019年7月25日
DataTable 转List
摘要: 忘了出处 ,这个是转别人的 public class DataToList<T> where T : new() { /// <summary> /// 利用反射和泛型 /// </summary> /// <param name="dt"></param> /// <returns></retur
阅读全文
posted @ 2019-07-25 13:48 道强开
阅读(745)
评论(0)
推荐(0)
编辑
C# 随笔写txt
摘要: public static void WriterFile(string file) { string path = AppDomain.CurrentDomain.BaseDirectory; //如果不存在,则创建目录 if (!Directory.Exists(path + "Log/"))
阅读全文
posted @ 2019-07-25 13:43 道强开
阅读(270)
评论(0)
推荐(0)
编辑
ionic4 页面跳转传值和新页面取值
摘要: 页面跳转 : <ion-row *ngFor="let item of aboutData.stockData" [routerLink]="[ '/stock-details']" /* 跳转页面*/ [queryParams]="item" /* 传的参数*/> 新页面取值: import {
阅读全文
posted @ 2019-07-25 13:38 道强开
阅读(1521)
评论(0)
推荐(0)
编辑
ionic 股票列表 网络读取数据,实现下拉刷新,上拉加载
摘要: html: <ion-header> <ion-toolbar> <ion-title> 股票 </ion-title> </ion-toolbar> </ion-header> <ion-content> <ion-refresher slot="fixed" (ionRefresh)="doRe
阅读全文
posted @ 2019-07-25 13:29 道强开
阅读(293)
评论(0)
推荐(0)
编辑