会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
鲨鱼大王
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
Html/CSS/JS
Composer 忽略版本检测
摘要:--ignore-platform-reqs
阅读全文
posted @
2023-04-20 12:25
鲨鱼大王
阅读(113)
评论(0)
推荐(0)
Layui Table 复选框
摘要:table.on('checkbox(user-table)', function(obj){ console.log(obj); //当前行的一些常用操作集合 console.log(obj.checked); //当前是否选中状态 console.log(obj.data); //选中行的相关数
阅读全文
posted @
2022-10-18 09:46
鲨鱼大王
阅读(41)
评论(0)
推荐(0)
JS 动态引用JS
摘要:<script type="text/javascript"> var b= self.setInterval('getip(),1000') function getip(){ loadScript("http://pv.sohu.com/cityjson?ie=utf-8",function()
阅读全文
posted @
2022-08-22 11:28
鲨鱼大王
阅读(153)
评论(0)
推荐(0)
JS 禁止页面后退
摘要:<script type="text/javascript"> window.history.pushState(null,null,document.URL); window.addEventListener('popstate',function (e) { history.pushState(
阅读全文
posted @
2022-03-12 22:49
鲨鱼大王
阅读(123)
评论(0)
推荐(0)
网页简体转繁体JS
摘要:// 网页简繁体转换 // 本js用于客户在网站页面选择繁体中文或简体中文显示,默认是正常显示,即简繁体同时显示 // 在用户第一次访问网页时,会自动检测客户端语言进行操作并提示.此功能可关闭 // 本程序只在UTF8编码下测试过,不保证其他编码有效 // 以下参数大部分可以更改 //s = sim
阅读全文
posted @
2020-07-02 22:38
鲨鱼大王
阅读(525)
评论(0)
推荐(0)
支付宝跳转方式
摘要:1:直接根据支付宝码的内容跳转 alipayqr://platformapi/startapp?saId=10000007&clientVersion=3.7.0.0718&qrcode=https://qr.alipay.com/fkx07929cwlmu3r6grbagb92:直接跳转到转账,直
阅读全文
posted @
2020-05-06 14:14
鲨鱼大王
阅读(15912)
评论(0)
推荐(0)
Html页面支付宝支付
摘要:function pay() { location.href = "https://ds.alipay.com/?from=mobilecodec&scheme=" + encodeURIComponent("alipays://platformapi/startapp?saId=10000007&
阅读全文
posted @
2020-04-26 14:04
鲨鱼大王
阅读(4182)
评论(0)
推荐(0)
JSON转PHP数组
摘要:必须按照顺序替换相应字符 方式一:直接替换字符串 1:将‘},{’替换为‘],[’ 注:字符串格式化之后会产生换行,有的编辑器不支持换行搜索替换,代码缩进也要考虑进去,可能需要多次替换 2:将‘: [’替换为‘=>array(‘ 3:将’{‘替换为’[‘ 4:将’}]‘替换为’])‘ 注:字符串格式
阅读全文
posted @
2019-10-16 11:05
鲨鱼大王
阅读(2458)
评论(0)
推荐(0)
div内容垂直居中的方法
摘要:Html CSS
阅读全文
posted @
2019-10-11 11:34
鲨鱼大王
阅读(306)
评论(0)
推荐(0)
修改 input type=file 的样式
摘要:页面Html CSS 选中文件获取名字
阅读全文
posted @
2019-10-10 17:52
鲨鱼大王
阅读(2094)
评论(0)
推荐(0)
VUE AJax 后台获取不到参数
摘要:axios
阅读全文
posted @
2019-09-26 16:08
鲨鱼大王
阅读(711)
评论(0)
推荐(0)
npm常用命令
摘要:npm install 安装模块 npm uninstall 卸载模块 npm update 更新模块 npm outdated 检查模块是否已经过时 npm ls 查看安装的模块 npm init 在项目中引导创建一个package.json文件 npm help 查看某条命令的详细帮助 npm root 查看包的安装路径 npm config 管理npm的配置路径 npm cache 管理模...
阅读全文
posted @
2019-09-17 10:12
鲨鱼大王
阅读(221)
评论(0)
推荐(0)
CSS设置阴影
摘要:语法 参数说明
阅读全文
posted @
2019-09-11 19:48
鲨鱼大王
阅读(607)
评论(0)
推荐(0)
CSS背景色渐变
摘要:background: -webkit-linear-gradient(left, #F8B44E , #F7863B); /* Safari 5.1 - 6.0 */ background: -o-linear-gradient(right, #F8B44E, #F7863B); /* Opera 11.1 - 12.0 */ background: -moz-linear-gradient(r
阅读全文
posted @
2019-09-11 19:44
鲨鱼大王
阅读(168)
评论(0)
推荐(0)
公告