会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
样子2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
52
下一页
2021年12月27日
Java 之c3p0连接池对实体 "useSSL" 的引用必须以 ';' 分隔符结尾
摘要: <?xml version="1.0" encoding="UTF-8"?> <c3p0-config> <default-config> <property name="jdbcUrl">jdbc:mysql://localhost:3306/tpexam?characterEncoding=ut
阅读全文
posted @ 2021-12-27 14:09 样子2018
阅读(633)
评论(0)
推荐(0)
2021年12月25日
Js 之判断某月有几天
摘要: 一、代码 function getDay(year, month){ var y = new Date(year,month,1,0,0,0); var yd = new Date(y-1000); return yd.getDate(); }
阅读全文
posted @ 2021-12-25 16:53 样子2018
阅读(197)
评论(0)
推荐(0)
Js 之获取当前链接地址并修改QueryString
摘要: 一、代码 function setQueryString(key, val) { var url = window.location.href.split('?'), search=url[1]; //获取地址栏 "?"后的内容 var query = {}; if (search) { searc
阅读全文
posted @ 2021-12-25 16:18 样子2018
阅读(382)
评论(0)
推荐(0)
2021年12月8日
Js 之短信60秒倒计时
摘要: 一、代码 <div class="layui-col-xs3" style="text-align: right;"> <button type="button" id="send-sms-btn" class="layui-btn" onclick="sendSms()">发送</button>
阅读全文
posted @ 2021-12-08 14:25 样子2018
阅读(272)
评论(0)
推荐(0)
Js 之禁止浏览器审查元素
摘要: 一、方式一 1、代码 (function () { 'use strict' var devtools = { open: false, orientation: null } var threshold = 160 var emitEvent = function (state, orientat
阅读全文
posted @ 2021-12-08 13:09 样子2018
阅读(465)
评论(0)
推荐(0)
2021年11月19日
Vue 之自定义编译生成目录名称等
摘要: 在vue项目根目录下创建vue.config.js文件,如果不是在网站根目录下,设置publicPath。 module.exports = { publicPath: './', assetsDir: 'static', outputDir: 'dist' }
阅读全文
posted @ 2021-11-19 10:30 样子2018
阅读(394)
评论(0)
推荐(0)
2021年11月13日
Vue 之vue-router + vue-resource + vuex
摘要: npm install vue-router --save npm install vue-resource --save npm install vuex --save 一、代码 import Vue from 'vue' import App from './App.vue' import Vu
阅读全文
posted @ 2021-11-13 11:20 样子2018
阅读(65)
评论(0)
推荐(0)
2021年11月11日
PHP 之判断是否为移动端
摘要: /** * 判断是否是手机 * @return bool */ function is_mobile() { $agent = strtolower($_SERVER['HTTP_USER_AGENT']); $is_pc = (strpos($agent, 'windows nt')) ? tru
阅读全文
posted @ 2021-11-11 10:30 样子2018
阅读(273)
评论(0)
推荐(0)
2021年9月27日
企业微信 之员工报餐
摘要: 一、效果图
阅读全文
posted @ 2021-09-27 10:55 样子2018
阅读(811)
评论(0)
推荐(0)
PHP 之tp5导出到Excel并下载
摘要: 一、代码 public function export($month) { $year = date("Y", time()); //要导出的数据 $data =array(); $day_number = date("t", strtotime($year."-".$month)); vendor
阅读全文
posted @ 2021-09-27 09:32 样子2018
阅读(296)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
52
下一页
公告