/* pages/search/index.wxss */ .my-top-search { position: fixed; left: 0; right: 0; background: #f0f0f0; padding: 16rpx 0; z-index: 1; } .my-search-box { height: 56rpx; display: flex; justify-content: space-between; align-items: center; padding-left: 20rpx; background: #fff; border-radius: 30rpx; margin: 0 auto; width: 560rpx; } .my-search-box .iconfont { color: #999999; flex-shrink: 0; } .my-search-box input { display: block; flex: 1; margin: 0 20rpx; font-size: 26rpx; } .my-search-btn { flex-shrink: 0; width: 110rpx; text-align: center; font-size: 26rpx; color: #0B898E; border-left: 1rpx solid #ccc; line-height: 40rpx; } .my-title-box { display: flex; justify-content: space-between; align-items: center; margin: 30rpx; } .my-title-box text:nth-child(1){ font-size: 32rpx; color: #000; font-weight: 500; } .keywords { width: 690rpx; display: flex; align-items: center; margin: 30rpx; font-size: 24rpx; flex-wrap: wrap; color: #333; } .keyword { max-width: 630rpx; padding: 0 28rpx; line-height: 42rpx; border-radius: 21rpx; margin-right: 22rpx; margin-bottom: 22rpx; background: #ececec; flex-shrink: 0; } .icon-shanchu { color: #999; } .hot-list { margin: 30rpx; } .hot-item { display: flex; align-items: center; border-bottom: 1rpx solid #ccc; font-size: 29rpx; height: 102rpx; color: #000; } .hot-num { width: 33rpx; height: 33rpx; line-height: 33rpx; border-radius: 7rpx; color: #0B898E; font-size: 24rpx; text-align: center; margin-right: 10rpx; } .hot-list .hot-item:nth-child(1) .hot-num { background: #E10A0A; color: #fff; } .hot-list .hot-item:nth-child(2) .hot-num { background: #F25E16; color: #fff; } .hot-list .hot-item:nth-child(3) .hot-num { background: #F29D16; color: #fff; }