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
@@ -7,9 +7,10 @@
7
7
  * @LastEditors: conlinchen
8
8
  * @LastEditTime: 2021-11-18 19:51:34
9
9
  */
10
- -->
11
- <view>
10
+ -->
11
+ <view class="goods-list-box">
12
12
  <custom-popup
13
+ class="goods-list-box-popup"
13
14
  showPopup="{{ show }}"
14
15
  popPosition="{{ popPosition }}"
15
16
  round="{{ round }}"
@@ -18,21 +19,43 @@
18
19
  overlay="{{popPosition === 'bottom' && !overlayStyle ? false : true}}"
19
20
  overlay-style="{{ overlayStyle }}"
20
21
  zIndex="{{zIndex}}"
21
- bind:onOverlayClick="onOverlayClick">
22
+ bind:onOverlayClick="onOverlayClick"
23
+ >
22
24
  <view slot="header">
23
25
  <!-- 弹窗头部 start-->
24
- <header bind:closePop="closePop" bind:gotoPayRecords="gotoPayRecords" showClose="{{showClose}}"></header>
26
+ <header
27
+ bind:closePop="closePop"
28
+ bind:gotoPayRecords="gotoPayRecords"
29
+ showClose="{{showClose}}"
30
+ ></header>
25
31
  <!-- 弹窗头部 end-->
26
32
  </view>
27
33
  <view slot="content" class="page-main">
28
34
  <!-- 商品列表 start-->
29
- <scroll-view class="goods-list" scroll-y="true" bindscrolltolower="onScrolltolower" refresher-triggered="{{refreshing}}" bindrefresherrefresh="onLoad" refresher-enabled="{{true}}">
30
- <!-- 优惠券列表 start -->
31
- <coupon-list showList="{{ showList }}" aliveInfo="{{ aliveInfo }}" msgCouponData="{{msgCouponData}}" bind:showPopup="showInfoCollection" bind:receivedSuccess="receivedSuccess" sensorReportParams="{{sensorReportParams}}"></coupon-list>
32
- <!-- 优惠券列表 end -->
33
- <!-- 讲解中的商品 start -->
34
- <block wx:if="{{showExplainingGoods}}">
35
- <goods-item
35
+ <scroll-view
36
+ class="goods-list {{isFullScreen?'full-list':''}}"
37
+ scroll-y="true"
38
+ bindscrolltolower="onScrolltolower"
39
+ refresher-triggered="{{refreshing}}"
40
+ bindrefresherrefresh="onLoad"
41
+ refresher-enabled="{{true}}"
42
+ >
43
+ <!-- 优惠券列表 start -->
44
+ <coupon-list
45
+ showList="{{ showList }}"
46
+ aliveInfo="{{ aliveInfo }}"
47
+ msgCouponData="{{msgCouponData}}"
48
+ bind:showPopup="showInfoCollection"
49
+ bind:receivedSuccess="receivedSuccess"
50
+ sensorReportParams="{{sensorReportParams}}"
51
+ bind:showReceivePopup="showReceivePopup"
52
+ ></coupon-list>
53
+ <!-- 优惠券列表 end -->
54
+ <!-- 讲解中的商品 start -->
55
+ <view class="full-item">
56
+ <block wx:if="{{showExplainingGoods}}">
57
+ <goods-item
58
+ style="display:{{!formExplainingGoods.is_display_package ? 'none' : ''}}"
36
59
  aliveInfo="{{aliveInfo}}"
37
60
  allContactPay="{{allContactPay}}"
38
61
  goodsInfo="{{formExplainingGoods}}"
@@ -47,29 +70,28 @@
47
70
  sensorReportParams="{{sensorReportParams}}"
48
71
  isFullScreen="{{ popPosition === 'right'}}"
49
72
  isGrayMarketing="{{ isGrayMarketing}}"
50
- ></goods-item>
51
- </block>
52
- <!-- 讲解中的商品 end -->
53
- <goods-item
73
+ ></goods-item>
74
+ </block>
75
+ <goods-item
54
76
  wx:for="{{goodsInfo}}"
55
77
  wx:for-item="goodsItem"
56
78
  wx:key="index"
79
+ style="display:{{!goodsItem.is_display_package ? 'none' : ''}}"
57
80
  goodsInfo="{{goodsItem}}"
58
81
  allContactPay="{{allContactPay}}"
59
82
  coupon_switch="{{coupon_switch}}"
60
83
  bind:sendNewMsg="sendNewMsg"
61
84
  bind:showConfirmOrder="showConfirmOrder"
62
85
  bind:showSku="showSku"
63
- aliveInfo="{{aliveInfo}}"
64
86
  explainingGoods="{{explainingGoods}}"
65
87
  bind:showDialog="showDialog"
66
- bind:toDetails="toDetails"
67
88
  class="goods-item"
68
89
  envName="{{ENV_NAME}}"
69
90
  sensorReportParams="{{sensorReportParams}}"
70
91
  isFullScreen="{{ popPosition === 'right'}}"
71
92
  isGrayMarketing="{{ isGrayMarketing}}"
72
- ></goods-item>
93
+ ></goods-item>
94
+ </view>
73
95
  <view class="finished-text" wx:if="{{!refreshing && finishedTxt !== 'no-data'}}">{{finishedTxt}}</view>
74
96
  <view class="no-data" wx:if="{{!refreshing && finishedTxt === 'no-data'}}">
75
97
  <image class="no-data-png" src="../common/assets/images/liveGoodsList/no-data.png" />
@@ -80,4 +102,4 @@
80
102
  </view>
81
103
  </custom-popup>
82
104
  </view>
83
- <van-dialog id="van-dialog" confirm-button-color="#105cfb" catchtap="stopEvent"/>
105
+ <van-dialog id="van-dialog" confirm-button-color="#105cfb" catchtap="stopEvent" />
@@ -1,50 +1,218 @@
1
- .box {
1
+ .goods-list-box .goods-list-box-popup {
2
+ width: 100vmin;
3
+ }
4
+ .goods-list-box .box {
2
5
  margin: 0 1.6vmin;
3
6
  }
4
- .title {
7
+ .goods-list-box .title {
5
8
  margin: 0;
6
- padding: 4.27vmin 2.13vmin 2.13vmin;
9
+ padding: 4.26667vmin 2.13333vmin 2.13333vmin;
7
10
  color: rgba(69, 90, 100, 0.6);
8
11
  font-weight: normal;
9
12
  font-size: 2.4vmin;
10
- line-height: 2.67vmin;
13
+ line-height: 2.66667vmin;
11
14
  text-align: center;
12
15
  }
13
- .btn {
16
+ .goods-list-box .btn {
14
17
  display: block;
15
18
  width: 100%;
16
- margin: 1.33vmin 0;
19
+ margin: 1.33333vmin 0;
17
20
  background-color: #fff;
18
21
  }
19
- .page-main {
22
+ .goods-list-box .page-main {
20
23
  height: 100%;
21
24
  }
22
- .goods-list {
25
+ .goods-list-box .goods-list {
23
26
  box-sizing: border-box;
24
27
  min-height: 40vmin;
25
28
  display: flex;
26
29
  flex-direction: column;
27
30
  height: 100%;
28
31
  }
29
- .goods-list .finished-text {
32
+ .goods-list-box .goods-list .finished-text {
30
33
  display: flex;
31
34
  justify-content: center;
32
35
  color: #999;
33
- font-size: 3.73vmin;
34
- padding-bottom: 2.67vmin;
36
+ font-size: 3.73333vmin;
37
+ padding-bottom: 2.66667vmin;
35
38
  }
36
- .goods-list .no-data {
39
+ .goods-list-box .goods-list .no-data {
37
40
  display: flex;
38
41
  flex-direction: column;
39
42
  align-items: center;
40
- padding-top: 10.67vmin;
43
+ padding-top: 10.66667vmin;
41
44
  }
42
- .goods-list .no-data .no-data-png {
43
- width: 23.47vmin;
44
- height: 23.47vmin;
45
+ .goods-list-box .goods-list .no-data .no-data-png {
46
+ width: 23.46667vmin;
47
+ height: 23.46667vmin;
45
48
  }
46
- .goods-list .no-data .no-data-text {
49
+ .goods-list-box .goods-list .no-data .no-data-text {
47
50
  color: #999999;
48
- font-size: 3.73vmin;
49
- margin-top: 4.27vmin;
51
+ font-size: 3.73333vmin;
52
+ margin-top: 4.26667vmin;
53
+ }
54
+ @media screen and (min-width: 768px) and (orientation: portrait) {
55
+ .goods-list-box .goods-list-box-popup {
56
+ width: 48.82812vmin;
57
+ }
58
+ .goods-list-box .box {
59
+ margin: 0 0.78125vmin;
60
+ }
61
+ .goods-list-box .title {
62
+ margin: 0;
63
+ padding: 2.08333vmin 1.04167vmin 1.04167vmin;
64
+ color: rgba(69, 90, 100, 0.6);
65
+ font-weight: normal;
66
+ font-size: 1.17188vmin;
67
+ line-height: 1.30208vmin;
68
+ text-align: center;
69
+ }
70
+ .goods-list-box .btn {
71
+ display: block;
72
+ width: 100%;
73
+ margin: 0.65104vmin 0;
74
+ background-color: #fff;
75
+ }
76
+ .goods-list-box .page-main {
77
+ height: 100%;
78
+ }
79
+ .goods-list-box .goods-list {
80
+ box-sizing: border-box;
81
+ min-height: 40vmin;
82
+ display: flex;
83
+ flex-direction: column;
84
+ height: 100%;
85
+ }
86
+ .goods-list-box .goods-list .finished-text {
87
+ display: flex;
88
+ justify-content: center;
89
+ color: #999;
90
+ font-size: 1.82292vmin;
91
+ padding-bottom: 1.30208vmin;
92
+ }
93
+ .goods-list-box .goods-list .no-data {
94
+ display: flex;
95
+ flex-direction: column;
96
+ align-items: center;
97
+ padding-top: 5.20833vmin;
98
+ }
99
+ .goods-list-box .goods-list .no-data .no-data-png {
100
+ width: 11.45833vmin;
101
+ height: 11.45833vmin;
102
+ }
103
+ .goods-list-box .goods-list .no-data .no-data-text {
104
+ color: #999999;
105
+ font-size: 1.82292vmin;
106
+ margin-top: 2.08333vmin;
107
+ }
108
+ }
109
+ @media screen and (min-height: 630px) and (orientation: landscape) {
110
+ .goods-list-box .goods-list-box-popup {
111
+ width: 59.52381vmin;
112
+ }
113
+ .goods-list-box .box {
114
+ margin: 0 0.95238vmin;
115
+ }
116
+ .goods-list-box .title {
117
+ margin: 0;
118
+ padding: 2.53968vmin 1.26984vmin 1.26984vmin;
119
+ color: rgba(69, 90, 100, 0.6);
120
+ font-weight: normal;
121
+ font-size: 1.42857vmin;
122
+ line-height: 1.5873vmin;
123
+ text-align: center;
124
+ }
125
+ .goods-list-box .btn {
126
+ display: block;
127
+ width: 100%;
128
+ margin: 0.79365vmin 0;
129
+ background-color: #fff;
130
+ }
131
+ .goods-list-box .page-main {
132
+ height: 100%;
133
+ }
134
+ .goods-list-box .goods-list {
135
+ box-sizing: border-box;
136
+ min-height: 40vmin;
137
+ display: flex;
138
+ flex-direction: column;
139
+ height: 100%;
140
+ }
141
+ .goods-list-box .goods-list .finished-text {
142
+ display: flex;
143
+ justify-content: center;
144
+ color: #999;
145
+ font-size: 2.22222vmin;
146
+ padding-bottom: 1.5873vmin;
147
+ }
148
+ .goods-list-box .goods-list .no-data {
149
+ display: flex;
150
+ flex-direction: column;
151
+ align-items: center;
152
+ padding-top: 6.34921vmin;
153
+ }
154
+ .goods-list-box .goods-list .no-data .no-data-png {
155
+ width: 13.96825vmin;
156
+ height: 13.96825vmin;
157
+ }
158
+ .goods-list-box .goods-list .no-data .no-data-text {
159
+ color: #999999;
160
+ font-size: 2.22222vmin;
161
+ margin-top: 2.53968vmin;
162
+ }
163
+ }
164
+ @media screen and (min-height: 768px) and (orientation: landscape) {
165
+ .goods-list-box .goods-list-box-popup {
166
+ width: 48.82812vmin;
167
+ }
168
+ .goods-list-box .box {
169
+ margin: 0 0.78125vmin;
170
+ }
171
+ .goods-list-box .title {
172
+ margin: 0;
173
+ padding: 2.08333vmin 1.04167vmin 1.04167vmin;
174
+ color: rgba(69, 90, 100, 0.6);
175
+ font-weight: normal;
176
+ font-size: 1.17188vmin;
177
+ line-height: 1.30208vmin;
178
+ text-align: center;
179
+ }
180
+ .goods-list-box .btn {
181
+ display: block;
182
+ width: 100%;
183
+ margin: 0.65104vmin 0;
184
+ background-color: #fff;
185
+ }
186
+ .goods-list-box .page-main {
187
+ height: 100%;
188
+ }
189
+ .goods-list-box .goods-list {
190
+ box-sizing: border-box;
191
+ min-height: 40vmin;
192
+ display: flex;
193
+ flex-direction: column;
194
+ height: 100%;
195
+ }
196
+ .goods-list-box .goods-list .finished-text {
197
+ display: flex;
198
+ justify-content: center;
199
+ color: #999;
200
+ font-size: 1.82292vmin;
201
+ padding-bottom: 1.30208vmin;
202
+ }
203
+ .goods-list-box .goods-list .no-data {
204
+ display: flex;
205
+ flex-direction: column;
206
+ align-items: center;
207
+ padding-top: 5.20833vmin;
208
+ }
209
+ .goods-list-box .goods-list .no-data .no-data-png {
210
+ width: 11.45833vmin;
211
+ height: 11.45833vmin;
212
+ }
213
+ .goods-list-box .goods-list .no-data .no-data-text {
214
+ color: #999999;
215
+ font-size: 1.82292vmin;
216
+ margin-top: 2.08333vmin;
217
+ }
50
218
  }
@@ -0,0 +1,45 @@
1
+ $deviceWidth: 750;
2
+ @function vmin($rpx) {
3
+ @return #{$rpx * 100 / $deviceWidth}vmin;
4
+ }
5
+
6
+ @mixin pay-btn{
7
+ .btn-default{
8
+ width: vmin(240);
9
+ height: vmin(80);
10
+ line-height: vmin(80);
11
+ font-size: vmin(32);
12
+ border-radius: vmin(40);
13
+ background: rgba(255,84,41,1);
14
+ color: #ffffff;
15
+ }
16
+ .invalidBtn{
17
+ opacity: 0.2;
18
+ }
19
+ }
20
+
21
+ .pay-btn {
22
+ @include pay-btn;
23
+ }
24
+ // 竖屏pad
25
+ @media screen and (min-width: 768px) and (orientation: portrait) {
26
+ $deviceWidth: 1536 !global;
27
+ .pay-btn {
28
+ @include pay-btn;
29
+ }
30
+ }
31
+ // PC 放大适配
32
+ @media screen and (min-height: 630px) and (orientation: landscape) {
33
+ $deviceWidth: 1260 !global;
34
+
35
+ .pay-btn {
36
+ @include pay-btn;
37
+ }
38
+ }
39
+ // 横屏pad
40
+ @media screen and (min-height: 768px) and (orientation: landscape) {
41
+ $deviceWidth: 1536 !global;
42
+ .pay-btn {
43
+ @include pay-btn;
44
+ }
45
+ }
@@ -1,12 +1,54 @@
1
1
  .pay-btn .btn-default {
2
2
  width: 32vmin;
3
- height: 10.67vmin;
4
- line-height: 10.67vmin;
5
- font-size: 4.27vmin;
6
- border-radius: 5.33vmin;
3
+ height: 10.66667vmin;
4
+ line-height: 10.66667vmin;
5
+ font-size: 4.26667vmin;
6
+ border-radius: 5.33333vmin;
7
7
  background: #ff5429;
8
8
  color: #ffffff;
9
9
  }
10
10
  .pay-btn .invalidBtn {
11
11
  opacity: 0.2;
12
12
  }
13
+ @media screen and (min-width: 768px) and (orientation: portrait) {
14
+ .pay-btn .btn-default {
15
+ width: 15.625vmin;
16
+ height: 5.20833vmin;
17
+ line-height: 5.20833vmin;
18
+ font-size: 2.08333vmin;
19
+ border-radius: 2.60417vmin;
20
+ background: #ff5429;
21
+ color: #ffffff;
22
+ }
23
+ .pay-btn .invalidBtn {
24
+ opacity: 0.2;
25
+ }
26
+ }
27
+ @media screen and (min-height: 630px) and (orientation: landscape) {
28
+ .pay-btn .btn-default {
29
+ width: 19.04762vmin;
30
+ height: 6.34921vmin;
31
+ line-height: 6.34921vmin;
32
+ font-size: 2.53968vmin;
33
+ border-radius: 3.1746vmin;
34
+ background: #ff5429;
35
+ color: #ffffff;
36
+ }
37
+ .pay-btn .invalidBtn {
38
+ opacity: 0.2;
39
+ }
40
+ }
41
+ @media screen and (min-height: 768px) and (orientation: landscape) {
42
+ .pay-btn .btn-default {
43
+ width: 15.625vmin;
44
+ height: 5.20833vmin;
45
+ line-height: 5.20833vmin;
46
+ font-size: 2.08333vmin;
47
+ border-radius: 2.60417vmin;
48
+ background: #ff5429;
49
+ color: #ffffff;
50
+ }
51
+ .pay-btn .invalidBtn {
52
+ opacity: 0.2;
53
+ }
54
+ }