attract.wxss
2.3 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
/* pages/attract/attract.wxss */
page{
background: #F7F7F7;
}
.top_banner image{
width: 100%;
}
.top_view{
background: #F7F7F7;
}
.top_banner{
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 101;
}
.menu_content{
display: flex;
position: fixed;
top: 320rpx;
left: 0;
width: 100%;
z-index: 101;
}
.menu_items{
display: flex;
font-size: 26rpx;
background: #FFF;
border-bottom: 2rpx solid #f5f5f5;
position: relative;
flex: 1;
overflow: hidden;
white-space: nowrap;
line-height: 74rpx;
}
.menu_item{
width: 20%;
display: inline-block;
text-align: center;
}
.menu_item.active{
color: #169BD5;
}
.paixun{
position: relative;
height: 100%;
display: flex;
align-items: center;
height: 74rpx;
width: 78rpx;
justify-content: center;
background-color: #FFF;
}
.paixun image{
width: 32rpx;
}
.paixun:before{
content:'';
height: 32rpx;
width: 2rpx;
background-color: #f5f5f5;
top: 50%;
left: 0;
position: absolute;
transform: translateY(-50%);
}
.news_detail_container{
background: #FFF;
margin-top: 195px;
position: relative;
}
.news_detail_items{
margin: 0 32rpx;
}
.news_detail_item{
border-bottom:2rpx solid #f5f5f5;
display: flex;
padding: 24rpx 0;
}
.news_detail_item:last-child{
border: none;
}
.new_info_image{
width: 248rpx;
height: 146rpx;
border-radius: 8rpx;
overflow: hidden;
margin-left: 32rpx;
}
.new_info_image image{
width: 100%;
}
.new_info{
flex: 1;
height: 146rpx;
display: flex;
flex-flow: column;
justify-content: space-between;
font-size: 32rpx;
color: #333;
}
.new_title{
display: -webkit-box;
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp:2;
}
.new_time_address{
display: flex;
align-items: center;
justify-content: space-between;
font-size: 22rpx;
color: #999;
}
.zhaoshang_desc{
margin: 0 30rpx;
}
.none-box{
top: 600rpx;
}
.recommond{
font-size: 20rpx;
padding:4rpx 8rpx;
background-color: #E80404;
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
width: 60rpx;
box-sizing: border-box;
border-radius: 8rpx;
margin-right: 10rpx;
}