@nutui/nutui 3.1.3 → 3.1.6

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.
@@ -61,42 +61,20 @@
61
61
 
62
62
  .region-con {
63
63
  display: block;
64
- margin: 20px 0 0;
65
- position: relative;
64
+ margin: 20px 20px 0;
66
65
  .region-group {
66
+ padding-top: 15px;
67
67
  height: 270px;
68
68
  overflow-y: auto;
69
69
 
70
70
  .region-item {
71
+ display: flex;
72
+ align-items: center;
73
+ margin-bottom: 20px;
71
74
  font-size: $font-size-1;
72
75
  color: #333;
73
- &-code {
74
- position: relative;
75
- height: 35px;
76
- line-height: 35px;
77
- font-size: $font-size-2;
78
- color: $title-color;
79
- padding: 0 20px;
80
- font-weight: 500;
81
- &:after {
82
- content: ' ';
83
- width: 100%;
84
- height: 1px;
85
- position: absolute;
86
- left: 0;
87
- bottom: 0;
88
- background-color: $help-color;
89
- }
90
- }
91
- &-name {
92
- display: flex;
93
- align-items: center;
94
- padding: 0 20px;
95
- height: 30px;
96
- line-height: 30px;
97
- &.active {
98
- font-weight: bold;
99
- }
76
+ &.active {
77
+ font-weight: bold;
100
78
  }
101
79
 
102
80
  .region-item-icon {
@@ -104,36 +82,10 @@
104
82
  }
105
83
  }
106
84
  }
107
- &-current-code {
108
- position: absolute;
109
- right: 60px;
110
- top: 50%;
111
- transform: translateY(-50%);
112
- width: 45px;
113
- height: 45px;
114
- line-height: 45px;
115
- border-radius: 50%;
116
- background: $white;
117
- box-shadow: 0 3px 3px 1px rgba(240, 240, 240, 1);
118
- text-align: center;
119
- }
120
- &-codes-wrapper {
121
- position: absolute;
122
- right: 8px;
123
- top: 50%;
124
- transform: translateY(-50%);
125
- padding: 15px 0;
126
- background-color: #eeeff2;
127
- border-radius: 6px;
128
- text-align: center;
129
- z-index: 10;
130
- }
131
- &-codes {
132
- &-item {
133
- padding: 3px;
134
- font-size: $font-size-0;
135
- }
136
- }
85
+ }
86
+ .elevator-group {
87
+ display: flex;
88
+ margin-top: 20px;
137
89
  }
138
90
  }
139
91
 
@@ -149,7 +101,6 @@
149
101
 
150
102
  .exist-ul {
151
103
  .exist-item {
152
- width: 100%;
153
104
  display: flex;
154
105
  align-items: center;
155
106
  margin-bottom: 20px;
@@ -160,19 +111,8 @@
160
111
  font-weight: bold;
161
112
  }
162
113
  .exist-item-icon {
163
- width: 15px;
164
114
  margin-right: 9px;
165
115
  }
166
- &-info {
167
- flex: 1;
168
- &-top {
169
- display: flex;
170
- justify-content: space-between;
171
- margin-bottom: 10px;
172
- color: #292929;
173
- font-size: 14px;
174
- }
175
- }
176
116
  span {
177
117
  display: inline-block;
178
118
  flex: 1;
@@ -5,21 +5,21 @@
5
5
  width: 100%;
6
6
  height: 100%;
7
7
  overflow: hidden;
8
+ background-color: #f7f8fa;
8
9
  .dmitem {
9
10
  display: block;
10
11
  position: absolute;
11
12
  right: 0;
12
- padding: 5px 25px;
13
+ padding: 3px 25px;
13
14
  border-radius: 50px;
14
15
  font-size: 12px;
15
16
  text-align: center;
16
- color: #fff;
17
17
  white-space: pre;
18
18
  transform: translateX(100%);
19
19
  background: linear-gradient(
20
20
  to right,
21
- rgba(26, 25, 25, 0.15),
22
- rgba(0, 0, 0, 0.2)
21
+ rgba(0, 0, 0, 0.15),
22
+ rgba(0, 0, 0, 0)
23
23
  );
24
24
  &.move {
25
25
  will-change: transform;
@@ -186,6 +186,3 @@
186
186
  }
187
187
  }
188
188
  }
189
- .nut-calendar-taro {
190
- height: 65vh;
191
- }
@@ -190,6 +190,3 @@
190
190
  }
191
191
  }
192
192
  }
193
- .nut-calendar-taro {
194
- height: 65vh;
195
- }
@@ -16,4 +16,13 @@
16
16
  color: $checkbox-label-disable-color;
17
17
  }
18
18
  }
19
+ &__icon {
20
+ color: $primary-color;
21
+ }
22
+ &__icon--unchecked {
23
+ color: $checkbox-icon-disable-color;
24
+ }
25
+ &__icon--disable {
26
+ color: $help-color;
27
+ }
19
28
  }
@@ -7,13 +7,38 @@
7
7
  left: 50%;
8
8
  transform: translate(-50%, -50%);
9
9
  }
10
+ .nut-circleprogress__right {
11
+ width: 50%;
12
+ height: 100%;
13
+ position: relative;
14
+ overflow: hidden;
15
+ float: right;
16
+ }
17
+ .nut-circleprogress__left {
18
+ width: 50%;
19
+ height: 100%;
20
+ position: relative;
21
+ overflow: hidden;
22
+ float: left;
23
+ }
10
24
 
11
25
  .nut-circleprogress__line {
12
26
  position: absolute;
13
- width: 50%;
27
+ width: 100%;
14
28
  height: 100%;
15
29
  top: 0;
16
30
  overflow: hidden;
31
+ &.nut-circleprogress__l {
32
+ top: 0px;
33
+ transform: rotate(0deg);
34
+ left: 0px;
35
+ }
36
+
37
+ &.nut-circleprogress__r {
38
+ top: 0px;
39
+ transform: rotate(180deg);
40
+ right: 0px;
41
+ }
17
42
  }
18
43
 
19
44
  .nut-circleprogress__progress {
@@ -27,18 +52,6 @@
27
52
  color: rgba(29, 29, 33, 1);
28
53
  }
29
54
 
30
- .nut-circleprogress__l {
31
- top: 0px;
32
- transform: rotate(0deg);
33
- left: 0px;
34
- }
35
-
36
- .nut-circleprogress__r {
37
- top: 0px;
38
- transform: rotate(180deg);
39
- right: 0px;
40
- }
41
-
42
55
  .nut-circleprogress__line__c {
43
56
  width: 200%;
44
57
  height: 100%;
@@ -1,5 +1,3 @@
1
- @use 'sass:math';
2
-
3
1
  .nut-col {
4
2
  float: left;
5
3
  box-sizing: border-box;
@@ -0,0 +1,3 @@
1
+ .nut-countdown {
2
+ display: flex;
3
+ }
@@ -0,0 +1,54 @@
1
+ .nut-divider {
2
+ display: flex;
3
+ align-items: center;
4
+ font-size: 14px;
5
+ color: #909ca4;
6
+ margin: 8px 0;
7
+ width: 100%;
8
+
9
+ &::before,
10
+ &::after {
11
+ content: '';
12
+ border: 1px solid currentColor;
13
+ border-width: 1px 0 0;
14
+ flex: 1;
15
+ }
16
+
17
+ &.nut-divider-center,
18
+ &.nut-divider-left,
19
+ &.nut-divider-right {
20
+ &::before {
21
+ margin-right: 8px;
22
+ }
23
+
24
+ &::after {
25
+ margin-left: 8px;
26
+ }
27
+ }
28
+
29
+ &.nut-divider-left {
30
+ &::before {
31
+ max-width: 10%;
32
+ }
33
+ }
34
+
35
+ &.nut-divider-right {
36
+ &::after {
37
+ max-width: 10%;
38
+ }
39
+ }
40
+
41
+ &.nut-divider-dashed {
42
+ &::before,
43
+ &::after {
44
+ border-style: dashed;
45
+ }
46
+ }
47
+
48
+ &.nut-divider-hairline {
49
+ &::before,
50
+ &::after {
51
+ transform: scaleY(0.5);
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,72 @@
1
+ .nut-elevator {
2
+ width: 100%;
3
+ display: block;
4
+ position: relative;
5
+ &__list {
6
+ overflow: auto;
7
+ &__item {
8
+ font-size: 12px;
9
+ color: #333;
10
+ &__code {
11
+ position: relative;
12
+ height: 35px;
13
+ line-height: 35px;
14
+ font-size: 14px;
15
+ color: #1a1a1a;
16
+ padding: 0 20px;
17
+ font-weight: 500;
18
+ &::after {
19
+ content: ' ';
20
+ width: 100%;
21
+ height: 1px;
22
+ position: absolute;
23
+ left: 0;
24
+ bottom: 0;
25
+ background-color: #f5f5f5;
26
+ }
27
+ }
28
+ &__name {
29
+ display: flex;
30
+ align-items: center;
31
+ padding: 0 20px;
32
+ height: 30px;
33
+ line-height: 30px;
34
+ }
35
+ }
36
+ }
37
+ &__code--current {
38
+ position: absolute;
39
+ right: 60px;
40
+ top: 50%;
41
+ transform: translateY(-50%);
42
+ width: 45px;
43
+ height: 45px;
44
+ line-height: 45px;
45
+ border-radius: 50%;
46
+ background: $white;
47
+ box-shadow: 0 3px 3px 1px rgba(240, 240, 240, 1);
48
+ text-align: center;
49
+ }
50
+ &__bars {
51
+ position: absolute;
52
+ right: 8px;
53
+ top: 50%;
54
+ transform: translateY(-50%);
55
+ padding: 15px 0;
56
+ background-color: #eeeff2;
57
+ border-radius: 6px;
58
+ text-align: center;
59
+ z-index: 10;
60
+ &__inner {
61
+ &__item {
62
+ display: block;
63
+ padding: 3px;
64
+ font-size: 10px;
65
+ }
66
+ }
67
+ }
68
+ }
69
+
70
+ view {
71
+ display: block;
72
+ }
@@ -12,6 +12,9 @@
12
12
  flex: 1;
13
13
  padding: 0 10px;
14
14
  padding-right: 35px;
15
+ outline: 0 none;
16
+ border: 0;
17
+ text-decoration: none;
15
18
  }
16
19
  &-label {
17
20
  width: 80px;
File without changes
@@ -0,0 +1,109 @@
1
+ .nut-noticebar-page {
2
+ width: 100%;
3
+ display: flex;
4
+ height: $noticeBar-height;
5
+ font-size: $noticeBar-font-size;
6
+ position: relative;
7
+ align-items: center;
8
+ &.wrapable {
9
+ height: auto;
10
+ padding: 8px 16px;
11
+ .wrap {
12
+ height: auto;
13
+ .content {
14
+ position: relative;
15
+ white-space: normal;
16
+ word-wrap: break-word;
17
+ }
18
+ }
19
+ }
20
+
21
+ .withicon {
22
+ position: relative;
23
+ padding-right: 40px;
24
+ }
25
+ .left-icon {
26
+ height: $noticeBar-left-icon-width;
27
+ min-width: $noticeBar-left-icon-width;
28
+ margin: 0 5px 0 10px;
29
+ background-size: 100% 100%;
30
+ }
31
+ .right-icon {
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ width: $noticeBar-right-icon-width;
36
+ margin: 0 10px 0 5px;
37
+ }
38
+ .wrap {
39
+ flex: 1;
40
+ height: $noticeBar-line-height;
41
+ line-height: $noticeBar-line-height;
42
+ overflow: hidden;
43
+ position: relative;
44
+ }
45
+ .content {
46
+ position: absolute;
47
+ white-space: nowrap;
48
+ &.nut-ellipsis {
49
+ max-width: 100%;
50
+ white-space: nowrap;
51
+ overflow: hidden;
52
+ text-overflow: ellipsis;
53
+ }
54
+ }
55
+ // 只跑一次
56
+ .play {
57
+ animation: nut-notice-bar-play linear both running;
58
+ }
59
+ .play-infinite {
60
+ animation: nut-notice-bar-play-infinite linear infinite both running;
61
+ }
62
+ .play-vertical {
63
+ animation: nut-notice-bar-play-vertical linear infinite both running;
64
+ }
65
+ }
66
+
67
+ @keyframes nut-notice-bar-play {
68
+ to {
69
+ transform: translate3d(-100%, 0, 0);
70
+ }
71
+ }
72
+
73
+ @keyframes nut-notice-bar-play-infinite {
74
+ to {
75
+ transform: translate3d(-100%, 0, 0);
76
+ }
77
+ }
78
+ // 垂直方向的滚动
79
+ @keyframes nut-notice-bar-play-vertical {
80
+ to {
81
+ transform: translateY($noticeBar-height);
82
+ }
83
+ }
84
+
85
+ // 纵向
86
+ .nut-noticebar-vertical {
87
+ position: relative;
88
+ display: flex;
89
+ justify-content: space-between;
90
+ height: $noticeBar-height;
91
+ font-size: $noticeBar-font-size;
92
+ overflow: hidden;
93
+
94
+ .horseLamp_list {
95
+ margin: 0;
96
+ padding: 0;
97
+ display: block;
98
+ flex: 1;
99
+ .horseLamp_list_item {
100
+ display: flex;
101
+ align-items: center;
102
+ height: $noticeBar-height;
103
+ }
104
+ }
105
+
106
+ .go {
107
+ align-self: center;
108
+ }
109
+ }
@@ -0,0 +1,108 @@
1
+ .nut-numberkeyboard {
2
+ width: 100%;
3
+ padding-bottom: 22px;
4
+ background-color: #f2f3f5;
5
+ user-select: none;
6
+
7
+ .number-board-header {
8
+ position: relative;
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ box-sizing: content-box;
13
+ height: 34px;
14
+ padding-top: 6px;
15
+ color: #646566;
16
+ font-size: 16px;
17
+
18
+ .tit {
19
+ display: inline-block;
20
+ }
21
+
22
+ .keyboard-close {
23
+ position: absolute;
24
+ display: block;
25
+ right: 0;
26
+ padding: 0 16px;
27
+ color: #576b95;
28
+ font-size: 14px;
29
+ background-color: transparent;
30
+ border: none;
31
+ cursor: pointer;
32
+ }
33
+ }
34
+
35
+ .number-board-body {
36
+ display: flex;
37
+ padding: 6px 0 0 6px;
38
+
39
+ .number-board {
40
+ display: flex;
41
+ flex: 3;
42
+ flex-wrap: wrap;
43
+ }
44
+
45
+ .key-board-wrapper {
46
+ position: relative;
47
+ flex: 1;
48
+ flex-basis: 33%;
49
+ box-sizing: border-box;
50
+ padding: 0 6px 6px 0;
51
+
52
+ .key {
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ height: 48px;
57
+ font-size: 28px;
58
+ line-height: 1.5;
59
+ background-color: #fff;
60
+ border-radius: 8px;
61
+ cursor: pointer;
62
+ }
63
+
64
+ .active {
65
+ background-color: #ebedf0;
66
+ }
67
+
68
+ img {
69
+ width: 30px;
70
+ height: 24px;
71
+ }
72
+ }
73
+
74
+ .key-board-wrapper-large {
75
+ flex-basis: 66%;
76
+ }
77
+
78
+ .number-board-sidebar {
79
+ display: flex;
80
+ flex: 1;
81
+ flex-direction: column;
82
+
83
+ .key-board-wrapper {
84
+ .key {
85
+ position: absolute;
86
+ top: 0;
87
+ right: 6px;
88
+ bottom: 6px;
89
+ left: 0;
90
+ height: auto;
91
+ }
92
+
93
+ .finish {
94
+ font-size: 16px;
95
+ color: #fff;
96
+ background-color: #1989fa;
97
+ }
98
+
99
+ .activeFinsh {
100
+ background-color: #0570db;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ .nut-numberkeyboard-overlay {
107
+ background-color: rgba(0, 0, 0, 0);
108
+ }
@@ -16,3 +16,7 @@
16
16
  height: 100%;
17
17
  background-color: $overlay-bg-color;
18
18
  }
19
+
20
+ .nut-overflow-hidden {
21
+ overflow: hidden !important;
22
+ }
@@ -92,7 +92,7 @@
92
92
  border-radius: 5px;
93
93
  position: absolute;
94
94
  transition: all 0.4s;
95
- top: -26%;
95
+ top: -42%;
96
96
  }
97
97
  .nut-icon-success,
98
98
  .nut-icon-fail {
@@ -16,4 +16,13 @@
16
16
  color: $radio-label-disable-color;
17
17
  }
18
18
  }
19
+ &__icon {
20
+ color: $primary-color;
21
+ }
22
+ &__icon--unchecked {
23
+ color: $radio-icon-disable-color;
24
+ }
25
+ &__icon--disable {
26
+ color: $help-color;
27
+ }
19
28
  }
@@ -29,16 +29,36 @@
29
29
  height: 41px;
30
30
  border-radius: 4px;
31
31
  }
32
- input {
32
+ .nut-input-real {
33
+ position: absolute;
34
+ right: 247px;
35
+ width: 247px;
36
+ height: 41px;
37
+ }
38
+ }
39
+ .nut-input-normalw {
40
+ padding: 0px 0 10px 0;
41
+ text-align: center;
42
+ position: relative;
43
+ overflow: hidden;
44
+ .nut-input-site {
33
45
  width: 247px;
34
46
  height: 41px;
35
47
  border-radius: 4px;
36
48
  }
37
49
  .nut-input-real {
38
- padding: 0 12px;
39
- opacity: 0;
50
+ padding: 0 1200px 0 0;
51
+ width: 0;
52
+ position: absolute;
53
+ right: 0;
54
+ width: 247px;
55
+ height: 41px;
56
+ }
57
+ .nut-shortpsd-fake {
58
+ top: 5%;
40
59
  }
41
60
  }
61
+
42
62
  .nut-input-real-taro {
43
63
  width: 0;
44
64
  padding: 0 12px;
@@ -62,7 +82,7 @@
62
82
  position: absolute;
63
83
  left: 0;
64
84
  top: 29%;
65
- z-index: 0;
85
+ z-index: 10;
66
86
  }
67
87
 
68
88
  .nut-shortpsd-li {
@@ -0,0 +1,14 @@
1
+ .nut-signature {
2
+ .nut-signature-inner {
3
+ height: 10rem;
4
+ margin-bottom: 1rem;
5
+ border: 1px solid #dadada;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ }
10
+
11
+ .nut-signature-btn {
12
+ margin-right: 15px;
13
+ }
14
+ }
@@ -1,7 +1,7 @@
1
1
  .nut-swipe {
2
2
  position: relative;
3
3
  display: block;
4
- transition: all 0.3s linear;
4
+ transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
5
5
  &__left,
6
6
  &__right {
7
7
  position: absolute;