12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- .container {
- margin: 0rpx 30rpx;
- width: calc(100% - 60rpx);
- padding: 0 0;
- height: 100%;
- }
- .search-bar {
- width: calc(100% - 50rpx);
- 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 21rpx;
- font-size: 26rpx;
- color: #666;
- border-radius: 25rpx;
- }
- .category-tab.active {
- color: #409eff;
- background: #ecf5ff;
- border: 1rpx solid #d9ecff;
- }
- .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;
- }
|