npm install -g pm2
提示pm2命令未找到
ln -s /software/node/node-v10.7.0-linux-x64/lib/node_modules/pm2/bin/pm2 /usr/local/bin
如果报错 file exits
那么 cd /usr/local/bin
rm -rf ./pm2
重新建立软连接 ln -s /software/node/node-v10.7.0-linux-x64/lib/node_modules/pm2/bin/p...阅读全文>>
systemctl restart vsftpd.service
#设置开机启动 systemctl enable vsftpd.service
# 重启 service vsftpd restart
# 查看vsftpd服务的状态 systemctl status vsftpd.service
启动 nginx
service nginx restart
安装nginx
https://www.jb51.net/article/107966.htm阅读全文>>
左面拖拽后修改成自定义内容,(cms管理)拖拽到右面展示成组件,右面的组件可自由拖拽更改顺序进而自定义为cms页面管理系统,只是简单的给出思路。阅读全文>>
今天遇到这样一个需求,要求商品模块可以自由组合自己通过合并单元格,上传图片,来实现各种商品布局
以下是实现方法:阅读全文>>
function show_layer(){
layer.open({
type: 2,
area: [w+'px', h +'px'],
fix: false, //不固定
maxmin: true,
shadeClose: true,
shade:0.4,
title: title,
content: url, //url 为子布局的url路径
success:function (layero,index) {
...阅读全文>>
const Koa = require('koa')
const app = new Koa()
const serve = require("koa-static");
const port=3001;
app.use(serve(__dirname+"/public",{ extensions: ['html']}));
app.listen(port);
console.log("服务端口"+port);
public 目录下作为静态资源根目录阅读全文>>
点击查看 VR图制作阅读全文>>
parent.layui.table.reload("data-table");阅读全文>>
阅读全文>>
layer.open({
type: 2,
title: '编辑音乐',
shadeClose: false,
shade: 0.8,
btnAlign: 'c',
area: ['480px', '315px'],
btn:['保存修改','取消修改'],
yes:function(index,layero){
var form = $(layero).find("iframe")[0].contentWindow.document.getElementById("editForm")
},
...阅读全文>>