riku
2024-11-07 5a678cce1b157411f20fbddfaed49c7bc8d9fba7
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
/* components/card-btn/index.wxss */
.card-btn {
  --fy-card-btn-width: 46vw;
  --fy-card-btn-img-width: 30vw;
  --fy-card-btn-height: 180rpx;
  position: relative;
  width: var(--fy-card-btn-width);
  height: var(--fy-card-btn-height);
  background-color: var(--td-bg-color);
  box-shadow: var(--td-shadow-2);
  padding-top: var(--td-spacer);
  border-radius: var(--td-border-radius);
  flex: 1;
}
 
.card-btn__img {
  position: absolute;
  width: var(--fy-card-btn-img-width);
  height: var(--fy-card-btn-height);
  /* background-color: red; */
  right: 0;
  bottom: 0;
  z-index: 0;
}
 
.card-btn__text {
  position: relative;
  white-space: nowrap;
  z-index: 1;
  margin-left: var(--td-spacer-1);
}
 
.card-btn__text-title {
  color: var(--td-font-gray-1);
  font-size: var(--td-font-size-m);
  font-weight: 600;
}
 
.card-btn__text-subtitle {
  color: var(--td-font-gray-2);
  font-size: var(--td-font-size-s);
}
 
.card-btn__icon {
  position: absolute;
  bottom: var(--td-spacer);
  left: var(--td-spacer);
  background: white;
  width: 24px;
  border-radius: var(--td-border-radius-50);
}