wupengfei
2025-02-14 548b9c78ca14b5c3812e9958835dedb78d589454
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@use './var.scss' as *;
@use './function.scss' as *;
@use './reset.scss' as *;
@use './nut.scss' as *;
@use './mixins.scss' as *;
@use './font.scss' as *;
@use 'sass:map';
@use 'senin-mini/dist/styles/index.scss' as *;
 
:root,
page {
  @include bole-set-component-css-var('color', $bole-colors);
  @include bole-set-component-css-var('text-color', $bole-text-color);
  @include bole-set-component-css-var('size', $bole-size);
  background-color: map-get($bole-colors, 'body-background-color');
 
  font-family: Source Han Sans CN, 'PingFang SC', 'miui', 'Microsoft Yahei', BlinkMacSystemFont,
    'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'Hiragino Sans GB', sans-serif;
 
  --primary-color: #{map-get($bole-colors, 'primary')};
  overflow: hidden;
 
  --nut-primary-color: #{map-get($bole-colors, 'primary')};
  --nut-primary-color-end: $primary-color-end;
 
  --nut-tag-success-background-color: #d0f8e2;
  --nut-tag-danger-background-color: #ffe5e5;
 
  --nut-badge-background-color: #{map-get($bole-colors, 'danger')};
}
 
.clearfix:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
 
.clearfix {
  /* 触发 hasLayout */
  zoom: 1;
}
 
// 解决iPhone x 以后的机型 底部安全区域的问题 https://jelly.jd.com/article/6006b1055b6c6a01506c87fd
.safe-area-bottom {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
 
.primary {
  color: boleGetCssVar('color', 'primary');
}
 
.warning {
  color: boleGetCssVar('color', 'warning');
}
 
.danger {
  color: boleGetCssVar('color', 'danger');
}
 
.success {
  color: boleGetCssVar('color', 'success');
}
 
.common-infinite-scroll-list-no-padding {
  @include listScrollViewWithNoPadding;
}
 
.common-infinite-scroll-list {
  @include listScrollView;
}
 
.common-page-infinite-scroll-list {
  @include listScrollView;
  padding-top: 16px;
}
 
.id-imgUrl-wrapper {
  display: flex;
  gap: 40px;
}