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

This commit is contained in:
2024-12-18 09:18:33 +08:00
parent a5554ae3ea
commit f4796c76f0

View File

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