288 lines
4.3 KiB
Plaintext
288 lines
4.3 KiB
Plaintext
.content{
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #F5F5F5;
|
|
}
|
|
|
|
.head-view{
|
|
width: 750rpx;
|
|
height: 414rpx;
|
|
background: linear-gradient( 139deg, #E1FFF4 0%, #F5F5F5 100%);
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
position: absolute;
|
|
}
|
|
|
|
.home-title{
|
|
position: relative;
|
|
font-weight: bold;
|
|
font-size: 48rpx;
|
|
color: #333333;
|
|
margin: 108rpx 0 0 40rpx;
|
|
}
|
|
|
|
.head-view image{
|
|
width: 750rpx;
|
|
height: 420rpx;
|
|
}
|
|
|
|
.banner{
|
|
position: relative;
|
|
align-self: center;
|
|
width: 670rpx;
|
|
height: 286rpx;
|
|
margin-top: 30rpx;
|
|
border-radius: 20rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.banner image{
|
|
width: 670rpx;
|
|
height: 286rpx;
|
|
}
|
|
|
|
.item-view{
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 30rpx 40rpx 0;
|
|
}
|
|
|
|
#block{
|
|
float: left;
|
|
}
|
|
|
|
|
|
|
|
.item-list{
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 10rpx;
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
|
|
|
|
.main{
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.main-item{
|
|
background: #FFFFFF;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 214rpx;
|
|
height: 214rpx;
|
|
margin-left: 30rpx;
|
|
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
|
}
|
|
|
|
|
|
|
|
.main-item image{
|
|
position: absolute;
|
|
margin: 0;
|
|
width: 375rpx;
|
|
height: 254rpx;
|
|
}
|
|
|
|
.title-view{
|
|
display: flex;
|
|
position: relative;
|
|
flex-direction: column;
|
|
margin-left: 0rpx;
|
|
margin-top: 150rpx;
|
|
}
|
|
|
|
.title-image{
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
align-items: center;
|
|
}
|
|
|
|
.main-title{
|
|
width: auto;
|
|
height: 26rpx;
|
|
font-family: PingFang SC, PingFang SC;
|
|
font-weight: 500;
|
|
font-size: 26rpx;
|
|
color: #000000;
|
|
line-height: 26rpx;
|
|
text-align: center;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
}
|
|
|
|
.sub-title{
|
|
margin-left: 64rpx;
|
|
margin-top: 5rpx;
|
|
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
|
font-size: 24rpx;
|
|
color: #345170;
|
|
}
|
|
|
|
|
|
|
|
.list-item{
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 30rpx 40rpx;
|
|
}
|
|
|
|
.news-item {
|
|
display: flex;
|
|
align-items: center; /* 这个属性确保所有子元素垂直居中 */
|
|
padding: 10px; /* 添加一些内边距以便更好的视觉效果 */
|
|
}
|
|
|
|
.title {
|
|
flex: 1; /* 让标题自动填充除图片外的所有可用空间 */
|
|
margin-right: 10px; /* 如果需要,可以添加右边距以防标题和图片挤在一起 */
|
|
}
|
|
|
|
.thumbnail {
|
|
width: 80px; /* 设置图片宽度 */
|
|
height: 80px; /* 设置图片高度为固定值或保持宽高比 */
|
|
object-fit: cover; /* 确保图片不失真 */
|
|
}
|
|
|
|
.list-item image{
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
border-radius: 90rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.list-info{
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: 32rpx;
|
|
}
|
|
|
|
.name{
|
|
margin-left: 32rpx;
|
|
margin-top: 0;
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
}
|
|
|
|
.list-lable{
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.grade{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-left: 32rpx;
|
|
margin-top: 16rpx;
|
|
width: 90rpx;
|
|
height: 40rpx;
|
|
background: -webkit-linear-gradient(left,#1F92FF,#1FC6FF);
|
|
border-radius: 20rpx 20rpx 20rpx 0;
|
|
color: white;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.genre{
|
|
display: flex;
|
|
align-items: center;
|
|
height: 40rpx;
|
|
margin-left: 16rpx;
|
|
margin-top: 16rpx;
|
|
padding: 0 20rpx;
|
|
background: -webkit-linear-gradient(left,#F4B616,#FF9A16);
|
|
color: white;
|
|
border-radius: 20rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.skiled{
|
|
margin-left: 32rpx;
|
|
margin-top: 24rpx;
|
|
font-size: 30rpx;
|
|
color: #666666;
|
|
}
|
|
|
|
.address{
|
|
margin-left: 32rpx;
|
|
margin-top: 24rpx;
|
|
font-size: 30rpx;
|
|
color: #666666;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.news {
|
|
padding: 26rpx 0rpx 26rpx 32rpx;
|
|
}
|
|
.news-title {
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
}
|
|
.news-item {
|
|
margin: 10rpx 0 10rpx 0;
|
|
|
|
background-color: #fff;
|
|
}
|
|
.news-item-pic {
|
|
padding: 20rpx 0 10rpx 20rpx;
|
|
width: 160rpx;
|
|
|
|
float: left;
|
|
}
|
|
.news-item-image {
|
|
width: 100%;
|
|
}
|
|
.news-item-words {
|
|
width: 450rpx;
|
|
height: 65px;
|
|
float: right;
|
|
overflow-y: hidden;
|
|
padding: 20rpx 10rpx;
|
|
}
|
|
.news-item-title {
|
|
font-size: 11pt;
|
|
word-break: keep-all;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.news-item-content {
|
|
font-size: 8pt;
|
|
line-height: 13pt;
|
|
text-overflow:ellipsis;
|
|
color: #a9a9a9;
|
|
}
|
|
.news-more {
|
|
color: #AAAAAA;
|
|
font-size: 14px;
|
|
|
|
}
|
|
.news-more-line {
|
|
padding-left: -26rpx important;
|
|
}
|
|
.news-details-content {
|
|
padding: 0 40rpx 100rpx 40rpx;
|
|
}
|
|
.video {
|
|
|
|
}
|
|
.video-input {
|
|
border: 1px solid #CCCCCC;
|
|
}
|
|
.contact {
|
|
padding: 40rpx 40rpx 40rpx 40rpx;
|
|
}
|
|
image {
|
|
height: auto;
|
|
} |