.container { margin: 0rpx 30rpx; width: calc(100% - 60rpx); /* height: calc(100vh - 40rpx); */ padding: 0 0; } .container { margin: 0rpx 30rpx; width: calc(100% - 60rpx); /* height: calc(100vh - 40rpx); */ padding: 0 0; } .top_boxs { width: 100%; height: 80rpx; display: flex; justify-content: space-between; } .search-bar { width: 73%; position: relative; display: flex; align-items: center; 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; } .dropdown-box { display: flex; align-items: center; } .dropdown-item { margin-left: 20rpx; padding: 12rpx 16rpx; background-color: #409eff; color: #fff; border-radius: 8rpx; font-size: 32rpx; display: flex; align-content: center; justify-content: center; } .xiala_boxs { width: 45rpx; height: 45rpx; margin: 0; padding: 0rpx; } .list-box { margin-top: 20rpx; display: flex; flex-wrap: wrap; } .item { 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); } .item:nth-child(2n) { margin-right: 0; } .item-image { width: 100%; height: 300rpx; object-fit: cover; } .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; }