07 2024 档案

摘要:给相同的类合并行 <el-table border class="customer-no-border-table" element-loading-text="数据正在加载中..." :row-class-name="tableRowClassName" :header-cell-style="{ 阅读全文
posted @ 2024-07-23 19:07 崛起崛起 阅读(103) 评论(0) 推荐(0) 编辑
摘要:让滚动条回到0就不回出现这个问题了 解决方案: scrollToTop() { // 使用 $refs 获取 el-table 实例,并调用其 scrollTo 方法将滚动条回到顶部 this.$nextTick(() => { const table = this.$refs.table1; if 阅读全文
posted @ 2024-07-23 15:08 崛起崛起 阅读(102) 评论(0) 推荐(0) 编辑
摘要:<el-table :data="tableData" ref="tableData" height="450px" class="customer-no-border-table" :row-class-name="tableRowClassName" :header-cell-style="{ 阅读全文
posted @ 2024-07-23 14:59 崛起崛起 阅读(30) 评论(0) 推荐(0) 编辑
摘要:实现方法 1.拿到每一行的高度, 2.再拿到每一行展开行的高度 3.累加起来,让滚动条滚动到对应的高度 tableScrollToRow(tableElement, rowIndex) { const expandedRows = tableElement.bodyWrapper.querySele 阅读全文
posted @ 2024-07-23 14:08 崛起崛起 阅读(611) 评论(0) 推荐(0) 编辑
摘要:<el-image v-for="(image, index) in form.imgUrl" :key="index" :src="image" class="image" :preview-src-list="privewImages(index)" alt="图片/音频图片" > <div s 阅读全文
posted @ 2024-07-23 11:34 崛起崛起 阅读(170) 评论(0) 推荐(0) 编辑
摘要:运营推广移动端开发 1.适配原理 宽的适配:flexible.js适配,是根据屏幕的宽度计算根标签的大小进行适配, 高的适配: 需要用vh,vh在静态页面好用,vh是根据屏幕的可视高度计算的,当页面中有输入框时vh的页面会受到挤压,如下图 用百分比 2.移动端布局 如果有按钮,最好让ui设计到一个层 阅读全文
posted @ 2024-07-22 19:06 崛起崛起 阅读(22) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示