hy-app 0.2.1 → 0.2.4

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 (78) hide show
  1. package/components/hy-button/index.scss +2 -0
  2. package/components/hy-cell/index.scss +0 -15
  3. package/components/hy-code-input/hy-code-input.vue +224 -0
  4. package/components/hy-code-input/index.scss +108 -0
  5. package/components/hy-code-input/props.ts +21 -0
  6. package/components/hy-code-input/typing.d.ts +65 -0
  7. package/components/hy-config-provider/hy-config-provider.vue +0 -1
  8. package/components/hy-config-provider/props.ts +1 -1
  9. package/components/hy-dropdown/props.ts +1 -1
  10. package/components/hy-dropdown-item/hy-dropdown-item.vue +2 -5
  11. package/components/hy-dropdown-item/index.scss +11 -13
  12. package/components/hy-grid/hy-grid.vue +7 -8
  13. package/components/hy-grid/props.ts +4 -0
  14. package/components/hy-grid/typing.d.ts +15 -0
  15. package/components/hy-icon/index.scss +2 -1
  16. package/components/hy-login/TheUserLogin.vue +0 -1
  17. package/components/hy-menu/hy-menu.vue +159 -0
  18. package/components/hy-menu/index.scss +58 -0
  19. package/components/hy-menu/props.ts +12 -0
  20. package/components/hy-menu/typing.d.ts +57 -0
  21. package/components/hy-modal/hy-modal.vue +5 -5
  22. package/components/hy-modal/index.scss +0 -6
  23. package/components/hy-notify/hy-notify.vue +169 -0
  24. package/components/hy-notify/index.scss +25 -0
  25. package/components/hy-notify/props.ts +14 -0
  26. package/components/hy-notify/typing.d.ts +44 -0
  27. package/components/hy-pagination/hy-pagination.vue +125 -0
  28. package/components/hy-pagination/index.scss +46 -0
  29. package/components/hy-pagination/props.ts +15 -0
  30. package/components/hy-pagination/typing.d.ts +44 -0
  31. package/components/hy-picker/index.scss +4 -0
  32. package/components/hy-scroll-list/index.scss +1 -1
  33. package/components/hy-search/index.scss +1 -2
  34. package/components/hy-signature/canvasHelper.ts +51 -0
  35. package/components/hy-signature/hy-signature.vue +656 -0
  36. package/components/hy-signature/index.scss +29 -0
  37. package/components/hy-signature/props.ts +29 -0
  38. package/components/hy-signature/typing.d.ts +181 -0
  39. package/components/hy-slider/index.scss +5 -1
  40. package/components/hy-subsection/hy-subsection.vue +15 -13
  41. package/components/hy-subsection/props.ts +2 -2
  42. package/components/hy-subsection/typing.d.ts +1 -1
  43. package/components/hy-swipe-action/hy-swipe-action.vue +288 -248
  44. package/components/hy-swipe-action/index.scss +34 -0
  45. package/components/hy-swipe-action/index.ts +34 -0
  46. package/components/hy-swipe-action/props.ts +15 -9
  47. package/components/hy-swipe-action/typing.d.ts +20 -22
  48. package/components/hy-swiper/index.scss +5 -0
  49. package/components/hy-tabBar/hy-tabBar.vue +96 -0
  50. package/components/hy-tabBar/index.scss +169 -0
  51. package/components/hy-tabBar/props.ts +13 -0
  52. package/components/hy-tabBar/typing.d.ts +54 -0
  53. package/components/hy-tabs/index.scss +2 -2
  54. package/components/hy-tag/index.scss +1 -1
  55. package/components/hy-text/index.scss +2 -2
  56. package/components/hy-textarea/hy-textarea.vue +5 -5
  57. package/components/hy-textarea/index.scss +5 -6
  58. package/components/hy-tooltip/index.scss +2 -2
  59. package/components/hy-upload/index.scss +1 -2
  60. package/components/hy-watermark/hy-watermark.vue +603 -0
  61. package/components/hy-watermark/index.scss +15 -0
  62. package/components/hy-watermark/props.ts +23 -0
  63. package/components/hy-watermark/typing.d.ts +76 -0
  64. package/components/index.ts +2 -2
  65. package/composables/index.ts +1 -0
  66. package/composables/useTouch.ts +48 -0
  67. package/index.ts +1 -1
  68. package/libs/css/mixin.scss +52 -13
  69. package/libs/css/vars.css +12 -2
  70. package/package.json +2 -2
  71. package/theme.scss +24 -46
  72. package/typing/modules/common.d.ts +1 -1
  73. package/utils/inspect.ts +20 -0
  74. package/utils/utils.ts +52 -22
  75. package/components/hy-swipe-action/index.wxs +0 -235
  76. package/components/hy-swipe-action/wxs.js +0 -15
  77. package/components/yk-tabbar/props.ts +0 -49
  78. package/components/yk-tabbar/yk-tabbar.vue +0 -224
@@ -1,11 +1,13 @@
1
1
  @use "../../libs/css/mixin.scss" as *;
2
2
  @use "../../theme.scss" as *;
3
3
 
4
+
4
5
  @include b(button){
5
6
  height: 40px;
6
7
  position: relative;
7
8
  align-items: center;
8
9
  justify-content: center;
10
+ margin: 0;
9
11
  @include flex;
10
12
  /* #ifndef APP-NVUE */
11
13
  box-sizing: border-box;
@@ -25,21 +25,6 @@
25
25
  &__text {
26
26
  font-size: $hy-font-size-lg;
27
27
  }
28
- //&-nav {
29
- // display: flex;
30
- // align-items: center;
31
- //
32
- // &--ver {
33
- // border-radius: 4rpx;
34
- // width: 4px;
35
- // height: 20px;
36
- // margin-right: 16rpx;
37
- // }
38
- // &--text {
39
- // font-size: $hy-font-size-subtitle;
40
- // line-height: 16px;
41
- // }
42
- //}
43
28
  }
44
29
 
45
30
  /*row内容*/
@@ -0,0 +1,224 @@
1
+ <template>
2
+ <view class="hy-code-input">
3
+ <view
4
+ :class="[
5
+ 'hy-code-input--item',
6
+ `hy-code-input--item__${mode}`,
7
+ current > index && `hy-code-input--item__${mode}__border`,
8
+ isFocus && current === index && `hy-code-input--item__${mode}__active`,
9
+ ]"
10
+ :style="[itemStyle(index)]"
11
+ v-for="(item, index) in codeLength"
12
+ :key="index"
13
+ >
14
+ <view
15
+ class="hy-code-input--item__dot"
16
+ v-if="dot && current > index"
17
+ :style="{ color: color }"
18
+ ></view>
19
+ <text
20
+ v-else
21
+ class="hy-code-input--item__text"
22
+ :style="{
23
+ fontSize: addUnit(fontSize),
24
+ fontWeight: bold ? 'bold' : 'normal',
25
+ color: color,
26
+ }"
27
+ >{{ codeArray[index] }}</text
28
+ >
29
+ </view>
30
+ <input
31
+ :disabled="disabledKeyboard"
32
+ type="number"
33
+ :focus="focus"
34
+ :value="inputValue"
35
+ :maxlength="maxlength"
36
+ :adjustPosition="adjustPosition"
37
+ class="hy-code-input__input"
38
+ @input="inputHandler"
39
+ :style="{
40
+ height: boxSize,
41
+ }"
42
+ @focus="isFocus = true"
43
+ @blur="isFocus = false"
44
+ />
45
+ </view>
46
+ </template>
47
+
48
+ <script lang="ts">
49
+ export default {
50
+ name: "hy-code-input",
51
+ options: {
52
+ addGlobalClass: true,
53
+ virtualHost: true,
54
+ styleIsolation: "shared",
55
+ },
56
+ };
57
+ </script>
58
+
59
+ <script setup lang="ts">
60
+ import {
61
+ computed,
62
+ type CSSProperties,
63
+ nextTick,
64
+ onUnmounted,
65
+ ref,
66
+ toRefs,
67
+ watch,
68
+ } from "vue";
69
+ import type IProps from "./typing";
70
+ import defaultProps from "./props";
71
+ import { addUnit, getPx } from "../../utils";
72
+
73
+ const props = withDefaults(defineProps<IProps>(), defaultProps);
74
+ const {
75
+ modelValue,
76
+ focus,
77
+ maxlength,
78
+ disabledDot,
79
+ size,
80
+ mode,
81
+ hairline,
82
+ space,
83
+ borderColor,
84
+ } = toRefs(props);
85
+ const emit = defineEmits(["change", "finish", "update:modelValue"]);
86
+
87
+ const current = ref(0);
88
+ const inputValue = ref("");
89
+ const isFocus = ref(focus.value);
90
+ let timer: ReturnType<typeof setInterval>;
91
+ const opacity = ref(1);
92
+ const borderWidth = computed(() => (hairline.value ? "0.5px" : "2px"));
93
+ const lineHeight = computed(() => (hairline.value ? "2px" : "4px"));
94
+ const boxSize = addUnit(size.value);
95
+
96
+ watch(
97
+ () => modelValue.value,
98
+ (newValue: string | number) => {
99
+ inputValue.value = String(newValue).substring(0, maxlength.value);
100
+ current.value = newValue.toString().length;
101
+ },
102
+ { immediate: true },
103
+ );
104
+
105
+ watch(
106
+ () => isFocus.value,
107
+ (newValue) => {
108
+ // #ifdef APP-NVUE
109
+ if (newValue) {
110
+ timer = setInterval(() => {
111
+ opacity.value = Math.abs(opacity.value - 1);
112
+ }, 600);
113
+ } else {
114
+ clearInterval(timer);
115
+ }
116
+ // #endif
117
+ },
118
+ );
119
+
120
+ onUnmounted(() => {
121
+ // #ifdef APP-NVUE
122
+ clearInterval(timer);
123
+ // #endif
124
+ });
125
+
126
+ // 根据长度,循环输入框的个数,因为头条小程序数值不能用于v-for
127
+ const codeLength = computed(() => {
128
+ return new Array(Number(maxlength.value));
129
+ });
130
+ // 循环item的样式
131
+ const itemStyle = computed(() => {
132
+ return (index: number) => {
133
+ const style: CSSProperties = {
134
+ width: boxSize,
135
+ height: boxSize,
136
+ "--hy-border-color": borderColor.value,
137
+ };
138
+ // 盒子模式下,需要额外进行处理
139
+ if (mode.value === "box") {
140
+ // 设置盒子的边框,如果是细边框,则设置为1px宽度
141
+ style.borderWidth = borderWidth.value;
142
+ style.borderStyle = "solid";
143
+ style.borderColor = borderColor.value;
144
+ // 如果盒子间距为0的话
145
+ if (getPx(space.value) === 0) {
146
+ // 给第一和最后一个盒子设置圆角
147
+ if (index === 0) {
148
+ style.borderTopLeftRadius = "3px";
149
+ style.borderBottomLeftRadius = "3px";
150
+ }
151
+ if (index === codeLength.value.length - 1) {
152
+ style.borderTopRightRadius = "3px";
153
+ style.borderBottomRightRadius = "3px";
154
+ }
155
+ // 最后一个盒子的右边框需要保留
156
+ if (index !== codeLength.value.length - 1) {
157
+ style.borderRight = "none";
158
+ }
159
+ }
160
+ }
161
+ if (index !== codeLength.value.length - 1) {
162
+ // 设置验证码字符之间的距离,通过margin-right设置,最后一个字符,无需右边框
163
+ style.marginRight = addUnit(space.value);
164
+ } else {
165
+ // 最后一个盒子的有边框需要保留
166
+ style.marginRight = 0;
167
+ }
168
+
169
+ return style;
170
+ };
171
+ });
172
+
173
+ /**
174
+ * @description 将输入的值,转为数组,给item历遍时,根据当前的索引显示数组的元素
175
+ */
176
+ const codeArray = computed(() => {
177
+ return String(inputValue.value).split("");
178
+ });
179
+
180
+ /**
181
+ * @description 监听输入框的值发生变化
182
+ * */
183
+ const inputHandler = (e: any) => {
184
+ const value = e.detail.value;
185
+ inputValue.value = value;
186
+ // 是否允许输入“.”符号
187
+ if (disabledDot.value) {
188
+ nextTick(() => {
189
+ inputValue.value = value.replace(".", "");
190
+ });
191
+ }
192
+ // 未达到maxlength之前,发送change事件,达到后发送finish事件
193
+ emit("change", value);
194
+ // 修改通过v-model双向绑定的值
195
+ emit("update:modelValue", value);
196
+ // 达到用户指定输入长度时,发出完成事件
197
+ if (String(value).length >= Number(maxlength.value)) {
198
+ emit("finish", value);
199
+ }
200
+ };
201
+ </script>
202
+
203
+ <style scoped lang="scss">
204
+ @import "./index.scss";
205
+ @import "../../libs/css/mixin.scss";
206
+ @import "../../theme.scss";
207
+ @include b(code-input) {
208
+ @include m(item) {
209
+ &__box {
210
+ &__active {
211
+ width: v-bind(boxSize);
212
+ height: v-bind(boxSize);
213
+ border-width: v-bind(borderWidth);
214
+ }
215
+ }
216
+ &__line {
217
+ &::after {
218
+ height: v-bind(lineHeight);
219
+ background-color: $hy-border-color;
220
+ }
221
+ }
222
+ }
223
+ }
224
+ </style>
@@ -0,0 +1,108 @@
1
+ @use "../../theme.scss" as *;
2
+ @use "../../libs/css/mixin.scss" as *;
3
+
4
+ @include b(code-input) {
5
+ @include flex;
6
+ position: relative;
7
+ overflow: hidden;
8
+
9
+ @include m(item) {
10
+ @include flex;
11
+ justify-content: center;
12
+ align-items: center;
13
+ position: relative;
14
+
15
+ &__text {
16
+ font-size: 15px;
17
+ color: $hy-icon-color;
18
+ }
19
+
20
+ &__dot {
21
+ width: 7px;
22
+ height: 7px;
23
+ border-radius: 100px;
24
+ background-color: $hy-icon-color;
25
+ }
26
+
27
+ /* 方块模式 */
28
+ &__box {
29
+ border-color: $hy-border-color--2;
30
+ &__border {
31
+ border-color: $hy-primary !important;
32
+
33
+ @include b(code-input--item__dot) {
34
+ background-color: $hy-primary;
35
+ }
36
+
37
+ text {
38
+ color: $hy-primary;
39
+ }
40
+ }
41
+
42
+ &__active {
43
+ border-color: $hy-primary !important;
44
+ animation: 1.5s hy-cursor-flicker infinite;
45
+ }
46
+ }
47
+
48
+ /* 线条模式 */
49
+ &__line {
50
+ &::after {
51
+ content: "";
52
+ position: absolute;
53
+ bottom: 0;
54
+ border-radius: $hy-border-radius-semicircle;
55
+ width: 40px;
56
+ background-color: $hy-border-color--2;
57
+ }
58
+
59
+ /* 边框 */
60
+ &__border {
61
+ @include b(code-input--item__dot) {
62
+ background-color: $hy-primary;
63
+ }
64
+ &::after {
65
+ content: "";
66
+ background-color: $hy-primary !important;
67
+ }
68
+ text {
69
+ color: $hy-primary;
70
+ }
71
+ }
72
+
73
+ /* 状态 */
74
+ &__active {
75
+ &::after {
76
+ content: "";
77
+ background-color: $hy-primary !important;
78
+ animation: 1.5s hy-cursor-flicker infinite;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ &__input {
85
+ // 之所以需要input输入框,是因为有它才能唤起键盘
86
+ // 这里将它设置为两倍的屏幕宽度,再将左边的一半移出屏幕,为了不让用户看到输入的内容
87
+ position: absolute;
88
+ left: -750rpx;
89
+ width: 1500rpx;
90
+ top: 0;
91
+ background-color: transparent;
92
+ text-align: left;
93
+ }
94
+ }
95
+
96
+ /* #ifndef APP-NVUE */
97
+ @keyframes hy-cursor-flicker {
98
+ 0% {
99
+ opacity: 0.2;
100
+ }
101
+ 50% {
102
+ opacity: 1;
103
+ }
104
+ 100% {
105
+ opacity: 0.2;
106
+ }
107
+ }
108
+ /* #endif */
@@ -0,0 +1,21 @@
1
+ import type IProps from "./typing";
2
+
3
+ const defaultProps: IProps = {
4
+ modelValue: "",
5
+ adjustPosition: true,
6
+ maxlength: 6,
7
+ dot: false,
8
+ mode: "box",
9
+ hairline: false,
10
+ space: 10,
11
+ focus: false,
12
+ bold: false,
13
+ color: "",
14
+ fontSize: 18,
15
+ size: 35,
16
+ disabledKeyboard: false,
17
+ borderColor: "",
18
+ disabledDot: true,
19
+ };
20
+
21
+ export default defaultProps;
@@ -0,0 +1,65 @@
1
+ import type { CSSProperties } from "vue";
2
+
3
+ export default interface HyCodeInputProps {
4
+ modelValue: string | number;
5
+ /**
6
+ * @description 键盘弹起时,是否自动上推页面(默认 true )
7
+ * */
8
+ adjustPosition?: boolean;
9
+ /**
10
+ * @description 最大输入长度(默认 6 )
11
+ * */
12
+ maxlength?: number;
13
+ /**
14
+ * @description 是否用圆点填充(默认 false )
15
+ * */
16
+ dot?: boolean;
17
+ /**
18
+ * @description 显示模式,box-盒子模式,line-底部横线模式 (默认 'box' )
19
+ * */
20
+ mode?: "box" | string;
21
+ /**
22
+ * @description 是否细边框 (默认 false )
23
+ * */
24
+ hairline?: boolean;
25
+ /**
26
+ * @description 字符间的距离 (默认 10 )
27
+ * */
28
+ space?: number;
29
+ /**
30
+ * @description 是否自动获取焦点 (默认 false )
31
+ * */
32
+ focus?: boolean;
33
+ /**
34
+ * @description 字体是否加粗 (默认 false )
35
+ * */
36
+ bold?: boolean;
37
+ /**
38
+ * @description 字体颜色 (默认 '#606266' )
39
+ * */
40
+ color?: string;
41
+ /**
42
+ * @description 字体大小,单位px (默认 18 )
43
+ * */
44
+ fontSize?: number;
45
+ /**
46
+ * @description 输入框的大小,宽等于高 (默认 35 )
47
+ * */
48
+ size?: number | string;
49
+ /**
50
+ * @description 是否隐藏原生键盘,如果想用自定义键盘的话,需设置此参数为true (默认 false )
51
+ * */
52
+ disabledKeyboard?: boolean;
53
+ /**
54
+ * @description 边框和线条颜色 (默认 '#c9cacc' )
55
+ * */
56
+ borderColor?: string;
57
+ /**
58
+ * @description 是否禁止输入"."符号 (默认 true )
59
+ * */
60
+ disabledDot?: boolean;
61
+ /**
62
+ * @description 定义需要用到的外部样式
63
+ * */
64
+ customStyle?: CSSProperties;
65
+ }
@@ -37,7 +37,6 @@ const themeClass = computed(() => {
37
37
  });
38
38
 
39
39
  const themeStyle = computed(() => {
40
- console.log(colorGradient(themeColor.value)[90], themeColor.value);
41
40
  return [
42
41
  {
43
42
  "--hy-theme-color": themeColor.value,
@@ -5,7 +5,7 @@ const defaultProps: IProps = {
5
5
  theme: "light",
6
6
  themeColor: ColorConfig.primary,
7
7
  themeLightColor: "#ecf5ff",
8
- padding: "10px",
8
+ padding: "",
9
9
  customClass: "",
10
10
  customStyle: {},
11
11
  };
@@ -3,7 +3,7 @@ import { IconConfig } from "@/package";
3
3
 
4
4
  const defaultProps: IProps = {
5
5
  activeColor: "",
6
- inactiveColor: "#606266",
6
+ inactiveColor: "",
7
7
  closeOnClickMask: true,
8
8
  sticky: true,
9
9
  height: 40,
@@ -1,10 +1,7 @@
1
1
  <template>
2
2
  <!-- 标题栏 -->
3
3
  <view
4
- :class="[
5
- 'hy-dropdown-item__header',
6
- isOpen && 'hy-dropdown-item__header--active',
7
- ]"
4
+ :class="['hy-dropdown-item__header', isOpen && 'is-active']"
8
5
  @click="handleClick"
9
6
  >
10
7
  <text
@@ -39,7 +36,7 @@
39
36
  <view
40
37
  :class="[
41
38
  'hy-dropdown-item__main--container__list-item',
42
- isOpen && 'hy-dropdown-item__main--container__list--active',
39
+ currentIndex === index && 'is-active',
43
40
  ]"
44
41
  v-for="(item, index) in menus"
45
42
  :key="item.value || index"
@@ -16,13 +16,12 @@
16
16
  position: relative;
17
17
  z-index: 999;
18
18
  background-color: $hy-background--container;
19
+ color: $hy-icon-color;
19
20
 
20
- @include m(active) {
21
+ @include is(active) {
21
22
  color: $hy-primary;
22
- :deep() {
23
- @include b(icon) {
24
- color: $hy-primary;
25
- }
23
+ :deep(.hy-icon) {
24
+ color: $hy-primary;
26
25
  }
27
26
  }
28
27
  }
@@ -57,14 +56,6 @@
57
56
  width: 100%;
58
57
  padding: 0 35rpx;
59
58
  box-sizing: border-box;
60
- &--active {
61
- color: $hy-primary;
62
- :deep() {
63
- @include b(icon) {
64
- color: $hy-primary;
65
- }
66
- }
67
- }
68
59
  &-item {
69
60
  width: 100%;
70
61
  padding: 30rpx 0;
@@ -72,6 +63,13 @@
72
63
  display: flex;
73
64
  align-items: center;
74
65
 
66
+ @include is(active) {
67
+ color: $hy-primary;
68
+ :deep(.hy-icon) {
69
+ color: $hy-primary;
70
+ }
71
+ }
72
+
75
73
  &:not(:last-of-type) {
76
74
  border-bottom: $hy-border-line;
77
75
  }
@@ -10,10 +10,10 @@
10
10
  >
11
11
  <slot :record="item">
12
12
  <HyIcon
13
- :name="item?.icon"
13
+ :name="item[customKeys?.icon]"
14
14
  label-pos="bottom"
15
- :label="item?.name"
16
- :space="item?.iconConfig?.space || iconConfig?.space || 12"
15
+ :label="item[customKeys?.name]"
16
+ :space="item?.iconConfig?.space || iconConfig?.space || 8"
17
17
  :color="item?.iconConfig?.color || iconConfig?.color"
18
18
  :size="item?.iconConfig?.size || iconConfig?.size || 30"
19
19
  :bold="item?.iconConfig?.bold || iconConfig?.bold"
@@ -28,7 +28,6 @@
28
28
  item?.iconConfig?.customStyle || iconConfig?.customStyle
29
29
  "
30
30
  ></HyIcon>
31
- <!-- <view class="hy-grid-item__title">{{ item.name }}</view>-->
32
31
  </slot>
33
32
  </view>
34
33
  </template>
@@ -37,13 +36,13 @@
37
36
 
38
37
  <script lang="ts">
39
38
  export default {
40
- name: 'hy-grid',
39
+ name: "hy-grid",
41
40
  options: {
42
41
  addGlobalClass: true,
43
42
  virtualHost: true,
44
- styleIsolation: 'shared'
45
- }
46
- }
43
+ styleIsolation: "shared",
44
+ },
45
+ };
47
46
  </script>
48
47
 
49
48
  <script setup lang="ts">
@@ -2,6 +2,10 @@ import type IProps from "./typing";
2
2
 
3
3
  const defaultProps: IProps = {
4
4
  list: [],
5
+ customKeys: {
6
+ name: "name",
7
+ icon: "icon",
8
+ },
5
9
  col: 5,
6
10
  border: false,
7
11
  itemHeight: "80px",
@@ -19,11 +19,26 @@ interface GridItemVo {
19
19
  * */
20
20
  [key: string]: any;
21
21
  }
22
+ export interface CustomKeysVo {
23
+ /**
24
+ * @description 自定义标题键名
25
+ * */
26
+ name: string;
27
+ /**
28
+ * @description 自定义icon键名
29
+ * */
30
+ icon: string;
31
+ }
32
+
22
33
  export default interface HyGridProps {
23
34
  /**
24
35
  * @description 数据集
25
36
  * */
26
37
  list: GridItemVo[];
38
+ /**
39
+ * @description 自定义键值
40
+ * */
41
+ customKeys?: CustomKeysVo;
27
42
  /**
28
43
  * @description 宫格的列数(默认 3 )
29
44
  * */
@@ -66,11 +66,12 @@
66
66
 
67
67
  &__label {
68
68
  @include lineEllipsis;
69
- overflow: hidden;
70
69
  /* #ifndef APP-NVUE */
71
70
  line-height: 1;
72
71
  /* #endif */
73
72
  color: $hy-text-color--grey;
73
+ font-size: $hy-font-size-sm;
74
+ max-width: 150rpx;
74
75
  }
75
76
  }
76
77
  @include b(rotate) {
@@ -104,7 +104,6 @@ const userColumns = computed(() => [
104
104
  },
105
105
  onSuffix: () => {
106
106
  showPwd.value = !showPwd.value;
107
- console.log(showChoice.value);
108
107
  },
109
108
  },
110
109
  rules: [props.customUserValidator, props.pwdNumValidator],