首页
学习
活动
专区
工具
TVP
发布

互联网软件技术

互联网软件技术
专栏作者
59
文章
154283
阅读量
12
订阅数
PHP-MySQL基本操作
PHP-MySQL基本操作 1 <?php 2 3 // 1.防止页面中文乱码 4 header("content-type:text/html;charset=utf-8");
ProsperLee
2019-03-19
9280
基于element-tree-table树型表格点击节点请求数据展开树型表格
treeTable: https://github.com/ProsperLee/element-tree-grid
ProsperLee
2019-03-11
11.3K0
OOCSS(面向对象的CSS)总结
按钮样式库:buttons.css 1 /* vue */ 2 [v-cloak]{display: none} 3 4 /* 滚动条 */ 5 ::-webkit-scrollbar { 6 width: 6px; 7 height: 6px; 8 background-color: transparent; 9 } 10 ::-webkit-scrollbar-thumb { 11 background: linear-gradi
ProsperLee
2019-03-06
4980
将有父子关系的数组对象转换成树形结构数据
原数据: 1 data: [{ 2 id: 1, 3 name: '1', 4 }, 5 { 6 id: 2, 7 name: '1-1', 8 parentId: 1 9 }, 10 { 11 id: 3, 12 name: '1-1-1', 13 parentId: 2 14 }, 15 { 16 id: 4, 17 name: '1-2', 18 parentId: 1 19 }, 20 { 21
ProsperLee
2019-03-06
1.9K0
获取元素CSS样式
1 <!DOCTYPE html> 2 <html lang="en"> 3 4 <head> 5 <meta charset="UTF-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <meta http-equiv="X-UA-Compatible" content="ie=edge"> 8 <title>获取css样式</title> 9 <
ProsperLee
2019-03-06
1.7K0
统计字符串中字符出现的次数(||和&&的区别)
var str = "ProsperLee"; // || 返回第一个为真的表达式的值,若全为假则返回最后一个表达式的值 // && 返回第一个为假的表达式的值,若全为真则返回最后一个表达式的值 String.prototype.charCount = function(){ var json = {}; for (var i = 0, l = this.length; i < l; i++) { json[this[i]] = json[this[i]] + 1 || 1
ProsperLee
2018-12-12
1K0
ES5新增
forEach // forEach 返回undefined var arr = ['Prosper', 'Lee', 'is', ['very', 'very'], 'nice', '!', , null]; // ES6写法 arr.forEach((currentValue, index, array) => { console.log('arr[' + index + ']=' + array[index] +
ProsperLee
2018-12-12
6270
Vue脚手架搭建项目
全局安装vue脚手架 $ npm install -g vue-cli 卸载方法 $ npm uninstall -g vue-cli 查看vue版本(注意:大写的V) $ vue -V
ProsperLee
2018-11-19
7250
Phaser.js之简单的跑酷游戏
源码(详细源码图片资源可点击文章下方或屏幕右上方的github链接进行clone)
ProsperLee
2018-10-29
2.9K0
蓝湖-设计协作平台
推荐一款专门为猿哥哥和设计师小姐姐而开发的一款高效协作软件 蓝湖 。 相信你一定会爱上她的呦。 蓝狐网址:https://www.lanhuapp.com/ 蓝湖: 能做H5、Android、iOS原型   能进行标注   能全自动切图   团队协作共享   免费   ··· ··· 我们可以看看蓝湖工作团队是怎么评价蓝湖的: 浏览器版本太低,不支持本视频播放,请升级浏览器
ProsperLee
2018-10-24
2.4K0
时间戳转换成日期
1 // 时间戳转换成日期 2 function timestampToTime(timestamp) { 3 var date = new Date(timest
ProsperLee
2018-10-24
1.7K0
将表格导出为excel
1 <table id="tableExcel" border="1"> 2 <tr> 3 <th>零</th> 4 <th>一</th> 5 <th>二</th> 6 <th>三</th> 7 <th>四</th> 8 </tr> 9 <tr> 10 <td>万籁寂无声</td> 11 <td>衾铁棱棱近五更</td> 12 <td>香断
ProsperLee
2018-10-24
1.8K0
浏览器全屏非全屏切换
1 //进入全屏 2 function requestFullScreen() { 3 var de = document.documentElement; 4 if (de.requestFullscreen) { 5 de.requestFullscreen(); 6 } else if (de.mozRequestFullScreen) { 7 de.mozRequestFul
ProsperLee
2018-10-24
3.5K0
本地多图上传预览
1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" 6 content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> 7 <meta http-equiv
ProsperLee
2018-10-24
1.4K0
jQuer插件满屏气泡飘落动画效果
飘落动画效果插件引用: <script src="https://cdn.bootcss.com/JQuery-Snowfall/1.7.4/snowfall.jquery.min.js"></script> 注意:需要引用jQuery,要在插件之前引用安装。 1 // 当窗口尺寸改变时重新执行函数,避免出现不好的用户体验 2 // 因比较消耗cpu,本站没有采用这种方式 3 function floated(){ 4 $
ProsperLee
2018-10-24
1.4K0
结合vue展示百度天气接口天气预报
HTML: 1 <!DOCTYPE html> 2 <html lang="en"> 3 4 <head> 5 <meta charset="UTF-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <meta http-equiv="X-UA-Compatible" content="ie=edge"> 8 <title>百度天气</title>
ProsperLee
2018-10-24
6.9K1
本地单张图片上传预览
1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" 6 content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> 7 <meta http-equiv="X-UA-
ProsperLee
2018-10-24
3.2K0
H5移动端rem适配
1 /** 2 * 移动端自适应 3 */ 4 <meta name="viewport" 5 content="width=device-width,user-scalable=no,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0"> 6 // <!--content--> 7 // <!--width=device-width 可视区域的宽度,值可为数字或关键词de
ProsperLee
2018-10-24
1.4K0
js控制两个元素高度保持一致
1 <script type="text/javascript"> 2 $(function(){ 3   if($("#left").height() > $("#right").height()){ 4     $("#right").css("height",$("#left").height()); 5   }else{ 6     $("#left").css("height",$("#right").height()); 7   } 8 }) 9 </script>  下面是解决侧边导航栏与主内
ProsperLee
2018-10-24
1.7K0
逻辑思维推理-你的大脑转速是多少?
一个村子里,有50户人家,每家都养了一条狗.现在,发现村子里面出现了N只疯狗,村里规定,谁要是发现了自己的狗是疯狗,就要将自己的狗枪毙.村子里面的人只能看出别人家的狗是不是疯狗,而不能看出自己的狗是不
ProsperLee
2018-10-24
8830
点击加载更多
社区活动
Python精品学习库
代码在线跑,知识轻松学
热点技术征文第五期
新风口Sora来袭,普通人该如何把握机会?
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·干货材料·成员作品·最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档