声明:本站文章均为作者个人原创,图片均为实际截图。如有需要请收藏网站,禁止转载,谢谢配合!!!

egg.js的使用

1、创建egg.js脚手架示例项目使用npm创建egg.js脚手架示例项目 npm init egg --type=simple --registry=china使用npx创建egg.js脚手架示例项目npx create-egg使用yarn创建egg.js脚手架示例项目yarn create egg --type=simple --registry=chinanpm@6 版本引入了 npm

Editor.md基本使用和图片上传

editor.md是一款markdown编辑器官网 https://pandao.github.io/editor.md/1、代码<!DOCTYPE html><html lang="zh"> <head> <meta charset=

宝塔面板一个网站绑定两个域名配置SSL

宝塔面板一个网站绑定两个以上的域名配置SSL1、比如a.com b.com c.com 同时绑定一个网站2、申请证书,获取pem、key3、开启a.com 的ssl4、点击左侧配置文件<VirtualHost *:80> ServerAdmin webmaster@example.com DocumentRoot "/www/wwwroot/test.com/publ

Three.js使用

threejs 通过封装WEBGL API 实现了在网页端直接进行三维3d模型渲染。应用场景包括:小游戏,在线展厅,DIY 互动等现代互联网应用,极具发展前景。three.js就是使用javascript 来写3D程序。在浏览器端,WebGL 是一个底层的标准,在这些标准被定义之后,Chrome、Firefox之类的浏览器实现了这些标准。然后,就能通过 JavaScript 代码,在网页上实现三

JS常用操作

1、格式化日期时间function getCurrentDate(format = 2) { var now = new Date(); var year = now.getFullYear(); //得到年份 var month = now.getMonth();//得到月份 var date = now.getDate();//得到日期

layui常用弹窗

layui常用弹窗 layer.alert(&#39;内容&#39;); layer.alert(&#39;内容&#39;, { icon: 1, skin: &#39;layer-ext-moon&#39; //该皮肤由layer.seaning.com

layui:layer右下角弹窗提醒

1、自定义弹窗样式利用定位使弹窗位于右下角.layui-layer-demo{ position: fixed; top: 72% !important; left: 80% !important;}2、弹出层content: ‘url’ 有滚动条content: [‘url’, ‘no’] 无滚动条layer.open({