@import "../mixins/index.less"; @import "../config/color.less"; .home { display: flex; flex-direction: column; /* #ifdef H5 */ height: calc(100vh - 100rpx); /* #endif */ /* #ifdef APP-PLUS */ height: calc(100vh); /* #endif */ .header { height: 160rpx; width: 100%; background-color: @themeColor; .header_search { height: 88rpx; display: flex; flex-direction: row; justify-content: space-between; .padding-15(); align-items: center; box-sizing: border-box; background-color: @themeColor; .iconfont { color: @white; font-size: 45rpx; } .search { width: 82%; background: #fff; height: 60rpx; border-radius: 60rpx; display: flex; flex-direction: row; align-items: center; box-sizing: border-box; padding-left: 30rpx; i { color: #999; font-size: 26rpx; margin-right: 10rpx; padding-top: 2rpx; } text { font-size: 24rpx; color: #999; } } } .header_menu { height: 72rpx; display: flex; justify-content: space-between; flex-direction: row; background-color: @SecondaryThemeColor; .menu_list { white-space: nowrap; width: calc(100vw - 80rpx); line-height: 72rpx; .menu_item { display: inline-block; padding: 0 14rpx; font-size: 26rpx; color: #d3d2d2; } .active { color: @white !important; } } .icon-edit { width: 80rpx; height: 72rpx; text-align: center; line-height: 72rpx; } } } .content { flex: 1; .swiper { width: 100%; height: 100%; .swiper_scroll { height: 100%; } } } }