会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
石头记1
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2022年11月28日
colResizable表格
摘要: colResizable表格列可拖动,表头不能固顶 <style type="text/css"> #colRTab{ width:100%; border-collapse: collapse; table-layout: fixed; } #colRTab td{ border:1px #ddd
阅读全文
posted @ 2022-11-28 14:15 石头记1
阅读(158)
评论(0)
推荐(0)
2022年9月6日
表格滚动条和展开收起功能
摘要: 表格超宽超高的情况,向下滚动:表头固顶,向左向右拖动,表头要随着移动。 做一个浮动表头,底部表格表头不能去掉,需要占位,监听表格x轴,移动的值给表头赋值负数left <div style="width: 1554px;overflow: hidden;height: 32px;position: a
阅读全文
posted @ 2022-09-06 14:42 石头记1
阅读(200)
评论(0)
推荐(0)
2022年7月22日
fetch
摘要: 拿到数据必须在response.text()之后,如果在{}里可以直接在第一个.then(data)拿到,如果没有在{}说明第一个then返回了值,在第二个then里的data拿 fetch('/admin/ArrivalMaster/WarehouseSelectList1').then((res
阅读全文
posted @ 2022-07-22 10:03 石头记1
阅读(97)
评论(0)
推荐(0)
2022年7月18日
js监听浏览器页面的关闭
摘要: ie、chrome、360:页面加载时执行unload();刷新时先执行onbeforeload(),新页面即将替换旧页面时onunload(),最后unload();关闭时执行onbeforeload(),再执行onunload().firefox:刷新时只执行onunload();关闭时只执行o
阅读全文
posted @ 2022-07-18 14:54 石头记1
阅读(7898)
评论(0)
推荐(0)
2022年7月1日
替代定时器的requestAnimationFrame
摘要: 动画 #status{ border:1px solid #ff9900; width:50px; height:100px; left:0; position: absolute; } <div id="status">123</div> let div = document.getElement
阅读全文
posted @ 2022-07-01 09:55 石头记1
阅读(120)
评论(0)
推荐(0)
2022年6月30日
canvas
摘要: <div><image id="box" src="https://www.baidu.com/img/flexible/logo/pc/result.png"></div> <canvas id="kkk" width="400" height="400"></canvas> let box =
阅读全文
posted @ 2022-06-30 15:04 石头记1
阅读(16)
评论(0)
推荐(0)
2022年6月15日
flex
摘要: display:flex; flex-direction 决定主轴的方向(即项目的排列方向) row(默认): 主轴水平方向,起点在左端 row-reverse: 主轴水平方向,起点在右端 column: 主轴垂直方向,起点在上边沿 column-reverse: 主轴垂直方向,起点在下边沿 fle
阅读全文
posted @ 2022-06-15 11:45 石头记1
阅读(138)
评论(0)
推荐(0)
uniapp路由 uni-simple-router
摘要: node_modules下的包uni-simple-router main.js import {router,RouterMount} from './router.js' Vue.use(router) router.js // router.js //小程序系列无法拦截原生tabbar及原生导
阅读全文
posted @ 2022-06-15 11:37 石头记1
阅读(926)
评论(0)
推荐(0)
2022年5月26日
uniapp拍照
摘要: <template> <view> <view style="margin-top: 20px;"> <button @click="xiaochengxu">小程序存图</button> </view> <view style="margin-top: 20px;"> <button @click
阅读全文
posted @ 2022-05-26 13:41 石头记1
阅读(38)
评论(0)
推荐(0)
2022年5月23日
复制图片,复制文字,下载图片
摘要: base64图复制到剪切板 谷歌和360浏览器只在https协议或本机操作localhost下有效,其他情况只能用document.execCommand("copy"),并且只能粘贴到word或excel中,不能粘贴到画图 var self = this if(self.curMuban.MBSL
阅读全文
posted @ 2022-05-23 14:54 石头记1
阅读(388)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告