coursePush.scss
2.59 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* packageLearningCenter/pages/coursePush/coursePush.wxss */
page {
background: #F2F3F7;
}
.container {
padding: 24rpx 28rpx;
}
.course-detail-box {
position: relative;
border-radius: var(--fontSize24);
overflow: hidden;
background: #ffffff;
box-shadow: 0 var(--fontSize4) var(--fontSize16) 0 #2a61eb1a;
.course-detail-img-box {
position: relative;
width: 100%;
.course-detail-img {
width: 100%;
height: var(--fontSize264);
}
.tag {
position: absolute;
top: 16rpx;
right: 24rpx;
width: 72rpx;
height: 40rpx;
border-radius: 4rpx;
color: #FFFFFF;
font-size: 24rpx;
text-align: center;
line-height: 40rpx;
background: #00000059;
}
}
.course-detail-content {
padding: var(--fontSize24) var(--fontSize28);
.course-title {
font-size: var(--fontSize34);
color: #292D33;
margin-bottom: var(--fontSize8);
font-weight: 500;
}
.course-info {
position: relative;
display: flex;
align-items: center;
font-size: var(--fontSize28);
&:not(:last-child) {
margin-bottom: var(--fontSize8);
}
.info-label {
width: var(--fontSize112);
color: #999EA8;
margin-right: var(--fontSize24);
}
.info-value {
color: #666666;
}
}
.studied-box {
display: flex;
align-items: center;
font-size: 24rpx;
color: #999EA8;
margin-top: 4rpx;
.icon {
flex-shrink: 0;
width: 32rpx;
height: 32rpx;
margin-right: 8rpx;
}
}
}
}
.required {
color: #F24724;
margin-left: 8rpx;
}
.item-box {
height: 96rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32rpx;
margin-top: 24rpx;
border-radius: 24rpx;
background: #FFFFFF;
font-size: 28rpx;
.label {
color: #292D33;
}
.value {
display: flex;
align-items: center;
justify-content: flex-end;
width: calc(100% - 158rpx);
.value-text {
text-align: right;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.placeholder {
color: #BEC1C7;
font-size: 28rpx;
}
.input {
text-align: right;
font-size: 28rpx;
padding: 16rpx 0;
width: 100%;
}
image {
flex-shrink: 0;
width: 32rpx;
height: 32rpx;
transform: rotate(-90deg);
}
}
.value_box {
display: flex;
align-items: center;
gap: 32rpx;
}
}
.footer-btn {
padding-bottom: 20rpx;
.btn {
margin: 52rpx 64rpx;
width: calc(100% - 128rpx);
height: 88rpx;
text-align: center;
line-height: 88rpx;
background: #2C66F7;
border-radius: 24rpx;
font-size: 32rpx;
color: #FFFFFF;
font-weight: 500;
&.fixed-btn {
position: fixed;
left: 0;
bottom: 144rpx;
}
}
}