- 博客(6)
- 收藏
- 关注

原创 nginx服务器反向代理
一、设置 conf/nginx-conf文件 server { listen 3000; server_name localhost; root html/dist; #charset koi8-r; #access_log logs/host.access.log main; location /api/ { proxy_pass xxxxxxxxxxxxxxxxxx
2018-01-24 14:17:50
242
原创 隐藏滚动条 但可以滚动
<div style="height: 200px;overflow: hidden;;"> <div style="height: 100%;overflow: auto;margin-right: -20px;padding-right: 20px;"> <p>123</p> ...
2018-07-25 17:17:11
1629
原创 判断页面是移动端还是pc端
function browserRedirect() { var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iph
2018-02-05 16:25:43
430
原创 IE8背景色渐变
{ background: -webkit-linear-gradient(top, #049BD4, #007aa9); background: #049BD4; background: -moz-linear-gradient(top, #049BD4 0%, #007Dad 100%); background: -webkit-gradient(linear, left top, left
2018-02-05 16:22:58
1201
原创 滑动开关
if ($(".slider").hasClass("sliderNot")) { $(".sliderText").text("冻结") } if ($(".slider").hasClass("sliderOn")) { $(".sliderText").text("开启") } $(".slider").click(function () { if ($(this).hasCl
2018-01-22 10:46:38
381
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人