xinelu-nurse-app/pages/learning/learning.scss
2023-12-25 10:40:41 +08:00

226 lines
3.8 KiB
SCSS

page {
background-color: #fff;
}
.app {
padding: 0;
color: #000000;
text-align: justify;
::v-deep .u-tabs {
width: 70% !important;
}
.content {
width: 96%;
margin: 0 auto;
// padding: 30rpx 15rpx 200rpx;
// background-color: #fff;
// text-indent: 2em;
}
/deep/ .ptext {
margin-top: 20rpx;
}
/deep/ .ptext:nth-child(1) {
text-indent: 2em;
}
/deep/ .ql-size-small {
font-size: 20rpx;
}
/deep/ .ql-size-large {
font-size: 36rpx;
}
/deep/ .ql-size-huge {
font-size: 46rpx;
}
/deep/ .richPic {
width: 100% !important;
height: 100% !important;
}
.directory {
padding-bottom: 200rpx;
background-color: #fff;
.video {}
.imagetext {}
.items {
width: 87%;
margin: 30rpx auto;
.item {
height: 130rpx;
position: relative;
margin-bottom: 37rpx;
image {
width: 220rpx;
height: 130rpx;
}
.title {
position: absolute;
top: 10rpx;
left: 240rpx;
font-size: 28rpx;
font-weight: 500;
color: #000000;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1; //行数需设置
line-clamp: 1;
-webkit-box-orient: vertical;
}
.text {
position: absolute;
bottom: 10rpx;
left: 240rpx;
font-size: 22rpx;
color: #666666;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; //行数需设置
line-clamp: 2;
-webkit-box-orient: vertical;
}
}
}
.topheader {
height: 80rpx;
width: 92%;
margin: 0 auto;
border-bottom: 1rpx solid #e6e6e6;
padding-left: 10rpx;
line-height: 80rpx;
font-size: 32rpx;
font-weight: 500;
color: #333333;
}
}
.bottomitem {
position: fixed;
bottom: 0;
width: 100%;
height: 150rpx;
background: #FFFFFF;
box-shadow: 0rpx 1rpx 21rpx 0rpx rgba(204, 204, 204, 0.75);
.buy {
width: 150rpx;
height: 70rpx;
background: #18CBB3;
line-height: 70rpx;
border-radius: 5rpx;
text-align: center;
color: #fff;
position: absolute;
right: 50rpx;
top: 50%;
transform: translateY(-50%);
}
.price {
position: absolute;
left: 50rpx;
top: 50%;
transform: translateY(-50%);
font-size: 42rpx;
font-weight: 500;
color: #EA706A;
line-height: 130rpx;
}
}
.topitem {
background: #FFFFFF;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 5rpx;
width: 100%;
background-color: #fff;
margin: 0 auto;
padding-bottom: 40rpx;
.toptitle {
font-weight: 600;
font-size: 38rpx;
padding-top: 32rpx;
margin: 0 0 0 53rpx;
}
.toptext {
font-size: 28rpx;
font-weight: 400;
color: #666666;
margin: 31rpx 56rpx 0;
}
}
.popup {
position: fixed;
bottom: 0;
.buyselect {
width: 100%;
height: 100rpx;
margin: 40rpx auto 0;
position: absolute;
top: 100rpx;
image {
position: absolute;
top: 50%;
left: 48rpx;
transform: translateY(-50%);
width: 70rpx;
height: 70rpx;
}
.text {
position: absolute;
left: 150rpx;
top: 50%;
transform: translateY(-50%);
line-height: 100rpx;
font-size: 32rpx;
}
}
.buybtn {
width: 70%;
height: 70rpx;
background: #18CBB3;
border-radius: 5rpx;
line-height: 70rpx;
color: #fff;
text-align: center;
position: absolute;
bottom: 40rpx;
left: 15%;
}
.popuptitle {
width: 100%;
font-size: 41rpx;
text-align: center;
position: absolute;
top: 40rpx;
}
}
}