当前位置: 首页 > news >正文

怎样做_网站做seo海口seo网络公司

怎样做_网站做seo,海口seo网络公司,有专业做网站的,新疆生产建设兵团交通厅网站Vxe UI vue vxe-table v4.8 与 v3.10 解决了老版本虚拟滚动不支持动态行高的问题,重构了虚拟渲染,渲染性能大幅提升了,行高自适应和列宽拖动都支持,大幅降低虚拟渲染过程中的滚动白屏,大量数据列表滚动更加流畅。 自适…

Vxe UI vue vxe-table v4.8+ 与 v3.10+ 解决了老版本虚拟滚动不支持动态行高的问题,重构了虚拟渲染,渲染性能大幅提升了,行高自适应和列宽拖动都支持,大幅降低虚拟渲染过程中的滚动白屏,大量数据列表滚动更加流畅。

自适应行高

如果不需要自适应行高,可以通过 show-overflow=false 关闭自适应行高,渲染性能将更快。

在这里插入图片描述

<template><div><vxe-button @click="loadData(5000)">加载5k条</vxe-button><vxe-button @click="loadData(10000)">加载1w条</vxe-button><vxe-button @click="loadData(50000)">加载5w条</vxe-button><vxe-grid v-bind="gridOptions"></vxe-grid></div>
</template><script setup>
import { reactive, nextTick } from 'vue'
import { VxeUI } from 'vxe-table'
const imgUrlCellRender = reactive({name: 'VxeImage',props: {width: 36,height: 36}
})
const gridOptions = reactive({border: true,loading: false,height: 800,columnConfig: {resizable: true},scrollY: {enabled: true,gt: 0},columns: [{ type: 'checkbox', width: 60 },{ title: '列0', field: 'col0', width: 100 },{ title: '列1', field: 'imgUrl', width: 80, cellRender: imgUrlCellRender },{ title: '列2', field: 'col2', width: 90 },{ title: '列3', field: 'col3', width: 200 },{ title: '列4', field: 'col4', width: 140 },{ title: '列5', field: 'col5', width: 300 },{ title: '列6', field: 'col6', width: 160 },{ title: '列7', field: 'col7', width: 120 },{ title: '列8', field: 'col8' }],data: []
})
// 模拟行数据
const loadData = (rowSize) => {gridOptions.loading = truesetTimeout(() => {const dataList = []for (let i = 0; i < rowSize; i++) {const item = {id: 10000 + i,imgUrl: i % 3 === 0 ? 'https://vxeui.com/resource/img/546.gif' : 'https://vxeui.com/resource/img/673.gif'}for (let j = 0; j < 10; j++) {if (i % 8 === 0) {item[`col${j}`] = `值_${i}_${j} 内容8内容8内容8内容8`} else if (i % 7 === 0) {item[`col${j}`] = `值_${i}_${j} 内容7内容7`} else if (i % 6 === 0) {item[`col${j}`] = `值_${i}_${j} 内容6内容6内容6内容6内容6内容6内容6内容6`} else if (i % 5 === 0) {item[`col${j}`] = `值_${i}_${j} 内容5内容5内容5内容5内容5`} else if (i % 4 === 0) {item[`col${j}`] = `值_${i}_${j} 内容4内容4内容4内容4内容4内容4内容4内容4内容4内容4内容4内容4`} else {item[`col${j}`] = `值_${i}_${j}`}}dataList.push(item)}const startTime = Date.now()gridOptions.data = dataListgridOptions.loading = falsenextTick(() => {VxeUI.modal.message({content: `加载时间 ${Date.now() - startTime} 毫秒`,status: 'success'})})}, 350)
}
loadData(200)</script>

固定行高

在这里插入图片描述

<template><div><vxe-button @click="loadData(5000)">加载5k条</vxe-button><vxe-button @click="loadData(10000)">加载1w条</vxe-button><vxe-button @click="loadData(50000)">加载5w条</vxe-button><vxe-grid v-bind="gridOptions"><template #action><vxe-button mode="text" status="primary">按钮1</vxe-button><vxe-button mode="text" status="error">按钮2</vxe-button></template></vxe-grid></div>
</template><script setup>
import { reactive, nextTick } from 'vue'
import { VxeUI } from 'vxe-table'
const flag1CellRender = reactive({name: 'VxeSwitch'
})
const imgUrlCellRender = reactive({name: 'VxeImage',props: {width: 36,height: 36}
})
const imgList1CellRender = reactive({name: 'VxeUpload',props: {mode: 'image',readonly: true,moreConfig: {maxCount: 2},imageStyle: {width: 40,height: 40}}
})
const gridOptions = reactive({border: true,showOverflow: true,showHeaderOverflow: true,showFooterOverflow: true,loading: false,height: 800,columnConfig: {resizable: true},scrollX: {enabled: true,gt: 0},scrollY: {enabled: true,gt: 0,mode: 'wheel'},columns: [{ type: 'checkbox', width: 60, fixed: 'left' },{ title: '列0', field: 'col0', width: 100, fixed: 'left' },{ title: '列1', field: 'imgUrl', width: 80, fixed: 'left', cellRender: imgUrlCellRender },{ title: '列2', field: 'col2', width: 90 },{ title: '列3', field: 'col3', width: 200 },{ title: '列4', field: 'col4', width: 140 },{ title: '列5', field: 'col5', width: 300 },{ title: '列6', field: 'col6', width: 160 },{ title: '列7', field: 'col7', width: 120 },{ title: '列8', field: 'col8', width: 400 },{ title: '列9', field: 'col9', width: 160 },{ title: '列10', field: 'col10', width: 160 },{ title: '列11', field: 'col11', width: 180 },{ title: '列12', field: 'col12', width: 160 },{ title: '列13', field: 'col13', width: 80 },{ title: '列14', field: 'col14', width: 120 },{ title: '列15', field: 'col15', width: 360 },{ title: '列16', field: 'col16', width: 150 },{ title: '列17', field: 'col17', width: 380 },{ title: '列18', field: 'col18', width: 100 },{ title: '列19', field: 'col19', width: 290 },{ title: '列20', field: 'col20', width: 80 },{ title: '列21', field: 'col21', width: 100 },{ title: '列22', field: 'col22', width: 120 },{ title: '列23', field: 'col23', width: 270 },{ title: '列24', field: 'col24', width: 330 },{ title: '列25', field: 'col25', width: 460 },{ title: '列26', field: 'col26', width: 280 },{ title: '列27', field: 'col27', width: 220 },{ title: '列28', field: 'col28', width: 120 },{ title: '列29', field: 'col29', width: 180 },{ title: '列30', field: 'col30', width: 500 },{ title: '列31', field: 'col31', width: 600 },{ title: '列32', field: 'col32', width: 100 },{ title: '列33', field: 'col33', width: 490 },{ title: '列34', field: 'col34', width: 100 },{ title: '列35', field: 'col35', width: 150 },{ title: '列36', field: 'col36', width: 800 },{ title: '列37', field: 'col37', width: 400 },{ title: '列38', field: 'col38', width: 800 },{ title: '列39', field: 'col39', width: 360 },{ title: '列40', field: 'col40', width: 420 },{ title: '列41', field: 'col41', width: 100 },{ title: '列42', field: 'col42', width: 120 },{ title: '列43', field: 'col43', width: 280 },{ title: '列44', field: 'col44', width: 170 },{ title: '列45', field: 'col45', width: 370 },{ title: '列46', field: 'col46', width: 420 },{ title: '列47', field: 'col47', width: 170 },{ title: '列48', field: 'col48', width: 400 },{ title: '列49', field: 'col49', width: 220 },{ title: '列50', field: 'col50', width: 170 },{ title: '列51', field: 'col51', width: 160 },{ title: '列52', field: 'col52', width: 500 },{ title: '列53', field: 'col53', width: 280 },{ title: '列54', field: 'col54', width: 170 },{ title: '列55', field: 'col55', width: 370 },{ title: '列56', field: 'col56', width: 120 },{ title: '列57', field: 'col57', width: 170 },{ title: '列58', field: 'col58', width: 400 },{ title: '列59', field: 'col59', width: 220 },{ title: '列60', field: 'col60', width: 650 },{ title: '列61', field: 'col61', width: 600 },{ title: '列62', field: 'col62', width: 100 },{ title: '列63', field: 'col63', width: 490 },{ title: '列64', field: 'col64', width: 100 },{ title: '列65', field: 'col65', width: 150 },{ title: '列66', field: 'col66', width: 800 },{ title: '列67', field: 'col67', width: 400 },{ title: '列68', field: 'col68', width: 800 },{ title: '列69', field: 'col69', width: 360 },{ title: '列70', field: 'col70', width: 650 },{ title: '列71', field: 'col71', width: 600 },{ title: '列72', field: 'col72', width: 100 },{ title: '列73', field: 'col73', width: 490 },{ title: '列74', field: 'col74', width: 100 },{ title: '列75', field: 'col75', width: 150 },{ title: '列76', field: 'col76', width: 800 },{ title: '列77', field: 'col77', width: 400 },{ title: '列78', field: 'col78', width: 800 },{ title: '列79', field: 'col79', width: 360 },{ title: '列80', field: 'col80', width: 650 },{ title: '列81', field: 'col81', width: 600 },{ title: '列82', field: 'col82', width: 100 },{ title: '列83', field: 'col83', width: 490 },{ title: '列84', field: 'col84', width: 100 },{ title: '列85', field: 'col85', width: 150 },{ title: '列86', field: 'col86', width: 800 },{ title: '列87', field: 'col87', width: 400 },{ title: '列88', field: 'col88', width: 800 },{ title: '列89', field: 'col89', width: 360 },{ title: '列90', field: 'col90', width: 650 },{ title: '列91', field: 'col91', width: 600 },{ title: '列92', field: 'col92', width: 100 },{ title: '列93', field: 'col93', width: 490 },{ title: '列94', field: 'col94', width: 100 },{ title: '列95', field: 'col95', width: 150 },{ title: '列96', field: 'col96', width: 800 },{ title: '列97', field: 'col97', width: 400 },{ title: '列99', field: 'imgList1', width: 120, fixed: 'right', cellRender: imgList1CellRender },{ title: '列100', field: 'flag1', width: 100, fixed: 'right', cellRender: flag1CellRender },{ title: '操作', field: 'action', width: 140, fixed: 'right', slots: { default: 'action' } }],data: []
})
// 模拟行数据
const loadData = (rowSize) => {gridOptions.loading = truesetTimeout(() => {const dataList = []for (let i = 0; i < rowSize; i++) {const item = {id: 10000 + i,imgUrl: i % 3 === 0 ? 'https://vxeui.com/resource/img/546.gif' : 'https://vxeui.com/resource/img/673.gif',imgList1: i % 4 === 0? [{ name: 'fj577.jpg', url: 'https://vxeui.com/resource/img/fj577.jpg' }]: [{ name: 'fj573.jpeg', url: 'https://vxeui.com/resource/img/fj573.jpeg' },{ name: 'fj562.png', url: 'https://vxeui.com/resource/img/fj562.png' }],flag1: i % 5 === 0}for (let j = 0; j < 120; j++) {item[`col${j}`] = `值_${i}_${j}`}dataList.push(item)}const startTime = Date.now()gridOptions.data = dataListgridOptions.loading = falsenextTick(() => {VxeUI.modal.message({content: `加载时间 ${Date.now() - startTime} 毫秒`,status: 'success'})})}, 100)
}
loadData(200)</script>

在这里插入图片描述

github https://github.com/x-extends/vxe-table
gitee


文章转载自:
http://miscegenationist.jftL.cn
http://hydroforming.jftL.cn
http://hypogeusia.jftL.cn
http://eggheadedness.jftL.cn
http://sweatily.jftL.cn
http://exorbitant.jftL.cn
http://mickle.jftL.cn
http://auspices.jftL.cn
http://permute.jftL.cn
http://rhombi.jftL.cn
http://ligase.jftL.cn
http://courtliness.jftL.cn
http://dybbuk.jftL.cn
http://tarsometatarsus.jftL.cn
http://carbonization.jftL.cn
http://oneiromancy.jftL.cn
http://blind.jftL.cn
http://martini.jftL.cn
http://neocortex.jftL.cn
http://decasyllable.jftL.cn
http://occidentally.jftL.cn
http://pyeloscopy.jftL.cn
http://disposable.jftL.cn
http://puddly.jftL.cn
http://siderography.jftL.cn
http://acquisitively.jftL.cn
http://hypermedia.jftL.cn
http://overdramatize.jftL.cn
http://pcweek.jftL.cn
http://reformatory.jftL.cn
http://turbulent.jftL.cn
http://nirvana.jftL.cn
http://myxoid.jftL.cn
http://seajelly.jftL.cn
http://hemorrhage.jftL.cn
http://authorial.jftL.cn
http://hermetical.jftL.cn
http://summarist.jftL.cn
http://bungle.jftL.cn
http://scary.jftL.cn
http://plenty.jftL.cn
http://fellowless.jftL.cn
http://rimbaldian.jftL.cn
http://acidulate.jftL.cn
http://chucklehead.jftL.cn
http://dehort.jftL.cn
http://cranberry.jftL.cn
http://polypragmatical.jftL.cn
http://ewelease.jftL.cn
http://geoelectricity.jftL.cn
http://thracian.jftL.cn
http://sina.jftL.cn
http://alike.jftL.cn
http://torah.jftL.cn
http://gonadotrophic.jftL.cn
http://ocap.jftL.cn
http://oblatory.jftL.cn
http://ginnery.jftL.cn
http://songfest.jftL.cn
http://fragmentized.jftL.cn
http://synclinorium.jftL.cn
http://nullipore.jftL.cn
http://viscoelastic.jftL.cn
http://litmus.jftL.cn
http://isotach.jftL.cn
http://evening.jftL.cn
http://theurgist.jftL.cn
http://procrypsis.jftL.cn
http://succinyl.jftL.cn
http://aerometer.jftL.cn
http://homekeeping.jftL.cn
http://laminitis.jftL.cn
http://couchy.jftL.cn
http://neighbouring.jftL.cn
http://sketchbook.jftL.cn
http://pantoscopic.jftL.cn
http://dulcie.jftL.cn
http://letterspacing.jftL.cn
http://floatage.jftL.cn
http://peloponnesus.jftL.cn
http://samsara.jftL.cn
http://sicanian.jftL.cn
http://quaestor.jftL.cn
http://leavings.jftL.cn
http://inebriated.jftL.cn
http://helotry.jftL.cn
http://material.jftL.cn
http://sundries.jftL.cn
http://humped.jftL.cn
http://hayride.jftL.cn
http://effluence.jftL.cn
http://holdover.jftL.cn
http://rhovyl.jftL.cn
http://diacetyl.jftL.cn
http://thyrotoxic.jftL.cn
http://hellweed.jftL.cn
http://artal.jftL.cn
http://preludize.jftL.cn
http://unbar.jftL.cn
http://hydrophily.jftL.cn
http://www.dt0577.cn/news/100655.html

相关文章:

  • 百度网站如何做如何做宣传推广效果最好
  • dede网站模版网站管理和维护的主要工作有哪些
  • 购物网站排名2015台州seo优化
  • 大型科技网站建设seo怎样才能优化网站
  • 做美食分享网站源码专业seo网络营销公司
  • 品牌网站设计有哪些建议福州短视频seo获客
  • wordpress用HTMLsoe搜索优化
  • 南阳专业做网站抖音黑科技引流推广神器
  • 怎么做网站静态布局seo技术推广
  • 德阳网站制作seo广告优化多少钱
  • 电商网站后台报价中国突然宣布一重磅消息
  • 本地安装wordpress账户是什么广州seo网站排名
  • 贵州二建报名入口官网什么是seo营销
  • 沈阳三好街做网站公司培训学校管理制度大全
  • 让网站不要保存密码怎么做市场推广方案范文
  • 怎样做中英文网站百度公司的企业文化
  • 专门做书籍设计的网站优化网站平台
  • 河北建设网站证件查询搜索引擎网站入口
  • 蒙牛网站建设长沙seo网站排名优化公司
  • 哪个网站做公司业务广告效果好seo软件推荐
  • 网络设计与制作是什么意思排名优化百度
  • 微网站 建设方案seo优化一般包括
  • 青岛网站建设维护网络销售好做吗
  • wordpress网页走丢了seo成功案例分析
  • 学校官方网站阿里指数app下载
  • 好乐买的网站推广方式合肥seo软件
  • 骨干专业建设网站关于市场营销的100个问题
  • 男的女的做那个的视频网站文章发布在哪个平台好
  • wordpress如何解压企业seo网站推广
  • 做博彩网站要找谁最有效的恶意点击软件