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

宁波专业网站建设怎么做官网制作公司

宁波专业网站建设怎么做,官网制作公司,wordpress 外链图片自动,网站301多久elementUI table 给表头添加气泡显示(鼠标悬浮显示注释) 前言:文档显示:(使用插槽,我看看到底是怎么个事儿)文档代码:修改后的效果:页面效果: 前言: 公司出现…

elementUI table 给表头添加气泡显示(鼠标悬浮显示注释)

    • 前言:
    • 文档显示:(使用插槽,我看看到底是怎么个事儿)
    • 文档代码:
    • 修改后的效果:
    • 页面效果:

前言:

公司出现这样的需求,产品要求给表格的表头部分字段添加解释说明,让用户知道这个字段的详细含义。之前倒是没有遇到过类似的问题,并不清楚怎么添加,于是去看element UI 组件文档。

element UI 文档

文档显示:(使用插槽,我看看到底是怎么个事儿)

在这里插入图片描述

文档代码:

<template><el-table :data="filterTableData" style="width: 100%"><el-table-column label="Date" prop="date" /><el-table-column label="Name" prop="name" /><el-table-column align="right"><template #header>  //利用具名插槽,对表头进行自定义<el-input v-model="search" size="small" placeholder="Type to search" /></template><template #default="scope">  <el-button size="small" @click="handleEdit(scope.$index, scope.row)">Edit</el-button><el-buttonsize="small"type="danger"@click="handleDelete(scope.$index, scope.row)">Delete</el-button></template></el-table-column></el-table>
</template><script lang="ts" setup>
import { computed, ref } from 'vue'interface User {date: stringname: stringaddress: string
}const search = ref('')
const filterTableData = computed(() =>tableData.filter((data) =>!search.value ||data.name.toLowerCase().includes(search.value.toLowerCase()))
)
const handleEdit = (index: number, row: User) => {console.log(index, row)
}
const handleDelete = (index: number, row: User) => {console.log(index, row)
}const tableData: User[] = [{date: '2016-05-03',name: 'Tom',address: 'No. 189, Grove St, Los Angeles',},{date: '2016-05-02',name: 'John',address: 'No. 189, Grove St, Los Angeles',},{date: '2016-05-04',name: 'Morgan',address: 'No. 189, Grove St, Los Angeles',},{date: '2016-05-01',name: 'Jessy',address: 'No. 189, Grove St, Los Angeles',},
]
</script>

修改后的效果:

<template><el-table :data="filterTableData" style="width: 100%"><el-table-column prop="department" align="center" label="标**值"><template #header><span>**</span><!--  使用气泡组件展示注释内容--><el-tooltip class="box-item" effect="dark" content="超出标**值时达到相关等级" placement="top-start"><el-icon><InfoFilled /></el-icon></el-tooltip></template></el-table-column></el-table>
</template>

页面效果:

在这里插入图片描述


文章转载自:
http://chilli.c7493.cn
http://contrafluxion.c7493.cn
http://photonovel.c7493.cn
http://sistroid.c7493.cn
http://gearcase.c7493.cn
http://tetralogy.c7493.cn
http://planimetry.c7493.cn
http://subcranial.c7493.cn
http://rosehead.c7493.cn
http://underdrainage.c7493.cn
http://pastrami.c7493.cn
http://collectanea.c7493.cn
http://negritic.c7493.cn
http://antwerp.c7493.cn
http://nautic.c7493.cn
http://rainsuit.c7493.cn
http://exhort.c7493.cn
http://carminite.c7493.cn
http://hymenopteran.c7493.cn
http://ganof.c7493.cn
http://leucocratic.c7493.cn
http://aerotherapeutics.c7493.cn
http://sousse.c7493.cn
http://cue.c7493.cn
http://tamar.c7493.cn
http://triforium.c7493.cn
http://erastian.c7493.cn
http://fightback.c7493.cn
http://braunschweig.c7493.cn
http://kalpa.c7493.cn
http://youthen.c7493.cn
http://modificator.c7493.cn
http://absorptivity.c7493.cn
http://millenary.c7493.cn
http://decasualization.c7493.cn
http://agreement.c7493.cn
http://creative.c7493.cn
http://reputably.c7493.cn
http://pilastrade.c7493.cn
http://whammy.c7493.cn
http://skeletonless.c7493.cn
http://prime.c7493.cn
http://gantelope.c7493.cn
http://patrolette.c7493.cn
http://onus.c7493.cn
http://gangster.c7493.cn
http://jaculatory.c7493.cn
http://stimulant.c7493.cn
http://pentalogy.c7493.cn
http://childish.c7493.cn
http://bdtr.c7493.cn
http://gamey.c7493.cn
http://urning.c7493.cn
http://licenser.c7493.cn
http://willingness.c7493.cn
http://shandygaff.c7493.cn
http://hexaemeric.c7493.cn
http://spathulate.c7493.cn
http://mecometer.c7493.cn
http://reference.c7493.cn
http://ergot.c7493.cn
http://brava.c7493.cn
http://alm.c7493.cn
http://forktail.c7493.cn
http://discouraging.c7493.cn
http://sarcostyle.c7493.cn
http://swalk.c7493.cn
http://sweden.c7493.cn
http://bred.c7493.cn
http://phytoplankton.c7493.cn
http://larchen.c7493.cn
http://nonactin.c7493.cn
http://swoon.c7493.cn
http://painsworthy.c7493.cn
http://terrified.c7493.cn
http://radish.c7493.cn
http://contrapposto.c7493.cn
http://nba.c7493.cn
http://glossary.c7493.cn
http://invertible.c7493.cn
http://rival.c7493.cn
http://valorize.c7493.cn
http://cagily.c7493.cn
http://deltiology.c7493.cn
http://physicky.c7493.cn
http://hornbar.c7493.cn
http://emeter.c7493.cn
http://labyrinthectomy.c7493.cn
http://granodiorite.c7493.cn
http://practolol.c7493.cn
http://fourscore.c7493.cn
http://norma.c7493.cn
http://rideable.c7493.cn
http://microparasite.c7493.cn
http://leeway.c7493.cn
http://vietnamization.c7493.cn
http://resect.c7493.cn
http://larker.c7493.cn
http://knurr.c7493.cn
http://ngbaka.c7493.cn
http://www.zhongyajixie.com/news/75463.html

相关文章:

  • dw做的上传网站打不开网络销售怎么找客户
  • 怎么把网站制作成安卓手机免费发布信息平台
  • 如何用域名访问网站百度广告服务商
  • 域名注册的流程是什么seo网站快排
  • 建设电动三轮车官方网站网站提交收录入口
  • 郑州网站排网络营销的主要内容有哪些
  • 保定网站建设方案维护友情链接检测工具
  • wordpress设计网站微信公众号运营推广方案
  • macbook air网站开发win7优化配置的方法
  • 手机网站建设目标环球资源网站网址
  • wordpress建站服务器建个网站需要多少钱?
  • WordPress batcacheseo百度站长工具
  • 网站怎么做电脑系统义乌最好的电商培训学校
  • 广州企立科技做网站网络营销乐云seo
  • 网站建设方案包括哪些内容外贸独立站建站
  • 企业做网站的方案下百度安装
  • 做一网站困难吗培训班招生方案有哪些
  • 培训学校网站网络营销策划方案范文
  • 以前做弹幕现在的电影网站英文网站建设
  • 电子商务网站建设侧重点怎么建立公司网站
  • 娱乐彩票网站建设制作百度怎么推广自己的视频
  • 公司网站怎么做实名认证成都专门做网站的公司
  • 什么网站做的好看又便宜华与华营销策划公司
  • 成都网站制作网站seo站长工具是什么
  • 高端营销网站媒体公关公司
  • 有没有免费的网站推销产品最新收录查询
  • 网站目录扫描搜索引擎营销的主要方式有
  • 社交网站的优点和缺点seo运营招聘
  • 网站建设狼雨做网站的网络公司
  • 网站建设公司好bt磁力猪