From c2e01563fc47bdf25fd95dfc35e0bec9fd8a5b62 Mon Sep 17 00:00:00 2001
From: juzi <819872918@qq.com>
Date: Tue, 10 Jan 2023 09:58:18 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E9=83=A8=E5=88=86=E8=AF=B4=E6=98=8E?=
=?UTF-8?q?=E8=A1=A5=E5=85=85=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/table/singleHead.vue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/table/singleHead.vue b/src/views/table/singleHead.vue
index 086081b..8eeb7e5 100644
--- a/src/views/table/singleHead.vue
+++ b/src/views/table/singleHead.vue
@@ -17,9 +17,11 @@
第一列的图标可以控制表格列的显示和隐藏。序号列的宽度可以自定义,默认为70,参数为pageWidth
,类型为Number
- 默认序号列是左侧固定的,如果需要取消固定可以传入参数cancelPageFixed
值为true
,elementUI提供了doLayout
函数,对
+ 。默认序号列是左侧固定的,如果需要取消固定可以传入参数cancelPageFixed
值为true
,elementUI提供了doLayout
函数,对
Table 进行重新布局。当 Table
- 或其祖先元素由隐藏切换为显示时,可能需要调用此方法,具体用法如下demo
+ 或其祖先元素由隐藏切换为显示时,可能需要调用此方法,具体用法如下demo。cancelPageFixed
doLayout
函数在组件code-brick-zj0.0.6版本支持。
@@ -118,7 +120,7 @@stripe
属性可以创建带斑马纹的表格。它接受一个Boolean
,默认为false
, 设置为true
即为启用。默认情况下,Table - 组件是有竖直方向的边框的,如果需要取消,可以使用cancel-border
属性,它接受一个Boolean
,设置为true
即可取消边框。 + 组件是有竖直方向的边框的,如果需要取消,可以使用cancel-border
属性,它接受一个Boolean
,设置为true
即可取消边框,cancel-border
属性在组件code-brick-zj0.0.5版本支持。
From 5e049769a274d25af3b6ebb58c940e41724fdd39 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Tue, 10 Jan 2023 14:08:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=BD=95&=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E5=A2=9E=E5=8A=A0=E7=AB=96=E7=BA=BF=EF=BC=8C?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE2023.1.6=E6=97=A5UI=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 14 +++++++------- package.json | 2 +- src/views/home/introduce.vue | 31 ++++++++++++++++++++++++++++++- src/views/searchBar/searchBar.vue | 19 ++++++++++++++++++- 4 files changed, 56 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index e9ee0bd..a078555 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "code-brick-wd", "version": "0.1.0", "dependencies": { - "code-brick-zj": "^0.0.6", + "code-brick-zj": "^0.0.7", "core-js": "^3.8.3", "element-ui": "^2.15.12", "vue": "^2.6.14", @@ -4007,9 +4007,9 @@ } }, "node_modules/code-brick-zj": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.6.tgz", - "integrity": "sha512-8Wdr0J4v7zfmOLhG1fvDi5rPSkFB5r/onwi1GFdIZyiSwl5Xia61df11OdCFP8cPksL2hATiTTWs6WU/6s/cxA==" + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.7.tgz", + "integrity": "sha512-ZuhseY/9RUUUweAiTdumq5pJKAKAJxpvD8yjcVluY+cGDEKyoKzN9PjycPh2tUsE/gmwShfgrcIcm5DKcmzqvA==" }, "node_modules/color-convert": { "version": "1.9.3", @@ -14473,9 +14473,9 @@ } }, "code-brick-zj": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.6.tgz", - "integrity": "sha512-8Wdr0J4v7zfmOLhG1fvDi5rPSkFB5r/onwi1GFdIZyiSwl5Xia61df11OdCFP8cPksL2hATiTTWs6WU/6s/cxA==" + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.7.tgz", + "integrity": "sha512-ZuhseY/9RUUUweAiTdumq5pJKAKAJxpvD8yjcVluY+cGDEKyoKzN9PjycPh2tUsE/gmwShfgrcIcm5DKcmzqvA==" }, "color-convert": { "version": "1.9.3", diff --git a/package.json b/package.json index db4cd2c..014de0d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "code-brick-zj": "^0.0.6", + "code-brick-zj": "^0.0.7", "core-js": "^3.8.3", "element-ui": "^2.15.12", "vue": "^2.6.14", diff --git a/src/views/home/introduce.vue b/src/views/home/introduce.vue index 8f9b881..ff74511 100644 --- a/src/views/home/introduce.vue +++ b/src/views/home/introduce.vue @@ -3,7 +3,36 @@组件包目前封装常用的四个组件:表格,搜索区域,分页,对话框。包npm地址为:https://www.npmjs.com/package/code-brick-zj。
-文档当前使用的组件包的版本为:0.0.6
+文档当前使用的组件包的版本为:0.0.7
+++ ++ ++ +修改
+搜索区域UI样式更新,按2023.1.16的样式修改
+组件版本号为:0.0.7
++ ++ +修改
++ 1.table的序号列默认左侧固定,提供cancelPageFixed可以取消固定。 +
+2.提供方法doLayout,具体见文档基础表格下说明。
+组件版本号为:0.0.6
++ ++ +修改
+1.table改成默认有border的,需要无border的table另外传参数。
+2.css修改,适配没有sass-loader的项目
+组件版本号为:0.0.5
+