- 博客(5)
- 收藏
- 关注
原创 uniapp input
想要弹窗弹出自动选择获取焦点 必选使用自定义的 在uni-popup 中没有效果,在页面中自定义弹框在使用才有效,在组件中使用this.$refs.inputRef.focus() 是无效的,会获取到focus undefined。console.log(‘监听键盘高度变化’, height);2.input 弹框自动选中。1.软键盘弹出高度获取。
2025-06-10 14:54:04
229
原创 vue div触底加载
vue div触底加载<template> <div @scroll="scrollLoad($event)"></div></template>export default { methods: { scrollLoad(e) { let that = this // 拉取数 let num = 7 if(e.srcElement.offsetHeight + e.srcElement.
2021-03-06 17:44:32
649
1
原创 iview 表格样式修改
iview 表格样式修改表头样式.ivu-table th{background-color: #F6FAFF !important;}斑马纹样式<template> <Table :columns="columns1" :data="data1" :row-class-name="rowClassName"></Table><template>export default { // 表格斑马纹 rowClassName :f
2021-03-06 17:00:10
785
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅