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

网站首页置顶是怎么做网站ui设计基础

网站首页置顶是怎么做,网站ui设计基础,国内类似wordpress平台,产品开发流程8个步骤产品经理与项目经理记录下el-card 组合 el-descriptions 实现动态展示信息 文章结构 实现效果1. el-descriptions 组件使用1.1 结合v-for实现列表渲染1.2 解析 2. 自定义 el-descriptions 样式2.1 修改背景色、字体颜色2.2 调整字体大小2.3 解析 3. el-card 结合 el-descriptions 作为信息展示3.…记录下el-card 组合 el-descriptions 实现动态展示信息 文章结构 实现效果1. el-descriptions 组件使用1.1 结合v-for实现列表渲染1.2 解析 2. 自定义 el-descriptions 样式2.1 修改背景色、字体颜色2.2 调整字体大小2.3 解析 3. el-card 结合 el-descriptions 作为信息展示3.1 代码3.2 解析 4. el-card 标题分割线优化4.1 涉及style4.2 解析 实现效果 1. el-descriptions 组件使用 1.1 结合v-for实现列表渲染 el-descriptions :column1el-descriptions-item v-for(label, index) in item.labels :keyindex :labellabel{{ item.params[index] }}/el-descriptions-item /el-descriptions1.2 解析 :column1 设置 el-descriptions 每行只显示 1 列默认是 3 列。el-descriptions-item 通过 v-for 遍历 labels 和 params动态生成描述项。:labellabel 绑定每个 el-descriptions-item 的标题。 2. 自定义 el-descriptions 样式 2.1 修改背景色、字体颜色 /* 控制 el-descriptions 的背景透明 */ :deep(.el-descriptions), :deep(.el-descriptions__body) {background: transparent !important; }/* 控制 el-descriptions-item 的颜色 */ :deep(.el-descriptions-item) {background: transparent !important;color: white !important; }/* 控制 el-descriptions 的 label 和 content 颜色 */ :deep(.el-descriptions__label), :deep(.el-descriptions__content) {color: white !important; /* 让 el-descriptions 的文字变白 */ }2.2 调整字体大小 /* 标签部分左侧的 label */ :deep(.el-descriptions__label) {font-size: 16px !important; }/* 内容部分右侧的内容 */ :deep(.el-descriptions__content) {font-weight: bold;font-size: 17px !important; }2.3 解析 background: transparent 让 el-descriptions 和 el-descriptions-item 背景变透明。color: white 让 label 和 content 变成白色字体。font-size 和 font-weight: bold 调整 label 和 content 的字号和加粗状态。 3. el-card 结合 el-descriptions 作为信息展示 3.1 代码 el-card v-foritem in systemParam :keyitem.title shadowalways:style{background: linear-gradient(135deg, ${item.colorStart}, ${item.colorEnd}),color: white} template #headerspan stylecolor: white; font-size: 18px ; font-weight: bold;{{ item.title }}/span/templateel-descriptions :column1el-descriptions-item v-for(label, index) in item.labels :keyindex :labellabel{{ item.params[index] }}/el-descriptions-item/el-descriptions /el-card3.2 解析 每个 el-card 代表一个数据块。通过 linear-gradient 动态设置 el-card 背景颜色。el-descriptions 作为 el-card 内容展示详细参数信息。 4. el-card 标题分割线优化 4.1 涉及style /* el-card 自带的标题分割线和标题绑定过深不方便调整 */ /* 移除 el-card 自带的标题分割线 */ :deep(.el-card__header) {position: relative;border-bottom: none; }/* 自定义标题分割线 */ :deep(.el-card__header::after) {content: ; position: absolute;bottom: 0;left: 50%;width: 90%;height: 1px;background-color: rgba(255, 255, 255, 0.5);transform: translateX(-50%); }4.2 解析 border-bottom: none 取消 el-card 默认的底部边框。el-card__header::after 通过 伪元素 自定义一条更短的分割线。
http://www.w-s-a.com/news/219858/

相关文章:

  • wordpress 编辑器推动门户网站建设不断优化升级
  • 做游戏网站的前景温江区建设局网站
  • 济南做微网站推广做网站seo优化总结
  • 巢湖网站建设电话长沙大型互联网公司
  • wordpress站群主机海南人
  • 云南网站建设维护商业网站建设教程
  • 云南省滇中引水工程建设管理局网站jsp个人网站设计
  • 网站建设 域名业务 邮箱互联网装饰网站
  • 建设厅技工在哪个网站上查询有了网站模板 还要怎样做
  • 城市联盟网站怎么做百度云网站建设视频教程
  • 织梦cms 官方网站网页视频如何下载到电脑
  • 查询建设公司业绩网站国外外链平台
  • 搭建直播网站需要怎么做做石材网站步骤
  • 移动网站如何做权重wordpress 统计字数 插件
  • 编写网站的软件百度指数教程
  • 网站改版建议策划书做设计什么兼职网站
  • 北京做兼职网站文创产品设计流程
  • 南阳做玉器网站wordpress 图片被缩小
  • 自己做网站卖衣服cms做网站容易不
  • 安徽安搜做的网站怎么样手机网站商城建设答辩问题
  • 分析不同网站的优缺点房产网站定制
  • 深圳工业设计大展2021论坛与网站做优化哪个更好
  • 什么网站做招聘比较好网络营销渠道管理
  • 网站建设选择什么模式淘宝网站可以做轮播吗
  • 山西免费网站制作乌市高新区建设局网站
  • 公司网站建设费用会计处理手机app免费下载
  • 网站的做网站的公司网站有些什么内容
  • 网站新类型wordpress 随机文章
  • 电商网站建设会计分录朝阳市网站公司
  • 正邦网站建设 优帮云百姓网征婚