197 lines
3.3 KiB
SCSS
197 lines
3.3 KiB
SCSS
page {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.app {
|
|
padding: 0;
|
|
color: #000000;
|
|
|
|
::v-deep .u-tabs {
|
|
width: 70% !important;
|
|
}
|
|
|
|
.content {
|
|
padding: 30rpx 0 200rpx;
|
|
background-color: #fff;
|
|
text-indent: 2em;
|
|
}
|
|
|
|
.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: #4271B9;
|
|
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 {
|
|
height: 181rpx;
|
|
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;
|
|
|
|
.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 0 0 56rpx;
|
|
}
|
|
}
|
|
|
|
.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: #4271B9;
|
|
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;
|
|
}
|
|
}
|
|
} |