修改追剧页面展示形式和数量

This commit is contained in:
YeMingfei666 2024-12-18 09:18:33 +08:00
parent a5554ae3ea
commit f4796c76f0
1 changed files with 11 additions and 6 deletions

View File

@ -195,7 +195,7 @@
myVideo() {
let data = {
page: 1,
limit: 2,
limit: 6,
classify: 1, //1 2 3
}
this.$Request.getT('/app/courseCollect/selectByUserId', data).then(res => {
@ -208,7 +208,7 @@
newLook() {
let data = {
page: 1,
limit: 2,
limit: 6,
classify: 3, //1 2 3
}
this.$Request.getT('/app/courseCollect/selectByUserId', data).then(res => {
@ -321,24 +321,29 @@
}
}
.zuijin-box.justify-between{
justify-content: flex-start;
}
.zuijin {
width: 100%;
margin-top: 26rpx;
.zuijin-box {
width: 686rpx;
width: 700rpx;
height: 100%;
flex-wrap: wrap;
}
.zuijin-box-item {
width: calc((686rpx - 20rpx) / 2);
width: calc((700rpx - 40rpx) / 3);
height: 100%;
margin-bottom: 30rpx;
margin-right: calc(40rpx / 3);
}
.zuijin-box-item-img {
width: 100%;
// height: 204rpx;
height: 204rpx;
border-radius: 24rpx 24rpx 0 0;
position: relative;