2023年3月27日
摘要: #【PPT模板】PPT美化PPT设计 分类 现成可选 1、毕业答辩(160种可选) 2、扁平风格(79种可选) 3、产品发布(20种可选) 4、创意风格(60种可选) 5、个人简历(67种可选) 6、工作汇报(101种可选) 7、精品系列(69种可选) 8、年会颁奖(115种可选) 9、年终总结(7 阅读全文
posted @ 2023-03-27 16:15 奇迹般若果 阅读(53) 评论(1) 推荐(0) 编辑
  2022年10月8日
摘要: 实现代码如下 // 字符串转base64 getEncode64(str){ return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function toSolidBytes(match, p1) { return String 阅读全文
posted @ 2022-10-08 10:58 奇迹般若果 阅读(719) 评论(0) 推荐(0) 编辑
  2022年7月29日
摘要: 一、安装node环境 这个之前做angular项目安装过,暂时先不整理,整理好vue相关知识再整理。 二、搭建vue项目环境 1、全局安装vue-cli npm install --global vue-cli 不知道是不是网络问题,我使用上面命令安装失败,所以换成了下面命令,使用yarn安装 ya 阅读全文
posted @ 2022-07-29 09:40 奇迹般若果 阅读(416) 评论(0) 推荐(0) 编辑
  2022年7月1日
摘要: 1、uniapp官网 网址:https://uniapp.dcloud.net.cn/ 2、引入组件库 网址:https://www.uviewui.com/ 3、问题如下 (1)使用SwipeAction 滑动单元格后,在滑动单元格上无法上下滑动 解决方法:自己写,代码如下 <template> 阅读全文
posted @ 2022-07-01 14:47 奇迹般若果 阅读(43) 评论(0) 推荐(0) 编辑
  2022年2月23日
摘要: 1、创建拦截器 import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest, } from '@angular/common/http'; import { Observable } from 'rxjs'; export class 阅读全文
posted @ 2022-02-23 14:53 奇迹般若果 阅读(396) 评论(0) 推荐(0) 编辑
  2021年10月11日
摘要: npm install crypto-js (项目中版本:^4.1.1) import { Injectable } from '@angular/core'; import { AES, enc, mode, pad } from 'crypto-js'; @Injectable() export 阅读全文
posted @ 2021-10-11 13:58 奇迹般若果 阅读(58) 评论(0) 推荐(0) 编辑
  2021年6月29日
摘要: function dataURItoBlob(dataURI) { const byteString = atob(dataURI.split(',')[1]); const mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0] 阅读全文
posted @ 2021-06-29 16:25 奇迹般若果 阅读(506) 评论(0) 推荐(0) 编辑
  2021年1月4日
摘要: 1、安装:npm install angular-gridster2 --save 2、引入 3、html代码 <div id="fullscreen" style="position:relative;padding-top:20px;background: #fff;" > <em class= 阅读全文
posted @ 2021-01-04 14:13 奇迹般若果 阅读(1564) 评论(0) 推荐(0) 编辑
  2020年9月18日
摘要: 1、NzI18nService服务 参考:https://ng.ant.design/docs/i18n/zh 2、ngx-translate插件 1)安装依赖 npm install @ngx-translate/core --save npm install @ngx-translate/htt 阅读全文
posted @ 2020-09-18 15:22 奇迹般若果 阅读(603) 评论(0) 推荐(0) 编辑
  2020年9月8日
摘要: // 解决IOS上传竖向照片会旋转90度的问题 rotate() { const that = this; that.imgOrientation = 1; let Orientation = null; const _filelist = $('#showImg')[0].files[0]; $( 阅读全文
posted @ 2020-09-08 14:14 奇迹般若果 阅读(397) 评论(0) 推荐(0) 编辑