04 2019 档案

摘要:return true: 返回正确的处理结果。 return false : 返回错误的处理结果 和 中断代码继续向下 执行。 return: 返回null,起到中断方法执行的效果,只要不return false事件处理函数将会继续执行,表单将提交 阅读全文
posted @ 2019-04-30 20:38 武卡卡 阅读(639) 评论(0) 推荐(0) 编辑
摘要:推荐的入门教程: 《七天学会NodeJS》 https://github.com/nqdeng/7-days-nodejs 《Node.js 包教不包会》 https://github.com/alsotang/node-lessons 常用内置模块: fs 提供对文件的操作。http://node 阅读全文
posted @ 2019-04-25 10:48 武卡卡 阅读(1694) 评论(0) 推荐(1) 编辑
摘要:前言 用Nodejs已经1年有余,陆陆续续写了48篇关于Nodejs的博客文章,用过的包有上百个。和所有人一样,我也从Web开发开始,然后到包管理,再到应用系统的开发,最后开源自己的Nodejs项目。一路走来,Nodejs已经成为我做Web项目的标配。我非常愿意把原Java、PHP的Web系统向No 阅读全文
posted @ 2019-04-25 09:58 武卡卡 阅读(686) 评论(0) 推荐(0) 编辑
摘要:模块化的开发方式可以提高代码复用率,方便进行代码的管理。通常一个文件就是一个模块,有自己的作用域,只向外暴露特定的变量和函数。目前流行的js模块化规范有CommonJS、AMD、CMD以及ES6的模块系统。本文主要介绍各规范下的模块化实现方式。 一、CommonJS Node.js是commonJS 阅读全文
posted @ 2019-04-23 20:52 武卡卡 阅读(369) 评论(0) 推荐(0) 编辑
摘要:下载图片一定要点击进入图片,不然你下载的只是缩略图 点击原始尺寸,或者点击下载即可下载真实尺寸的图片 阅读全文
posted @ 2019-04-15 15:09 武卡卡 阅读(965) 评论(0) 推荐(1) 编辑
摘要:/* 大屏幕 :大于等于1200px*/@media (min-width: 1200px) { ... } /*默认*/@media (min-width: 980px){...} /* 平板电脑和小屏电脑之间的分辨率 */@media (min-width: 768px) and (max-wi 阅读全文
posted @ 2019-04-12 10:49 武卡卡 阅读(3438) 评论(0) 推荐(0) 编辑
摘要:.banner{ background:url(banner.jpg); -moz-background-size:100% 100%; background-size:100% 100%; } 阅读全文
posted @ 2019-04-12 10:45 武卡卡 阅读(329) 评论(0) 推荐(0) 编辑
摘要:登陆后台,找到菜单里面的系统基本参数设置》会员设置》开启会员功能,选择“是”,保存即可 阅读全文
posted @ 2019-04-08 19:39 武卡卡 阅读(305) 评论(0) 推荐(0) 编辑
摘要:1.{dede:list}是用于列表页的文章列表调用,通常是用于list_article.htm页面,这个文章列表是可以分页的。 功能说明:表示列表模板里的分页内容列表适用范围:仅列表模板 list_*.htm基本语法:{dede:list col=” titlelen=” infolen=” im 阅读全文
posted @ 2019-04-08 15:18 武卡卡 阅读(5017) 评论(0) 推荐(0) 编辑
摘要:1、sudo nano /etc/apt/sources.list ,进入编辑页面 2、注释掉之前的源地址。 3、复制以下地址 deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-fre 阅读全文
posted @ 2019-04-08 09:28 武卡卡 阅读(704) 评论(0) 推荐(0) 编辑
摘要:在命令行输入:sudo /etc/init.d/ssh start,然后回车,即可 阅读全文
posted @ 2019-04-08 09:26 武卡卡 阅读(328) 评论(0) 推荐(0) 编辑
摘要:{dede:channelartlist} <ul> {dede:arclist titlelen='60' row='8'} <img src="[field:litpic/]" alt="[field:infos/]" title=">[field:title/]"></a> <a href=" 阅读全文
posted @ 2019-04-06 15:15 武卡卡 阅读(1744) 评论(0) 推荐(0) 编辑
摘要:1、调出所有栏目以及栏目下的二级栏目{dede:channelartlist typeid='top'}<a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>{dede:channel type='son' n 阅读全文
posted @ 2019-04-06 10:23 武卡卡 阅读(1025) 评论(0) 推荐(0) 编辑

喜欢请打赏

扫描二维码打赏

支付宝打赏

点击右上角即可分享
微信分享提示