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

济南建站公司网站网站的发布与推广怎么写

济南建站公司网站,网站的发布与推广怎么写,网站建设求职简历模板,泉州百度首页优化场景一&#xff1a;数据单列集中展示 例如&#xff0c;收购人信息有很多列&#xff0c;容易导致横向很长&#xff0c;所以需要到单列集中展示。 官方推荐使用slot渲染 代码示例&#xff1a; // template中编写需要展示的插槽内容HTML <template><Table ref"ta…

场景一:数据单列集中展示

例如,收购人信息有很多列,容易导致横向很长,所以需要到单列集中展示。

官方推荐使用slot渲染

在这里插入图片描述
代码示例:

// template中编写需要展示的插槽内容HTML
<template><Table ref="tableRef"><template #acquirerInfo><el-table-column label="收购人信息" :width="300"><template #default="scope"><div class="data-info"><p class="data-item">收购点:{{ scope.row['acquirer']['acquisition_name'] }}</p><p class="data-item">持卡人:{{ scope.row['acquirer']['username'] }}</p><p class="data-item">手机号:{{ scope.row['acquirer']['mobile'] }}</p><p class="data-item">身份证:{{ maskNumber(scope.row['acquirerRealname']['id_number']) }}</p></div></template></el-table-column></template><template #farmerInfo><el-table-column label="收款人信息" :width="300"><template #default="scope"><div class="data-info"><p class="data-item">收款人:{{ scope.row['farmer']['username'] }}</p><p class="data-item">身份证:{{ scope.row['acquirer']['username'] }}</p><p class="data-item">手机号:{{ scope.row['acquirer']['mobile'] }}</p><p class="data-item">身份证:{{ maskNumber(scope.row['acquirerRealname']['id_number']) }}</p><p class="data-item">银行卡:{{ maskNumber(scope.row['bank_no']) }}</p></div></template></el-table-column></template></Table>
</template>// column 字段中新增
{label: t('order.acquirer_info'),prop: 'acquirer.acquirer_info',align: 'center',operatorPlaceholder: t('Fuzzy query'),operator: false,width: 170,render: 'slot',slotName: 'acquirerInfo'
},// 样式设置 
<style scoped>
.data-info {font-family: 'Arial', sans-serif; /* 设置字体 */background-color: #f9f9f9; /* 背景色 */padding: 12px; /* 内边距 */border-radius: 6px; /* 边框圆角 */box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
}.data-item {margin-bottom: 8px; /* 每行之间的间距 */color: #333; /* 文本颜色 */font-size: 14px; /* 字体大小 */
}.data-label {font-weight: bold; /* 标签字体加粗 */color: #0a74da; /* 标签字体颜色 */
}.data-info p:last-child {margin-bottom: 0; /* 最后一行不加底部间距 */
}.el-table .cell {padding: 0; /* 去掉单元格的默认间距 */
}.el-table-column {padding-left: 10px;padding-right: 10px;
}/* 鼠标悬停效果 */
.el-table__row:hover {background-color: #f0f8ff; /* 悬停背景色 */
}.el-table__cell {padding: 12px; /* 单元格内间距 */
}/* 为表格头部设置样式 */
.el-table th {background-color: #e6f7ff; /* 表头背景色 */font-weight: bold; /* 表头字体加粗 */color: #555; /* 表头文字颜色 */text-align: center; /* 表头文字居中 */
}
</style>
http://www.dtcms.com/wzjs/591200.html

相关文章:

  • 临清网站制作公司机械营销网站建设案例
  • 做网站单页学建网站 必须学那些知识
  • 网站遮罩是什么怎样打开网站
  • 哈尔滨网络科技公司哪家好网站基础优化
  • 人工智能在线ai写作网站做电商到底如何赚钱
  • 做预算兼职的网站想要网站推广页面
  • asp.net做网站有何意义网站文字变白色代码怎么做
  • 网站的用户运营值得做吗网站备案网站名称怎么填
  • 定制网站建设案例课堂网站分享功能怎么做
  • 温州网站设计只找亿企邦长沙有哪些网络科技公司
  • 广东做网站公司网站建设的pest分析
  • 网站建设费用自建有什么网站做交流会
  • 玉环市建设局网站网站建设怎样提升形象与品牌价值
  • 网站后台设置关键字品牌定位的三要素
  • 专业设计网站的公司县城乡建设局网站
  • 巴中微信网站建设太原北京网站建设
  • 手机建网站公司娄底网站建设设计
  • 5个在线设计网站wordpress 自动图片
  • 做网站推广价格中国形象设计网
  • 为什么要做企业网站h5与wordpress
  • 深圳微信商城网站设计价格生成ppt的软件
  • 北湖区网站建设专业wordpress前台注册登入
  • 制作网站策划书企业网站建立制作
  • 东莞网站建设基本流程图在线图片制作工具大全
  • 鄂伦春网站建设湖南省网站备案
  • 中国第八冶金建设公司网站网络推广策划方案模板
  • 建网站要什么数字营销技术应用
  • 计算机网站建设 是什么意思推广普通话的重要性
  • 网站开发文本做网站时背景图片浮动
  • wordpress 静态内容无锡做网站优化哪家好