123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- .list-warpper {
- position: relative;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- background: #fff;
- }
- .list-scroll {
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- .list-scroll.top {
- padding-top: 90rpx;
- }
- /* 样式控制 */
- .list-title {
- background: #f5f5f5;
- color: #999;
- font-size: 24rpx;
- padding: 8rpx;
- padding-left: 30rpx;
- }
- .list-name {
- position: relative;
- font-size: 26rpx;
- padding: 15rpx;
- padding-left: 30rpx;
- color: #222;
- transition: all 0.3s;
- }
- .list-name:active {
- background: rgba(245,245,245,.2);
- }
- .list-name.border::after {
- display: none;
- content: "";
- position: absolute;
- left: 30rpx;
- right: 0;
- top: 0;
- height: 1px;
- background: #f5f5f5;
- }
- .list-right-wrapper {
- position: absolute;
- top: 100rpx;
- right: 20rpx;
- padding: 10rpx 0;
- border-radius: 20rpx;
- z-index: 2;
- }
- .right-item {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 2rpx 10rpx;
- font-size: 26rpx;
- color: #FFCA00;
- }
- .list-search {
- position: absolute;
- top: 0;
- left: 0;
- display: flex;
- align-items: center;
- width: 100%;
- height: 90rpx;
- padding: 10rpx 30rpx;
- box-sizing: border-box;
- z-index: 20;
- background: #fff;
- }
- .search-title {
- flex-shrink: 0;
- font-size: 28rpx;
- padding-right: 10rpx;
- }
- .list-search-box {
- display: flex;
- align-items: center;
- padding: 0 30rpx;
- width: 100%;
- height: 62rpx;
- background: #f5f5f5;
- border-radius: 90rpx;
- font-size: 24rpx;
- box-sizing: border-box;
- }
- .list-search-box input {
- width: 100%;
- padding-left: 10rpx;
- }
- .search-button {
- /* width: 100rpx; */
- flex-shrink: 0;
- height: 60rpx;
- line-height: 60rpx;
- font-size: 28rpx;
- margin-left: 10rpx;
- }
- /* 热门城市横排显示样式 */
- .list-horizontal {
- display: flex;
- flex-wrap: wrap;
- padding: 10rpx;
- padding-right: 50rpx;
- }
- .list-horizontal .list-name {
- box-sizing: border-box;
- width: 200rpx;
- height: 60rpx;
- padding: 5rpx 20rpx;
- border: 1px #ccc solid;
- border-radius: 10rpx;
- margin: 10rpx;
- font-size: 28rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .list-horizontal .list-name:nth-child(3n+1) {
- margin-left: 20rpx;
- }
- .list-horizontal.my-city .list-name, .list-horizontal .list-name:active {
- background: #FFCA00;
- color: #fff;
- border-color: #FFCA00;
- }
- /* 无数据 */
- .nodata {
- padding-top: 200rpx;
- text-align: center;
- font-size: 32rpx;
- color: #ddd;
- }
|