Compare commits

..

2 Commits

Author SHA1 Message Date
b50b04d707 Merge pull request '组件升级1.0.2' (#8) from zjl into develop
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #8
2023-07-14 15:04:24 +08:00
f2e3686d0d 组件升级1.0.2 2023-07-14 15:02:46 +08:00
4 changed files with 22 additions and 11 deletions

14
package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "code-brick-wd", "name": "code-brick-wd",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"code-brick-zj": "^0.1.0", "code-brick-zj": "^1.0.2",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"element-ui": "^2.15.12", "element-ui": "^2.15.12",
"vue": "^2.6.14", "vue": "^2.6.14",
@ -4007,9 +4007,9 @@
} }
}, },
"node_modules/code-brick-zj": { "node_modules/code-brick-zj": {
"version": "0.1.0", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.1.0.tgz", "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-1.0.2.tgz",
"integrity": "sha512-vEymEN/28lEJP3045DCE/7143SXjdNyNmWZuy3/NcIUP/e9YOjhm46itzjNWCjJZCI6vWvQkCD1EfmA4hPknuw==" "integrity": "sha512-V8XwYqXjIPMfPCaZMja4I2MJPT45EEnzRmTL1Ps6aMsmUQ/PhZ48OwUvddBFNqNZeVV13aPm1b5K1c3ogfad8Q=="
}, },
"node_modules/color-convert": { "node_modules/color-convert": {
"version": "1.9.3", "version": "1.9.3",
@ -14473,9 +14473,9 @@
} }
}, },
"code-brick-zj": { "code-brick-zj": {
"version": "0.1.0", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.1.0.tgz", "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-1.0.2.tgz",
"integrity": "sha512-vEymEN/28lEJP3045DCE/7143SXjdNyNmWZuy3/NcIUP/e9YOjhm46itzjNWCjJZCI6vWvQkCD1EfmA4hPknuw==" "integrity": "sha512-V8XwYqXjIPMfPCaZMja4I2MJPT45EEnzRmTL1Ps6aMsmUQ/PhZ48OwUvddBFNqNZeVV13aPm1b5K1c3ogfad8Q=="
}, },
"color-convert": { "color-convert": {
"version": "1.9.3", "version": "1.9.3",

View File

@ -8,7 +8,7 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"code-brick-zj": "^0.1.0", "code-brick-zj": "^1.0.2",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"element-ui": "^2.15.12", "element-ui": "^2.15.12",
"vue": "^2.6.14", "vue": "^2.6.14",

View File

@ -3,9 +3,16 @@
<p> <p>
组件包目前封装常用的四个组件:表格搜索区域分页对话框包npm地址为https://www.npmjs.com/package/code-brick-zj 组件包目前封装常用的四个组件:表格搜索区域分页对话框包npm地址为https://www.npmjs.com/package/code-brick-zj
</p> </p>
<p>文档当前使用的组件包的版本为0.1.0</p> <p>文档当前使用的组件包的版本为1.0.2</p>
<div class="block"> <div class="block">
<el-timeline> <el-timeline>
<el-timeline-item timestamp="2023/2/28" placement="top">
<el-card>
<h4>修改</h4>
<h4>搜索栏增加展开收起的样式</h4>
<p>组件版本号为1.0.2</p>
</el-card>
</el-timeline-item>
<el-timeline-item timestamp="2023/2/28" placement="top"> <el-timeline-item timestamp="2023/2/28" placement="top">
<el-card> <el-card>
<h4>新增</h4> <h4>新增</h4>

View File

@ -145,20 +145,24 @@
</div> </div>
<div class="demo-box"> <div class="demo-box">
<h3>Cascader 级联选择器</h3> <h3>Cascader 级联选择器</h3>
<div style="height: 120px"> <div>
<SearchBar <SearchBar
:formConfigs="formConfig22" :formConfigs="formConfig22"
:isFold="true"
@headBtnClick="headBtnClickCascader" @headBtnClick="headBtnClickCascader"
/> />
</div> </div>
<el-collapse> <el-collapse>
<el-collapse-item title="显示代码"> <el-collapse-item title="显示代码">
<div class="description"></div> <div class="description">
搜索条件过多的可以使用展开收起功能<code>isFold</code>属性的值为true即可
</div>
<div> <div>
<pre> <pre>
&lt;<span>template</span>&gt; &lt;<span>template</span>&gt;
&lt;SearchBar &lt;SearchBar
:formConfigs="formConfig22" :formConfigs="formConfig22"
:isFold="true"
@headBtnClick="headBtnClickCascader" /&gt; @headBtnClick="headBtnClickCascader" /&gt;
&lt;<span>/template</span>&gt; &lt;<span>/template</span>&gt;
&lt;script&gt; &lt;script&gt;