.container { margin: 0rpx 30rpx; width: calc(100% - 60rpx); padding: 0 0; height: 100%; } .search-bar { width: 100%; position: relative; display: flex; align-items: center; /* height: 70rpx; */ background-color: #fff; border: 1rpx solid #dcdfe6; border-radius: 12rpx; padding: 16rpx 20rpx; } .search-bar input { flex: 1; height: 100%; padding-right: 60rpx; font-size: 32rpx; border: none; background: transparent; } .search-icon { position: absolute; right: 20rpx; width: 45rpx; height: 45rpx; } .category-tabs { width: 100%; display: flex; /* justify-content: space-between; */ margin: 20rpx; } .category-tab { margin: 0 16rpx; padding: 13rpx 30rpx; font-size: 26rpx; color: #666; border-radius: 25rpx; } .category-tab.active { color: #409eff; background: #ecf5ff; border: 1rpx solid #d9ecff; } .course-list{ width: 100%; margin-top: 20rpx; display: flex; flex-wrap: wrap; } .card { width: 48%; margin-right: 4%; margin-bottom: 20rpx; background-color: #fff; border-radius: 12rpx; overflow: hidden; box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1); } .card:nth-child(2n) { margin-right: 0; } .label { width: 60rpx; height: 43rpx; text-align: center; line-height: 45rpx; font-size: 26rpx; padding: 5rpx 16rpx; border-radius: 40rpx; } .label.PDF { background: #ffeaea; color: #ff4d4f; border: 1rpx solid #fde2e2;} .label.shipin { background: #e6f7ff; color: #1890ff; border: 1rpx solid #d9ecff;} .label.yinpin { background: #f6ffed; color: #52c41a; border: 1rpx solid #e1f3d8;} .label.PPT { background: #fff7e6; color: #faad14; border: 1rpx solid #fde2e2;} .preview-btn { flex: 1; background-color: #409eff; color: #fff; border: none; border-radius: 40rpx; padding: 12rpx 0; font-size: 32rpx; display: flex; justify-content: center; align-content: center; } .cardimg { width: 100%; height: 300rpx; background: papayawhip; border-radius: 12rpx; position: relative; } .labelwg { position: absolute; top: 16rpx; left: 16rpx; } .info { display: flex; justify-content: space-between; padding-top: 16rpx; font-size: 26rpx; } .title_box.list { width: 320rpx; height: 100%; margin-right: 80rpx; } .item-content { padding: 20rpx; } .item-title { font-size: 32rpx; color: #333; margin-bottom: 10rpx; } .item-subtitle { font-size: 28rpx; color: #666; margin-bottom: 10rpx; } .item-download-count { font-size: 24rpx; color: #999; margin-bottom: 20rpx; } .item-buttons { display: flex; align-items: center; align-content: center; } .download-icon { width: 45rpx; height: 40rpx; margin-left: 20rpx; } .download-icons { width: 45rpx; height: 40rpx; margin-right: 20rpx; } .group-options { display: flex; justify-content: space-between; margin-top: 20rpx; width: 100%; } .option { text-align: center; margin-top: 20rpx; display: flex; align-items: center; flex-direction: column; } .option-icon { width: 80rpx; height: 80rpx; border-radius: 50%; } .option-text { font-size: 28rpx; color: #666; margin-top: 16rpx; } .course-lists { display: flex; flex-direction: column; gap: 20rpx; margin-top: 20rpx; } .course-items { background-color: #fff; border-radius: 8rpx; overflow: hidden; } .course-videos { width: 100%; height: 385rpx; object-fit: cover; } .course-infos { padding: 20rpx; } .course-titles { font-size: 36rpx; font-weight: bold; color: #333; margin-bottom: 10rpx; } .course-descriptions { font-size: 28rpx; color: #666; line-height: 1.5; }