hy-app 0.5.5 → 0.5.7
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/components/hy-back-top/props.ts +2 -3
- package/components/hy-badge/props.ts +1 -1
- package/components/hy-badge/typing.d.ts +5 -0
- package/components/hy-button/props.ts +1 -1
- package/components/hy-card/hy-card.vue +2 -1
- package/components/hy-card/index.scss +5 -1
- package/components/hy-card/props.ts +3 -4
- package/components/hy-cell/hy-cell.vue +9 -190
- package/components/hy-cell/props.ts +7 -26
- package/components/hy-cell/typing.d.ts +2 -41
- package/components/hy-cell-item/hy-cell-item.vue +160 -0
- package/components/hy-cell-item/index.scss +100 -0
- package/components/hy-cell-item/props.ts +66 -0
- package/components/hy-cell-item/typing.d.ts +7 -0
- package/components/hy-checkbox-group/props.ts +1 -1
- package/components/hy-checkbox-item/typing.d.ts +3 -3
- package/components/hy-grid/props.ts +1 -1
- package/components/hy-grid/typing.d.ts +1 -2
- package/components/hy-icon/props.ts +1 -1
- package/components/hy-icon/typing.d.ts +5 -0
- package/components/hy-input/hy-input.vue +19 -22
- package/components/hy-input/props.ts +1 -1
- package/components/hy-menu/props.ts +2 -2
- package/components/hy-number-step/props.ts +1 -1
- package/components/hy-price/hy-price.vue +9 -2
- package/components/hy-search/props.ts +1 -2
- package/components/hy-status-bar/typing.d.ts +12 -0
- package/components/hy-sticky/hy-sticky.vue +226 -0
- package/components/hy-sticky/index.scss +29 -0
- package/components/hy-sticky/props.ts +24 -0
- package/components/hy-sticky/typing.d.ts +4 -0
- package/components/hy-switch/props.ts +1 -1
- package/components/hy-tabbar/props.ts +1 -1
- package/components/hy-tabbar-group/index.scss +56 -56
- package/components/hy-tabbar-group/props.ts +1 -1
- package/components/hy-tabbar-item/index.scss +42 -42
- package/components/hy-tabbar-item/props.ts +24 -24
- package/components/hy-tabs/props.ts +1 -1
- package/components/hy-tag/props.ts +1 -1
- package/global.d.ts +1 -0
- package/libs/css/theme.scss +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
- package/components/hy-cell/index.scss +0 -136
- /package/components/hy-tabbar-group/{typing.ts → typing.d.ts} +0 -0
- /package/components/hy-tabbar-item/{typing.ts → typing.d.ts} +0 -0
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
@use "../../libs/css/mixin.scss" as *;
|
|
2
|
-
@use "../../libs/css/theme" as *;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@include b(cell) {
|
|
6
|
-
flex: 1;
|
|
7
|
-
|
|
8
|
-
/*标题*/
|
|
9
|
-
@include m(title) {
|
|
10
|
-
padding: $hy-border-margin-padding-lg $hy-border-margin-padding-base;
|
|
11
|
-
@include e(vertical){
|
|
12
|
-
position: relative;
|
|
13
|
-
&::after {
|
|
14
|
-
content: "";
|
|
15
|
-
position: absolute;
|
|
16
|
-
left: 0;
|
|
17
|
-
top: 51%;
|
|
18
|
-
transform: translateY(-50%);
|
|
19
|
-
width: 4px;
|
|
20
|
-
height: 20px;
|
|
21
|
-
background: $hy-primary;
|
|
22
|
-
border-radius: $hy-border-radius-semicircle;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
@include e(text) {
|
|
26
|
-
font-size: $hy-font-size-lg;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/*row内容*/
|
|
31
|
-
@include e(body) {
|
|
32
|
-
/* #ifndef APP-NVUE */
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
/* #endif */
|
|
35
|
-
font-size: $hy-font-size-base;
|
|
36
|
-
align-items: center;
|
|
37
|
-
border-radius: $hy-border-margin-padding-sm;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
|
|
40
|
-
@include m(container) {
|
|
41
|
-
@include flex(row);
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: space-between;
|
|
44
|
-
flex: 1;
|
|
45
|
-
background-color: $hy-background--container;
|
|
46
|
-
|
|
47
|
-
/* 大 */
|
|
48
|
-
@include e(large) {
|
|
49
|
-
font-size: $hy-font-size-lg;
|
|
50
|
-
padding: 35rpx;
|
|
51
|
-
line-height: 25px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* 默认 */
|
|
55
|
-
@include e(medium) {
|
|
56
|
-
font-size: $hy-font-size-base;
|
|
57
|
-
padding: 30rpx;
|
|
58
|
-
line-height: 20px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* 小 */
|
|
62
|
-
@include e(small) {
|
|
63
|
-
font-size: $hy-font-size-sm;
|
|
64
|
-
padding: 25rpx;
|
|
65
|
-
line-height: 15px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/*点击状态*/
|
|
69
|
-
@include e(clickable) {
|
|
70
|
-
background-color: $hy-background--hover;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@include e(content) {
|
|
74
|
-
@include flex(row);
|
|
75
|
-
/*左边icon*/
|
|
76
|
-
@include m(icon) {
|
|
77
|
-
@include flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
margin-right: 10px;
|
|
80
|
-
}
|
|
81
|
-
/*行头部*/
|
|
82
|
-
@include m(title) {
|
|
83
|
-
margin-right: $hy-border-margin-padding-sm;
|
|
84
|
-
flex: 33rpx;
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: column;
|
|
87
|
-
|
|
88
|
-
/*sub值*/
|
|
89
|
-
@include e(sub) {
|
|
90
|
-
margin-top: $hy-border-margin-padding-sm;
|
|
91
|
-
color: $hy-text-color--grey;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/*cell值*/
|
|
97
|
-
@include e(center) {
|
|
98
|
-
@include flex;
|
|
99
|
-
max-width: 90%;
|
|
100
|
-
flex: 1;
|
|
101
|
-
@include m(value) {
|
|
102
|
-
line-height: 24px;
|
|
103
|
-
color: $hy-text-color--grey;
|
|
104
|
-
margin-right: $hy-border-margin-padding-sm;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/*右边icon*/
|
|
109
|
-
@include e(right-icon) {
|
|
110
|
-
transition: transform 0.3s;
|
|
111
|
-
:deep(.hy-icon) {
|
|
112
|
-
color: $hy-text-color--3;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@include m(up) {
|
|
116
|
-
transform: rotate(-90deg);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@include m(left) {
|
|
120
|
-
transform: rotate(180deg);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@include m(down) {
|
|
124
|
-
transform: rotate(90deg);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@include e(disabled) {
|
|
131
|
-
color: $hy-text-color--disabled;
|
|
132
|
-
/* #ifndef APP-NVUE */
|
|
133
|
-
cursor: not-allowed;
|
|
134
|
-
/* #endif */
|
|
135
|
-
}
|
|
136
|
-
}
|
|
File without changes
|
|
File without changes
|