2020年9月8日
摘要: 微信点击链接:debugx5.qq.com提示您使用的不是x5内核 因为要测试小程序,需要webview调试功能,正常来说在微信任意一个聊天窗口,输入:debugx5.qq.com,点击该链接就可以,但是我的安卓手机就报错了,说我使用的不是x5内核,解决办法: 1.在微信窗口输入:debugtbs. 阅读全文
posted @ 2020-09-08 11:12 奇迹般若果 阅读(4144) 评论(0) 推荐(0) 编辑
  2020年8月4日
摘要: 1、安装 npm install echarts --save npm install echarts-wordcloud --save 2、使用 1、在angular.json中引入 "scripts": [ "../node_modules/echarts/dist/echarts.js", " 阅读全文
posted @ 2020-08-04 14:33 奇迹般若果 阅读(833) 评论(0) 推荐(0) 编辑
  2020年7月15日
摘要: 1、方法一 创建dom const img = new Image(); img.src = i.info.img; img.onclick = function () { console.log(999); } 2、方法二 this.map.openInfoWindow(infoWindow, t 阅读全文
posted @ 2020-07-15 17:21 奇迹般若果 阅读(2942) 评论(0) 推荐(0) 编辑
  2020年7月9日
摘要: jeecms使用记录 1、网址:http://www.jeecms.com/ 2、使用 1、先在本地创建项目,完成静态页面并添加对应的js效果 2、将公用部分提取出来,方便不同页面调用 引用方法: [#include "../includes/naheader.html"/] 公用部分不需要html 阅读全文
posted @ 2020-07-09 09:46 奇迹般若果 阅读(606) 评论(0) 推荐(0) 编辑
  2020年4月14日
摘要: 1、报错信息如下 2、解决: 右键左下角开始按钮选择Windows PowerShell(管理员)(A) 打开后执行set ExecutionPolicy RemoteSigned命令,输入A即可,如下图所示: 然后执行ng命令就可以啦 阅读全文
posted @ 2020-04-14 14:13 奇迹般若果 阅读(615) 评论(0) 推荐(0) 编辑
  2020年3月11日
摘要: 描述:用户填写完体温,需要实时验证体温是否合法,并给出提示 <input class="weui-input" type="number" placeholder="请输入体温" [formControl]="temperatureInput" name="temperatureName"/> im 阅读全文
posted @ 2020-03-11 11:16 奇迹般若果 阅读(424) 评论(0) 推荐(0) 编辑
摘要: .plcolor weui-picker .weui-input::-webkit-input-placeholder { color:#000; font-size: 16px; } .plcolor weui-picker .weui-input::-moz-placeholder{ /* Mo 阅读全文
posted @ 2020-03-11 11:10 奇迹般若果 阅读(287) 评论(0) 推荐(0) 编辑
  2020年2月14日
摘要: angular中解决: ngAfterViewInit(): void { document.body.addEventListener('focusout', function () { window.scrollTo(0, 0); document.body.scrollIntoView(); 阅读全文
posted @ 2020-02-14 16:38 奇迹般若果 阅读(162) 评论(0) 推荐(0) 编辑
  2020年2月10日
摘要: 1、官方网站 https://www.echartsjs.com/zh/index.html 2、angular中单引入echarts (1)命令:npm i echarts (2)在angular.json的scripts中引入echarts.js:"./node_modules/echarts/ 阅读全文
posted @ 2020-02-10 18:28 奇迹般若果 阅读(2505) 评论(0) 推荐(0) 编辑
  2020年1月17日
摘要: 1、下载nginx(下稳定版) https://nginx.org/en/download.html 2、解压,删除目录下的文件,将打包的dist里面的文件复制过来 3、修改nginx配置 打开nginx.conf,路径如下: 添加一行try_files $uri $uri/ /index.html 阅读全文
posted @ 2020-01-17 16:29 奇迹般若果 阅读(378) 评论(0) 推荐(0) 编辑