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

网站建设与制作的流程中国房地产信息网官网

网站建设与制作的流程,中国房地产信息网官网,网页设计模板html代码案例,.net怎么做网站注意#xff1a; 1、点击某行单元格添加选中样式#xff1b; 2、表格第一列数据单独添加样式#xff0c;比如#xff1a;加粗#xff1b; 3、表格表头添加样式#xff0c;比如#xff1a;修改背景色#xff1b; 先上代码#xff08;效果图在文章末尾#xff09; 1、点击某行单元格添加选中样式 2、表格第一列数据单独添加样式比如加粗 3、表格表头添加样式比如修改背景色 先上代码效果图在文章末尾 templatedivel-table sizesmallstylewidth: 100%;highlight-current-row:header-cell-styleheaderCellStyle():cell-class-nametableCellClassNamerow-keyindexcell-clickcellclick:cell-stylecellStyle:row-class-namerowClassName:datatableData el-table-columnlabel名称1propname1alignlefttemplate slot-scopescopespan{{ scope.row.name1}}/span/template/el-table-columnel-table-columnlabel名称2propname2aligncentertemplate slot-scopescopespan{{ scope.row.name2 || -}}/span/template/el-table-columnel-table-columnlabel名称3propname3aligncentertemplate slot-scopescopespan{{ scope.row.name3 || -}}/span/template/el-table-columnel-table-columnlabel名称4propname4aligncentertemplate slot-scopescopespan{{ scope.row.name4 || -}}/span/template/el-table-column/el-table/div /templatescript export default {name: ,components: {},props: {},data () {return {tableData: [{name1: 上海,name2: bbb,name3: ccc,name4: ddd,},{name1: 广州,name2: bb,name3: cc,name4: dd,},{name1: 厦门,name2: b,name3: c,name4: d,},{name1: 北京,name2: bbbb,name3: cccc,name4: dddd,}],cellClickRow:,cellClickColumn: ,}},created () {},mounted () {},computed: {},watch: {},methods: {// 表头样式headerCellStyle () {return {color: #333 !important, backgroundColor: #cedff3 !important,fontSize: 14px,fontWeight: 500,}},rowClassName ({row,rowIndex}) {// 点击时 添加小手样式if (rowIndex 2) {return addPointer}},tableCellClassName ({row,column,rowIndex,columnIndex}) {// 给行列索引赋值row.index rowIndexcolumn.index columnIndexif (columnIndex 0) {return columnFirstStyle} else {return columnOtherStyle}},cellclick (row, column, cell,event) {let clickRanking // 当前点击数据for(let i in row) {if (i column.property) {clickRanking row[i]}}// 点击厦门行点击的厦门数据不为空 且 厦门 标题不可点击if (row.name1 厦门 clickRanking clickRanking !厦门) {this.cellClickRow row.indexthis.cellClickColumn column.index}},cellStyle ({row, column, rowIndex, columnIndex}) {if (row.name1 厦门) {// 给所点击的 单元格添加样式if (row.index this.cellClickRow column.index this.cellClickColumn) {return border:1px solid #409eff; color:#2C89E5;font-weight: 700;} else {return }}},}, } /scriptstyle langscss scoped ::v-deep .columnFirstStyle{font-weight: 700;font-size: 14px;color: black; } ::v-deep .columnOtherStyle{font-size: 14px; } ::v-deep .addPointer{cursor: pointer; }/style展示效果图
http://www.zqtcl.cn/news/949243/

相关文章:

  • 麻涌网站建设河北网站建设联系方式
  • 建设银行官方网站打不开啊寮步仿做网站
  • 一个人可做几次网站备案峰峰网站建设
  • 怎么盗号网站怎么做北京高端网站设计外包公司
  • 著名的淘宝客网站wordpress博客内容预览
  • 成都网站seo公司甘肃网站建设推广
  • 做网站加班网站项目意义
  • 在虚拟机中如何做二级域名网站个人网站做哪种能赚钱
  • 贵州建设水利厅考试网站wordpress主查询翻页
  • 网站优化网络推广seo天津建设工程信息网几点更新
  • 兰州网站seo技术厂家比较实用的h5网页建设网站
  • 怎样让自己做的网站被百度收录动漫制作软件
  • 西安网站制作哪家公司好怎么向企业推销网站建设
  • 电子商务网站建设新闻深圳坂田网站设计公司有哪些
  • 上海电子商城网站制作wordpress循环该分类子分类
  • 茶山做网站教育网站建设计划书
  • 成品门户网站源码免费海外网络加速器免费
  • 企业网站怎么建设公司深圳企业招聘信息最新招聘信息
  • 天津网站经营性备案下载网站上的表格 怎么做
  • 胶州企业网站设计十大互联网营销公司
  • 视频解析wordpresswordpress 优化版本
  • 柳州网站建设哪家便宜广东省建设厅三库一平台
  • 云南城市建设官方网站wordpress和织梦哪个好
  • 国外企业招聘网站专门做外贸的网站有哪些
  • 陕西交通建设集团网站营销公司是什么意思
  • 网站建设自建与租用区别杭州建设局网站官网
  • 广告公司企业介绍seo研究中心怎么样
  • 苏州网站建设熊掌岳阳做网站哪家好
  • 深圳网站制作公司报价单宝塔做两个网站6
  • 百度站长工具怎么查排名贵港网站制作