2024年9月13日
摘要: Bitmap => byte[] Bitmap b = new Bitmap( "test.bmp "); MemoryStream ms = new MemoryStream(); b.Save(ms,System.Drawing.Imaging.ImageFormat.Bmp); byte[] 阅读全文
posted @ 2024-09-13 15:04 侗家小蚁哥 阅读(3) 评论(0) 推荐(0) 编辑
  2024年8月12日
摘要: C#中的日期处理函数 //2007年4月24日 this.TextBox6.Text = System.DateTime.Now.ToString("D"); //2007-4-24 this.TextBox7.Text = System.DateTime.Now.ToString("d"); // 阅读全文
posted @ 2024-08-12 11:21 侗家小蚁哥 阅读(2) 评论(0) 推荐(0) 编辑
  2024年6月18日
摘要: 需求: 点击底部tab页 跳转到页面中时 弹窗提示 然后页面返回某一页 onshow/onLoad 很简单的需求 uni.showToast({ icon: 'error', title: '页面开发中...', duration: 1000, mask: true}) setTimeout(()= 阅读全文
posted @ 2024-06-18 14:06 侗家小蚁哥 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1.navigateTo 保留当前页面,跳转到应用内的某个页面,使用uni.navigateBack可以返回到原页面。 要注意的是navigateTo只能跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数;如果跳转url参数为tabBar的路径则无法进行跳转 2.redirectTo关 阅读全文
posted @ 2024-06-18 09:17 侗家小蚁哥 阅读(197) 评论(0) 推荐(0) 编辑
  2024年6月4日
摘要: 报错: System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms. See https://aka.ms/systemdrawingnonwindows 阅读全文
posted @ 2024-06-04 14:37 侗家小蚁哥 阅读(9) 评论(0) 推荐(0) 编辑
  2024年5月31日
摘要: 1. beforeCreate 初始化界面前 : 在当前阶段data、methods、computed以及watch上的数据和方法都不能被访问。 2. created初始化界面后 : 在实例创建完成后发生,当前阶段已经完成了数据观测,也就是可以使用数据,更改数据,在这里更改数据不会触发updated 阅读全文
posted @ 2024-05-31 16:41 侗家小蚁哥 阅读(20) 评论(0) 推荐(0) 编辑
  2024年5月23日
摘要: public virtual IResponseMessageBase OnImageRequest(RequestMessageImage requestMessage); public virtual IResponseMessageBase OnLinkRequest(RequestMessa 阅读全文
posted @ 2024-05-23 09:44 侗家小蚁哥 阅读(37) 评论(0) 推荐(0) 编辑
  2024年5月21日
摘要: C#-System-LinQ-条件精确查询、高级查询 条件查询:Lambda表达式 Repeater1.DataSource = con.Car.Where(r => r.Name == name);多条件查询:Repeater1.DataSource = con.Car.Where(r => r. 阅读全文
posted @ 2024-05-21 10:35 侗家小蚁哥 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 参考网站 https://blog.csdn.net/qq_38179167/article/details/80654093 https://www.axihe.com/charles/charles/proxy-phone.html http://www.cnblogs.com/jiayuchn 阅读全文
posted @ 2024-05-21 10:35 侗家小蚁哥 阅读(66) 评论(0) 推荐(0) 编辑
摘要: Liunx服务器CentOS7.6配置,配合宝塔面板,Nginx,netcore webapi接口访问 1.安装netcore环境 参考文章:https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-centos 安装 .NET 之前,请运 阅读全文
posted @ 2024-05-21 10:30 侗家小蚁哥 阅读(107) 评论(0) 推荐(0) 编辑