@conecli/cone-render 0.9.1-shop2.4 → 0.9.1-shop2.40
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/dist/api/index.ts +1 -1
- package/dist/assets/icon_blue_info.svg +1 -0
- package/dist/common/const.ts +1 -1
- package/dist/common/environmentType.ts +1 -0
- package/dist/common/index.h5.ts +1 -1
- package/dist/common/index.jd.ts +1 -1
- package/dist/common/index.ts +1 -1
- package/dist/common/index.weapp.ts +1 -1
- package/dist/common/jdplayerSdk.ts +1 -0
- package/dist/common/pageType.ts +1 -1
- package/dist/common/sgmCustomCode.ts +1 -0
- package/dist/common/token/token.jd.ts +1 -1
- package/dist/common/token/token.ts +1 -1
- package/dist/common/wxappApi.jd.ts +1 -0
- package/dist/components/ErrorBoundary.tsx +1 -1
- package/dist/components/base/CommonFloorHead/index.module.scss +126 -111
- package/dist/components/base/CommonFloorHead/index.tsx +1 -1
- package/dist/components/base/CountDown/index.module.scss +49 -44
- package/dist/components/base/CountDown/index.tsx +1 -1
- package/dist/components/base/CustomScrollView/index.jd.tsx +1 -0
- package/dist/components/base/CustomScrollView/index.module.scss +7 -0
- package/dist/components/base/CustomScrollView/index.tsx +1 -1
- package/dist/components/base/CustomVideo/common.ts +1 -0
- package/dist/components/base/CustomVideo/index.tsx +1 -1
- package/dist/components/base/Dialog/index.module.scss +16 -0
- package/dist/components/base/Dialog/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.h5.module.scss +12 -2
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.tsx +1 -1
- package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
- package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
- package/dist/components/base/InViewRender/index.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.module.scss +2 -2
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +23 -20
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.module.scss +8 -0
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +3 -0
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +8 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/debug/DebugLayout/index.module.scss +67 -0
- package/dist/components/debug/DebugLayout/index.tsx +1 -0
- package/dist/components/debug/DebugLayout/utils.ts +1 -0
- package/dist/components/decorate/DecorateFloorModule/index.module.scss +11 -0
- package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
- package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
- package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
- package/dist/components/floorItem.jd.tsx +1 -1
- package/dist/components/floorItem.tsx +1 -1
- package/dist/components/floorItem.weapp.tsx +1 -1
- package/dist/components/isv/Floor/index.tsx +1 -1
- package/dist/components/remoteFloorItem.tsx +1 -1
- package/dist/interface/common.ts +1 -1
- package/dist/interface/component.ts +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/interface/service.ts +1 -1
- package/dist/interface/utils.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/const.ts +1 -1
- package/dist/jumpEventReport/createReportFloorData.ts +1 -1
- package/dist/jumpEventReport/index.h5.ts +1 -1
- package/dist/jumpEventReport/index.jd.ts +1 -1
- package/dist/jumpEventReport/index.weapp.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.ts +1 -1
- package/dist/jumpEventReport/web/report.ts +1 -1
- package/dist/jumpEventReport/web.base.ts +1 -1
- package/dist/jumpEventReport/web.jd.ts +1 -1
- package/dist/jumpEventReport/web.jdb.ts +1 -1
- package/dist/jumpEventReport/web.jdjch.ts +1 -1
- package/dist/jumpEventReport/web.jxwxapp.ts +1 -0
- package/dist/jumpEventReport/web.pc.ts +1 -1
- package/dist/jumpEventReport/web.tjapp.ts +1 -0
- package/dist/jumpEventReport/web.tjm.ts +1 -0
- package/dist/jumpEventReport/web.wxapp.ts +1 -1
- package/dist/modules/ContainerFloorList/index.h5.module.scss +30 -1
- package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
- package/dist/modules/ContainerFloorList/index.tsx +1 -1
- package/dist/open/api/device.ts +1 -1
- package/dist/open/api/environment.ts +1 -1
- package/dist/open/api/index.ts +1 -1
- package/dist/open/api/jump copy.ts +1 -1
- package/dist/open/api/request.ts +1 -1
- package/dist/open/api/shopMember.ts +1 -1
- package/dist/open/api/track.ts +1 -1
- package/dist/open/api/util.ts +1 -1
- package/dist/open/components/index.ts +1 -1
- package/dist/sass/app.h5.scss +274 -212
- package/dist/sass/base.scss +195 -137
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/http/colorSign.ts +1 -1
- package/dist/service/http/const.ts +1 -1
- package/dist/service/http/h5Http.ts +1 -0
- package/dist/service/http/index.h5.ts +1 -0
- package/dist/service/requestServer.h5.ts +1 -0
- package/dist/service/requestServer.ts +1 -1
- package/dist/utils/connectNativeJsBridge.ts +1 -1
- package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
- package/dist/utils/draExceptionAndProfile.ts +1 -1
- package/dist/utils/h5Utils.ts +1 -1
- package/dist/utils/index.h5.ts +1 -1
- package/dist/utils/index.ts +1 -1
- package/dist/utils/index.weapp.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/jumpExtMapUtil.js +1 -0
- package/dist/utils/sColor.js +1 -0
- package/dist/utils/sgmCodeUtils.ts +1 -0
- package/dist/utils/taroRenderUtil.ts +1 -1
- package/dist/utils/utils.ts +1 -1
- package/package.json +26 -3
- package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
- package/dist/utils/memberFormatUtils.js +0 -1
package/dist/sass/app.h5.scss
CHANGED
|
@@ -5,28 +5,27 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
html {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
|
|
9
|
+
//font-size: 32PX;
|
|
10
|
+
-webkit-text-size-adjust: 100%;
|
|
11
|
+
-ms-text-size-adjust: 100%;
|
|
12
|
+
-moz-text-size-adjust: 100%;
|
|
13
|
+
width: 100%; // 安卓webview需要撑开
|
|
14
|
+
min-height: 100px;
|
|
15
|
+
//height: 100%;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
body {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
//transform: translate3d(0, 0, 0);
|
|
19
|
+
width: 100%; // 安卓webview需要撑开
|
|
20
|
+
//height: 100%;
|
|
21
|
+
min-height: 100px; // 最小高度在安卓webview中必须存在
|
|
22
|
+
|
|
23
|
+
font-family: 'Microsoft YaHei', PingFangSC, Helvetica, 'Droid Sans', Arial, sans-serif !important;
|
|
24
|
+
background-color: #f2f2f2;
|
|
25
|
+
//解决taro转换h5后默认body行高1.6
|
|
26
|
+
line-height: 1.15;
|
|
27
|
+
// 解决某些情况下完全不相关的元素也跟着抖动闪烁 ----- 无法解决,还会引起app里面click事件点击无效 ,需删除
|
|
28
|
+
//transform: translate3d(0, 0, 0);
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
body,
|
|
@@ -67,38 +66,38 @@ hgroup,
|
|
|
67
66
|
menu,
|
|
68
67
|
nav,
|
|
69
68
|
section {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
69
|
+
margin: 0;
|
|
70
|
+
padding: 0;
|
|
71
|
+
|
|
72
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
73
|
+
-webkit-tap-highlight-color: transparent;
|
|
74
|
+
|
|
75
|
+
outline: none;
|
|
76
|
+
//font-weight: normal;
|
|
77
|
+
// 该属性会额外引起safari等ios浏览器偶发卡顿,ios13也默认支持回弹效果,所以移除该属性 https://www.cnblogs.com/xiahj/p/8036419.html
|
|
78
|
+
//-webkit-overflow-scrolling: touch;
|
|
79
|
+
//对字体进行抗锯齿渲染可以使字体看起来会更清晰舒服。在图标字体成为一种趋势的今天,抗锯齿渲染使用也越来越多。antialiased:抗锯齿很好
|
|
80
|
+
-webkit-font-smoothing: antialiased;
|
|
82
81
|
}
|
|
83
82
|
|
|
84
83
|
|
|
85
84
|
.ban-show-menu {
|
|
86
|
-
|
|
85
|
+
-webkit-touch-callout: none;
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
|
|
90
89
|
.user-ban-select {
|
|
91
|
-
|
|
90
|
+
user-select: none;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
.user-can-select {
|
|
95
|
-
|
|
94
|
+
user-select: auto;
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
|
|
99
98
|
input[type='number']::-webkit-outer-spin-button,
|
|
100
99
|
input[type='number']::-webkit-inner-spin-button {
|
|
101
|
-
|
|
100
|
+
-webkit-appearance: none;
|
|
102
101
|
}
|
|
103
102
|
|
|
104
103
|
|
|
@@ -107,98 +106,103 @@ button,
|
|
|
107
106
|
select,
|
|
108
107
|
textarea,
|
|
109
108
|
a {
|
|
110
|
-
|
|
109
|
+
-webkit-appearance: none !important;
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
a,
|
|
114
113
|
a:active {
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
outline: none;
|
|
115
|
+
text-decoration: none;
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
textarea {
|
|
120
|
-
|
|
119
|
+
resize: none;
|
|
121
120
|
}
|
|
122
121
|
|
|
123
122
|
input,
|
|
124
123
|
button,
|
|
125
124
|
textarea,
|
|
126
125
|
a {
|
|
127
|
-
|
|
126
|
+
border: none;
|
|
128
127
|
}
|
|
129
128
|
|
|
130
129
|
.clearFix {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
zoom: 1;
|
|
131
|
+
display: block;
|
|
132
|
+
_height: 1px;
|
|
134
133
|
}
|
|
135
134
|
|
|
136
135
|
.clearFix:after {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
content: '.';
|
|
137
|
+
display: block;
|
|
138
|
+
height: 0;
|
|
139
|
+
clear: both;
|
|
140
|
+
visibility: hidden;
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
|
|
145
144
|
img {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
|
|
147
|
+
//transform: perspective(1px) translate3d(0, 0, 0);
|
|
148
|
+
//-webkit-backface-visibility: hidden;
|
|
149
|
+
//-webkit-transform-style: preserve-3d;
|
|
150
|
+
// 图片加载过慢,在可视化区域等可能导致线出现裂图,然后加载正常url,这里如果是没有src就隐藏
|
|
151
|
+
&[src=''],
|
|
152
|
+
&:not([src]) {
|
|
153
|
+
opacity: 0;
|
|
154
|
+
}
|
|
151
155
|
}
|
|
152
156
|
|
|
153
157
|
.clearFlow {
|
|
154
|
-
|
|
155
|
-
|
|
158
|
+
overflow: hidden;
|
|
159
|
+
*zoom: 1;
|
|
156
160
|
}
|
|
157
161
|
|
|
158
162
|
|
|
159
163
|
ul li {
|
|
160
|
-
|
|
164
|
+
list-style-type: none;
|
|
161
165
|
}
|
|
162
166
|
|
|
163
167
|
.ul-li-float li {
|
|
164
|
-
|
|
168
|
+
float: left;
|
|
165
169
|
}
|
|
166
170
|
|
|
167
171
|
|
|
168
172
|
.opacity-0 {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
opacity: 0;
|
|
174
|
+
filter: alpha(opacity=0);
|
|
175
|
+
*zoom: 1;
|
|
172
176
|
}
|
|
173
177
|
|
|
174
178
|
.opacity-20 {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
179
|
+
opacity: 0.2;
|
|
180
|
+
filter: alpha(opacity=20);
|
|
181
|
+
*zoom: 1;
|
|
178
182
|
}
|
|
179
183
|
|
|
180
184
|
.opacity-50 {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
185
|
+
opacity: 0.5;
|
|
186
|
+
filter: alpha(opacity=50);
|
|
187
|
+
*zoom: 1;
|
|
184
188
|
}
|
|
185
189
|
|
|
186
190
|
.opacity-60 {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
191
|
+
opacity: 0.6;
|
|
192
|
+
filter: alpha(opacity=60);
|
|
193
|
+
*zoom: 1;
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
.opacity-80 {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
197
|
+
opacity: 0.8;
|
|
198
|
+
filter: alpha(opacity=80);
|
|
199
|
+
*zoom: 1;
|
|
196
200
|
}
|
|
197
201
|
|
|
198
202
|
.opacity-100 {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
203
|
+
opacity: 1;
|
|
204
|
+
filter: alpha(opacity=100);
|
|
205
|
+
*zoom: 1;
|
|
202
206
|
}
|
|
203
207
|
|
|
204
208
|
|
|
@@ -209,260 +213,303 @@ ul li {
|
|
|
209
213
|
}
|
|
210
214
|
|
|
211
215
|
.d-ios-force-border-radius {
|
|
212
|
-
|
|
213
|
-
|
|
216
|
+
transform: translateZ(0);
|
|
217
|
+
mask-image: radial-gradient(circle, white 100%, black 100%);
|
|
214
218
|
}
|
|
215
219
|
//反写taro转小程序样式
|
|
216
220
|
.hydrated {
|
|
217
|
-
|
|
221
|
+
visibility: visible;
|
|
218
222
|
}
|
|
219
223
|
|
|
220
224
|
// 视频封面全屏铺满
|
|
221
225
|
video {
|
|
222
|
-
|
|
226
|
+
object-fit: cover;
|
|
223
227
|
}
|
|
224
228
|
|
|
225
229
|
.d-video-forbid-fullscreen-button {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
230
|
+
&::-webkit-media-controls-fullscreen-button {
|
|
231
|
+
display: none !important;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// tarojs会在运行时动态给页面写入这个样式,但是动态写入可能导致在写入之前,有些依赖于 taro-view-core 块行为的逻辑出现异常,比如获取一个view的宽度,block情况下应该是有宽度的,但可能会出现获取到的宽度值是0。所以改成样式表里就直接定义好
|
|
236
|
+
taro-view-core {
|
|
237
|
+
display: block;
|
|
229
238
|
}
|
|
230
239
|
|
|
231
240
|
taro-view-core,
|
|
232
241
|
taro-image-core,
|
|
233
242
|
taro-text-core,
|
|
234
243
|
taro-video-core {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
244
|
+
|
|
245
|
+
outline: none;
|
|
246
|
+
//font-weight: normal;
|
|
247
|
+
-webkit-overflow-scrolling: touch;
|
|
248
|
+
//对字体进行抗锯齿渲染可以使字体看起来会更清晰舒服。在图标字体成为一种趋势的今天,抗锯齿渲染使用也越来越多。antialiased:抗锯齿很好
|
|
249
|
+
-webkit-font-smoothing: antialiased;
|
|
241
250
|
}
|
|
242
251
|
|
|
243
252
|
//解决小程序图片宽度320高度默认240的问题
|
|
244
253
|
taro-image-core {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
254
|
+
display: block;
|
|
255
|
+
width: 100%;
|
|
256
|
+
height: auto;
|
|
257
|
+
|
|
258
|
+
//transform: translate3d(0, 0, 0) perspective(1px);
|
|
259
|
+
//-webkit-backface-visibility: hidden;
|
|
260
|
+
//-webkit-transform-style: preserve-3d;
|
|
252
261
|
}
|
|
253
262
|
|
|
254
263
|
// 解决多行省略的时候可能无法展示的问题
|
|
255
264
|
taro-text-core {
|
|
256
|
-
|
|
265
|
+
white-space: normal;
|
|
257
266
|
}
|
|
258
267
|
|
|
259
268
|
taro-video-core {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
269
|
+
video {
|
|
270
|
+
object-fit: cover !important;
|
|
271
|
+
}
|
|
263
272
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
273
|
+
//标签选择不生效
|
|
274
|
+
taro-video-control {
|
|
275
|
+
background-color: transparent;
|
|
276
|
+
}
|
|
268
277
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
278
|
+
.taro-video-bar {
|
|
279
|
+
background-color: transparent;
|
|
280
|
+
}
|
|
272
281
|
}
|
|
273
282
|
|
|
274
283
|
.weui-icon-info {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
284
|
+
&:before {
|
|
285
|
+
content: '';
|
|
286
|
+
}
|
|
278
287
|
}
|
|
279
288
|
.taro-checkbox_checked {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
display: inline-block;
|
|
290
|
+
top: 0;
|
|
291
|
+
margin: -2px 10px 0 0;
|
|
292
|
+
width: 32px;
|
|
293
|
+
height: 32px;
|
|
294
|
+
font-size: 36px;
|
|
295
|
+
color: #333;
|
|
296
|
+
vertical-align: middle;
|
|
297
|
+
border-color: rgba(209, 209, 209, 0.8);
|
|
298
|
+
&:checked:before {
|
|
299
|
+
color: #e93b3d;
|
|
300
|
+
}
|
|
292
301
|
}
|
|
293
302
|
taro-radio-core {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
303
|
+
&.weui-cells_checkbox {
|
|
304
|
+
.weui-check + .weui-icon-checked {
|
|
305
|
+
vertical-align: middle;
|
|
306
|
+
&:before {
|
|
307
|
+
content: '';
|
|
308
|
+
width: 32px;
|
|
309
|
+
height: 32px;
|
|
310
|
+
margin-left: 0;
|
|
311
|
+
margin-top: -4px;
|
|
312
|
+
border: 2px solid #909090;
|
|
313
|
+
//color: #909090;
|
|
314
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
315
|
+
border-radius: 50%;
|
|
316
|
+
box-sizing: border-box;
|
|
317
|
+
vertical-align: middle;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
.weui-check:checked + .weui-icon-checked {
|
|
321
|
+
&:before {
|
|
322
|
+
content: '';
|
|
323
|
+
border: none;
|
|
324
|
+
background: url('https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png')
|
|
325
|
+
no-repeat 0 0 / cover;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
taro-checkbox-core {
|
|
331
|
+
.taro-checkbox_checked {
|
|
332
|
+
border: 2px solid #909090;
|
|
333
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
334
|
+
border-radius: 50%;
|
|
335
|
+
box-sizing: border-box;
|
|
336
|
+
&:checked {
|
|
337
|
+
border: none;
|
|
338
|
+
background: url('https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png')
|
|
339
|
+
no-repeat 0 0 / cover;
|
|
340
|
+
&:before {
|
|
341
|
+
content: none;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
.weui-picker {
|
|
347
|
+
font-size: 30px;
|
|
348
|
+
.weui-picker__hd {
|
|
349
|
+
font-size: 32px;
|
|
350
|
+
}
|
|
351
|
+
.weui-picker__action {
|
|
352
|
+
color: #fa2c19;
|
|
353
|
+
&:first-child {
|
|
354
|
+
color: #1a1a1a;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
309
357
|
}
|
|
310
358
|
|
|
311
|
-
|
|
312
359
|
.taro__toast {
|
|
313
|
-
|
|
360
|
+
transition: none !important;
|
|
314
361
|
|
|
315
|
-
|
|
316
|
-
|
|
362
|
+
div:last-child {
|
|
363
|
+
//background: transparent !important;
|
|
317
364
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
365
|
+
p {
|
|
366
|
+
&:first-child {
|
|
367
|
+
width: 80px !important;
|
|
368
|
+
height: 80px !important;
|
|
369
|
+
}
|
|
323
370
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
371
|
+
&:last-child {
|
|
372
|
+
margin-top: 8px !important;
|
|
373
|
+
font-size: 28px !important;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
330
377
|
}
|
|
331
378
|
|
|
332
379
|
.d-shop-loading {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
380
|
+
position: fixed;
|
|
381
|
+
top: 0;
|
|
382
|
+
left: 0;
|
|
383
|
+
right: 0;
|
|
384
|
+
bottom: 0;
|
|
385
|
+
z-index: 100;
|
|
386
|
+
|
|
387
|
+
.d-loading-content {
|
|
388
|
+
text-align: center;
|
|
389
|
+
}
|
|
390
|
+
span {
|
|
391
|
+
display: inline-block;
|
|
392
|
+
width: 100px;
|
|
393
|
+
height: 100px;
|
|
394
|
+
background: url('https://img13.360buyimg.com/imagetools/jfs/t1/151010/32/14284/30214/5ff66791Ea1bc6cc6/698c0772b377aef5.png')
|
|
395
|
+
no-repeat center center / 72px 72px;
|
|
396
|
+
}
|
|
397
|
+
.d-shop-text {
|
|
398
|
+
font-size: 24px;
|
|
399
|
+
color: #232325;
|
|
400
|
+
}
|
|
354
401
|
}
|
|
355
402
|
|
|
356
403
|
.fade-enter {
|
|
357
|
-
|
|
404
|
+
opacity: 0.01;
|
|
358
405
|
}
|
|
359
406
|
|
|
360
407
|
.fade-enter-active {
|
|
361
|
-
|
|
362
|
-
|
|
408
|
+
opacity: 1;
|
|
409
|
+
transition: all 300ms ease-out;
|
|
363
410
|
}
|
|
364
411
|
|
|
365
412
|
.fade-exit {
|
|
366
|
-
|
|
413
|
+
opacity: 1;
|
|
367
414
|
}
|
|
368
415
|
|
|
369
416
|
.fade-exit-active {
|
|
370
|
-
|
|
371
|
-
|
|
417
|
+
opacity: 0.01;
|
|
418
|
+
transition: all 300ms ease-out;
|
|
372
419
|
}
|
|
373
420
|
|
|
374
421
|
.zoom-enter {
|
|
375
|
-
|
|
376
|
-
|
|
422
|
+
opacity: 0.01;
|
|
423
|
+
transform: scale(0);
|
|
377
424
|
}
|
|
378
425
|
|
|
379
426
|
.zoom-enter-active {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
427
|
+
opacity: 1;
|
|
428
|
+
transform: scale(1);
|
|
429
|
+
transition: all 300ms ease-out;
|
|
383
430
|
}
|
|
384
431
|
|
|
385
432
|
.zoom-exit {
|
|
386
|
-
|
|
387
|
-
|
|
433
|
+
opacity: 1;
|
|
434
|
+
transform: scale(1);
|
|
388
435
|
}
|
|
389
436
|
|
|
390
437
|
.zoom-exit-active {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
438
|
+
opacity: 0.01;
|
|
439
|
+
transform: scale(0);
|
|
440
|
+
transition: all 300ms ease-out;
|
|
394
441
|
}
|
|
395
442
|
|
|
396
443
|
.slide-up-enter {
|
|
397
|
-
|
|
444
|
+
transform: translateY(100%);
|
|
398
445
|
}
|
|
399
446
|
|
|
400
447
|
.slide-up-enter-active {
|
|
401
|
-
|
|
402
|
-
|
|
448
|
+
transform: translateY(0%);
|
|
449
|
+
transition: all 300ms ease-out;
|
|
403
450
|
}
|
|
404
451
|
|
|
405
452
|
.slide-up-exit {
|
|
406
|
-
|
|
453
|
+
transform: translateY(0%);
|
|
407
454
|
}
|
|
408
455
|
|
|
409
456
|
.slide-up-exit-active {
|
|
410
|
-
|
|
411
|
-
|
|
457
|
+
transform: translateY(100%);
|
|
458
|
+
transition: all 300ms ease-in;
|
|
412
459
|
}
|
|
413
460
|
|
|
414
461
|
.slide-down-enter {
|
|
415
|
-
|
|
462
|
+
transform: translateY(-100%);
|
|
416
463
|
}
|
|
417
464
|
|
|
418
465
|
.slide-down-enter-active {
|
|
419
|
-
|
|
420
|
-
|
|
466
|
+
transform: translateY(0%);
|
|
467
|
+
transition: all 300ms ease-out;
|
|
421
468
|
}
|
|
422
469
|
|
|
423
470
|
.slide-down-exit {
|
|
424
|
-
|
|
471
|
+
transform: translateY(0%);
|
|
425
472
|
}
|
|
426
473
|
|
|
427
474
|
.slide-down-exit-active {
|
|
428
|
-
|
|
429
|
-
|
|
475
|
+
transform: translateY(-100%);
|
|
476
|
+
transition: all 300ms ease-in;
|
|
430
477
|
}
|
|
431
478
|
|
|
432
479
|
.slide-right-enter {
|
|
433
|
-
|
|
480
|
+
transform: translateX(100%);
|
|
434
481
|
}
|
|
435
482
|
|
|
436
483
|
.slide-right-enter-active {
|
|
437
|
-
|
|
438
|
-
|
|
484
|
+
transform: translateX(0%);
|
|
485
|
+
transition: all 300ms ease-out;
|
|
439
486
|
}
|
|
440
487
|
|
|
441
488
|
.slide-right-exit {
|
|
442
|
-
|
|
489
|
+
transform: translateX(0%);
|
|
443
490
|
}
|
|
444
491
|
|
|
445
492
|
.slide-right-exit-active {
|
|
446
|
-
|
|
447
|
-
|
|
493
|
+
transform: translateX(100%);
|
|
494
|
+
transition: all 300ms ease-in;
|
|
448
495
|
}
|
|
449
496
|
|
|
450
497
|
.slide-left-enter {
|
|
451
|
-
|
|
498
|
+
transform: translateX(-100%);
|
|
452
499
|
}
|
|
453
500
|
|
|
454
501
|
.slide-left-enter-active {
|
|
455
|
-
|
|
456
|
-
|
|
502
|
+
transform: translateX(0%);
|
|
503
|
+
transition: all 300ms ease-out;
|
|
457
504
|
}
|
|
458
505
|
|
|
459
506
|
.slide-left-exit {
|
|
460
|
-
|
|
507
|
+
transform: translateX(0%);
|
|
461
508
|
}
|
|
462
509
|
|
|
463
510
|
.slide-left-exit-active {
|
|
464
|
-
|
|
465
|
-
|
|
511
|
+
transform: translateX(-100%);
|
|
512
|
+
transition: all 300ms ease-in;
|
|
466
513
|
}
|
|
467
514
|
|
|
468
515
|
|
|
@@ -473,3 +520,18 @@ taro-radio-core {
|
|
|
473
520
|
//image-rendering: crisp-edges;
|
|
474
521
|
//-ms-interpolation-mode: nearest-neighbor;
|
|
475
522
|
}
|
|
523
|
+
|
|
524
|
+
@media screen and (orientation: landscape) {
|
|
525
|
+
// not 在chrome88之后才支持,因此暂时不用此方式
|
|
526
|
+
.d-shop-pad {
|
|
527
|
+
&.d-shop-pad-render-center {
|
|
528
|
+
//width: 100vh;
|
|
529
|
+
width: var(--screen-min-width, 100vh);
|
|
530
|
+
margin: 0 auto;
|
|
531
|
+
}
|
|
532
|
+
.d-pad-part-render-center{
|
|
533
|
+
width: var(--screen-min-width, 100vh);
|
|
534
|
+
margin: 0 auto;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|