Files
ClassContent/历届学生/fontendseven/项目练习/上课项目/uniapp-pte/less/page/home.less
2024-09-27 02:06:13 +08:00

95 lines
1.9 KiB
Plaintext

@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%;
}
}
}
}