@nutui/nutui 3.1.17 → 3.1.19-beta.0
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/CHANGELOG.md +41 -0
- package/LICENSE +1 -1
- package/README.md +7 -1
- package/dist/nutui.d.ts +3 -1
- package/dist/nutui.es.js +2335 -1280
- package/dist/nutui.umd.js +2350 -1293
- package/dist/packages/_es/ActionSheet.js +8 -3
- package/dist/packages/_es/Address.js +17 -11
- package/dist/packages/_es/Audio.js +2 -2
- package/dist/packages/_es/AudioOperate.js +125 -0
- package/dist/packages/_es/Avatar.js +2 -2
- package/dist/packages/_es/BackTop.js +7 -4
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Barrage.js +2 -2
- package/dist/packages/_es/Button.js +2 -2
- package/dist/packages/_es/Calendar.js +10 -687
- package/dist/packages/_es/CalendarItem.js +10 -0
- package/dist/packages/_es/Card.js +2 -2
- package/dist/packages/_es/Cascader.js +2 -2
- package/dist/packages/_es/Cell.js +25 -18
- package/dist/packages/_es/CellGroup.js +2 -2
- package/dist/packages/_es/Checkbox.js +4 -4
- package/dist/packages/_es/CheckboxGroup.js +4 -4
- package/dist/packages/_es/CircleProgress.js +2 -2
- package/dist/packages/_es/Col.js +2 -2
- package/dist/packages/_es/Collapse.js +2 -2
- package/dist/packages/_es/CollapseItem.js +31 -19
- package/dist/packages/_es/CountDown.js +4 -2
- package/dist/packages/_es/CountUp.js +25 -16
- package/dist/packages/_es/DatePicker.js +83 -47
- package/dist/packages/_es/Dialog.js +7 -5
- package/dist/packages/_es/Divider.js +2 -2
- package/dist/packages/_es/Drag.js +4 -4
- package/dist/packages/_es/Elevator.js +3 -3
- package/dist/packages/_es/Empty.js +2 -2
- package/dist/packages/_es/FixedNav.js +2 -2
- package/dist/packages/_es/Form.js +8 -6
- package/dist/packages/_es/FormItem.js +9 -6
- package/dist/packages/_es/Grid.js +2 -2
- package/dist/packages/_es/GridItem.js +3 -3
- package/dist/packages/_es/Icon.js +2 -2
- package/dist/packages/_es/ImagePreview.js +11 -6
- package/dist/packages/_es/Indicator.js +2 -2
- package/dist/packages/_es/InfiniteLoading.js +2 -2
- package/dist/packages/_es/Input.js +290 -66
- package/dist/packages/_es/InputNumber.js +2 -2
- package/dist/packages/_es/Layout.js +2 -2
- package/dist/packages/_es/List.js +124 -0
- package/dist/packages/_es/Menu.js +3 -3
- package/dist/packages/_es/MenuItem.js +4 -4
- package/dist/packages/_es/Navbar.js +31 -66
- package/dist/packages/_es/NoticeBar.js +41 -22
- package/dist/packages/_es/Notify.js +9 -5
- package/dist/packages/_es/NumberKeyboard.js +9 -4
- package/dist/packages/_es/OldPicker.js +484 -0
- package/dist/packages/_es/OverLay.js +2 -2
- package/dist/packages/_es/Pagination.js +2 -2
- package/dist/packages/_es/Picker.js +164 -157
- package/dist/packages/_es/Popover.js +7 -4
- package/dist/packages/_es/Popup.js +4 -4
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +14 -22
- package/dist/packages/_es/PullRefresh.js +363 -0
- package/dist/packages/_es/Radio.js +3 -3
- package/dist/packages/_es/RadioGroup.js +2 -2
- package/dist/packages/_es/Range.js +131 -21
- package/dist/packages/_es/Rate.js +2 -2
- package/dist/packages/_es/Row.js +2 -2
- package/dist/packages/_es/SearchBar.js +2 -2
- package/dist/packages/_es/ShortPassword.js +9 -4
- package/dist/packages/_es/SideNavBar.js +2 -2
- package/dist/packages/_es/SideNavBarItem.js +2 -2
- package/dist/packages/_es/Signature.js +25 -6
- package/dist/packages/_es/Skeleton.js +2 -2
- package/dist/packages/_es/Sku.js +31 -13
- package/dist/packages/_es/Step.js +28 -12
- package/dist/packages/_es/Steps.js +8 -3
- package/dist/packages/_es/Sticky.js +3 -3
- package/dist/packages/_es/SubSideNavBar.js +2 -2
- package/dist/packages/_es/Swipe.js +3 -3
- package/dist/packages/_es/Swiper.js +3 -3
- package/dist/packages/_es/SwiperItem.js +3 -3
- package/dist/packages/_es/Switch.js +2 -2
- package/dist/packages/_es/TabPane.js +2 -2
- package/dist/packages/_es/Tabbar.js +2 -2
- package/dist/packages/_es/TabbarItem.js +23 -8
- package/dist/packages/_es/Table.js +2 -2
- package/dist/packages/_es/Tabs.js +8 -5
- package/dist/packages/_es/Tag.js +11 -5
- package/dist/packages/_es/TextArea.js +38 -6
- package/dist/packages/_es/TimeDetail.js +2 -2
- package/dist/packages/_es/TimePannel.js +2 -2
- package/dist/packages/_es/TimeSelect.js +8 -3
- package/dist/packages/_es/Toast.js +16 -9
- package/dist/packages/_es/Uploader.js +2 -4
- package/dist/packages/_es/Video.js +12 -8
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +2 -2
- package/dist/packages/_es/index.js +6 -8
- package/dist/packages/_es/index2.js +9 -32
- package/dist/packages/_es/index3.js +29 -57
- package/dist/packages/_es/index4.js +64 -0
- package/dist/packages/_es/index5.js +687 -0
- package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
- package/dist/packages/_es/pxCheck.js +2 -2
- package/dist/packages/_es/raf.js +2 -2
- package/dist/packages/_es/util.js +2 -2
- package/dist/packages/actionsheet/index.scss +7 -6
- package/dist/packages/badge/index.scss +11 -13
- package/dist/packages/button/index.scss +6 -5
- package/dist/packages/calendar/index.scss +9 -4
- package/dist/packages/calendaritem/index.scss +0 -207
- package/dist/packages/cell/index.scss +9 -9
- package/dist/packages/cellgroup/index.scss +1 -1
- package/dist/packages/checkbox/index.scss +4 -3
- package/dist/packages/collapseitem/index.scss +21 -11
- package/dist/packages/countdown/index.scss +3 -1
- package/dist/packages/divider/index.scss +8 -8
- package/dist/packages/elevator/index.scss +36 -36
- package/dist/packages/formitem/index.scss +15 -8
- package/dist/packages/indicator/index.scss +1 -1
- package/dist/packages/input/index.scss +70 -24
- package/dist/packages/inputnumber/index.scss +4 -2
- package/dist/packages/list/index.scss +24 -0
- package/dist/packages/menu/index.scss +3 -3
- package/dist/packages/navbar/index.scss +30 -8
- package/dist/packages/noticebar/index.scss +10 -5
- package/dist/packages/notify/index.scss +10 -0
- package/dist/packages/numberkeyboard/index.scss +22 -21
- package/dist/packages/oldpicker/index.scss +131 -0
- package/dist/packages/picker/index.scss +38 -32
- package/dist/packages/progress/index.scss +24 -19
- package/dist/packages/radio/index.scss +7 -6
- package/dist/packages/range/index.scss +113 -6
- package/dist/packages/searchbar/index.scss +7 -7
- package/dist/packages/sidenavbaritem/index.scss +5 -5
- package/dist/packages/step/index.scss +29 -29
- package/dist/packages/subsidenavbar/index.scss +10 -8
- package/dist/packages/swiper/index.scss +4 -4
- package/dist/packages/switch/index.scss +8 -8
- package/dist/packages/tabbar/index.scss +3 -2
- package/dist/packages/tabbaritem/index.scss +19 -3
- package/dist/packages/tabs/index.scss +1 -0
- package/dist/packages/timedetail/index.scss +13 -13
- package/dist/packages/timepannel/index.scss +7 -7
- package/dist/packages/timeselect/index.scss +3 -3
- package/dist/packages/toast/index.scss +8 -7
- package/dist/packages/uploader/index.scss +4 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +43 -41
- package/dist/styles/themes/jdt.scss +91 -0
- package/dist/styles/variables-jdt.scss +728 -0
- package/dist/styles/variables.scss +322 -38
- package/package.json +3 -2
- package/dist/styles/themes/jdd.scss +0 -2
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
overflow: auto;
|
|
8
8
|
&__item {
|
|
9
9
|
display: block;
|
|
10
|
-
font-size:
|
|
11
|
-
color:
|
|
10
|
+
font-size: $elevator-list-item-font-size;
|
|
11
|
+
color: $elevator-list-item-font-color;
|
|
12
12
|
&__code {
|
|
13
13
|
position: relative;
|
|
14
|
-
height:
|
|
15
|
-
line-height:
|
|
16
|
-
font-size:
|
|
17
|
-
color:
|
|
18
|
-
padding:
|
|
19
|
-
font-weight:
|
|
14
|
+
height: $elevator-list-item-code-height;
|
|
15
|
+
line-height: $elevator-list-item-code-line-height;
|
|
16
|
+
font-size: $elevator-list-item-code-font-size;
|
|
17
|
+
color: $elevator-list-item-code-font-color;
|
|
18
|
+
padding: $elevator-list-item-code-padding;
|
|
19
|
+
font-weight: $elevator-list-item-code-font-weight;
|
|
20
20
|
&::after {
|
|
21
21
|
content: ' ';
|
|
22
|
-
width:
|
|
23
|
-
height:
|
|
22
|
+
width: $elevator-list-item-code-after-width;
|
|
23
|
+
height: $elevator-list-item-code-after-height;
|
|
24
24
|
position: absolute;
|
|
25
25
|
left: 0;
|
|
26
26
|
bottom: 0;
|
|
27
|
-
background-color:
|
|
27
|
+
background-color: $elevator-list-item-code-after-bg-color;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
&__name {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
|
-
padding:
|
|
34
|
-
height:
|
|
35
|
-
line-height:
|
|
33
|
+
padding: $elevator-list-item-name-padding;
|
|
34
|
+
height: $elevator-list-item-name-height;
|
|
35
|
+
line-height: $elevator-list-item-name-line-height;
|
|
36
36
|
&--highcolor {
|
|
37
37
|
color: $elevator-list-item-highcolor;
|
|
38
38
|
}
|
|
@@ -40,33 +40,33 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
&__code--current {
|
|
43
|
-
position:
|
|
44
|
-
right:
|
|
45
|
-
top:
|
|
46
|
-
transform:
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
49
|
-
line-height:
|
|
50
|
-
border-radius:
|
|
51
|
-
background: $
|
|
52
|
-
box-shadow:
|
|
53
|
-
text-align:
|
|
43
|
+
position: $elevator-list-item-code-current-position;
|
|
44
|
+
right: $elevator-list-item-code-current-right;
|
|
45
|
+
top: $elevator-list-item-code-current-top;
|
|
46
|
+
transform: $elevator-list-item-code-current-transform;
|
|
47
|
+
width: $elevator-list-item-code-current-width;
|
|
48
|
+
height: $elevator-list-item-code-current-height;
|
|
49
|
+
line-height: $elevator-list-item-code-current-line-height;
|
|
50
|
+
border-radius: $elevator-list-item-code-current-border-radius;
|
|
51
|
+
background: $elevator-list-item-code-current-bg-color;
|
|
52
|
+
box-shadow: $elevator-list-item-code-current-box-shadow;
|
|
53
|
+
text-align: $elevator-list-item-code-current-text-align;
|
|
54
54
|
}
|
|
55
55
|
&__bars {
|
|
56
|
-
position:
|
|
57
|
-
right:
|
|
58
|
-
top:
|
|
59
|
-
transform:
|
|
60
|
-
padding:
|
|
61
|
-
background-color:
|
|
62
|
-
border-radius:
|
|
63
|
-
text-align:
|
|
64
|
-
z-index:
|
|
56
|
+
position: $elevator-list-item-bars-position;
|
|
57
|
+
right: $elevator-list-item-bars-right;
|
|
58
|
+
top: $elevator-list-item-bars-top;
|
|
59
|
+
transform: $elevator-list-item-bars-transform;
|
|
60
|
+
padding: $elevator-list-item-bars-padding;
|
|
61
|
+
background-color: $elevator-list-item-bars-background-color;
|
|
62
|
+
border-radius: $elevator-list-item-bars-border-radius;
|
|
63
|
+
text-align: $elevator-list-item-bars-text-align;
|
|
64
|
+
z-index: $elevator-list-item-bars-z-index;
|
|
65
65
|
&__inner {
|
|
66
66
|
&__item {
|
|
67
67
|
display: block;
|
|
68
|
-
padding:
|
|
69
|
-
font-size:
|
|
68
|
+
padding: $elevator-list-item-bars-inner-item-padding;
|
|
69
|
+
font-size: $elevator-list-item-bars-inner-item-font-size;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -21,28 +21,31 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&__label {
|
|
24
|
-
font-size:
|
|
24
|
+
font-size: $form-item-label-font-size;
|
|
25
25
|
font-weight: normal;
|
|
26
|
-
width:
|
|
27
|
-
margin-right:
|
|
26
|
+
width: $form-item-label-width;
|
|
27
|
+
margin-right: $form-item-label-margin-right;
|
|
28
28
|
flex: none !important;
|
|
29
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
30
30
|
word-wrap: break-word;
|
|
31
|
+
text-align: $form-item-label-text-align;
|
|
31
32
|
&.required {
|
|
32
33
|
&::before {
|
|
33
34
|
content: '*';
|
|
34
35
|
color: $form-item-required-color;
|
|
35
|
-
margin-right:
|
|
36
|
+
margin-right: $form-item-required-margin-right;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
&__body {
|
|
40
41
|
flex: 1;
|
|
41
|
-
display: flex;
|
|
42
|
+
display: flex !important;
|
|
42
43
|
flex-direction: column;
|
|
43
44
|
&__slots {
|
|
45
|
+
text-align: $form-item-body-slots-text-align;
|
|
44
46
|
.nut-input-text {
|
|
45
|
-
font-size:
|
|
47
|
+
font-size: $form-item-body-font-size;
|
|
48
|
+
text-align: $form-item-body-input-text-align;
|
|
46
49
|
width: 100%;
|
|
47
50
|
outline: 0 none;
|
|
48
51
|
border: 0;
|
|
@@ -53,10 +56,14 @@
|
|
|
53
56
|
}
|
|
54
57
|
.nut-textarea {
|
|
55
58
|
padding: 0 !important;
|
|
59
|
+
.nut-textarea__textarea {
|
|
60
|
+
text-align: $form-item-body-input-text-align;
|
|
61
|
+
}
|
|
56
62
|
}
|
|
57
63
|
}
|
|
58
64
|
&__tips {
|
|
59
|
-
|
|
65
|
+
text-align: $form-item-tip-text-align;
|
|
66
|
+
font-size: $form-item-tip-font-size;
|
|
60
67
|
color: $form-item-error-message-color;
|
|
61
68
|
}
|
|
62
69
|
}
|
|
@@ -1,55 +1,96 @@
|
|
|
1
|
+
input,
|
|
2
|
+
textarea {
|
|
3
|
+
font: inherit;
|
|
4
|
+
}
|
|
1
5
|
.nut-input {
|
|
2
6
|
position: relative;
|
|
3
7
|
width: 100%;
|
|
4
|
-
padding: 10px
|
|
8
|
+
padding: 10px 25px;
|
|
5
9
|
display: flex;
|
|
10
|
+
line-height: 24px;
|
|
6
11
|
background: $white;
|
|
7
12
|
font-size: $input-font-size;
|
|
8
13
|
box-sizing: border-box;
|
|
9
|
-
|
|
14
|
+
&.center {
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
10
17
|
&.nut-input-border {
|
|
11
18
|
border-bottom: 1px solid $input-border-bottom;
|
|
12
19
|
}
|
|
13
20
|
|
|
14
|
-
&.nut-input-require {
|
|
15
|
-
&::before {
|
|
16
|
-
position: absolute;
|
|
17
|
-
left: 14px;
|
|
18
|
-
color: $input-require-color;
|
|
19
|
-
content: '*';
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
21
|
.input-text,
|
|
24
22
|
&__text--readonly {
|
|
25
|
-
width:
|
|
26
|
-
|
|
27
|
-
padding:
|
|
28
|
-
|
|
23
|
+
width: 100%;
|
|
24
|
+
padding: 0;
|
|
25
|
+
// padding-right: 35px;
|
|
26
|
+
line-height: inherit;
|
|
29
27
|
text-align: left;
|
|
30
28
|
outline: 0 none;
|
|
31
29
|
border: 0;
|
|
32
30
|
text-decoration: none;
|
|
31
|
+
resize: none;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
&-label {
|
|
36
35
|
width: 80px;
|
|
37
36
|
overflow: hidden;
|
|
38
|
-
|
|
37
|
+
margin-right: 6px;
|
|
39
38
|
text-align: left;
|
|
40
|
-
display: flex;
|
|
41
|
-
|
|
42
39
|
.label-string {
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
white-space: nowrap;
|
|
45
|
-
text-overflow: ellipsis;
|
|
40
|
+
// overflow: hidden;
|
|
41
|
+
// white-space: nowrap;
|
|
42
|
+
// text-overflow: ellipsis;
|
|
46
43
|
}
|
|
47
44
|
}
|
|
48
|
-
|
|
45
|
+
&-value {
|
|
46
|
+
flex: 1;
|
|
47
|
+
vertical-align: middle;
|
|
48
|
+
}
|
|
49
|
+
&-inner {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
&-error-message {
|
|
54
|
+
color: $input-required-color;
|
|
55
|
+
font-size: 12px;
|
|
56
|
+
}
|
|
57
|
+
&-word-limit {
|
|
58
|
+
display: block;
|
|
59
|
+
margin-top: 4px;
|
|
60
|
+
color: #808080;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
// line-height: var(--van-field-word-limit-line-height);
|
|
63
|
+
text-align: right;
|
|
64
|
+
}
|
|
65
|
+
&-left-icon,
|
|
66
|
+
&-right-icon {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
font-size: 0;
|
|
70
|
+
}
|
|
71
|
+
&-clear,
|
|
72
|
+
&-right-icon {
|
|
73
|
+
margin-left: 4px;
|
|
74
|
+
}
|
|
75
|
+
&-left-icon {
|
|
76
|
+
margin-right: 4px;
|
|
77
|
+
}
|
|
78
|
+
&-clear {
|
|
49
79
|
width: 16px;
|
|
50
80
|
height: 16px;
|
|
51
|
-
|
|
52
|
-
|
|
81
|
+
color: #c8c9cc;
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
}
|
|
84
|
+
.nut-button {
|
|
85
|
+
margin-left: 10px;
|
|
86
|
+
}
|
|
87
|
+
&.nut-input-required {
|
|
88
|
+
&::before {
|
|
89
|
+
position: absolute;
|
|
90
|
+
left: 14px;
|
|
91
|
+
color: $input-required-color;
|
|
92
|
+
content: '*';
|
|
93
|
+
}
|
|
53
94
|
}
|
|
54
95
|
&-disabled {
|
|
55
96
|
color: $input-disabled-color !important;
|
|
@@ -61,4 +102,9 @@
|
|
|
61
102
|
-webkit-text-fill-color: $input-disabled-color;
|
|
62
103
|
}
|
|
63
104
|
}
|
|
105
|
+
&-error,
|
|
106
|
+
&-error::placeholder {
|
|
107
|
+
color: $input-required-color;
|
|
108
|
+
-webkit-text-fill-color: $input-required-color;
|
|
109
|
+
}
|
|
64
110
|
}
|
|
@@ -24,8 +24,10 @@
|
|
|
24
24
|
height: 100%;
|
|
25
25
|
text-align: center;
|
|
26
26
|
outline: none;
|
|
27
|
-
border:
|
|
28
|
-
|
|
27
|
+
border: $inputnumber-input-border;
|
|
28
|
+
font-size: $inputnumber-input-font-size;
|
|
29
|
+
color: $inputnumber-input-font-color;
|
|
30
|
+
margin: $inputnumber-input-margin;
|
|
29
31
|
background-color: $inputnumber-input-background-color;
|
|
30
32
|
border-radius: $inputnumber-input-border-radius;
|
|
31
33
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.nut-list {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
overflow: scroll;
|
|
5
|
+
position: relative;
|
|
6
|
+
-webkit-overflow-scrolling: touch;
|
|
7
|
+
&-phantom {
|
|
8
|
+
position: absolute;
|
|
9
|
+
left: 0;
|
|
10
|
+
top: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
z-index: -1;
|
|
13
|
+
}
|
|
14
|
+
&-container {
|
|
15
|
+
left: 0;
|
|
16
|
+
right: 0;
|
|
17
|
+
top: 0;
|
|
18
|
+
position: absolute;
|
|
19
|
+
}
|
|
20
|
+
&-item {
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
margin: $list-item-margin;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
display: flex;
|
|
4
4
|
line-height: $menu-bar-line-height;
|
|
5
5
|
background-color: $white;
|
|
6
|
-
|
|
6
|
+
box-shadow: $menu-bar-box-shadow;
|
|
7
7
|
|
|
8
8
|
&.opened {
|
|
9
9
|
z-index: $menu-bar-opened-z-index;
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
.nut-menu__item {
|
|
13
13
|
flex: 1;
|
|
14
14
|
text-align: center;
|
|
15
|
-
font-size: $font-size
|
|
16
|
-
color: $
|
|
15
|
+
font-size: $menu-item-font-size;
|
|
16
|
+
color: $menu-item-text-color;
|
|
17
17
|
min-width: 0;
|
|
18
18
|
|
|
19
19
|
&.active {
|
|
@@ -2,18 +2,28 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
|
-
height:
|
|
5
|
+
height: $navbar-height;
|
|
6
6
|
box-sizing: border-box;
|
|
7
|
-
padding:
|
|
8
|
-
background: $
|
|
9
|
-
box-shadow:
|
|
10
|
-
font-size: $
|
|
11
|
-
color: $
|
|
12
|
-
margin-bottom:
|
|
7
|
+
padding: $navbar-padding;
|
|
8
|
+
background: $navbar-background;
|
|
9
|
+
box-shadow: $navbar-box-shadow;
|
|
10
|
+
font-size: $navbar-title-base-font;
|
|
11
|
+
color: $navbar-color;
|
|
12
|
+
margin-bottom: $navbar-margin-bottom;
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
&:active::before {
|
|
15
15
|
opacity: 0.1;
|
|
16
16
|
}
|
|
17
|
+
&--fixed {
|
|
18
|
+
position: fixed;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
&--safe-area-inset-top {
|
|
24
|
+
padding-top: constant(safe-area-inset-top);
|
|
25
|
+
padding-top: env(safe-area-inset-top);
|
|
26
|
+
}
|
|
17
27
|
&--clickable {
|
|
18
28
|
&::before {
|
|
19
29
|
position: absolute;
|
|
@@ -41,9 +51,21 @@
|
|
|
41
51
|
min-width: 53%;
|
|
42
52
|
margin: 0 auto;
|
|
43
53
|
text-align: center;
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
.title {
|
|
57
|
+
width: $navbar-title-width;
|
|
58
|
+
font-size: $navbar-title-font;
|
|
59
|
+
font-weight: $navbar-title-font-weight;
|
|
60
|
+
color: $navbar-title-font-color;
|
|
61
|
+
display: -webkit-box;
|
|
62
|
+
-webkit-box-orient: vertical;
|
|
63
|
+
-webkit-line-clamp: 1;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
}
|
|
44
66
|
&.icon {
|
|
45
67
|
.icon {
|
|
46
|
-
margin
|
|
68
|
+
margin: $navbar-title-icon-margin;
|
|
47
69
|
}
|
|
48
70
|
}
|
|
49
71
|
.nut-icon {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
.nut-noticebar-page {
|
|
2
|
-
width: 100%;
|
|
2
|
+
// width: 100%;
|
|
3
3
|
display: flex;
|
|
4
|
+
padding: $noticebar-box-padding;
|
|
4
5
|
height: $noticebar-height;
|
|
5
6
|
font-size: $noticebar-font-size;
|
|
6
7
|
position: relative;
|
|
7
8
|
align-items: center;
|
|
9
|
+
background: $noticebar-background;
|
|
10
|
+
color: $noticebar-color;
|
|
8
11
|
&.wrapable {
|
|
9
12
|
height: auto;
|
|
10
|
-
padding:
|
|
13
|
+
padding: $noticebar-wrapable-padding;
|
|
11
14
|
.wrap {
|
|
12
15
|
height: auto;
|
|
13
16
|
.content {
|
|
@@ -25,7 +28,7 @@
|
|
|
25
28
|
.left-icon {
|
|
26
29
|
height: $noticebar-left-icon-width;
|
|
27
30
|
min-width: $noticebar-left-icon-width;
|
|
28
|
-
margin:
|
|
31
|
+
margin: $noticebar-lefticon-margin;
|
|
29
32
|
background-size: 100% 100%;
|
|
30
33
|
}
|
|
31
34
|
.right-icon {
|
|
@@ -33,9 +36,10 @@
|
|
|
33
36
|
align-items: center;
|
|
34
37
|
justify-content: center;
|
|
35
38
|
width: $noticebar-right-icon-width;
|
|
36
|
-
margin:
|
|
39
|
+
margin: $noticebar-righticon-margin;
|
|
37
40
|
}
|
|
38
41
|
.wrap {
|
|
42
|
+
display: flex;
|
|
39
43
|
flex: 1;
|
|
40
44
|
height: $noticebar-line-height;
|
|
41
45
|
line-height: $noticebar-line-height;
|
|
@@ -72,7 +76,7 @@
|
|
|
72
76
|
|
|
73
77
|
@keyframes nut-notice-bar-play-infinite {
|
|
74
78
|
to {
|
|
75
|
-
transform:
|
|
79
|
+
transform: translateX(-100%);
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
// 垂直方向的滚动
|
|
@@ -90,6 +94,7 @@
|
|
|
90
94
|
height: $noticebar-height;
|
|
91
95
|
font-size: $noticebar-font-size;
|
|
92
96
|
overflow: hidden;
|
|
97
|
+
padding: $noticebar-box-padding;
|
|
93
98
|
|
|
94
99
|
.horseLamp_list {
|
|
95
100
|
margin: 0;
|
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
transition: transform 0.3s;
|
|
8
8
|
z-index: 9999;
|
|
9
9
|
}
|
|
10
|
+
.popup-bottom {
|
|
11
|
+
position: fixed;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
width: 100%;
|
|
15
|
+
overflow-y: auto;
|
|
16
|
+
transition: transform 0.3s;
|
|
17
|
+
z-index: 9999;
|
|
18
|
+
}
|
|
10
19
|
|
|
11
20
|
.nut-fade-enter-active {
|
|
12
21
|
transition: opacity 1s;
|
|
@@ -29,6 +38,7 @@
|
|
|
29
38
|
text-align: center;
|
|
30
39
|
word-wrap: break-word;
|
|
31
40
|
height: $notify-height;
|
|
41
|
+
line-height: $notify-line-height;
|
|
32
42
|
&--base {
|
|
33
43
|
background: $notify-base-background-color;
|
|
34
44
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.nut-numberkeyboard {
|
|
2
|
-
width:
|
|
3
|
-
padding
|
|
4
|
-
background-color:
|
|
2
|
+
width: $numberkeyboard-width;
|
|
3
|
+
padding: $numberkeyboard-padding;
|
|
4
|
+
background-color: $numberkeyboard-background-color;
|
|
5
5
|
user-select: none;
|
|
6
6
|
|
|
7
7
|
.number-board-header {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: center;
|
|
12
12
|
box-sizing: content-box;
|
|
13
|
-
height:
|
|
14
|
-
padding
|
|
15
|
-
color:
|
|
16
|
-
font-size:
|
|
13
|
+
height: $numberkeyboard-header-height;
|
|
14
|
+
padding: $numberkeyboard-header-padding;
|
|
15
|
+
color: $numberkeyboard-header-color;
|
|
16
|
+
font-size: $numberkeyboard-header-font-size;
|
|
17
17
|
|
|
18
18
|
.tit {
|
|
19
19
|
display: inline-block;
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
position: absolute;
|
|
24
24
|
display: block;
|
|
25
25
|
right: 0;
|
|
26
|
-
padding:
|
|
27
|
-
color:
|
|
28
|
-
font-size:
|
|
29
|
-
background-color:
|
|
26
|
+
padding: $numberkeyboard-header-close-padding;
|
|
27
|
+
color: $numberkeyboard-header-close-color;
|
|
28
|
+
font-size: $numberkeyboard-header-close-font-size;
|
|
29
|
+
background-color: $numberkeyboard-header-close-background-color;
|
|
30
30
|
border: none;
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
}
|
|
@@ -53,16 +53,17 @@
|
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
justify-content: center;
|
|
56
|
-
height:
|
|
57
|
-
font-size:
|
|
58
|
-
line-height:
|
|
59
|
-
background-color:
|
|
60
|
-
|
|
56
|
+
height: $numberkeyboard-key-height;
|
|
57
|
+
font-size: $numberkeyboard-key-font-size;
|
|
58
|
+
line-height: $numberkeyboard-key-line-height;
|
|
59
|
+
background-color: $numberkeyboard-key-background-color;
|
|
60
|
+
color: $numberkeyboard-key-font-size-color;
|
|
61
|
+
border-radius: $numberkeyboard-key-border-radius;
|
|
61
62
|
cursor: pointer;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
.active {
|
|
65
|
-
background-color:
|
|
66
|
+
background-color: $numberkeyboard-key-active-background-color;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
img {
|
|
@@ -91,13 +92,13 @@
|
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
.finish {
|
|
94
|
-
font-size:
|
|
95
|
-
color:
|
|
96
|
-
background-color:
|
|
95
|
+
font-size: $numberkeyboard-key-finish-font-size;
|
|
96
|
+
color: $numberkeyboard-key-finish-font-size-color;
|
|
97
|
+
background-color: $numberkeyboard-key-finish-background-color;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.activeFinsh {
|
|
100
|
-
background-color:
|
|
101
|
+
background-color: $numberkeyboard-key-activeFinsh-background-color;
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
}
|