@conecli/cone-render 0.8.20-beta.0 → 0.8.20-beta.2
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/README.md +7 -1
- 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/jssdk.ts +1 -0
- package/dist/common/pageType.ts +1 -0
- package/dist/common/sgmCustomCode.ts +1 -0
- package/dist/common/token/index.h5.ts +1 -1
- 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/common/wxappApi.ts +1 -1
- 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/Exposure/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/const.ts +1 -0
- package/dist/components/base/ExposureSmart/index.h5.module.scss +30 -6
- package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
- package/dist/components/base/ExposureSmart/index.module.scss +20 -9
- 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/InViewRender/index.weapp.tsx +1 -1
- package/dist/components/base/ItemViewExposureSmart/index.module.scss +8 -0
- package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -0
- package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
- package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
- package/dist/components/base/LazyLoadImage/const.ts +1 -1
- package/dist/components/base/LazyLoadImage/index.h5.module.scss +24 -20
- package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
- package/dist/components/base/MobileCommonHeader/index.module.scss +17 -0
- package/dist/components/base/MobileCommonHeader/index.tsx +1 -0
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +125 -69
- package/dist/components/base/NetworkDataError/index.tsx +1 -1
- package/dist/components/base/Price/Base/index.module.scss +12 -0
- package/dist/components/base/Price/Base/index.tsx +1 -1
- package/dist/components/base/Price/Double/index.module.scss +32 -0
- package/dist/components/base/Price/Double/index.tsx +1 -1
- package/dist/components/base/Price/index.tsx +1 -1
- package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
- package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
- package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
- package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
- package/dist/components/base/Skeleton/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 +32 -2
- 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 -0
- 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.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 -0
- package/dist/jumpEventReport/web.jxwxapp.ts +1 -0
- package/dist/jumpEventReport/web.pc.ts +1 -0
- 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/language/en_US.json +231 -0
- package/dist/language/zh_CN.json +231 -0
- package/dist/language/zh_HK.json +231 -0
- package/dist/libs/taroAppReport.js +2 -2
- package/dist/modules/ContainerFloorList/index.h5.module.scss +66 -27
- 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 +294 -212
- package/dist/sass/base.scss +195 -137
- package/dist/service/bMallConst.ts +1 -1
- package/dist/service/fetchGateway.ts +1 -1
- package/dist/service/fetchGateway.weapp.ts +1 -0
- 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/service/requestServer.weapp.ts +1 -0
- 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/intersectionObserver.ts +1 -1
- package/dist/utils/jm-common.js +1 -1
- package/dist/utils/jumpExtMapUtil.h5.ts +1 -0
- package/dist/utils/jumpExtMapUtil.ts +1 -0
- package/dist/utils/sColor.js +1 -0
- package/dist/utils/sgmCodeUtils.ts +1 -0
- package/dist/utils/taroRenderUtil.ts +1 -0
- package/dist/utils/utils.ts +1 -1
- package/dist/wxapp/api/helper.js +1 -0
- package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
- package/dist/wxapp/common/user_info.js +1 -1
- package/dist/wxapp/components/launch-app/index.js +1 -0
- package/dist/wxapp/components/launch-app/index.json +5 -0
- package/dist/wxapp/components/launch-app/index.wxml +0 -0
- package/dist/wxapp/components/launch-app/index.wxss +0 -0
- package/dist/wxapp/components/subscribe-guider/helper.js +1 -0
- package/dist/wxapp/components/subscribe-guider/index.js +1 -0
- package/dist/wxapp/components/subscribe-guider/index.json +5 -0
- package/dist/wxapp/components/subscribe-guider/index.wxml +0 -0
- package/dist/wxapp/components/subscribe-guider/index.wxss +0 -0
- package/package.json +145 -115
- package/dist/components/base/Skeleton/old.tsx +0 -1
- package/dist/customHooks/useDocumentVisibilitychange.ts +0 -1
- package/dist/utils/memberFormatUtils.js +0 -1
- /package/dist/service/{bMallConst.wxapp.ts → bMallConst.weapp.ts} +0 -0
- /package/dist/service/http/{colorSign.wxapp.ts → colorSign.weapp.ts} +0 -0
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,108 @@ 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
|
|
|
144
|
+
.taro_page {
|
|
145
|
+
img {
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
145
150
|
img {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
+
|
|
152
|
+
//transform: perspective(1px) translate3d(0, 0, 0);
|
|
153
|
+
//-webkit-backface-visibility: hidden;
|
|
154
|
+
//-webkit-transform-style: preserve-3d;
|
|
155
|
+
// 图片加载过慢,在可视化区域等可能导致线出现裂图,然后加载正常url,这里如果是没有src就隐藏
|
|
156
|
+
&[src=''],
|
|
157
|
+
&:not([src]) {
|
|
158
|
+
opacity: 0;
|
|
159
|
+
}
|
|
151
160
|
}
|
|
152
161
|
|
|
153
162
|
.clearFlow {
|
|
154
|
-
|
|
155
|
-
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
*zoom: 1;
|
|
156
165
|
}
|
|
157
166
|
|
|
158
167
|
|
|
159
168
|
ul li {
|
|
160
|
-
|
|
169
|
+
list-style-type: none;
|
|
161
170
|
}
|
|
162
171
|
|
|
163
172
|
.ul-li-float li {
|
|
164
|
-
|
|
173
|
+
float: left;
|
|
165
174
|
}
|
|
166
175
|
|
|
167
176
|
|
|
168
177
|
.opacity-0 {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
178
|
+
opacity: 0;
|
|
179
|
+
filter: alpha(opacity=0);
|
|
180
|
+
*zoom: 1;
|
|
172
181
|
}
|
|
173
182
|
|
|
174
183
|
.opacity-20 {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
184
|
+
opacity: 0.2;
|
|
185
|
+
filter: alpha(opacity=20);
|
|
186
|
+
*zoom: 1;
|
|
178
187
|
}
|
|
179
188
|
|
|
180
189
|
.opacity-50 {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
opacity: 0.5;
|
|
191
|
+
filter: alpha(opacity=50);
|
|
192
|
+
*zoom: 1;
|
|
184
193
|
}
|
|
185
194
|
|
|
186
195
|
.opacity-60 {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
196
|
+
opacity: 0.6;
|
|
197
|
+
filter: alpha(opacity=60);
|
|
198
|
+
*zoom: 1;
|
|
190
199
|
}
|
|
191
200
|
|
|
192
201
|
.opacity-80 {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
202
|
+
opacity: 0.8;
|
|
203
|
+
filter: alpha(opacity=80);
|
|
204
|
+
*zoom: 1;
|
|
196
205
|
}
|
|
197
206
|
|
|
198
207
|
.opacity-100 {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
208
|
+
opacity: 1;
|
|
209
|
+
filter: alpha(opacity=100);
|
|
210
|
+
*zoom: 1;
|
|
202
211
|
}
|
|
203
212
|
|
|
204
213
|
|
|
@@ -209,260 +218,303 @@ ul li {
|
|
|
209
218
|
}
|
|
210
219
|
|
|
211
220
|
.d-ios-force-border-radius {
|
|
212
|
-
|
|
213
|
-
|
|
221
|
+
transform: translateZ(0);
|
|
222
|
+
mask-image: radial-gradient(circle, white 100%, black 100%);
|
|
214
223
|
}
|
|
215
224
|
//反写taro转小程序样式
|
|
216
225
|
.hydrated {
|
|
217
|
-
|
|
226
|
+
visibility: visible;
|
|
218
227
|
}
|
|
219
228
|
|
|
220
229
|
// 视频封面全屏铺满
|
|
221
230
|
video {
|
|
222
|
-
|
|
231
|
+
object-fit: cover;
|
|
223
232
|
}
|
|
224
233
|
|
|
225
234
|
.d-video-forbid-fullscreen-button {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
235
|
+
&::-webkit-media-controls-fullscreen-button {
|
|
236
|
+
display: none !important;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// tarojs会在运行时动态给页面写入这个样式,但是动态写入可能导致在写入之前,有些依赖于 taro-view-core 块行为的逻辑出现异常,比如获取一个view的宽度,block情况下应该是有宽度的,但可能会出现获取到的宽度值是0。所以改成样式表里就直接定义好
|
|
241
|
+
taro-view-core {
|
|
242
|
+
display: block;
|
|
229
243
|
}
|
|
230
244
|
|
|
231
245
|
taro-view-core,
|
|
232
246
|
taro-image-core,
|
|
233
247
|
taro-text-core,
|
|
234
248
|
taro-video-core {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
249
|
+
|
|
250
|
+
outline: none;
|
|
251
|
+
//font-weight: normal;
|
|
252
|
+
-webkit-overflow-scrolling: touch;
|
|
253
|
+
//对字体进行抗锯齿渲染可以使字体看起来会更清晰舒服。在图标字体成为一种趋势的今天,抗锯齿渲染使用也越来越多。antialiased:抗锯齿很好
|
|
254
|
+
-webkit-font-smoothing: antialiased;
|
|
241
255
|
}
|
|
242
256
|
|
|
243
257
|
//解决小程序图片宽度320高度默认240的问题
|
|
244
258
|
taro-image-core {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
259
|
+
display: block;
|
|
260
|
+
width: 100%;
|
|
261
|
+
height: auto;
|
|
262
|
+
|
|
263
|
+
//transform: translate3d(0, 0, 0) perspective(1px);
|
|
264
|
+
//-webkit-backface-visibility: hidden;
|
|
265
|
+
//-webkit-transform-style: preserve-3d;
|
|
252
266
|
}
|
|
253
267
|
|
|
254
268
|
// 解决多行省略的时候可能无法展示的问题
|
|
255
269
|
taro-text-core {
|
|
256
|
-
|
|
270
|
+
white-space: normal;
|
|
257
271
|
}
|
|
258
272
|
|
|
259
273
|
taro-video-core {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
274
|
+
video {
|
|
275
|
+
object-fit: cover !important;
|
|
276
|
+
}
|
|
263
277
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
278
|
+
//标签选择不生效
|
|
279
|
+
taro-video-control {
|
|
280
|
+
background-color: transparent;
|
|
281
|
+
}
|
|
268
282
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
283
|
+
.taro-video-bar {
|
|
284
|
+
background-color: transparent;
|
|
285
|
+
}
|
|
272
286
|
}
|
|
273
287
|
|
|
274
288
|
.weui-icon-info {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
289
|
+
&:before {
|
|
290
|
+
content: '';
|
|
291
|
+
}
|
|
278
292
|
}
|
|
279
293
|
.taro-checkbox_checked {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
294
|
+
display: inline-block;
|
|
295
|
+
top: 0;
|
|
296
|
+
margin: -2px 10px 0 0;
|
|
297
|
+
width: 32px;
|
|
298
|
+
height: 32px;
|
|
299
|
+
font-size: 36px;
|
|
300
|
+
color: #333;
|
|
301
|
+
vertical-align: middle;
|
|
302
|
+
border-color: rgba(209, 209, 209, 0.8);
|
|
303
|
+
&:checked:before {
|
|
304
|
+
color: #e93b3d;
|
|
305
|
+
}
|
|
292
306
|
}
|
|
293
307
|
taro-radio-core {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
308
|
+
&.weui-cells_checkbox {
|
|
309
|
+
.weui-check + .weui-icon-checked {
|
|
310
|
+
vertical-align: middle;
|
|
311
|
+
&:before {
|
|
312
|
+
content: '';
|
|
313
|
+
width: 32px;
|
|
314
|
+
height: 32px;
|
|
315
|
+
margin-left: 0;
|
|
316
|
+
margin-top: -4px;
|
|
317
|
+
border: 2px solid #909090;
|
|
318
|
+
//color: #909090;
|
|
319
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
320
|
+
border-radius: 50%;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
vertical-align: middle;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
.weui-check:checked + .weui-icon-checked {
|
|
326
|
+
&:before {
|
|
327
|
+
content: '';
|
|
328
|
+
border: none;
|
|
329
|
+
background: url('https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png')
|
|
330
|
+
no-repeat 0 0 / cover;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
taro-checkbox-core {
|
|
336
|
+
.taro-checkbox_checked {
|
|
337
|
+
border: 2px solid #909090;
|
|
338
|
+
//background: url("https://img12.360buyimg.com/imagetools/jfs/t1/206105/34/32968/504/64d35614F8cedb83b/d5953c21e17d17ae.png") no-repeat 0 0 / cover;
|
|
339
|
+
border-radius: 50%;
|
|
340
|
+
box-sizing: border-box;
|
|
341
|
+
&:checked {
|
|
342
|
+
border: none;
|
|
343
|
+
background: url('https://img12.360buyimg.com/imagetools/jfs/t1/190964/36/36148/636/64d35614Fd3f012fd/28a6f01faddaedbb.png')
|
|
344
|
+
no-repeat 0 0 / cover;
|
|
345
|
+
&:before {
|
|
346
|
+
content: none;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
.weui-picker {
|
|
352
|
+
font-size: 30px;
|
|
353
|
+
.weui-picker__hd {
|
|
354
|
+
font-size: 32px;
|
|
355
|
+
}
|
|
356
|
+
.weui-picker__action {
|
|
357
|
+
color: #fa2c19;
|
|
358
|
+
&:first-child {
|
|
359
|
+
color: #1a1a1a;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
309
362
|
}
|
|
310
363
|
|
|
311
|
-
|
|
312
364
|
.taro__toast {
|
|
313
|
-
|
|
365
|
+
transition: none !important;
|
|
314
366
|
|
|
315
|
-
|
|
316
|
-
|
|
367
|
+
div:last-child {
|
|
368
|
+
//background: transparent !important;
|
|
317
369
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
370
|
+
p {
|
|
371
|
+
&:first-child {
|
|
372
|
+
width: 80px !important;
|
|
373
|
+
height: 80px !important;
|
|
374
|
+
}
|
|
323
375
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
376
|
+
&:last-child {
|
|
377
|
+
margin-top: 8px !important;
|
|
378
|
+
font-size: 28px !important;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
330
382
|
}
|
|
331
383
|
|
|
332
384
|
.d-shop-loading {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
385
|
+
position: fixed;
|
|
386
|
+
top: 0;
|
|
387
|
+
left: 0;
|
|
388
|
+
right: 0;
|
|
389
|
+
bottom: 0;
|
|
390
|
+
z-index: 100;
|
|
391
|
+
|
|
392
|
+
.d-loading-content {
|
|
393
|
+
text-align: center;
|
|
394
|
+
}
|
|
395
|
+
span {
|
|
396
|
+
display: inline-block;
|
|
397
|
+
width: 100px;
|
|
398
|
+
height: 100px;
|
|
399
|
+
background: url('https://img13.360buyimg.com/imagetools/jfs/t1/151010/32/14284/30214/5ff66791Ea1bc6cc6/698c0772b377aef5.png')
|
|
400
|
+
no-repeat center center / 72px 72px;
|
|
401
|
+
}
|
|
402
|
+
.d-shop-text {
|
|
403
|
+
font-size: 24px;
|
|
404
|
+
color: #232325;
|
|
405
|
+
}
|
|
354
406
|
}
|
|
355
407
|
|
|
356
408
|
.fade-enter {
|
|
357
|
-
|
|
409
|
+
opacity: 0.01;
|
|
358
410
|
}
|
|
359
411
|
|
|
360
412
|
.fade-enter-active {
|
|
361
|
-
|
|
362
|
-
|
|
413
|
+
opacity: 1;
|
|
414
|
+
transition: all 300ms ease-out;
|
|
363
415
|
}
|
|
364
416
|
|
|
365
417
|
.fade-exit {
|
|
366
|
-
|
|
418
|
+
opacity: 1;
|
|
367
419
|
}
|
|
368
420
|
|
|
369
421
|
.fade-exit-active {
|
|
370
|
-
|
|
371
|
-
|
|
422
|
+
opacity: 0.01;
|
|
423
|
+
transition: all 300ms ease-out;
|
|
372
424
|
}
|
|
373
425
|
|
|
374
426
|
.zoom-enter {
|
|
375
|
-
|
|
376
|
-
|
|
427
|
+
opacity: 0.01;
|
|
428
|
+
transform: scale(0);
|
|
377
429
|
}
|
|
378
430
|
|
|
379
431
|
.zoom-enter-active {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
432
|
+
opacity: 1;
|
|
433
|
+
transform: scale(1);
|
|
434
|
+
transition: all 300ms ease-out;
|
|
383
435
|
}
|
|
384
436
|
|
|
385
437
|
.zoom-exit {
|
|
386
|
-
|
|
387
|
-
|
|
438
|
+
opacity: 1;
|
|
439
|
+
transform: scale(1);
|
|
388
440
|
}
|
|
389
441
|
|
|
390
442
|
.zoom-exit-active {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
443
|
+
opacity: 0.01;
|
|
444
|
+
transform: scale(0);
|
|
445
|
+
transition: all 300ms ease-out;
|
|
394
446
|
}
|
|
395
447
|
|
|
396
448
|
.slide-up-enter {
|
|
397
|
-
|
|
449
|
+
transform: translateY(100%);
|
|
398
450
|
}
|
|
399
451
|
|
|
400
452
|
.slide-up-enter-active {
|
|
401
|
-
|
|
402
|
-
|
|
453
|
+
transform: translateY(0%);
|
|
454
|
+
transition: all 300ms ease-out;
|
|
403
455
|
}
|
|
404
456
|
|
|
405
457
|
.slide-up-exit {
|
|
406
|
-
|
|
458
|
+
transform: translateY(0%);
|
|
407
459
|
}
|
|
408
460
|
|
|
409
461
|
.slide-up-exit-active {
|
|
410
|
-
|
|
411
|
-
|
|
462
|
+
transform: translateY(100%);
|
|
463
|
+
transition: all 300ms ease-in;
|
|
412
464
|
}
|
|
413
465
|
|
|
414
466
|
.slide-down-enter {
|
|
415
|
-
|
|
467
|
+
transform: translateY(-100%);
|
|
416
468
|
}
|
|
417
469
|
|
|
418
470
|
.slide-down-enter-active {
|
|
419
|
-
|
|
420
|
-
|
|
471
|
+
transform: translateY(0%);
|
|
472
|
+
transition: all 300ms ease-out;
|
|
421
473
|
}
|
|
422
474
|
|
|
423
475
|
.slide-down-exit {
|
|
424
|
-
|
|
476
|
+
transform: translateY(0%);
|
|
425
477
|
}
|
|
426
478
|
|
|
427
479
|
.slide-down-exit-active {
|
|
428
|
-
|
|
429
|
-
|
|
480
|
+
transform: translateY(-100%);
|
|
481
|
+
transition: all 300ms ease-in;
|
|
430
482
|
}
|
|
431
483
|
|
|
432
484
|
.slide-right-enter {
|
|
433
|
-
|
|
485
|
+
transform: translateX(100%);
|
|
434
486
|
}
|
|
435
487
|
|
|
436
488
|
.slide-right-enter-active {
|
|
437
|
-
|
|
438
|
-
|
|
489
|
+
transform: translateX(0%);
|
|
490
|
+
transition: all 300ms ease-out;
|
|
439
491
|
}
|
|
440
492
|
|
|
441
493
|
.slide-right-exit {
|
|
442
|
-
|
|
494
|
+
transform: translateX(0%);
|
|
443
495
|
}
|
|
444
496
|
|
|
445
497
|
.slide-right-exit-active {
|
|
446
|
-
|
|
447
|
-
|
|
498
|
+
transform: translateX(100%);
|
|
499
|
+
transition: all 300ms ease-in;
|
|
448
500
|
}
|
|
449
501
|
|
|
450
502
|
.slide-left-enter {
|
|
451
|
-
|
|
503
|
+
transform: translateX(-100%);
|
|
452
504
|
}
|
|
453
505
|
|
|
454
506
|
.slide-left-enter-active {
|
|
455
|
-
|
|
456
|
-
|
|
507
|
+
transform: translateX(0%);
|
|
508
|
+
transition: all 300ms ease-out;
|
|
457
509
|
}
|
|
458
510
|
|
|
459
511
|
.slide-left-exit {
|
|
460
|
-
|
|
512
|
+
transform: translateX(0%);
|
|
461
513
|
}
|
|
462
514
|
|
|
463
515
|
.slide-left-exit-active {
|
|
464
|
-
|
|
465
|
-
|
|
516
|
+
transform: translateX(-100%);
|
|
517
|
+
transition: all 300ms ease-in;
|
|
466
518
|
}
|
|
467
519
|
|
|
468
520
|
|
|
@@ -473,3 +525,33 @@ taro-radio-core {
|
|
|
473
525
|
//image-rendering: crisp-edges;
|
|
474
526
|
//-ms-interpolation-mode: nearest-neighbor;
|
|
475
527
|
}
|
|
528
|
+
|
|
529
|
+
@media screen and (orientation: landscape) {
|
|
530
|
+
// not 在chrome88之后才支持,因此暂时不用此方式
|
|
531
|
+
.d-shop-pad {
|
|
532
|
+
&.d-shop-pad-render-center {
|
|
533
|
+
//width: 100vh;
|
|
534
|
+
width: var(--screen-min-width, 100vh);
|
|
535
|
+
margin: 0 auto;
|
|
536
|
+
}
|
|
537
|
+
.d-pad-part-render-center {
|
|
538
|
+
width: var(--screen-min-width, 100vh);
|
|
539
|
+
margin: 0 auto;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.d-shop-lang-for-en {
|
|
545
|
+
.text-ellipsis-2 {
|
|
546
|
+
word-break: break-word;
|
|
547
|
+
}
|
|
548
|
+
.text-ellipsis-3 {
|
|
549
|
+
word-break: break-word;
|
|
550
|
+
}
|
|
551
|
+
.text-ellipsis-2-no-omit {
|
|
552
|
+
word-break: break-word;
|
|
553
|
+
}
|
|
554
|
+
.text-ellipsis-3-no-omit {
|
|
555
|
+
word-break: break-word;
|
|
556
|
+
}
|
|
557
|
+
}
|