1.0.7 • Published 2 years ago
@lpg/l-ui v1.0.7
l-ui
intro
基于 element-ui 二次开发
.
├── cdn
├── components
│ ├── ErrorPage
│ │ └── 404
│ ├── Pager 分页
│ └── table 表格
├── examples
├── lib
├── markdowns 说明文档
├── packages
├── scss
├── src
├── README
└── package.json
use
yarn add @lpg/l-ui
// main.js
import lui from '@lpg/l-ui'
import '@/scss'
Vue.use(lui)
// /src/scss/index.scss
@import '~@/scss/element-variables'; // 变量
$--font-path: '~element-ui/lib/theme-chalk/fonts'; // element字体
@import '~element-ui/packages/theme-chalk/src/index'; // element style
@import '~@lpg/l-ui/scss'; // lui style
// 需配置webpack自动后缀 extensions
// 若未配置,引入方式 import '@lpg/l-ui/scss/index.scss';
components
pager
table
notice
vue ie es6兼容
// vue.config.js
transpileDependencies:['@lpg/l-ui'],
version
1.0.0
- components
- table 组件
- ErrorPage 404 组件
- Pager 分页组件
- scss
- var 变量
- modules -> table
1.0.1
- ie 兼容性配置说明
- README 使用说明更新
- components -> table
- pxtorem
- 修复handle计算宽度
- 判断最长字数
- 修复相同个数操作按钮可能字数不同,导致按钮显示不全
- 最大值不一定字数最大,操作文字可能不同
1.0.2
- components -> table
- 组件问题解决方案
- 使用rem调节字体时,列表滑动边框位置错乱
- 解决方案 调节字体时重新渲染列表
- 无数据页面调整
- 添加配置项是否显示表头
- 添加配置项无数据显示文字
- 组件问题解决方案
- 说明文档补充
- markdowns -> table
1.0.3
- 说明文档补充
- markdowns -> table
- components -> pager
- 修复分页器中间页数显示bug
1.0.4
- 说明文档补充
- markdowns -> table
- markdowns -> pager
- components -> pager
- 样式调整
1.0.5
- components -> pager
- 修复分页器偶数显示bug
1.0.6
- 说明文档补充
- markdowns -> table
- components -> pager
- 样式调整取消,采用elementUi初始样式
- components -> table
- tableOptions -> formatterOptions 所设置列可通过参数配置handle
handle: [{ operationName: 'col.titleCode', urlPath: "methodName()", systemShow: '2' }]
触发methodName 事件
- tableOptions -> formatterOptions 所设置列可通过参数配置handle
1.0.7
- 说明文档补充
- markdowns -> table
- 新增 components -> ErrorPage404
- 新增 components -> ImageViewer
- 新增 markdowns -> ImageViewer