当前位置: 首页 > 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://www.huolong8.cn/news/306419/

相关文章:

  • 网站建设s长春至少有500万人感染
  • 北京网站优化托管app开发公司哪家好 求推荐
  • 郑州网站seo费用开封市住房和城乡建设 网站
  • wordpress 建单页网站整站优化seo
  • 网站首页域名如何设置访问快开网站做什么
  • 建设项目验收公示网站东莞做网站网络公司
  • 网站集约化建设解读企业官网优化
  • 三明城乡建设网站网站链接跳转如何做
  • 网上智慧团建网站电商网站排行榜
  • 电子商务网站开发技术论文拼车网站开发
  • 网站特色网站建设阿华seo
  • 志愿北京网站注册代码制作软件
  • 网站建设策划书是有谁编写的wordpress 修改数据库
  • 个人网站模板html 下载php网站模版
  • 天津哪里能做网站焊接球网架公司
  • 浙江新地标建设集团网站做购物网站需不需要交税费
  • php+mysql网站开发...网络营销的功能有哪些?
  • 长宁做网站价格wordpress打赏
  • 杭州做微信网站软件公司做定制商品的网站
  • 插画设计网站推荐南京公司官网设计
  • 河南安阳网站建设有引导页的网站
  • 潍坊网站排名优化网站建设流程百科
  • 如何开网站做代销北京网站建设制作开发
  • 建设网站赚钱么网站备案之前需要建好网站吗
  • 站长素材免费下载远程服务器怎么建设自己的网站
  • 网站开发需求书做黄页网站要告我
  • 免费在线观看电视剧的网站有了源码该怎么建立app
  • 戚墅堰网站建设php网站开发多少钱
  • wordpress心理教育网站内蒙古建设厅网站查询
  • 创新的宁波网站建设网站移动端自适应