摘要: 方法如下: public string Base64StringToFile(string base64String, string fileName) { //文件后缀 string suffix = ""; try { //文件保存路径 string fileFullPath = @"C:\Us 阅读全文
posted @ 2021-04-16 17:53 小白fox 阅读(1288) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/ZXdeveloper/p/6841878.html 由于参考的博文提供的代码在我的pc上跑起来,会使压缩后的图片有白色边框,所以我做了小小的修改 /// <summary> /// 无损压缩图片 /// </summary> /// <para 阅读全文
posted @ 2021-04-16 17:41 小白fox 阅读(1464) 评论(0) 推荐(1)
摘要: 参考:https://blog.csdn.net/qq_29132907/article/details/90241245 css * { margin: 0; padding: 0; } body{ position: relative; } #spig { width: 500px; heigh 阅读全文
posted @ 2021-01-07 14:32 小白fox 阅读(436) 评论(0) 推荐(0)
摘要: //实体类 class ReturnJson { public class Achievement { private int english; private int math; public int English { get => english; set => english = value 阅读全文
posted @ 2020-12-19 18:11 小白fox 阅读(1457) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>轮播图</titl 阅读全文
posted @ 2020-12-18 10:28 小白fox 阅读(89) 评论(0) 推荐(0)
摘要: html: <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="/css/index.css 阅读全文
posted @ 2020-12-12 17:44 小白fox 阅读(105) 评论(0) 推荐(0)