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

界面规范4-按钮

1、一般位置按钮

height: 36px;

line-height: 36px;

background-color: #09c;

鼠标滑过:background-color: #4091fd;

圆角 vue代码如下:

            <el-button
round
type="primary"
size="mini"
>
<i class="el-icon-plus"></i> 新增
</el-button>

css控制:

.el-button{
font-size: $defaultTxtSize !important;
font-family: $defaultFontFamily;
}
.el-button--primary {
background-color: #09c !important;
}
.el-button--primary:hover {
background-color:#4091fd !important;
}

2、列表右侧操作栏按钮

vue:

<el-button
size="mini"
type="text"
>
<i class="el-icon-edit" /> 修改
</el-button>

css:

.el-button--text{
font-size: $defaultTxtSize !important;
font-family: $defaultFontFamily;
color: #1890ff !important;
}
.el-button--text:hover {   
color: #777 !important;
}

http://www.dtcms.com/a/313030.html

相关文章:

  • All the Mods 9 - To the Sky - atm9sky 局域网联机报错可能解决方法
  • spring batch处理数据模板(Reader-Processor-Writer模式)
  • 【Mysql】日志--错误日志、二进制日志、查询日志、慢查询日志
  • Timer实现定时调度的原理是什么?
  • Python开发环境PyCharm下载与安装
  • RSA 解密逻辑
  • Spring lookup-method实现原理深度解析
  • 悬挂的绳子,它的函数方程是什么样子的?
  • 嵌入式学习日志——数据结构(一)
  • RAG与智能体技术全景解析:架构革新、场景落地与未来趋势
  • 【前端:Html】--1.2.基础语法
  • Redis面试精讲 Day 10:Redis数据结构底层实现原理
  • RK3568 AB分区+OTA升级(Linux)
  • 在微信小程序中使用本地存储的方法
  • 《volatile 与 synchronized 底层实现与性能比较》
  • ubuntu syslog中appindicator报错解决
  • 深入理解C++缺省参数:从基础用法到最佳实践
  • 8-verilog-串口接收与发送模块
  • Python切片命名技术详解:提升代码可读性与维护性的专业实践
  • linux下jvm之jstack的使用
  • 洛谷——P1048 [NOIP 2005 普及组] 采药
  • 【openlayers框架学习】九:openlayers中的交互类(select和draw)
  • GaussDB SQL执行计划详解
  • Rust: 获取 MAC 地址方法大全
  • Zama的使命
  • 【读论文】KAG-Thinker:升级版RAG 框架
  • 推荐系统学习笔记(九)曝光过滤 Bloom Filter
  • 【DL学习笔记】感受野(Receptive Field)
  • 映射网络驱动器后,重启映射就没了
  • 王之凝视 免安中文 离线运行版