信达小程序
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.

197 lines
4.6 KiB

6 months ago
.scroll-view{
height: 100vh;
}
.page {
background-color: #fafafa;
.banner {
padding: 44rpx 30rpx 0;
display: flex;
align-items: center;
.hosttipat-img {
flex-shrink: 0;
width: 180rpx;
height: 180rpx;
border-radius: 24rpx;
border: 2rpx solid rgba(151, 151, 151, 0.21);
overflow: hidden;
.img {
width: 100%;
height: 100%;
}
}
.wrap {
margin-left: 24rpx;
flex: 1;
.title {
display: flex;
align-items: center;
.name {
font-size: 36rpx;
color: #484848;
word-break: break-all;
}
.tag {
flex-shrink: 0;
margin-left: 12rpx;
padding: 6rpx 12rpx;
font-size: 22rpx;
line-height: 1;
color: #ffffff;
background: #ffc137;
border-radius: 8rpx;
}
}
.content {
margin-top: 28rpx;
display: flex;
align-items: center;
justify-content: space-between;
.inner {
.site {
font-size: 24rpx;
color: #9b9ea6;
}
.site-num {
font-size: 24rpx;
color: #9b9ea6;
}
}
.options {
flex-shrink: 0;
.icon {
margin-left: 44rpx;
width: 30rpx;
height: 30rpx;
background-color: #edeeef;
border-radius: 50%;
padding: 6rpx;
}
}
}
}
}
.module {
margin-top: 64rpx;
padding: 0 30rpx;
.module-container {
background: #ffffff;
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.05);
border: 1rpx solid #ebecee;
border-radius: 24rpx;
.m-title {
position: relative;
margin-bottom: 48rpx;
height: 88rpx;
background-color: #fff;
background: #ffeff4;
box-shadow: inset 0rpx 2rpx 12rpx 0rpx rgba(255, 255, 255, 0);
border-radius: 24rpx 24rpx 0rpx 0rpx;
border: 1rpx solid #efeff1;
display: flex;
align-items: center;
justify-content: center;
.m-title-img {
width: 166rpx;
height: 42rpx;
}
.m-icon1 {
position: absolute;
top: -20rpx;
left: 64rpx;
width: 20rpx;
height: 64rpx;
}
.m-icon2 {
position: absolute;
top: -20rpx;
right: 64rpx;
width: 20rpx;
height: 64rpx;
}
}
}
.new-card {
margin-bottom: 16rpx;
padding: 32rpx;
display: flex;
.avatar {
flex-shrink: 0;
width: 172rpx;
height: 172rpx;
border-radius: 24rpx;
}
.content {
flex: 1;
padding-left: 20rpx;
.name {
font-size: 32rpx;
color: #484848;
font-weight: bold;
}
.p {
margin-top: 8rpx;
font-size: 24rpx;
color: #9da0a8;
&.ellipsis {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
.row {
margin-top: 16rpx;
display: flex;
flex-wrap: wrap;
.tag {
margin-right: 16rpx;
margin-bottom: 10rpx;
width: 120rpx;
height: 32rpx;
background: #ffe6ee;
border-radius: 8rpx;
display: flex;
.week {
flex: 1;
font-size: 20rpx;
line-height: 32rpx;
color: #ffffff;
background-color: #e66c8e;
text-align: center;
border-radius: 8rpx 0 8rpx 8rpx;
}
.value {
flex: 1;
font-size: 20rpx;
color: #e04775;
text-align: center;
line-height: 32rpx;
}
}
.week-name {
flex: 1;
padding: 20rpx 24rpx;
background-color: rgba(253, 244, 247, 1);
border-radius: 16rpx;
font-size: 24rpx;
color: rgba(157, 160, 168, 1);
line-height: 40rpx;
.label {
margin-right: 12rpx;
display: inline-block;
font-size: 20rpx;
color: rgba(255, 255, 255, 1);
line-height: 32rpx;
padding: 0 8rpx;
background: #e04775;
border-radius: 8rpx 8rpx 8rpx 8rpx;
}
}
}
}
}
}
}