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

汽车网站开发流程电子商务网站建设渠道

汽车网站开发流程,电子商务网站建设渠道,网上做代销上哪个网站,室内设计和平面设计区别表格自定义表头的方式 多选框表头换文字 请查看上篇博客#xff1a;http://t.csdn.cn/69De2 文字换按钮 render-header render-header方法详情 Table-column Attributes 参数说明类型可选值默认值render-header列标题 Label 区域渲染使用的 FunctionFunction(h, { column, $in…表格自定义表头的方式 多选框表头换文字 请查看上篇博客http://t.csdn.cn/69De2 文字换按钮 render-header render-header方法详情 Table-column Attributes 参数说明类型可选值默认值render-header列标题 Label 区域渲染使用的 FunctionFunction(h, { column, $index })—— 代码 templatediv classBoxdiv!-- :header-cell-class-namecellClass --el-table refmultipleTable :datatableData :header-cell-class-namecellClass tooltip-effectdarkstylewidth: 500px selection-changehandleSelectionChangeel-table-column typeselection width55/el-table-columnel-table-column label日期 width120template slot-scopescope{{ scope.row.date }}/template/el-table-columnel-table-column label姓名 propname :render-header(h, obj) renderHeader(h, obj, 你的参数)width120el-button sizemini clickhandleEdit(scope.$index, scope.row)修改姓名/el-button/el-table-columnel-table-column propaddress label地址 show-overflow-tooltip/el-table-column/el-table/div/div /templatescript export default {name: list,data () {return {tableData: [{date: 2023-09-03,name: bug天选之子,address: https://blog.csdn.net/weixin_70245286?spm1000.2115.3001.5343}, {date: 2023-09-03,name: bug天选之子,address: https://blog.csdn.net/weixin_70245286?spm1000.2115.3001.5343}, {date: 2023-09-03,name: bug天选之子,address: https://blog.csdn.net/weixin_70245286?spm1000.2115.3001.5343}, {date: 2023-09-03,name: bug天选之子,address: https://blog.csdn.net/weixin_70245286?spm1000.2115.3001.5343},],multipleSelection: [],}},methods: {// 选中的项handleSelectionChange (val) {this.multipleSelection val;console.log(选中的项:, this.multipleSelection);},// 修改多选框表头cellClass (row) {// 判断第几列if (row.columnIndex 0) {return disableSelection;}},// 自定义表头renderHeader (h, { column, $index }, type) {// console.log(列表加载就会触发, h, { column, $index }, type)console.log(column.label);let that this// 逻辑是 h() 括号里包裹标签 第一个参数是标签名 第二个是属性 第三个是标签内容 如果是多个标签需要包裹数组return h(div, [// 列名称// h(span, column.label),// 按钮h(el-button, {props: {type: primary,size: small,},style: color:#fff;,// class: { active: showSelectMore },// class: className,on: {// 各种事件触发click: function () {that.clickButton(type)}}}, 姓名)],)},// 按钮点击事件clickButton (type) {console.log(我点击了 type 的列)// this.downLoad()},handleEdit (row) {}},mounted () {} } /scriptstyle scoped .Box {display: flex;justify-content: center;align-items: center; }::v-deep.el-table .disableSelection .cell .el-checkbox__inner {display: none;position: relative; }::v-deep.el-table .disableSelection .cell::before {content: 选项;position: absolute;right: 15px; }::v-deep.el-table {border: 1px solid blue; } /style效果图 关键代码总结 // 在要修改的那一列加render-header属性 el-table-column label姓名 propname :render-header(h, obj) renderHeader(h, obj, 你的参数)/el-table-column // methods中写方法 renderHeader (h, { column, $index }, type) {// console.log(列表加载就会触发, h, { column, $index }, type)console.log(column.label);let that this// 逻辑是 h() 括号里包裹标签 第一个参数是标签名 第二个是属性 第三个是标签内容 如果是多个标签需要包裹数组return h(div, [// 列名称// h(span, column.label),// 按钮h(el-button, {props: {type: primary,size: small,},style: color:#fff;,// class: { active: showSelectMore },// class: className,on: {// 各种事件触发click: function () {that.clickButton(type)}}}, 姓名)],)},
http://wiki.neutronadmin.com/news/306419/

相关文章:

  • 那个网站做百科好过自己做网站平台
  • 完备的常州网站优化东道设计属于什么档次
  • 做网站需要的照片c语言自学免费网站
  • 什么是网站内页兰州移动端网站建设
  • 自行网站建设费用预算扬州网站建设网站
  • 昆明网站建设c3sales小型企业管理软件哪个好
  • 天津企业网站建设哪家好宝安区住房和建设局
  • 网站备案怎么转入做网站模板
  • 做网站之前要先购买服务器吗免费推广软件流量精灵
  • 移动手机号码网站wordpress 微信通知
  • 关于设计方面的网站做英语手抄报 什么网站
  • 免费网页设计模板网站wordpress按标签筛选
  • 做美图 网站有哪些东西吗网站建设销售一个月营业额
  • 杭州自助建站模板下载网站前后台建设难吗
  • 大庆网站设计费用给公司在百度上做网站
  • 怎么用自己的电脑做网站服务器pythom+网站开发规范
  • 商丘市住房和城乡建设局网站wordpress如何添加子主题
  • 郑州网站关键网页浏览器主要通过ftp协议
  • 网站优化描述设置东莞网站建设怎么做
  • 有什么网站做投标设计湖南省工程建设信息官方网站
  • 厦门景观绿环建设行业协会网站网站开发的软件介绍
  • 房产门户网站平台搭建北京两学一做网站
  • 网站制作模板程序山东青岛网站建设公司哪家专业
  • 服务好质量好的网站制作上海建设工程咨询网官网
  • 制作网站制作学做ps的软件的网站
  • 企业网站定位重点专业建设验收网站
  • 网站制作方案大全ppt模板免费下载素材图片
  • 个人可以做自媒体网站吗图书馆网站建设目标
  • 邢台网站建设 冀icp备行业门户网站有哪些
  • php网站开发技术文档百度帐号注册