1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
| /**
| * number-step
| * @author Tevin
| */
|
| @import "../../common/sassMixin";
|
| .c-number-step {
| .at-input__container {
| .weui-input,
| .at-input__input {
| display: none;
| }
| }
| .at-input__icon {
| display: none;
| }
| .at-input {
| padding: 16px 0;
| }
| .c-number-step-step {
| .at-input-number {
| .weui-input {
| display: inline-block;
| }
| .at-input-number__btn {
| padding: 16px 16px;
| width: 36px;
| height: 30px;
| }
| .at-input-number__input {
| font-size: 36px;
| }
| .at-input-number__btn-subtract,
| .at-input-number__btn-add {
| font-size: 36px;
| }
| }
| &.on-unit {
| position: relative;
| .at-input-number__input {
| padding-right: 40px;
| }
| .c-number-step-unit {
| @include position(absolute, 2px 186px n n);
| width: 40px;
| line-height: 62px;
| color: #999;
| }
| }
| }
| }
|
|