qa-prevention-xgf-app/styles/home_style.scss

281 lines
4.5 KiB
SCSS

.status_bar {
height: var(--status-bar-height);
width: 100%;
background-color: #0037ff;
.top_view {
height: var(--status-bar-height);
width: 100%;
position: fixed;
background-color: #0037ff;
top: 0;
z-index: 9999;
}
}
.wui_banner{
height: 507rpx;
position: relative;
overflow: hidden;
.wui-bar{
display: flex;
align-items: center;
min-height: 100rpx;
justify-content: flex-end;
z-index: 9999;
position: absolute;
width: 100%;
.search-form{
background: rgba(255,255,255,0.2);
border-radius: 100rpx;
flex: 1;
height: 60rpx;
line-height: 60rpx;
font-size: 24rpx;
color: #333333;
display: flex;
align-items: center;
margin: 0 30rpx;
padding: 0 30rpx;
.cuIcon-search{
color: rgba(255,255,255,0.5);
margin-right: 16rpx;
font-size: 28rpx;
}
input{
color: rgba(255,255,255,0.5);
flex: 1;
padding-right: 30rpx;
height: 64rpx;
line-height: 64rpx;
font-size: 26rpx;
background-color: transparent;
.phcolor{
color: rgba(255,255,255,0.5);
}
}
}
.icon-ui {
color: #fff;
font-size: 42rpx;
margin-right: 22rpx;
}
}
.banner_img{
z-index: 1;
width: 100%;
height: 100%;
image {
width: 100%;
height: 100%;
}
}
}
.home-apps {
position: relative;
top: -180rpx;
background-color: #fff;
padding: 30rpx 20rpx;
border-radius: 40rpx;
margin: 0 30rpx;
display: flex;
flex-wrap:wrap;
.home-apps-item {
display: flex;
flex-direction: column;
align-items: center;
flex-grow: 0;
width: 25%;
.text {
margin: 10rpx 0;
font-size: 28rpx;
text-align: center;
width: 140rpx;
}
.home-apps-item-img {
width: 136rpx;
height: 136rpx;
image {
width: 100%;
height: 100%;
}
}
}
}
.home-message{
position: relative;
top: -160rpx;
height: 120rpx;
background-color: #fff;
border-radius: 40rpx;
margin: 0 30rpx;
padding: 0 30rpx;
display: flex;
align-items: center;
.home-title{
width: 54px;
height: 54px;
margin-right: 10rpx;
image{
width: 100%;
height: 100%;
}
}
.home-content{
font-size: 28rpx;
flex: 1;
}
.home-more{
color: #ccc;
font-size: 26rpx;
}
}
.home-letters{
position: relative;
top: -140rpx;
background-color: #fff;
border-radius: 40rpx;
margin: 0 30rpx;
padding: 30rpx;
.letters-title{
width: 80px;
height: 21px;
image{
width: 100%;
height: 100%;
}
}
.letters-content{
.letters-item{
border-bottom: 1rpx solid #e5e5e5;
padding: 20rpx 0;
&:last-child{
border: none;
}
.lable{
font-size: 30rpx;
white-space: nowrap;
}
.font{
font-size: 28rpx;
color: #666;
}
.letters-title{
display: flex;
align-items: flex-start;
justify-content: space-between;
width: 100%;
.color-red{
color: #e50d0d;
font-weight:700;
}
.color-org{
color: #ff5806;
font-weight:700;
}
.color-nomal{
color: #e5a60d;
font-weight:700;
}
}
.letters-sub-title{
display: flex;
align-items: flex-start;
justify-content: space-between;
width: 100%;
font-size: 30rpx;
margin: 10rpx 0;
}
.letters-date{
display: flex;
align-items: center;
width: 100%;
font-size: 30rpx;
}
}
}
}
.home-line{
position: relative;
top: -70rpx;
text-align: center;
color: #ccc;
}
.sub_grid{
display: flex;
flex-wrap: wrap;
.grid_z{
z-index: 999;
}
.grid_item{
width: calc(47% - 4rpx);
display: block;
padding: 30rpx 0;
color: #fff;
margin-left: 2%;
margin-top: 2%;
text-align: center;
background-image: linear-gradient(to bottom right, rgba(0,138,255,1), rgba(91,74,255,1));
border: 1rpx solid #2084d9;
position: relative;
.grid_text{
display: flex;
padding-left: 30rpx;
.grid_tut{
width: 85%;
}
}
}
}
.message_list{
padding: 30rpx;
.message_item{
position: relative;
.message_flex{
width: calc(100% - 30rpx);
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
.fontstyle{
font-size: 32rpx;
line-height: 60rpx;
}
.font0{
font-size: 30rpx;
color: #666;
flex-basis: 72rpx;
}
.message_time{
font-size: 26rpx;
color: #666;
line-height: 60rpx;
}
}
}
}
.message_item.arrow:after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
display: block;
margin: auto;
width: 30rpx;
height: 30rpx;
color: #b4b4b4;
content: "\e6a3";
text-align: center;
font-size: 34rpx;
font-family: cuIcon;
line-height: 30rpx
}