武田基因病B开发环境
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

245 lines
5.9 KiB

.page-title {
width: 319rpx;
height: 92rpx;
}
.page {
padding-bottom: 200rpx;
background-color: #f7f7fa;
.banner {
width: 100vw;
height: 556rpx;
.banner-item {
.banner-item-img {
width: 100%;
height: 100%;
}
}
.wx-swiper-dots.wx-swiper-dots-horizontal {
margin-bottom: 80rpx;
}
.wx-swiper-dot {
transform: scale(0.8);
}
.wx-swiper-dot-active {
transform: scale(1.2);
}
}
.page-containr {
position: relative;
z-index: 1;
margin-top: -80rpx;
padding: 42rpx 40rpx;
background: linear-gradient(346deg, #f7f7fa 0%, #ffe5dc 100%);
border-radius: 32rpx 32rpx 0 0;
.apply {
position: relative;
.a-img {
width: 670rpx;
height: 136rpx;
}
.a-label {
position: absolute;
top: -8rpx;
right: 68rpx;
width: 115rpx;
height: 60rpx;
}
.content {
padding: 20rpx 0;
position: absolute;
left: 260rpx;
top: -4rpx;
width: 8em;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
line-height: 1.4;
box-sizing: border-box;
.c-title {
font-size: 30rpx;
color: rgba(255, 255, 255, 1);
font-weight: bold;
}
.c-content {
font-size: 36rpx;
color: transparent;
font-weight: bold;
// 文字渐变
background: linear-gradient(119.23deg, #ffffff 14.08%, #ffd6a8 90.77%);
-webkit-background-clip: text;
}
}
}
.module1 {
margin-top: 54rpx;
.module-header {
display: flex;
align-items: center;
justify-content: space-between;
.title {
height: 40rpx;
}
.more {
font-size: 28rpx;
color: rgba(1, 1, 5, 0.4);
display: flex;
align-items: center;
.icon {
margin-left: 2rpx;
width: 32rpx;
height: 32rpx;
}
}
}
.module-list {
margin: 24rpx -40rpx 0;
padding-right: 40rpx;
padding-left: 40rpx;
display: flex;
gap: 24rpx;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
&::-webkit-scrollbar {
display: none;
}
.module-item {
position: relative;
border-radius: 24rpx;
background: #ffffff;
position: relative;
.item-img {
border-radius: 24rpx;
width: 424rpx;
height: 317rpx;
}
.item-title {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
box-sizing: border-box;
padding: 20rpx;
font-size: 28rpx;
color: #010105;
line-height: 32rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
background-color: #fff;
border-radius: 0 0 24rpx 24rpx;
}
.play {
position: absolute;
top: 84rpx;
left: 50%;
transform: translateX(-50%);
width: 56rpx;
height: 56rpx;
}
}
}
}
.module2 {
margin-top: 54rpx;
.module-header {
display: flex;
align-items: center;
justify-content: space-between;
.title {
height: 40rpx;
}
.more {
font-size: 28rpx;
color: rgba(1, 1, 5, 0.4);
display: flex;
align-items: center;
.icon {
margin-left: 2rpx;
width: 32rpx;
height: 32rpx;
}
}
}
.module-list {
margin: 24rpx -40rpx 0;
padding-left: 40rpx;
padding-right: 40rpx;
display: flex;
gap: 24rpx;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
&::-webkit-scrollbar {
display: none;
}
.module-item {
flex-shrink: 0;
padding: 24rpx 32rpx;
width: 424rpx;
box-sizing: border-box;
border-radius: 24rpx;
border: 2rpx solid #ffffff;
background: linear-gradient(12deg, #ffffff 0%, #ffe8e6 100%);
display: flex;
flex-direction: column;
justify-content: space-between;
.item-header {
flex-shrink: 0;
padding-bottom: 24rpx;
display: flex;
align-items: center;
gap: 12rpx;
border-bottom: 1px dashed #f0f0f6;
.icon {
flex-shrink: 0;
width: 36rpx;
height: 36rpx;
}
.title {
font-weight: bold;
font-size: 28rpx;
color: #010105;
}
}
.content {
font-size: 28rpx;
color: #010105;
line-height: 48rpx;
height: 96rpx;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.item-footer {
flex-shrink: 0;
display: flex;
justify-content: flex-end;
margin-top: 24rpx;
.star {
display: flex;
align-items: center;
line-height: 1;
gap: 5rpx;
.icon {
flex-shrink: 0;
width: 28rpx;
height: 28rpx;
}
.num {
padding-top: 5rpx;
font-size: 24rpx;
color: #f23a2f;
}
}
}
}
}
}
}
}