修改首页列表布局,和h5红包显示
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
function seVideo(item) {
|
||||
uni.navigateTo({
|
||||
url:"/pages/video/detail?courseId="+item.courseId+"&courseDetailsId="+item.courseDetailsId
|
||||
url: "/pages/video/detail?courseId=" + item.courseId + "&courseDetailsId=" + item.courseDetailsId
|
||||
})
|
||||
}
|
||||
</script>
|
||||
@@ -35,7 +35,7 @@
|
||||
.contentlist {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 10rpx;
|
||||
padding: 0 26rpx;
|
||||
@@ -44,17 +44,19 @@
|
||||
border-radius: 21rpx 21rpx 21rpx 21rpx;
|
||||
width: 30%;
|
||||
margin-top: 20rpx;
|
||||
text-align: center;
|
||||
|
||||
>view {
|
||||
font-weight: 400;
|
||||
font-size: 25rpx;
|
||||
text-align: left;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.liststyle:last-child {
|
||||
margin-right: auto;
|
||||
margin-left: 6rpx;
|
||||
}
|
||||
// .liststyle:last-child {
|
||||
// margin-right: auto;
|
||||
// margin-left: 6rpx;
|
||||
// }
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user