zhytech-ui-mobile 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/static/scss/index.scss +1 -0
- package/dist/static/scss/tabs.scss +18 -0
- package/dist/style.css +1 -1
- package/dist/types/components/dynamicForm/components/base/index.d.ts +2 -1
- package/dist/types/components/dynamicForm/components/layout/index.d.ts +2 -1
- package/dist/types/components/dynamicForm/types/abnormalCheckView.d.ts +19 -0
- package/dist/types/components/dynamicForm/types/componentAttribute/base/inputNumberAttribute.d.ts +28 -0
- package/dist/types/components/dynamicForm/types/componentAttribute/index.d.ts +3 -1
- package/dist/types/components/dynamicForm/types/componentAttribute/layout/tabsLayoutAttribute.d.ts +21 -0
- package/dist/types/components/dynamicForm/types/enum.d.ts +43 -0
- package/dist/types/components/dynamicForm/types/relevanceConditionView.d.ts +22 -0
- package/dist/types/hooks/useUtils.d.ts +6 -0
- package/dist/types/index.d.ts +780 -4
- package/dist/zhytech-ui-mobile.es.js +7360 -3247
- package/dist/zhytech-ui-mobile.umd.js +2 -2
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ import zhytechUIMobile from "zhytech-ui-mobile";
|
|
|
30
30
|
import "zhytech-ui-mobile/dist/style.css";
|
|
31
31
|
createApp(app).use(zhytechUIMobile)
|
|
32
32
|
```
|
|
33
|
-
#### 2
|
|
33
|
+
#### 2、主题色设置
|
|
34
34
|
目前支持传入主题色,默认主题色`#4d80f0` 设置方法如下:
|
|
35
35
|
2.1、在全局引入时设置主题色
|
|
36
36
|
```ts
|
|
@@ -46,7 +46,7 @@ setTheme("dark");
|
|
|
46
46
|
```
|
|
47
47
|
#### 3、使用组件
|
|
48
48
|
```html
|
|
49
|
-
<zhy-form-
|
|
49
|
+
<zhy-form-renderer :formData="formData"></zhy-form-renderer>
|
|
50
50
|
```
|
|
51
51
|
#### 4、使用组件提供的类型
|
|
52
52
|
```ts
|
|
@@ -62,8 +62,8 @@ setTheme("dark");
|
|
|
62
62
|
|
|
63
63
|
**V 1.0.0**
|
|
64
64
|
```html
|
|
65
|
-
1
|
|
66
|
-
|
|
65
|
+
1.动态表单渲染组件:配合zhytech-ui组件库(配套的PC端组件库)的zhy-form-designer组件使用
|
|
66
|
+
支持基础组件(文本、输入框、单选框、复选框)、高级组件(文件上传、图片上传)、应用组件(质控评分、公司人员选择组件、公司岗位选择组件)、布局组件(分组)。
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
> #### 后续计划:
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.zhy.wd-tabs {
|
|
2
|
+
border: 1px solid #999999;
|
|
3
|
+
.wd-tabs__nav {
|
|
4
|
+
background-color: #f2f3f5;
|
|
5
|
+
.wd-tabs__nav-item.is-active {
|
|
6
|
+
background-color: #ffffff;
|
|
7
|
+
}
|
|
8
|
+
.wd-tabs__line {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.wd-tabs__container {
|
|
13
|
+
height: calc(100% - 42px);
|
|
14
|
+
.wd-tabs__body {
|
|
15
|
+
overflow: auto;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|