hy-app 0.1.1

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.
Files changed (206) hide show
  1. package/README.md +42 -0
  2. package/api/http.ts +138 -0
  3. package/api/index.ts +1 -0
  4. package/common/index.ts +1 -0
  5. package/common/versionControl.ts +102 -0
  6. package/components/dialog/TheDialog.vue +128 -0
  7. package/components/dialog/index.ts +38 -0
  8. package/components/hy-address-picker/hy-address-picker.vue +262 -0
  9. package/components/hy-address-picker/props.ts +27 -0
  10. package/components/hy-address-picker/typing.d.ts +98 -0
  11. package/components/hy-avatar/hy-avatar.vue +217 -0
  12. package/components/hy-avatar/props.ts +20 -0
  13. package/components/hy-avatar/typing.d.ts +64 -0
  14. package/components/hy-back-top/hy-back-top.vue +71 -0
  15. package/components/hy-back-top/props.ts +23 -0
  16. package/components/hy-back-top/typing.d.ts +49 -0
  17. package/components/hy-badge/hy-badge.vue +155 -0
  18. package/components/hy-badge/props.ts +19 -0
  19. package/components/hy-badge/typing.d.ts +60 -0
  20. package/components/hy-button/hy-button.vue +394 -0
  21. package/components/hy-button/props.ts +36 -0
  22. package/components/hy-button/typing.d.ts +125 -0
  23. package/components/hy-card/hy-card.vue +198 -0
  24. package/components/hy-card/props.ts +29 -0
  25. package/components/hy-card/typing.d.ts +112 -0
  26. package/components/hy-cell/hy-cell.vue +268 -0
  27. package/components/hy-cell/props.ts +20 -0
  28. package/components/hy-cell/typing.d.ts +98 -0
  29. package/components/hy-check-button/hy-check-button.vue +71 -0
  30. package/components/hy-check-button/props.ts +20 -0
  31. package/components/hy-check-button/typing.d.ts +79 -0
  32. package/components/hy-checkbox/hy-checkbox.vue +299 -0
  33. package/components/hy-checkbox/props.ts +28 -0
  34. package/components/hy-checkbox/typing.d.ts +77 -0
  35. package/components/hy-datetime-picker/hy-datetime-picker.vue +584 -0
  36. package/components/hy-datetime-picker/props.ts +36 -0
  37. package/components/hy-datetime-picker/typing.d.ts +135 -0
  38. package/components/hy-divider/hy-divider.vue +164 -0
  39. package/components/hy-divider/props.ts +21 -0
  40. package/components/hy-divider/typing.d.ts +64 -0
  41. package/components/hy-empty/hy-empty.vue +122 -0
  42. package/components/hy-empty/props.ts +21 -0
  43. package/components/hy-empty/typing.d.ts +68 -0
  44. package/components/hy-folding-panel/hy-folding-panel.vue +94 -0
  45. package/components/hy-folding-panel/props.ts +17 -0
  46. package/components/hy-folding-panel/typing.d.ts +59 -0
  47. package/components/hy-form/hy-form.vue +372 -0
  48. package/components/hy-form/props.ts +15 -0
  49. package/components/hy-form/typing.d.ts +51 -0
  50. package/components/hy-grid/hy-grid.vue +126 -0
  51. package/components/hy-grid/props.ts +16 -0
  52. package/components/hy-grid/typing.d.ts +62 -0
  53. package/components/hy-icon/hy-icon.vue +207 -0
  54. package/components/hy-icon/props.ts +24 -0
  55. package/components/hy-icon/typing.d.ts +80 -0
  56. package/components/hy-input/hy-input.vue +402 -0
  57. package/components/hy-input/props.ts +41 -0
  58. package/components/hy-input/typing.d.ts +148 -0
  59. package/components/hy-line/hy-line.vue +44 -0
  60. package/components/hy-line/props.ts +12 -0
  61. package/components/hy-line/typing.d.ts +32 -0
  62. package/components/hy-line-progress/hy-line-progress.vue +118 -0
  63. package/components/hy-line-progress/props.ts +12 -0
  64. package/components/hy-line-progress/typing.d.ts +28 -0
  65. package/components/hy-list/hy-list.vue +250 -0
  66. package/components/hy-list/props.ts +18 -0
  67. package/components/hy-list/typing.d.ts +50 -0
  68. package/components/hy-login/ThePhoneLogin.vue +106 -0
  69. package/components/hy-login/TheUserLogin.vue +391 -0
  70. package/components/hy-login/hy-login.vue +283 -0
  71. package/components/hy-login/props.ts +32 -0
  72. package/components/hy-login/typing.d.ts +60 -0
  73. package/components/hy-modal/hy-modal.vue +240 -0
  74. package/components/hy-modal/props.ts +24 -0
  75. package/components/hy-modal/typing.d.ts +70 -0
  76. package/components/hy-navbar/hy-navbar.vue +194 -0
  77. package/components/hy-navbar/props.ts +24 -0
  78. package/components/hy-navbar/typing.d.ts +81 -0
  79. package/components/hy-notice-bar/hy-column-notice.vue +130 -0
  80. package/components/hy-notice-bar/hy-notice-bar.vue +82 -0
  81. package/components/hy-notice-bar/hy-row-notice.vue +182 -0
  82. package/components/hy-notice-bar/props.ts +19 -0
  83. package/components/hy-notice-bar/typing.d.ts +56 -0
  84. package/components/hy-number-step/hy-number-step.vue +428 -0
  85. package/components/hy-number-step/props.ts +29 -0
  86. package/components/hy-number-step/typing.d.ts +104 -0
  87. package/components/hy-overlay/hy-overlay.vue +54 -0
  88. package/components/hy-overlay/props.ts +10 -0
  89. package/components/hy-overlay/typing.d.ts +24 -0
  90. package/components/hy-picker/hy-picker.vue +499 -0
  91. package/components/hy-picker/props.ts +30 -0
  92. package/components/hy-picker/typing.d.ts +115 -0
  93. package/components/hy-popup/hy-popup.vue +269 -0
  94. package/components/hy-popup/props.ts +21 -0
  95. package/components/hy-popup/typing.d.ts +68 -0
  96. package/components/hy-price/hy-price.vue +86 -0
  97. package/components/hy-price/props.ts +13 -0
  98. package/components/hy-price/typing.d.ts +36 -0
  99. package/components/hy-qrcode/hy-qrcode.vue +153 -0
  100. package/components/hy-qrcode/props.ts +20 -0
  101. package/components/hy-qrcode/qrcode.js +1364 -0
  102. package/components/hy-qrcode/typing.d.ts +64 -0
  103. package/components/hy-radio/hy-radio.vue +319 -0
  104. package/components/hy-radio/props.ts +28 -0
  105. package/components/hy-radio/typing.d.ts +85 -0
  106. package/components/hy-rate/hy-rate.vue +261 -0
  107. package/components/hy-rate/props.ts +18 -0
  108. package/components/hy-rate/typing.d.ts +60 -0
  109. package/components/hy-read-more/hy-read-more.vue +134 -0
  110. package/components/hy-read-more/props.ts +20 -0
  111. package/components/hy-read-more/typing.d.ts +44 -0
  112. package/components/hy-safe-bottom/hy-safe-bottom.vue +64 -0
  113. package/components/hy-scroll-list/hy-scroll-list.vue +146 -0
  114. package/components/hy-scroll-list/props.ts +12 -0
  115. package/components/hy-scroll-list/typing.d.ts +28 -0
  116. package/components/hy-search/hy-search.vue +294 -0
  117. package/components/hy-search/props.ts +29 -0
  118. package/components/hy-search/typing.d.ts +109 -0
  119. package/components/hy-slider/hy-slider.vue +511 -0
  120. package/components/hy-slider/props.ts +21 -0
  121. package/components/hy-slider/typing.d.ts +68 -0
  122. package/components/hy-steps/hy-steps.vue +352 -0
  123. package/components/hy-steps/props.ts +15 -0
  124. package/components/hy-steps/typing.d.ts +58 -0
  125. package/components/hy-subsection/hy-subsection.vue +272 -0
  126. package/components/hy-subsection/props.ts +16 -0
  127. package/components/hy-subsection/typing.d.ts +44 -0
  128. package/components/hy-swiper/hy-swiper-indicator.vue +105 -0
  129. package/components/hy-swiper/hy-swiper.vue +242 -0
  130. package/components/hy-swiper/props.ts +30 -0
  131. package/components/hy-swiper/typing.d.ts +107 -0
  132. package/components/hy-switch/hy-switch.vue +168 -0
  133. package/components/hy-switch/props.ts +16 -0
  134. package/components/hy-switch/typing.d.ts +48 -0
  135. package/components/hy-tabs/hy-tabs.vue +416 -0
  136. package/components/hy-tabs/props.ts +26 -0
  137. package/components/hy-tabs/typing.d.ts +86 -0
  138. package/components/hy-tag/hy-tag.vue +374 -0
  139. package/components/hy-tag/props.ts +22 -0
  140. package/components/hy-tag/typing.d.ts +76 -0
  141. package/components/hy-textarea/hy-textarea.vue +229 -0
  142. package/components/hy-textarea/props.ts +26 -0
  143. package/components/hy-textarea/typing.d.ts +27 -0
  144. package/components/hy-tooltip/hy-tooltip.vue +332 -0
  145. package/components/hy-tooltip/props.ts +17 -0
  146. package/components/hy-tooltip/typing.d.ts +52 -0
  147. package/components/hy-transition/hy-transition.vue +150 -0
  148. package/components/hy-transition/index.scss +113 -0
  149. package/components/hy-transition/props.ts +10 -0
  150. package/components/hy-transition/typing.d.ts +36 -0
  151. package/components/hy-upload/hy-upload.vue +557 -0
  152. package/components/hy-upload/props.ts +29 -0
  153. package/components/hy-upload/typing.d.ts +147 -0
  154. package/components/hy-warn/hy-warn.vue +228 -0
  155. package/components/hy-warn/props.ts +14 -0
  156. package/components/hy-warn/typing.d.ts +40 -0
  157. package/components/hy-waterfall/hy-waterfall.vue +51 -0
  158. package/components/hy-waterfall/props.ts +10 -0
  159. package/components/hy-waterfall/typing.d.ts +20 -0
  160. package/components/index.ts +162 -0
  161. package/components/message/TheMessage.vue +169 -0
  162. package/components/message/index.ts +54 -0
  163. package/components/u-form/form.js +22 -0
  164. package/components/u-form/hy-form.vue +324 -0
  165. package/components/u-form/props.js +49 -0
  166. package/components/u-form/schema.js +1451 -0
  167. package/components/u-form/u-form.vue +267 -0
  168. package/components/u-form/utils.js +65 -0
  169. package/components/u-form-item/formItem.js +24 -0
  170. package/components/u-form-item/hy-form-item.vue +360 -0
  171. package/components/u-form-item/props.js +57 -0
  172. package/components/u-form-item/u-form-item.vue +294 -0
  173. package/components/yk-dialog/yk-dialog.vue +129 -0
  174. package/components/yk-tabbar/props.ts +49 -0
  175. package/components/yk-tabbar/yk-tabbar.vue +224 -0
  176. package/config/color.ts +6 -0
  177. package/config/icon.ts +366 -0
  178. package/config/index.ts +2 -0
  179. package/global/index.ts +6 -0
  180. package/global/register-properties.ts +37 -0
  181. package/index.ts +8 -0
  182. package/libs/css/common.scss +0 -0
  183. package/libs/css/iconfont.css +379 -0
  184. package/libs/css/iconfont.ttf +0 -0
  185. package/libs/css/mixin.scss +15 -0
  186. package/package.json +42 -0
  187. package/public/icons/error.png +0 -0
  188. package/public/icons/success.png +0 -0
  189. package/public/icons/warning.png +0 -0
  190. package/store/index.ts +1 -0
  191. package/store/userInfo.ts +25 -0
  192. package/theme.scss +94 -0
  193. package/typing/index.ts +7 -0
  194. package/typing/modules/common.d.ts +50 -0
  195. package/typing/modules/dialog.ts +17 -0
  196. package/typing/modules/enum.ts +67 -0
  197. package/typing/modules/form.ts +161 -0
  198. package/typing/modules/http.ts +68 -0
  199. package/typing/modules/icon.d.ts +366 -0
  200. package/typing/modules/img.ts +15 -0
  201. package/typing/modules/rect.ts +10 -0
  202. package/utils/address.json +5890 -0
  203. package/utils/base64.ts +119 -0
  204. package/utils/index.ts +3 -0
  205. package/utils/inside.ts +310 -0
  206. package/utils/utils.ts +446 -0
@@ -0,0 +1,71 @@
1
+ <template>
2
+ <HyTransition mode="fade" :customStyle="backTopStyle" :show="show">
3
+ <slot>
4
+ <view class="hy-back-top" :style="contentStyle" @click="backToTop">
5
+ <HyIcon :name="icon" :custom-style="iconStyle"></HyIcon>
6
+ <text v-if="text" class="hy-back-top__text">{{ text }}</text>
7
+ </view>
8
+ </slot>
9
+ </HyTransition>
10
+ </template>
11
+
12
+ <script setup lang="ts">
13
+ import { computed, CSSProperties, toRefs } from "vue";
14
+ import defaultProps from "../hy-list/props";
15
+ import IProps from "../hy-list/typing";
16
+ // 组件
17
+ import HyTransition from "../hy-transition/hy-transition.vue";
18
+ import HyIcon from "../hy-icon/hy-icon.vue";
19
+ import { addUnit, getPx } from "../../utils";
20
+
21
+ const props = withDefaults(defineProps<IProps>(), defaultProps);
22
+ const { customStyle, duration, mode, bottom, right, top, scrollTop } =
23
+ toRefs(props);
24
+ const emit = defineEmits(["click"]);
25
+
26
+ const backTopStyle = computed<CSSProperties>(() => {
27
+ return {
28
+ bottom: addUnit(bottom.value),
29
+ right: addUnit(right.value),
30
+ width: "40px",
31
+ height: "40px",
32
+ position: "fixed",
33
+ zIndex: 10
34
+ };
35
+ });
36
+ const contentStyle = computed<CSSProperties>(() => {
37
+ const style: CSSProperties = {
38
+ borderRadius: mode.value === "circle" ? "50%" : "4px"
39
+ };
40
+ return Object.assign(style, customStyle.value);
41
+ });
42
+ const show = computed<boolean>(() => {
43
+ return getPx(scrollTop.value) > getPx(top.value);
44
+ });
45
+ const backToTop = () => {
46
+ uni.pageScrollTo({
47
+ scrollTop: 0,
48
+ duration: duration.value
49
+ });
50
+ emit("click");
51
+ };
52
+ </script>
53
+
54
+ <style lang="scss" scoped>
55
+ @import "../../libs/css/mixin.scss";
56
+
57
+ .hy-back-top {
58
+ @include flex;
59
+ flex-direction: column;
60
+ align-items: center;
61
+ flex: 1;
62
+ height: 100%;
63
+ justify-content: center;
64
+ background-color: #e1e1e1;
65
+
66
+ &__tips {
67
+ font-size: 12px;
68
+ transform: scale(0.8);
69
+ }
70
+ }
71
+ </style>
@@ -0,0 +1,23 @@
1
+ import IProps from "./typing";
2
+ import { IconConfig } from "../../config";
3
+
4
+ const defaultProps: IProps = {
5
+ mode: "circle",
6
+ icon: IconConfig.DOWNLOAD,
7
+ text: "",
8
+ duration: 500,
9
+ scrollTop: 0,
10
+ top: 400,
11
+ bottom: 100,
12
+ right: 20,
13
+ zIndex: 888,
14
+ iconStyle: {
15
+ color: "#909399",
16
+ fontSize: "19px"
17
+ },
18
+ customStyle: {
19
+ transform: "rotate(180deg)"
20
+ }
21
+ };
22
+
23
+ export default defaultProps;
@@ -0,0 +1,49 @@
1
+ import { CSSProperties } from "vue";
2
+ import { IconConfig } from "../../config";
3
+
4
+ export default interface IProps {
5
+ /**
6
+ * @description 返回顶部的形状,circle-圆形,square-方形 (默认 'circle' )
7
+ * */
8
+ mode?: HyApp.ShapeType;
9
+ /**
10
+ * @description 自定义图标 (默认 'arrow-upward' ) 见官方文档示例
11
+ * */
12
+ icon?: string;
13
+ /**
14
+ * @description 提示文字
15
+ * */
16
+ text?: string;
17
+ /**
18
+ * @description 返回顶部滚动时间 (默认 500)
19
+ * */
20
+ duration?: number;
21
+ /**
22
+ * @description 滚动距离 (默认 0 )
23
+ * */
24
+ scrollTop?: number;
25
+ /**
26
+ * @description 距离顶部多少距离显示,单位px (默认 400 )
27
+ * */
28
+ top?: number | string;
29
+ /**
30
+ * @description 返回顶部按钮到底部的距离,单位px (默认 100 )
31
+ * */
32
+ bottom?: number | string;
33
+ /**
34
+ * @description 返回顶部按钮到右边的距离,单位px (默认 20 )
35
+ * */
36
+ right?: number | string;
37
+ /**
38
+ * @description 层级 (默认 888 )
39
+ * */
40
+ zIndex?: number;
41
+ /**
42
+ * @description 图标的样式,对象形式 (默认 {color: '#909399',fontSize: '19px'})
43
+ * */
44
+ iconStyle?: CSSProperties;
45
+ /**
46
+ * @description 定义需要用到的外部样式(默认{transform: "rotate(180deg)"})
47
+ * */
48
+ customStyle?: CSSProperties;
49
+ }
@@ -0,0 +1,155 @@
1
+ <template>
2
+ <text
3
+ v-if="show && ((Number(value) === 0 ? showZero : true) || isDot)"
4
+ :class="[
5
+ 'hy-badge',
6
+ isDot ? 'hy-badge--dot' : 'hy-badge--not-dot',
7
+ inverted && 'hy-badge--inverted',
8
+ shape === 'horn' && 'hy-badge--horn',
9
+ `hy-badge--${type}${inverted ? '--inverted' : ''}`
10
+ ]"
11
+ :style="[customStyle, badgeStyle]"
12
+ >{{ isDot ? "" : showValue }}</text
13
+ >
14
+ </template>
15
+
16
+ <script setup lang="ts">
17
+ import IProps from "./typing";
18
+ import defaultProps from "./props";
19
+ import { computed, CSSProperties, toRefs } from "vue";
20
+ import { addUnit } from "../../utils";
21
+
22
+ const props = withDefaults(defineProps<IProps>(), defaultProps);
23
+ const {
24
+ value,
25
+ bgColor,
26
+ color,
27
+ numberType,
28
+ absolute,
29
+ offset,
30
+ inverted,
31
+ max,
32
+ customStyle
33
+ } = toRefs(props);
34
+ const emit = defineEmits(["click"]);
35
+
36
+ /**
37
+ * @description 整个组件的样式
38
+ * */
39
+ const badgeStyle = computed<CSSProperties>(() => {
40
+ const style: CSSProperties = {};
41
+ if (color.value) {
42
+ style.color = color.value;
43
+ }
44
+ if (bgColor.value && !inverted.value) {
45
+ style.backgroundColor = bgColor.value;
46
+ }
47
+ if (absolute.value) {
48
+ style.position = "absolute";
49
+ // 如果有设置offset参数
50
+ if (offset.value && Array.isArray(offset.value)) {
51
+ // top和right分为为offset的第一个和第二个值,如果没有第二个值,则right等于top
52
+ const top = offset.value[0];
53
+ const right = offset.value[1] || top;
54
+ style.top = addUnit(top);
55
+ style.left = addUnit(right);
56
+ }
57
+ }
58
+ return style;
59
+ });
60
+ /**
61
+ * @description 显示值
62
+ * */
63
+ const showValue = computed(() => {
64
+ switch (numberType.value) {
65
+ case "overflow":
66
+ return Number(value.value) > Number(max.value)
67
+ ? max.value + "+"
68
+ : value.value;
69
+ case "ellipsis":
70
+ return Number(value.value) > Number(max.value) ? "..." : value.value;
71
+ case "limit":
72
+ return Number(value.value) > 999
73
+ ? Number(value.value) >= 9999
74
+ ? Math.floor((value.value / 1e4) * 100) / 100 + "w"
75
+ : Math.floor((value.value / 1e3) * 100) / 100 + "k"
76
+ : value.value;
77
+ default:
78
+ return Number(value.value);
79
+ }
80
+ });
81
+ </script>
82
+
83
+ <style lang="scss" scoped>
84
+ @import "../../libs/css/mixin.scss";
85
+ @import "../../theme.scss";
86
+
87
+ $hy-badge-dot-size: 8px !default;
88
+ $hy-badge-text-font-size: 11px !default;
89
+
90
+ .hy-badge {
91
+ border-radius: 100px;
92
+ @include flex;
93
+ line-height: $hy-badge-text-font-size;
94
+ text-align: center;
95
+ font-size: $hy-badge-text-font-size;
96
+ color: $hy-text-color-inverse;
97
+
98
+ &--dot {
99
+ height: $hy-badge-dot-size;
100
+ width: $hy-badge-dot-size;
101
+ }
102
+
103
+ &--inverted {
104
+ font-size: 13px;
105
+ }
106
+
107
+ &--not-dot {
108
+ padding: 2px 5px;
109
+ }
110
+
111
+ &--horn {
112
+ border-bottom-left-radius: 0;
113
+ }
114
+
115
+ &--primary {
116
+ background-color: $hy-primary;
117
+ }
118
+
119
+ &--primary--inverted {
120
+ color: $hy-primary;
121
+ }
122
+
123
+ &--error {
124
+ background-color: $hy-error;
125
+ }
126
+
127
+ &--error--inverted {
128
+ color: $hy-error;
129
+ }
130
+
131
+ &--success {
132
+ background-color: $hy-success;
133
+ }
134
+
135
+ &--success--inverted {
136
+ color: $hy-success;
137
+ }
138
+
139
+ &--info {
140
+ background-color: $hy-info;
141
+ }
142
+
143
+ &--info--inverted {
144
+ color: $hy-info;
145
+ }
146
+
147
+ &--warning {
148
+ background-color: $hy-warning;
149
+ }
150
+
151
+ &--warning--inverted {
152
+ color: $hy-warning;
153
+ }
154
+ }
155
+ </style>
@@ -0,0 +1,19 @@
1
+ import IProps from "./typing";
2
+
3
+ const defaultProps: IProps = {
4
+ isDot: false,
5
+ value: 0,
6
+ show: true,
7
+ max: 999,
8
+ type: "error",
9
+ showZero: false,
10
+ bgColor: null,
11
+ color: null,
12
+ shape: "circle",
13
+ numberType: "overflow",
14
+ offset: null,
15
+ inverted: false,
16
+ absolute: false
17
+ };
18
+
19
+ export default defaultProps;
@@ -0,0 +1,60 @@
1
+ import { CSSProperties } from "vue";
2
+
3
+ export default interface IProps {
4
+ /**
5
+ * @description 是否显示圆点 (默认 false )
6
+ * */
7
+ isDot?: boolean;
8
+ /**
9
+ * @description 显示的内容
10
+ * */
11
+ value?: number;
12
+ /**
13
+ * @description 是否显示 (默认 true )
14
+ * */
15
+ show?: boolean;
16
+ /**
17
+ * @description 最大值,超过最大值会显示 '{max}+' (默认999)
18
+ * */
19
+ max?: number;
20
+ /**
21
+ * @description 主题类型,error|warning|success|primary (默认 'error' )
22
+ * */
23
+ type?: HyApp.ThemeType;
24
+ /**
25
+ * @description 当数值为 0 时,是否展示 Badge (默认 false )
26
+ * */
27
+ showZero?: boolean;
28
+ /**
29
+ * @description 背景颜色,优先级比type高,如设置,type参数会失效
30
+ * */
31
+ bgColor?: string | null;
32
+ /**
33
+ * @description 字体颜色 (默认 '#ffffff' )
34
+ * */
35
+ color?: string | null;
36
+ /**
37
+ * @description 徽标形状,circle-四角均为圆角,horn-左下角为直角 (默认 'circle' )
38
+ * */
39
+ shape?: "circle" | "horn";
40
+ /**
41
+ * @description 设置数字的显示方式,overflow|ellipsis|limit (默认 'overflow' )
42
+ * */
43
+ numberType?: "overflow" | "ellipsis" | "limit";
44
+ /**
45
+ * @description 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
46
+ * */
47
+ offset?: number[] | null;
48
+ /**
49
+ * @description 是否反转背景和字体颜色(默认 false )
50
+ * */
51
+ inverted?: boolean;
52
+ /**
53
+ * @description 是否绝对定位(默认 false )
54
+ * */
55
+ absolute?: boolean;
56
+ /**
57
+ * @description 定义需要用到的外部样式
58
+ * */
59
+ customStyle?: CSSProperties;
60
+ }