myCard.wxss
1.9 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
/* pages/myCard/myCard.wxss */
page {
background: #f5f5fa;
}
.banner_box {
position: relative;
}
.swiper_box, .default-card {
width: 100%;
height: 430rpx;
padding: 30rpx;
box-sizing: border-box;
}
.banner_img {
width: 690rpx;
height: 370rpx;
border-radius: 20rpx;
overflow: hidden;
background-image: url('http://science.w.bronet.cn/static/images/card.png');
background-repeat: no-repeat;
-webkit-background-size: 100%;
background-size: 100%;
position: relative;
}
.banner_img image {
width: 100%;
height: 100%;
position: relative;
}
.img_top {
width: 100%;
position: absolute;
z-index: 100;
font-size: 24rpx;
color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
border: 1rpx solid rgba(0, 0, 0, 0.1);
padding: 25rpx 30rpx;
box-sizing: border-box;
}
.logo_title{
font-size: 45rpx;
}
.info_title {
font-size: 24rpx;
color: #fff;
margin-bottom: 15rpx;
}
.img_info {
font-size: 18rpx;
color: #fff;
width: 100%;
position: absolute;
z-index: 100;
top: 115rpx;
padding: 30rpx;
box-sizing: border-box;
line-height: 30rpx;
}
.indicator_dots {
color: #487aff;
position: absolute;
bottom: 50rpx;
right: 30rpx;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
.dot {
width: 14rpx;
height: 14rpx;
background: #c4c4c4;
border-radius: 50%;
margin: 0 5rpx;
}
.dot_active {
width: 28rpx;
height: 14rpx;
background: #fff;
border-radius: 40rpx;
}
.content_box {
margin-top: 20rpx;
background: #fff;
}
.item_list {
padding: 20rpx 30rpx;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
font-size: 32rpx;
color: #464646;
}
.item_list:last-child {
border: 0;
}
.list_title {
position: relative;
padding-left: 17rpx;
}
.list_title::after {
content: "";
width: 6rpx;
height: 32rpx;
background: #3fa9f5;
border-radius: 40rpx;
position: absolute;
left: -10rpx;
top: 50%;
transform: translateY(-50%);
}