摘要: 0、参考自:Angular 页面初始化动画 - Zero_追梦 - 博客园 (cnblogs.com) 1、样式,在 assets/styles/ 目录下新建 loading.css 文件 .preloader { position: fixed; top: 0; left: 0; width: 1 阅读全文
posted @ 2021-01-01 11:36 涓河樵 阅读(145) 评论(0) 推荐(0) 编辑
摘要: //当前页面的高度100vh - 8rem;height:calc(100vh - 8rem); //当前页面的宽度100vh - 8rem;width: calc(100vw - 4rem); 转自:https://www.runoob.com/cssref/css-units.html 单位描述 阅读全文
posted @ 2020-12-31 18:03 涓河樵 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/xiaomili/p/10522566.html /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar{ width: 7px; height: 7px; background-color: #F5F 阅读全文
posted @ 2020-12-31 17:57 涓河樵 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 0、相关知识:http://www.ruanyifeng.com/blog/2019/03/grid-layout-tutorial.html 1、样式 .ice-page { display: grid; grid-template-columns: 4rem auto; } .ice-conta 阅读全文
posted @ 2020-12-31 14:26 涓河樵 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 0、前情提要:原文:Angular 11 中使用 Tailwind CSS - 简书 (jianshu.com) 1、新建项目 ng new ice-app 2、常用操作 运行 npm start ng serve ng serve --port 4600 打包 npm run build npm 阅读全文
posted @ 2020-12-31 12:14 涓河樵 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 1、下载 BaGet ,地址:https://github.com/loic-sharma/BaGet/releases 项目地址:https://github.com/loic-sharma/BaGet/ 2、解压,在 appsettings.json 文件中可配置密钥(见下面代码块,默认无),然 阅读全文
posted @ 2020-12-29 09:51 涓河樵 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1、新建 net core api 项目 2、新建自定义的文件流类 public class ResFileStream : FileStream { public ResFileStream(string path, FileMode mode, FileAccess access) : base 阅读全文
posted @ 2020-12-29 09:25 涓河樵 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 添加以下中间件即可 app.Use(async (context, next) => { var token = context.RequestAborted; var response = context.Response; IFileProvider fileProvider = new Phy 阅读全文
posted @ 2020-12-29 09:13 涓河樵 阅读(426) 评论(0) 推荐(2) 编辑
摘要: 1、安装 npm install angular2-toaster 地址:https://github.com/stabzs/Angular2-Toaster demo地址:http://plnkr.co/edit/hkENUhos6q9fhiOHprXO?p=preview&preview 2、在 阅读全文
posted @ 2020-12-29 09:02 涓河樵 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1、安装 @visurel/iconify-angular 组件地址:https://github.com/visurel/iconify-angular https://iconify.design/ 2、package.json 中显示 "@visurel/iconify-angular": " 阅读全文
posted @ 2020-12-29 08:47 涓河樵 阅读(261) 评论(0) 推荐(0) 编辑