xiaoe_mp_npm 0.5.42-test2 → 0.5.42-test21

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 (123) hide show
  1. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  2. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -1
  3. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  4. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +522 -36
  5. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  6. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +170 -14
  7. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +61 -0
  8. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +68 -2
  9. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  10. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +26 -2
  11. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +62 -0
  12. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +81 -3
  13. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.scss +41 -0
  14. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +35 -3
  15. package/miniprogram_dist/CouponList/components/CouponItem/index.css +1715 -1715
  16. package/miniprogram_dist/CouponList/components/CouponItem/index.js +31 -22
  17. package/miniprogram_dist/CouponList/components/CouponItem/index.min.css +1 -1
  18. package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +6 -2
  19. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +1037 -79
  20. package/miniprogram_dist/CouponList/couponColumn/index.js +5 -1
  21. package/miniprogram_dist/CouponList/couponColumn/index.scss +118 -0
  22. package/miniprogram_dist/CouponList/couponColumn/index.wxml +1 -0
  23. package/miniprogram_dist/CouponList/couponColumn/index.wxss +221 -32
  24. package/miniprogram_dist/CouponReceivePopup/index.js +75 -0
  25. package/miniprogram_dist/CouponReceivePopup/index.json +6 -0
  26. package/miniprogram_dist/CouponReceivePopup/index.scss +99 -0
  27. package/miniprogram_dist/CouponReceivePopup/index.wxml +85 -0
  28. package/miniprogram_dist/CouponReceivePopup/index.wxss +75 -0
  29. package/miniprogram_dist/GoodsItem/index.js +7 -5
  30. package/miniprogram_dist/GoodsItem/index.scss +45 -22
  31. package/miniprogram_dist/GoodsItem/index.wxml +11 -11
  32. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  33. package/miniprogram_dist/GoodsItem/index.wxss +1273 -116
  34. package/miniprogram_dist/GoodsRecommend/index.scss +162 -0
  35. package/miniprogram_dist/GoodsRecommend/index.wxss +418 -33
  36. package/miniprogram_dist/LiveGoodsList/Header/index.scss +79 -0
  37. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +148 -10
  38. package/miniprogram_dist/LiveGoodsList/index.js +167 -25
  39. package/miniprogram_dist/LiveGoodsList/index.scss +93 -0
  40. package/miniprogram_dist/LiveGoodsList/index.wxml +41 -19
  41. package/miniprogram_dist/LiveGoodsList/index.wxss +187 -19
  42. package/miniprogram_dist/PayModule/button/index.scss +45 -0
  43. package/miniprogram_dist/PayModule/button/index.wxss +46 -4
  44. package/miniprogram_dist/TeacherGoodsList/index.js +778 -585
  45. package/miniprogram_dist/TeacherGoodsList/index.scss +5 -2
  46. package/miniprogram_dist/TeacherGoodsList/index.wxml +42 -24
  47. package/miniprogram_dist/TeacherGoodsList/index.wxss +132 -14
  48. package/miniprogram_dist/common/api/liveGoodsList.js +10 -2
  49. package/miniprogram_dist/common/utils/index.js +14 -0
  50. package/miniprogram_dist/coupon/components/CouponItem/index.less +1 -0
  51. package/miniprogram_dist/coupon/components/CouponItem/index.scss +247 -0
  52. package/miniprogram_dist/coupon/components/CouponItem/index.wxss +677 -86
  53. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +331 -0
  54. package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +861 -59
  55. package/miniprogram_dist/coupon/index.scss +83 -0
  56. package/miniprogram_dist/coupon/index.wxss +171 -15
  57. package/package.json +2 -2
  58. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +45 -0
  59. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +42 -1
  60. package/src/ConfirmOrder/components/GoodsInfo/index.scss +223 -0
  61. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +552 -39
  62. package/src/ConfirmOrder/components/IntegralSelect/index.scss +91 -0
  63. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +182 -14
  64. package/src/ConfirmOrder/components/Invoice/index.scss +61 -0
  65. package/src/ConfirmOrder/components/Invoice/index.wxss +75 -2
  66. package/src/ConfirmOrder/components/LeaveWord/index.scss +40 -0
  67. package/src/ConfirmOrder/components/LeaveWord/index.wxss +30 -2
  68. package/src/ConfirmOrder/components/PayBar/index.scss +62 -0
  69. package/src/ConfirmOrder/components/PayBar/index.wxss +87 -3
  70. package/src/ConfirmOrder/components/PayDetail/index.scss +41 -0
  71. package/src/ConfirmOrder/components/PayDetail/index.wxss +39 -3
  72. package/src/CouponList/components/CouponItem/index.css +1715 -1715
  73. package/src/CouponList/components/CouponItem/index.js +31 -22
  74. package/src/CouponList/components/CouponItem/index.min.css +1 -1
  75. package/src/CouponList/components/CouponItem/index.wxml +6 -2
  76. package/src/CouponList/components/CouponItem/index.wxss +1039 -85
  77. package/src/CouponList/couponColumn/index.js +5 -1
  78. package/src/CouponList/couponColumn/index.scss +118 -0
  79. package/src/CouponList/couponColumn/index.wxml +1 -0
  80. package/src/CouponList/couponColumn/index.wxss +236 -32
  81. package/src/CouponReceivePopup/index.js +75 -0
  82. package/src/CouponReceivePopup/index.json +6 -0
  83. package/src/CouponReceivePopup/index.scss +99 -0
  84. package/src/CouponReceivePopup/index.wxml +85 -0
  85. package/src/CouponReceivePopup/index.wxss +1 -0
  86. package/src/GoodsItem/index.js +7 -5
  87. package/src/GoodsItem/index.scss +45 -22
  88. package/src/GoodsItem/index.wxml +11 -11
  89. package/src/GoodsItem/index.wxs +18 -18
  90. package/src/GoodsItem/index.wxss +1331 -116
  91. package/src/GoodsRecommend/index.scss +162 -0
  92. package/src/GoodsRecommend/index.wxss +441 -33
  93. package/src/LiveGoodsList/Header/index.scss +79 -0
  94. package/src/LiveGoodsList/Header/index.wxss +156 -10
  95. package/src/LiveGoodsList/index.js +167 -25
  96. package/src/LiveGoodsList/index.scss +93 -0
  97. package/src/LiveGoodsList/index.wxml +41 -19
  98. package/src/LiveGoodsList/index.wxss +230 -50
  99. package/src/PayModule/button/index.scss +45 -0
  100. package/src/PayModule/button/index.wxss +50 -4
  101. package/src/TeacherGoodsList/index.js +778 -585
  102. package/src/TeacherGoodsList/index.scss +5 -2
  103. package/src/TeacherGoodsList/index.wxml +42 -24
  104. package/src/TeacherGoodsList/index.wxss +151 -14
  105. package/src/common/api/liveGoodsList.js +10 -2
  106. package/src/common/utils/index.js +14 -0
  107. package/src/coupon/components/CouponItem/index.less +1 -0
  108. package/src/coupon/components/CouponItem/index.scss +247 -0
  109. package/src/coupon/components/CouponItem/index.wxss +712 -86
  110. package/src/coupon/components/CouponSelect/index.scss +331 -0
  111. package/src/coupon/components/CouponSelect/index.wxss +910 -59
  112. package/src/coupon/index.scss +83 -0
  113. package/src/coupon/index.wxss +181 -15
  114. package/miniprogram_dist/GoodsItem/index.css +0 -1364
  115. package/miniprogram_dist/GoodsItem/index.less +0 -299
  116. package/miniprogram_dist/GoodsItem/index.min.css +0 -1
  117. package/miniprogram_dist/TeacherGoodsList/index.css +0 -187
  118. package/miniprogram_dist/TeacherGoodsList/index.min.css +0 -1
  119. package/src/GoodsItem/index.css +0 -1364
  120. package/src/GoodsItem/index.less +0 -299
  121. package/src/GoodsItem/index.min.css +0 -1
  122. package/src/TeacherGoodsList/index.css +0 -187
  123. package/src/TeacherGoodsList/index.min.css +0 -1
@@ -0,0 +1,91 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin integral-select {
7
+ padding: 0 vmin(32);
8
+ background-color: #fff;
9
+
10
+ .integral-wrapper {
11
+ border-top: vmin(1) solid #eee;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: space-between;
15
+ box-sizing: border-box;
16
+ background: #fff;
17
+ height: vmin(88);
18
+ .width16{
19
+ width:vmin(32);
20
+ }
21
+
22
+ .left-text {
23
+ display: flex;
24
+ flex-direction: row;
25
+ align-items: center;
26
+
27
+ .title {
28
+ font-size: vmin(28);
29
+ color: #333;
30
+ }
31
+
32
+ .tips-icon {
33
+ width: vmin(28);
34
+ height: vmin(28);
35
+ margin-left: vmin(8);
36
+ color: #999;
37
+ padding-top: vmin(2);
38
+ }
39
+ }
40
+
41
+ .right-text {
42
+ display: flex;
43
+ align-items: center;
44
+
45
+ .current {
46
+ font-size: vmin(28);
47
+ color: #999;
48
+ margin-right: vmin(16);
49
+ }
50
+
51
+ .discount {
52
+ font-size: vmin(28);
53
+ color: #ff8205;
54
+ margin-right: vmin(16);
55
+ }
56
+ }
57
+
58
+ .cannot-use {
59
+ font-size: vmin(28);
60
+ color: #c8c8c8;
61
+ }
62
+ }
63
+ }
64
+
65
+ .integral-select {
66
+ @include integral-select;
67
+ }
68
+ // 竖屏pad
69
+ @media screen and (min-width: 768px) and (orientation: portrait) {
70
+ $deviceWidth: 1536 !global;
71
+
72
+ .integral-select {
73
+ @include integral-select;
74
+ }
75
+ }
76
+ // PC 放大适配
77
+ @media screen and (min-height: 630px) and (orientation: landscape) {
78
+ $deviceWidth: 1260 !global;
79
+
80
+ .integral-select {
81
+ @include integral-select;
82
+ }
83
+ }
84
+ // 横屏pad
85
+ @media screen and (min-height: 768px) and (orientation: landscape) {
86
+ $deviceWidth: 1536 !global;
87
+
88
+ .integral-select {
89
+ @include integral-select;
90
+ }
91
+ }
@@ -1,50 +1,218 @@
1
1
  .integral-select {
2
- padding: 0 4.27vmin;
2
+ padding: 0 4.26667vmin;
3
3
  background-color: #fff;
4
4
  }
5
+
5
6
  .integral-select .integral-wrapper {
6
- border-top: 0.13vmin solid #eee;
7
+ border-top: 0.13333vmin solid #eee;
7
8
  display: flex;
8
9
  align-items: center;
9
10
  justify-content: space-between;
10
11
  box-sizing: border-box;
11
12
  background: #fff;
12
- height: 11.73vmin;
13
+ height: 11.73333vmin;
13
14
  }
15
+
14
16
  .integral-select .integral-wrapper .width16 {
15
- width: 4.27vmin;
17
+ width: 4.26667vmin;
16
18
  }
19
+
17
20
  .integral-select .integral-wrapper .left-text {
18
21
  display: flex;
19
22
  flex-direction: row;
20
23
  align-items: center;
21
24
  }
25
+
22
26
  .integral-select .integral-wrapper .left-text .title {
23
- font-size: 3.73vmin;
27
+ font-size: 3.73333vmin;
24
28
  color: #333;
25
29
  }
30
+
26
31
  .integral-select .integral-wrapper .left-text .tips-icon {
27
- width: 3.73vmin;
28
- height: 3.73vmin;
29
- margin-left: 1.07vmin;
32
+ width: 3.73333vmin;
33
+ height: 3.73333vmin;
34
+ margin-left: 1.06667vmin;
30
35
  color: #999;
31
- padding-top: 0.27vmin;
36
+ padding-top: 0.26667vmin;
32
37
  }
38
+
33
39
  .integral-select .integral-wrapper .right-text {
34
40
  display: flex;
35
41
  align-items: center;
36
42
  }
43
+
37
44
  .integral-select .integral-wrapper .right-text .current {
38
- font-size: 3.73vmin;
45
+ font-size: 3.73333vmin;
39
46
  color: #999;
40
- margin-right: 2.13vmin;
47
+ margin-right: 2.13333vmin;
41
48
  }
49
+
42
50
  .integral-select .integral-wrapper .right-text .discount {
43
- font-size: 3.73vmin;
51
+ font-size: 3.73333vmin;
44
52
  color: #ff8205;
45
- margin-right: 2.13vmin;
53
+ margin-right: 2.13333vmin;
46
54
  }
55
+
47
56
  .integral-select .integral-wrapper .cannot-use {
48
- font-size: 3.73vmin;
57
+ font-size: 3.73333vmin;
49
58
  color: #c8c8c8;
50
59
  }
60
+
61
+ @media screen and (min-width: 768px) and (orientation: portrait) {
62
+ .integral-select {
63
+ padding: 0 2.08333vmin;
64
+ background-color: #fff;
65
+ }
66
+ .integral-select .integral-wrapper {
67
+ border-top: 0.0651vmin solid #eee;
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: space-between;
71
+ box-sizing: border-box;
72
+ background: #fff;
73
+ height: 5.72917vmin;
74
+ }
75
+ .integral-select .integral-wrapper .width16 {
76
+ width: 2.08333vmin;
77
+ }
78
+ .integral-select .integral-wrapper .left-text {
79
+ display: flex;
80
+ flex-direction: row;
81
+ align-items: center;
82
+ }
83
+ .integral-select .integral-wrapper .left-text .title {
84
+ font-size: 1.82292vmin;
85
+ color: #333;
86
+ }
87
+ .integral-select .integral-wrapper .left-text .tips-icon {
88
+ width: 1.82292vmin;
89
+ height: 1.82292vmin;
90
+ margin-left: 0.52083vmin;
91
+ color: #999;
92
+ padding-top: 0.13021vmin;
93
+ }
94
+ .integral-select .integral-wrapper .right-text {
95
+ display: flex;
96
+ align-items: center;
97
+ }
98
+ .integral-select .integral-wrapper .right-text .current {
99
+ font-size: 1.82292vmin;
100
+ color: #999;
101
+ margin-right: 1.04167vmin;
102
+ }
103
+ .integral-select .integral-wrapper .right-text .discount {
104
+ font-size: 1.82292vmin;
105
+ color: #ff8205;
106
+ margin-right: 1.04167vmin;
107
+ }
108
+ .integral-select .integral-wrapper .cannot-use {
109
+ font-size: 1.82292vmin;
110
+ color: #c8c8c8;
111
+ }
112
+ }
113
+
114
+ @media screen and (min-height: 630px) and (orientation: landscape) {
115
+ .integral-select {
116
+ padding: 0 2.53968vmin;
117
+ background-color: #fff;
118
+ }
119
+ .integral-select .integral-wrapper {
120
+ border-top: 0.07937vmin solid #eee;
121
+ display: flex;
122
+ align-items: center;
123
+ justify-content: space-between;
124
+ box-sizing: border-box;
125
+ background: #fff;
126
+ height: 6.98413vmin;
127
+ }
128
+ .integral-select .integral-wrapper .width16 {
129
+ width: 2.53968vmin;
130
+ }
131
+ .integral-select .integral-wrapper .left-text {
132
+ display: flex;
133
+ flex-direction: row;
134
+ align-items: center;
135
+ }
136
+ .integral-select .integral-wrapper .left-text .title {
137
+ font-size: 2.22222vmin;
138
+ color: #333;
139
+ }
140
+ .integral-select .integral-wrapper .left-text .tips-icon {
141
+ width: 2.22222vmin;
142
+ height: 2.22222vmin;
143
+ margin-left: 0.63492vmin;
144
+ color: #999;
145
+ padding-top: 0.15873vmin;
146
+ }
147
+ .integral-select .integral-wrapper .right-text {
148
+ display: flex;
149
+ align-items: center;
150
+ }
151
+ .integral-select .integral-wrapper .right-text .current {
152
+ font-size: 2.22222vmin;
153
+ color: #999;
154
+ margin-right: 1.26984vmin;
155
+ }
156
+ .integral-select .integral-wrapper .right-text .discount {
157
+ font-size: 2.22222vmin;
158
+ color: #ff8205;
159
+ margin-right: 1.26984vmin;
160
+ }
161
+ .integral-select .integral-wrapper .cannot-use {
162
+ font-size: 2.22222vmin;
163
+ color: #c8c8c8;
164
+ }
165
+ }
166
+
167
+ @media screen and (min-height: 768px) and (orientation: landscape) {
168
+ .integral-select {
169
+ padding: 0 2.08333vmin;
170
+ background-color: #fff;
171
+ }
172
+ .integral-select .integral-wrapper {
173
+ border-top: 0.0651vmin solid #eee;
174
+ display: flex;
175
+ align-items: center;
176
+ justify-content: space-between;
177
+ box-sizing: border-box;
178
+ background: #fff;
179
+ height: 5.72917vmin;
180
+ }
181
+ .integral-select .integral-wrapper .width16 {
182
+ width: 2.08333vmin;
183
+ }
184
+ .integral-select .integral-wrapper .left-text {
185
+ display: flex;
186
+ flex-direction: row;
187
+ align-items: center;
188
+ }
189
+ .integral-select .integral-wrapper .left-text .title {
190
+ font-size: 1.82292vmin;
191
+ color: #333;
192
+ }
193
+ .integral-select .integral-wrapper .left-text .tips-icon {
194
+ width: 1.82292vmin;
195
+ height: 1.82292vmin;
196
+ margin-left: 0.52083vmin;
197
+ color: #999;
198
+ padding-top: 0.13021vmin;
199
+ }
200
+ .integral-select .integral-wrapper .right-text {
201
+ display: flex;
202
+ align-items: center;
203
+ }
204
+ .integral-select .integral-wrapper .right-text .current {
205
+ font-size: 1.82292vmin;
206
+ color: #999;
207
+ margin-right: 1.04167vmin;
208
+ }
209
+ .integral-select .integral-wrapper .right-text .discount {
210
+ font-size: 1.82292vmin;
211
+ color: #ff8205;
212
+ margin-right: 1.04167vmin;
213
+ }
214
+ .integral-select .integral-wrapper .cannot-use {
215
+ font-size: 1.82292vmin;
216
+ color: #c8c8c8;
217
+ }
218
+ }
@@ -0,0 +1,61 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin invoice-show {
7
+ .invoice-title {
8
+ min-width: vmin(144);
9
+ flex-grow: 0;
10
+ }
11
+
12
+ .right-cont {
13
+ display: flex;
14
+ text-align: right;
15
+ align-items: center;
16
+ justify-content: flex-end;
17
+
18
+ .img-zhixiang {
19
+ width: vmin(32);
20
+ height: vmin(32);
21
+ }
22
+ }
23
+
24
+ .EC1 {
25
+ color: #333;
26
+ }
27
+
28
+ .EC4 {
29
+ color: #ccc;
30
+ }
31
+ }
32
+
33
+ .invoice-show {
34
+ @include invoice-show;
35
+ }
36
+ // 竖屏pad
37
+ @media screen and (min-width: 768px) and (orientation: portrait) {
38
+ $deviceWidth: 1536 !global;
39
+
40
+ .invoice-show {
41
+ @include invoice-show;
42
+ }
43
+ }
44
+
45
+ // PC 放大适配
46
+ @media screen and (min-height: 630px) and (orientation: landscape) {
47
+ $deviceWidth: 1260 !global;
48
+
49
+ .invoice-show {
50
+ @include invoice-show;
51
+ }
52
+ }
53
+
54
+ // 横屏pad
55
+ @media screen and (min-height: 768px) and (orientation: landscape) {
56
+ $deviceWidth: 1536 !global;
57
+
58
+ .invoice-show {
59
+ @include invoice-show;
60
+ }
61
+ }
@@ -2,19 +2,92 @@
2
2
  min-width: 19.2vmin;
3
3
  flex-grow: 0;
4
4
  }
5
+
5
6
  .invoice-show .right-cont {
6
7
  display: flex;
7
8
  text-align: right;
8
9
  align-items: center;
9
10
  justify-content: flex-end;
10
11
  }
12
+
11
13
  .invoice-show .right-cont .img-zhixiang {
12
- width: 4.27vmin;
13
- height: 4.27vmin;
14
+ width: 4.26667vmin;
15
+ height: 4.26667vmin;
14
16
  }
17
+
15
18
  .invoice-show .EC1 {
16
19
  color: #333;
17
20
  }
21
+
18
22
  .invoice-show .EC4 {
19
23
  color: #ccc;
20
24
  }
25
+
26
+ @media screen and (min-width: 768px) and (orientation: portrait) {
27
+ .invoice-show .invoice-title {
28
+ min-width: 9.375vmin;
29
+ flex-grow: 0;
30
+ }
31
+ .invoice-show .right-cont {
32
+ display: flex;
33
+ text-align: right;
34
+ align-items: center;
35
+ justify-content: flex-end;
36
+ }
37
+ .invoice-show .right-cont .img-zhixiang {
38
+ width: 2.08333vmin;
39
+ height: 2.08333vmin;
40
+ }
41
+ .invoice-show .EC1 {
42
+ color: #333;
43
+ }
44
+ .invoice-show .EC4 {
45
+ color: #ccc;
46
+ }
47
+ }
48
+
49
+ @media screen and (min-height: 630px) and (orientation: landscape) {
50
+ .invoice-show .invoice-title {
51
+ min-width: 11.42857vmin;
52
+ flex-grow: 0;
53
+ }
54
+ .invoice-show .right-cont {
55
+ display: flex;
56
+ text-align: right;
57
+ align-items: center;
58
+ justify-content: flex-end;
59
+ }
60
+ .invoice-show .right-cont .img-zhixiang {
61
+ width: 2.53968vmin;
62
+ height: 2.53968vmin;
63
+ }
64
+ .invoice-show .EC1 {
65
+ color: #333;
66
+ }
67
+ .invoice-show .EC4 {
68
+ color: #ccc;
69
+ }
70
+ }
71
+
72
+ @media screen and (min-height: 768px) and (orientation: landscape) {
73
+ .invoice-show .invoice-title {
74
+ min-width: 9.375vmin;
75
+ flex-grow: 0;
76
+ }
77
+ .invoice-show .right-cont {
78
+ display: flex;
79
+ text-align: right;
80
+ align-items: center;
81
+ justify-content: flex-end;
82
+ }
83
+ .invoice-show .right-cont .img-zhixiang {
84
+ width: 2.08333vmin;
85
+ height: 2.08333vmin;
86
+ }
87
+ .invoice-show .EC1 {
88
+ color: #333;
89
+ }
90
+ .invoice-show .EC4 {
91
+ color: #ccc;
92
+ }
93
+ }
@@ -0,0 +1,40 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin leave-word {
7
+ margin-bottom: vmin(16);
8
+
9
+ .van-cell {
10
+ line-height: vmin(40);
11
+ }
12
+ }
13
+
14
+ .leave-word {
15
+ @include leave-word;
16
+ }
17
+ // 竖屏pad
18
+ @media screen and (min-width: 768px) and (orientation: portrait) {
19
+ $deviceWidth: 1536 !global;
20
+
21
+ .leave-word {
22
+ @include leave-word;
23
+ }
24
+ }
25
+ // PC 放大适配
26
+ @media screen and (min-height: 630px) and (orientation: landscape) {
27
+ $deviceWidth: 1260 !global;
28
+
29
+ .leave-word {
30
+ @include leave-word;
31
+ }
32
+ }
33
+ // 横屏pad
34
+ @media screen and (min-height: 768px) and (orientation: landscape) {
35
+ $deviceWidth: 1536 !global;
36
+
37
+ .leave-word {
38
+ @include leave-word;
39
+ }
40
+ }
@@ -1,6 +1,34 @@
1
1
  .leave-word {
2
- margin-bottom: 2.13vmin;
2
+ margin-bottom: 2.13333vmin;
3
3
  }
4
+
4
5
  .leave-word .van-cell {
5
- line-height: 5.33vmin;
6
+ line-height: 5.33333vmin;
7
+ }
8
+
9
+ @media screen and (min-width: 768px) and (orientation: portrait) {
10
+ .leave-word {
11
+ margin-bottom: 1.04167vmin;
12
+ }
13
+ .leave-word .van-cell {
14
+ line-height: 2.60417vmin;
15
+ }
16
+ }
17
+
18
+ @media screen and (min-height: 630px) and (orientation: landscape) {
19
+ .leave-word {
20
+ margin-bottom: 1.26984vmin;
21
+ }
22
+ .leave-word .van-cell {
23
+ line-height: 3.1746vmin;
24
+ }
25
+ }
26
+
27
+ @media screen and (min-height: 768px) and (orientation: landscape) {
28
+ .leave-word {
29
+ margin-bottom: 1.04167vmin;
30
+ }
31
+ .leave-word .van-cell {
32
+ line-height: 2.60417vmin;
33
+ }
6
34
  }
@@ -0,0 +1,62 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin paybar {
7
+ bottom: 0;
8
+ background: #fff;
9
+ box-shadow: 0 0 vmin(16) 0 rgba(0, 0, 0, 0.08);
10
+ position: fixed;
11
+ width: 100%;
12
+
13
+ .pay-wrapper {
14
+ display: flex;
15
+ justify-content: space-between;
16
+ align-items: center;
17
+ box-sizing: border-box;
18
+ padding: 0 vmin(40);
19
+ height: vmin(112);
20
+
21
+ .pay-amount {
22
+ .pay-text {
23
+ font-weight: 500;
24
+ }
25
+
26
+ .pay-price-float,
27
+ .pay-price-int,
28
+ .pay-currency {
29
+ color: #ff5429;
30
+ font-weight: 500;
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ .paybar {
37
+ @include paybar;
38
+ }
39
+ // 竖屏pad
40
+ @media screen and (min-width: 768px) and (orientation: portrait) {
41
+ $deviceWidth: 1536 !global;
42
+
43
+ .paybar {
44
+ @include paybar;
45
+ }
46
+ }
47
+ // PC 放大适配
48
+ @media screen and (min-height: 630px) and (orientation: landscape) {
49
+ $deviceWidth: 1260 !global;
50
+
51
+ p.paybar {
52
+ @include paybar;
53
+ }
54
+ }
55
+ // 横屏pad
56
+ @media screen and (min-height: 768px) and (orientation: landscape) {
57
+ $deviceWidth: 1536 !global;
58
+
59
+ .paybar {
60
+ @include paybar;
61
+ }
62
+ }