page { background-color: #fff; } .app { padding: 0; color: #000000; ::v-deep .u-tabs { width: 70% !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; } } }