@nyris/nyris-webapp 0.3.29 → 0.3.31
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/build/asset-manifest.json +10 -9
- package/build/index.html +1 -1
- package/build/{precache-manifest.d72c397d9b869dc1470447b80ddb6f57.js → precache-manifest.f764cb62c8d24f8090a273fa02dd1a7a.js} +12 -8
- package/build/service-worker.js +1 -1
- package/build/static/css/main.d0b21fa5.chunk.css +2 -0
- package/build/static/css/main.d0b21fa5.chunk.css.map +1 -0
- package/build/static/js/main.1edd044c.chunk.js +3 -0
- package/build/static/js/main.1edd044c.chunk.js.map +1 -0
- package/build/static/media/icon_search.373c3cc4.svg +3 -0
- package/build/static/media/info-tooltip.5feeef22.svg +3 -0
- package/package.json +3 -3
- package/src/Store/constants.ts +13 -0
- package/src/common/assets/icons/icon_search.svg +2 -2
- package/src/common/assets/icons/info-tooltip.svg +3 -0
- package/src/components/DetailItem.tsx +25 -23
- package/src/components/appMobile.scss +12 -6
- package/src/components/drawer/cameraCustom.tsx +1 -1
- package/src/components/input/inputSearch.tsx +11 -8
- package/src/components/results/ItemResult.tsx +181 -183
- package/src/page/landingPage/common.scss +50 -27
- package/src/page/result/index.tsx +154 -52
- package/src/translations.ts +3 -3
- package/src/types.ts +15 -0
- package/build/static/css/main.0d30f026.chunk.css +0 -2
- package/build/static/css/main.0d30f026.chunk.css.map +0 -1
- package/build/static/js/main.972dc9a3.chunk.js +0 -3
- package/build/static/js/main.972dc9a3.chunk.js.map +0 -1
- package/build/static/media/icon_search.418decdc.svg +0 -3
- /package/build/static/js/{main.972dc9a3.chunk.js.LICENSE.txt → main.1edd044c.chunk.js.LICENSE.txt} +0 -0
|
@@ -53,7 +53,9 @@ function ItemResult(props: Props) {
|
|
|
53
53
|
const [isOpenModalShare, setOpenModalShare] = useState<boolean>(false);
|
|
54
54
|
const [feedback, setFeedback] = useState('none');
|
|
55
55
|
const { t } = useTranslation();
|
|
56
|
-
const { sku,
|
|
56
|
+
const { sku, collap } = dataItem;
|
|
57
|
+
const brand = dataItem[settings.field.productTag];
|
|
58
|
+
|
|
57
59
|
useEffect(() => {
|
|
58
60
|
if (main_image_link) {
|
|
59
61
|
handlerCheckUrlImage(main_image_link);
|
|
@@ -192,12 +194,10 @@ function ItemResult(props: Props) {
|
|
|
192
194
|
style={{
|
|
193
195
|
flexDirection: 'column',
|
|
194
196
|
backgroundColor: '#F3F3F5',
|
|
197
|
+
flexGrow: 1,
|
|
195
198
|
}}
|
|
196
199
|
>
|
|
197
|
-
<Box
|
|
198
|
-
className="box-top"
|
|
199
|
-
style={{ minHeight: settings.showMoreInfo ? '150px' : '90px' }}
|
|
200
|
-
>
|
|
200
|
+
<Box className="box-top" style={{ minHeight: '90px' }}>
|
|
201
201
|
<Grid container justifyContent="space-between">
|
|
202
202
|
<Grid item xs={12}>
|
|
203
203
|
<Tooltip
|
|
@@ -210,14 +210,14 @@ function ItemResult(props: Props) {
|
|
|
210
210
|
className="text-f12 max-line-1 fw-400"
|
|
211
211
|
style={{
|
|
212
212
|
color: '#2B2C46',
|
|
213
|
-
marginTop:
|
|
213
|
+
marginTop: 12,
|
|
214
214
|
display: 'inline-block',
|
|
215
215
|
}}
|
|
216
216
|
>
|
|
217
217
|
<span style={{ marginRight: 3 }}>
|
|
218
218
|
{settings.itemIdLabel || 'SKU'}:
|
|
219
219
|
</span>
|
|
220
|
-
{truncateString(sku,
|
|
220
|
+
{truncateString(sku, 16)}
|
|
221
221
|
</Typography>
|
|
222
222
|
</Tooltip>
|
|
223
223
|
|
|
@@ -227,22 +227,21 @@ function ItemResult(props: Props) {
|
|
|
227
227
|
className="text-f12 max-line-1 fw-400"
|
|
228
228
|
style={{
|
|
229
229
|
color: '#2B2C46',
|
|
230
|
-
marginTop: 10,
|
|
231
230
|
display: 'inline-block',
|
|
232
231
|
}}
|
|
233
232
|
>
|
|
234
233
|
<span style={{ marginRight: 3 }}>
|
|
235
|
-
{dataItem.
|
|
234
|
+
{dataItem[settings.field.warehouseStock]}:
|
|
236
235
|
</span>
|
|
237
236
|
<span
|
|
238
237
|
style={{
|
|
239
|
-
color: dataItem.
|
|
238
|
+
color: dataItem[settings.field.warehouseStockValue]
|
|
240
239
|
? '#00C070'
|
|
241
240
|
: '#c54545',
|
|
242
241
|
fontWeight: 600,
|
|
243
242
|
}}
|
|
244
243
|
>
|
|
245
|
-
{dataItem.
|
|
244
|
+
{dataItem[settings.field.warehouseStockValue] || 0}
|
|
246
245
|
</span>
|
|
247
246
|
</Typography>
|
|
248
247
|
</Box>
|
|
@@ -256,13 +255,13 @@ function ItemResult(props: Props) {
|
|
|
256
255
|
disableHoverListener={brand?.length < 22 || !brand}
|
|
257
256
|
>
|
|
258
257
|
<Box
|
|
259
|
-
mt={1}
|
|
260
258
|
style={{
|
|
261
259
|
background: `${settings.theme?.secondaryColor}26`,
|
|
262
260
|
borderRadius: '6px',
|
|
263
261
|
display: 'flex',
|
|
264
262
|
width: 'fit-content',
|
|
265
263
|
padding: '2px 5px',
|
|
264
|
+
marginTop: 3,
|
|
266
265
|
}}
|
|
267
266
|
>
|
|
268
267
|
<Typography
|
|
@@ -285,203 +284,201 @@ function ItemResult(props: Props) {
|
|
|
285
284
|
{!settings.warehouseVariant && (
|
|
286
285
|
<Typography
|
|
287
286
|
className="text-f13 fw-600 max-line-3"
|
|
288
|
-
style={{ color: '#1E1F31', marginTop:
|
|
287
|
+
style={{ color: '#1E1F31', marginTop: 12 }}
|
|
289
288
|
>
|
|
290
|
-
{
|
|
289
|
+
{dataItem[settings.field.productName]}
|
|
291
290
|
</Typography>
|
|
292
291
|
)}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
292
|
+
</Grid>
|
|
293
|
+
</Grid>
|
|
294
|
+
</Box>
|
|
295
|
+
<div>
|
|
296
|
+
{(settings.showMoreInfo || settings.warehouseVariant) && (
|
|
297
|
+
<Tooltip
|
|
298
|
+
title={dataItem[settings.field.productName]}
|
|
299
|
+
placement="top"
|
|
300
|
+
arrow={true}
|
|
301
|
+
disableHoverListener={
|
|
302
|
+
dataItem[settings.field.productName]?.length < 35 ||
|
|
303
|
+
!settings.warehouseVariant
|
|
304
|
+
}
|
|
305
|
+
>
|
|
306
|
+
<Box
|
|
307
|
+
style={{
|
|
308
|
+
boxShadow: '-2px 2px 4px rgba(170, 171, 181, 0.5)',
|
|
309
|
+
// marginBottom: 22,
|
|
310
|
+
height: 40,
|
|
311
|
+
background: `linear-gradient(270deg, ${settings.theme?.primaryColor}bb 0%, ${settings.theme?.primaryColor} 100%)`,
|
|
312
|
+
borderRadius: 4,
|
|
313
|
+
padding: '0px 8px',
|
|
314
|
+
marginTop: '12px',
|
|
315
|
+
}}
|
|
316
|
+
display={'flex'}
|
|
317
|
+
justifyItems={'center'}
|
|
318
|
+
alignItems={'center'}
|
|
319
|
+
justifyContent={'space-between'}
|
|
320
|
+
>
|
|
321
|
+
<Button
|
|
322
|
+
style={{
|
|
323
|
+
display: 'flex',
|
|
324
|
+
justifyContent: 'space-between',
|
|
325
|
+
width: '100%',
|
|
326
|
+
padding: 0,
|
|
327
|
+
}}
|
|
328
|
+
onClick={() =>
|
|
329
|
+
window.open(
|
|
330
|
+
`${dataItem[settings.field.ctaLinkField]}`,
|
|
331
|
+
'_blank',
|
|
332
|
+
)
|
|
301
333
|
}
|
|
302
334
|
>
|
|
303
|
-
<
|
|
335
|
+
<Typography
|
|
336
|
+
className="text-white max-line-2"
|
|
304
337
|
style={{
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
338
|
+
textTransform: !settings.warehouseVariant
|
|
339
|
+
? 'uppercase'
|
|
340
|
+
: 'none',
|
|
341
|
+
overflow: 'hidden',
|
|
342
|
+
textOverflow: 'ellipsis',
|
|
343
|
+
fontWeight: !settings.warehouseVariant ? 700 : 500,
|
|
344
|
+
fontSize: !settings.warehouseVariant ? '12px' : '11px',
|
|
345
|
+
letterSpacing: '0.27px',
|
|
346
|
+
wordBreak: !settings.warehouseVariant
|
|
347
|
+
? 'normal'
|
|
348
|
+
: 'break-all',
|
|
349
|
+
maxWidth: '136px',
|
|
350
|
+
paddingRight: '8px',
|
|
311
351
|
}}
|
|
312
|
-
|
|
313
|
-
justifyItems={'center'}
|
|
314
|
-
alignItems={'center'}
|
|
315
|
-
justifyContent={'space-between'}
|
|
316
|
-
mt={2}
|
|
352
|
+
align="left"
|
|
317
353
|
>
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
'_blank',
|
|
329
|
-
)
|
|
330
|
-
}
|
|
331
|
-
>
|
|
332
|
-
<Typography
|
|
333
|
-
className="text-white max-line-2"
|
|
334
|
-
style={{
|
|
335
|
-
textTransform: !settings.warehouseVariant
|
|
336
|
-
? 'uppercase'
|
|
337
|
-
: 'none',
|
|
338
|
-
overflow: 'hidden',
|
|
339
|
-
textOverflow: 'ellipsis',
|
|
340
|
-
fontWeight: !settings.warehouseVariant ? 700 : 500,
|
|
341
|
-
fontSize: !settings.warehouseVariant
|
|
342
|
-
? '12px'
|
|
343
|
-
: '11px',
|
|
344
|
-
letterSpacing: '0.27px',
|
|
345
|
-
wordBreak: !settings.warehouseVariant
|
|
346
|
-
? 'normal'
|
|
347
|
-
: 'break-all',
|
|
348
|
-
maxWidth: '136px',
|
|
349
|
-
paddingRight: '8px',
|
|
350
|
-
}}
|
|
351
|
-
align="left"
|
|
352
|
-
>
|
|
353
|
-
{settings.warehouseVariant
|
|
354
|
-
? truncateString(title, 35)
|
|
355
|
-
: settings.productCtaText || 'MORE INFO'}
|
|
356
|
-
</Typography>
|
|
357
|
-
<img src={IconOpenLink} alt="more-info" width={20} />
|
|
358
|
-
</Button>
|
|
359
|
-
</Box>
|
|
360
|
-
</Tooltip>
|
|
361
|
-
)}
|
|
362
|
-
</Grid>
|
|
363
|
-
</Grid>
|
|
364
|
-
</Box>
|
|
365
|
-
|
|
366
|
-
{settings.warehouseVariant && (
|
|
367
|
-
<Box
|
|
368
|
-
display="flex"
|
|
369
|
-
justifyContent={'space-between'}
|
|
370
|
-
style={{ color: '#2B2C46', marginTop: '12px' }}
|
|
371
|
-
gridGap={10}
|
|
372
|
-
>
|
|
354
|
+
{settings.warehouseVariant
|
|
355
|
+
? truncateString(dataItem[settings.field.productName], 35)
|
|
356
|
+
: settings.productCtaText || 'MORE INFO'}
|
|
357
|
+
</Typography>
|
|
358
|
+
<img src={IconOpenLink} alt="more-info" width={20} />
|
|
359
|
+
</Button>
|
|
360
|
+
</Box>
|
|
361
|
+
</Tooltip>
|
|
362
|
+
)}
|
|
363
|
+
{settings.warehouseVariant && (
|
|
373
364
|
<Box
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
width: '100%',
|
|
379
|
-
}}
|
|
365
|
+
display="flex"
|
|
366
|
+
justifyContent={'space-between'}
|
|
367
|
+
style={{ color: '#2B2C46', marginTop: '12px' }}
|
|
368
|
+
gridGap={10}
|
|
380
369
|
>
|
|
381
|
-
<
|
|
382
|
-
{dataItem.custom_id_key_2}
|
|
383
|
-
</div>
|
|
384
|
-
<div
|
|
370
|
+
<Box
|
|
385
371
|
style={{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
textOverflow: 'ellipsis',
|
|
372
|
+
backgroundColor: `${settings.theme?.secondaryColor}26`,
|
|
373
|
+
padding: '5px 10px',
|
|
374
|
+
borderRadius: 4,
|
|
375
|
+
width: '100%',
|
|
391
376
|
}}
|
|
392
377
|
>
|
|
393
|
-
{
|
|
394
|
-
|
|
395
|
-
|
|
378
|
+
<div style={{ fontSize: 10, fontWeight: 500 }}>
|
|
379
|
+
{dataItem.custom_id_key_2}
|
|
380
|
+
</div>
|
|
381
|
+
<div
|
|
382
|
+
style={{
|
|
383
|
+
fontSize: 13,
|
|
384
|
+
fontWeight: 700,
|
|
385
|
+
whiteSpace: 'nowrap',
|
|
386
|
+
overflow: 'hidden',
|
|
387
|
+
textOverflow: 'ellipsis',
|
|
388
|
+
}}
|
|
389
|
+
>
|
|
390
|
+
{dataItem.custom_id_value_2 || 'N/A'}
|
|
391
|
+
</div>
|
|
392
|
+
</Box>
|
|
396
393
|
|
|
397
|
-
|
|
398
|
-
style={{
|
|
399
|
-
backgroundColor: `${settings.theme?.secondaryColor}26`,
|
|
400
|
-
padding: '5px 10px',
|
|
401
|
-
borderRadius: 4,
|
|
402
|
-
width: '100%',
|
|
403
|
-
}}
|
|
404
|
-
>
|
|
405
|
-
<div style={{ fontSize: 10, fontWeight: 500 }}>
|
|
406
|
-
{dataItem.custom_id_key_1}
|
|
407
|
-
</div>
|
|
408
|
-
<div
|
|
394
|
+
<Box
|
|
409
395
|
style={{
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
textOverflow: 'ellipsis',
|
|
396
|
+
backgroundColor: `${settings.theme?.secondaryColor}26`,
|
|
397
|
+
padding: '5px 10px',
|
|
398
|
+
borderRadius: 4,
|
|
399
|
+
width: '100%',
|
|
415
400
|
}}
|
|
416
401
|
>
|
|
417
|
-
{
|
|
418
|
-
|
|
402
|
+
<div style={{ fontSize: 10, fontWeight: 500 }}>
|
|
403
|
+
{dataItem.custom_id_key_1}
|
|
404
|
+
</div>
|
|
405
|
+
<div
|
|
406
|
+
style={{
|
|
407
|
+
fontSize: 13,
|
|
408
|
+
fontWeight: 700,
|
|
409
|
+
whiteSpace: 'nowrap',
|
|
410
|
+
overflow: 'hidden',
|
|
411
|
+
textOverflow: 'ellipsis',
|
|
412
|
+
}}
|
|
413
|
+
>
|
|
414
|
+
{dataItem.custom_id_value_1 || 'N/A'}
|
|
415
|
+
</div>
|
|
416
|
+
</Box>
|
|
419
417
|
</Box>
|
|
420
|
-
|
|
421
|
-
)}
|
|
418
|
+
)}
|
|
422
419
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
>
|
|
428
|
-
<Grid
|
|
429
|
-
container
|
|
430
|
-
justifyContent={
|
|
431
|
-
settings.shareOption ? 'space-between' : 'space-around'
|
|
432
|
-
}
|
|
433
|
-
alignItems="center"
|
|
420
|
+
{settings.showFeedbackAndShare && (
|
|
421
|
+
<Box
|
|
422
|
+
className="box-bottom"
|
|
423
|
+
style={{ marginBottom: 6, marginTop: 12 }}
|
|
434
424
|
>
|
|
435
|
-
<Grid
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
setFeedback('dislike');
|
|
461
|
-
}}
|
|
462
|
-
>
|
|
463
|
-
<IconDisLike
|
|
464
|
-
width={16}
|
|
465
|
-
height={16}
|
|
466
|
-
color={feedback === 'dislike' ? '#CC1854' : '#000000'}
|
|
467
|
-
/>
|
|
468
|
-
</Button>
|
|
469
|
-
</Box>
|
|
470
|
-
</Grid>
|
|
471
|
-
{settings.shareOption && (
|
|
425
|
+
<Grid
|
|
426
|
+
container
|
|
427
|
+
justifyContent={
|
|
428
|
+
settings.shareOption ? 'space-between' : 'space-around'
|
|
429
|
+
}
|
|
430
|
+
alignItems="center"
|
|
431
|
+
>
|
|
432
|
+
<Grid item>
|
|
433
|
+
<Box display={'flex'} alignItems={'center'}>
|
|
434
|
+
<Button
|
|
435
|
+
className="btn-item"
|
|
436
|
+
style={{ padding: '6px' }}
|
|
437
|
+
onClick={() => {
|
|
438
|
+
handlerFeedback('like');
|
|
439
|
+
setFeedback('like');
|
|
440
|
+
}}
|
|
441
|
+
>
|
|
442
|
+
<IconLike
|
|
443
|
+
width={16}
|
|
444
|
+
height={16}
|
|
445
|
+
color={feedback === 'like' ? '#3E36DC' : '#000000'}
|
|
446
|
+
/>
|
|
447
|
+
</Button>
|
|
448
|
+
</Box>
|
|
449
|
+
</Grid>
|
|
472
450
|
<Grid item>
|
|
473
451
|
<Box display={'flex'} alignItems={'center'}>
|
|
474
452
|
<Button
|
|
475
453
|
style={{ padding: '6px' }}
|
|
476
454
|
className="btn-item"
|
|
477
|
-
onClick={() =>
|
|
455
|
+
onClick={() => {
|
|
456
|
+
handlerFeedback('dislike');
|
|
457
|
+
setFeedback('dislike');
|
|
458
|
+
}}
|
|
478
459
|
>
|
|
479
|
-
<
|
|
460
|
+
<IconDisLike
|
|
461
|
+
width={16}
|
|
462
|
+
height={16}
|
|
463
|
+
color={feedback === 'dislike' ? '#CC1854' : '#000000'}
|
|
464
|
+
/>
|
|
480
465
|
</Button>
|
|
481
466
|
</Box>
|
|
482
467
|
</Grid>
|
|
483
|
-
|
|
484
|
-
|
|
468
|
+
{settings.shareOption && (
|
|
469
|
+
<Grid item>
|
|
470
|
+
<Box display={'flex'} alignItems={'center'}>
|
|
471
|
+
<Button
|
|
472
|
+
style={{ padding: '6px' }}
|
|
473
|
+
className="btn-item"
|
|
474
|
+
onClick={() => false}
|
|
475
|
+
>
|
|
476
|
+
<IconShare width={16} height={16} color="#808080" />
|
|
477
|
+
</Button>
|
|
478
|
+
</Box>
|
|
479
|
+
</Grid>
|
|
480
|
+
)}
|
|
481
|
+
{/* <Grid item>
|
|
485
482
|
<Box display={'flex'} alignItems={'center'}>
|
|
486
483
|
<Button className="btn-item">
|
|
487
484
|
<Box
|
|
@@ -500,9 +497,10 @@ function ItemResult(props: Props) {
|
|
|
500
497
|
</Button>
|
|
501
498
|
</Box>
|
|
502
499
|
</Grid> */}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
500
|
+
</Grid>
|
|
501
|
+
</Box>
|
|
502
|
+
)}
|
|
503
|
+
</div>
|
|
506
504
|
</Box>
|
|
507
505
|
</Box>
|
|
508
506
|
);
|
|
@@ -160,8 +160,8 @@ button {
|
|
|
160
160
|
// max-height: 33px; /* fallback */
|
|
161
161
|
-webkit-line-clamp: 3; /* number of lines to show */
|
|
162
162
|
-webkit-box-orient: vertical;
|
|
163
|
-
min-height: 42px;
|
|
164
|
-
height: 50px;
|
|
163
|
+
// min-height: 42px;
|
|
164
|
+
// height: 50px;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.max-line-2 {
|
|
@@ -563,6 +563,7 @@ button {
|
|
|
563
563
|
box-shadow: 0px 0px 6px #aaabb5b3;
|
|
564
564
|
.box-top {
|
|
565
565
|
position: relative;
|
|
566
|
+
height: fit-content;
|
|
566
567
|
.btn-show-result {
|
|
567
568
|
position: absolute;
|
|
568
569
|
top: 10px;
|
|
@@ -653,7 +654,9 @@ button {
|
|
|
653
654
|
|
|
654
655
|
.box-content {
|
|
655
656
|
background-color: #e9e9ec;
|
|
656
|
-
padding: 8px
|
|
657
|
+
padding-left: 8px;
|
|
658
|
+
padding-right: 8px;
|
|
659
|
+
padding-bottom: 8px;
|
|
657
660
|
min-height: 82px;
|
|
658
661
|
justify-content: space-between;
|
|
659
662
|
.box-top {
|
|
@@ -868,7 +871,8 @@ button {
|
|
|
868
871
|
}
|
|
869
872
|
.box-content-main {
|
|
870
873
|
background: #f3f3f5;
|
|
871
|
-
padding:
|
|
874
|
+
padding: 16px;
|
|
875
|
+
border-radius: 16px;
|
|
872
876
|
height: 100%;
|
|
873
877
|
@media screen and (min-width: 2047px) {
|
|
874
878
|
position: inherit;
|
|
@@ -876,6 +880,8 @@ button {
|
|
|
876
880
|
}
|
|
877
881
|
.box-border {
|
|
878
882
|
border: 2px dashed #aaabb5;
|
|
883
|
+
border-radius: 16px;
|
|
884
|
+
border-radius: 16px;
|
|
879
885
|
height: 100%;
|
|
880
886
|
display: flex;
|
|
881
887
|
justify-content: center;
|
|
@@ -932,19 +938,19 @@ button {
|
|
|
932
938
|
.box-wrap-result-component {
|
|
933
939
|
min-height: 100%;
|
|
934
940
|
display: flex;
|
|
935
|
-
justify-content: space-between;
|
|
936
941
|
flex-direction: column;
|
|
937
942
|
// height: calc(100vh - 32px);
|
|
938
943
|
background-color: #fafafa;
|
|
939
944
|
.box-search {
|
|
940
945
|
margin: 0px auto;
|
|
941
|
-
padding:
|
|
946
|
+
padding: 24px 0px 24px 0px;
|
|
942
947
|
display: flex;
|
|
943
948
|
justify-content: center;
|
|
944
949
|
align-items: center;
|
|
945
|
-
background-color: #
|
|
950
|
+
background-color: #FAFAFA;
|
|
946
951
|
flex-direction: column;
|
|
947
952
|
width: 100%;
|
|
953
|
+
border-bottom: 1px solid #E0E0E0;
|
|
948
954
|
.box-filter {
|
|
949
955
|
margin-top: 26px;
|
|
950
956
|
background: #f3f3f5;
|
|
@@ -994,11 +1000,14 @@ button {
|
|
|
994
1000
|
}
|
|
995
1001
|
.box-title_col-left {
|
|
996
1002
|
position: absolute;
|
|
997
|
-
bottom:
|
|
1003
|
+
bottom: 5px;
|
|
998
1004
|
left: 0;
|
|
999
1005
|
right: 0;
|
|
1000
1006
|
margin: auto;
|
|
1001
1007
|
width: fit-content;
|
|
1008
|
+
background-color: #3E36DC;
|
|
1009
|
+
padding: 4px;
|
|
1010
|
+
border-radius: 16px;
|
|
1002
1011
|
}
|
|
1003
1012
|
&.toggle {
|
|
1004
1013
|
width: 32px;
|
|
@@ -1016,7 +1025,7 @@ button {
|
|
|
1016
1025
|
align-items: center;
|
|
1017
1026
|
max-width: 320px;
|
|
1018
1027
|
.box-preview {
|
|
1019
|
-
padding:
|
|
1028
|
+
padding-top: 32px;
|
|
1020
1029
|
width: 100%;
|
|
1021
1030
|
// border: 2px dashed #55566b;
|
|
1022
1031
|
display: flex;
|
|
@@ -1025,6 +1034,10 @@ button {
|
|
|
1025
1034
|
height: 100%;
|
|
1026
1035
|
position: relative;
|
|
1027
1036
|
// transition: ease-in-out 0.5s;
|
|
1037
|
+
@media only screen and (max-width: 776px) {
|
|
1038
|
+
padding-bottom: 32px;
|
|
1039
|
+
|
|
1040
|
+
}
|
|
1028
1041
|
.preview-item {
|
|
1029
1042
|
// height: 100%;
|
|
1030
1043
|
display: flex;
|
|
@@ -1063,15 +1076,15 @@ button {
|
|
|
1063
1076
|
display: flex;
|
|
1064
1077
|
flex-wrap: wrap;
|
|
1065
1078
|
gap: 24px;
|
|
1079
|
+
padding-left: 2px;
|
|
1066
1080
|
.wrap-main-item-result {
|
|
1081
|
+
display: flex;
|
|
1082
|
+
flex-direction: column;
|
|
1067
1083
|
max-width: 192px;
|
|
1068
1084
|
width: 192px;
|
|
1069
|
-
margin: 20px 0px;
|
|
1070
1085
|
border-radius: 4px;
|
|
1071
1086
|
overflow: hidden;
|
|
1072
|
-
|
|
1073
|
-
margin-top: 5px !important;
|
|
1074
|
-
}
|
|
1087
|
+
height: 100%;
|
|
1075
1088
|
} &:first-child {
|
|
1076
1089
|
margin-top: 0px !important;
|
|
1077
1090
|
}
|
|
@@ -1095,7 +1108,7 @@ button {
|
|
|
1095
1108
|
}
|
|
1096
1109
|
|
|
1097
1110
|
.box-notify {
|
|
1098
|
-
height:
|
|
1111
|
+
height: 50px;
|
|
1099
1112
|
background: #f3f3f5;
|
|
1100
1113
|
border-top: 1px solid #e9e9ec;
|
|
1101
1114
|
.select-choose-page {
|
|
@@ -1361,14 +1374,13 @@ button {
|
|
|
1361
1374
|
width: 512px;
|
|
1362
1375
|
.box-input-search {
|
|
1363
1376
|
justify-content: space-between;
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
border-radius: 21px;
|
|
1377
|
+
box-shadow: 0px 2px 12px rgba(43, 44, 70, 0.13);;
|
|
1378
|
+
background-color: #fff;
|
|
1379
|
+
border-radius: 24px;
|
|
1368
1380
|
padding: 0px !important;
|
|
1369
1381
|
height: 42px;
|
|
1370
1382
|
overflow: hidden;
|
|
1371
|
-
padding-right:
|
|
1383
|
+
padding-right: 12px !important;
|
|
1372
1384
|
form {
|
|
1373
1385
|
width: 100%;
|
|
1374
1386
|
display: flex;
|
|
@@ -1376,7 +1388,7 @@ button {
|
|
|
1376
1388
|
align-items: center;
|
|
1377
1389
|
.box-inp {
|
|
1378
1390
|
input {
|
|
1379
|
-
background-color: #
|
|
1391
|
+
background-color: #fff;
|
|
1380
1392
|
}
|
|
1381
1393
|
|
|
1382
1394
|
.box-key-filter {
|
|
@@ -1386,8 +1398,8 @@ button {
|
|
|
1386
1398
|
min-width: fit-content;
|
|
1387
1399
|
display: flex;
|
|
1388
1400
|
align-items: center;
|
|
1389
|
-
|
|
1390
|
-
|
|
1401
|
+
height: 75%;
|
|
1402
|
+
margin-left: 5px;
|
|
1391
1403
|
p {
|
|
1392
1404
|
font-size: 14px;
|
|
1393
1405
|
font-size: 700;
|
|
@@ -1421,7 +1433,7 @@ button {
|
|
|
1421
1433
|
border: 0px !important;
|
|
1422
1434
|
&::placeholder {
|
|
1423
1435
|
font-size: 14px !important;
|
|
1424
|
-
color: #
|
|
1436
|
+
color: #AAABB5 !important;
|
|
1425
1437
|
font-weight: 500 !important;
|
|
1426
1438
|
}
|
|
1427
1439
|
&::-webkit-search-cancel-button {
|
|
@@ -1446,9 +1458,20 @@ button {
|
|
|
1446
1458
|
width: 32px;
|
|
1447
1459
|
height: 32px;
|
|
1448
1460
|
border-radius: 100%;
|
|
1449
|
-
background-color: #f3f3f5;
|
|
1450
1461
|
z-index: 10;
|
|
1451
1462
|
cursor: pointer !important;
|
|
1463
|
+
margin-right: 8px;
|
|
1464
|
+
|
|
1465
|
+
&:after {
|
|
1466
|
+
content: "";
|
|
1467
|
+
font-size: 39px;
|
|
1468
|
+
position: absolute;
|
|
1469
|
+
right: -3px;
|
|
1470
|
+
font-weight: 100;
|
|
1471
|
+
background-color: #E0E0E0;
|
|
1472
|
+
width: 1px;
|
|
1473
|
+
height: 35px;
|
|
1474
|
+
}
|
|
1452
1475
|
}
|
|
1453
1476
|
}
|
|
1454
1477
|
}
|
|
@@ -1797,10 +1820,10 @@ button {
|
|
|
1797
1820
|
border-radius: 21px;
|
|
1798
1821
|
justify-content: space-between;
|
|
1799
1822
|
align-items: center;
|
|
1800
|
-
min-width:
|
|
1823
|
+
min-width: 60px;
|
|
1801
1824
|
img {
|
|
1802
|
-
width:
|
|
1803
|
-
height:
|
|
1825
|
+
width: 25px;
|
|
1826
|
+
height: 22px;
|
|
1804
1827
|
border-radius: 100%;
|
|
1805
1828
|
}
|
|
1806
1829
|
button {
|