/* pages/course/course.wxss */ .container { padding: 0; } .search_con { width: 750rpx; height: 104rpx; } .container .search { margin: 0 auto; position: relative; display: flex; flex-direction: row; align-items: center; width: 686rpx; height: 72rpx; background: #FFFFFF; border-radius: 16rpx 16rpx 16rpx 16rpx; border: 2rpx solid #888888; font-size: 24rpx; } .container .search .icon { position: relative; flex: 0 0 68rpx; display: flex; justify-content: center; align-items: center; } .container .search input { flex: 1; height: 72rpx; } .list { display: flex; width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 30rpx; padding-bottom: 50rpx; padding-left: 30rpx; } .item { /* padding: 0 10px; */ } .cover { width: 330rpx; height: 186rpx; border-radius: 8rpx !important; } .title { line-height: 40rpx; font-size: 28rpx; max-width: 330rpx; word-break: break-all; } .sub_cotnainer { color: rgba(136, 136, 136, 1); font-size: 20rpx; line-height: 23rpx; display: flex; flex-direction: row; flex-wrap: nowrap; } .sub_cotnainer .sub_title { height: 28rpx; display: inline; overflow: hidden; line-height: 28rpx; max-width: 228rpx; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .sub_cotnainer .sub_time { display: flex; height: 28rpx; line-height: 28rpx; align-items: center; justify-content: center; position: relative; margin-left: 5rpx; } .sub_cotnainer .sub_time::before { content: ' '; width: 0.5rpx; height: 12rpx; background: #888888; position: absolute; top: 50%; transform: translateY(-40%); left: 0; } .sub_cotnainer .sub_time .time { width: 16rpx; height: 16rpx; display: block; padding: 2rpx 5rpx 0 8rpx; } .price { height: 40rpx; font-weight: 500; font-size: 28rpx; color: #FF6C6C; line-height: 40rpx; text-align: left; font-style: normal; text-transform: none; } .empty { min-height: 80vh; width: 100%; display: flex; justify-content: center; align-items: center; } .empty .t-empty__image { width: 300rpx; height: 200rpx; }