自定义头部

This commit is contained in:
姚亚男
2021-11-01 15:02:50 +08:00
parent 12009991f5
commit 74bff8532f
6 changed files with 90 additions and 4 deletions
+36 -2
View File
@@ -3,6 +3,40 @@
background-color: #f5f5f5;
width: 100%;
height: 100%;
}
}
.custom{
position: fixed;
width: 100%;
top: 0;
left: 0;
height: 45px;
background: #fff;
z-index: 999;
}
.custom text{
position: absolute;
left: 50%;
transform: translateX(-50%);
color: #333;
font-size: 26rpx;
font-weight: 500;
max-width: 280rpx;
}
.flex_center{
width: 100%;
display: flex;
align-items: center;
}
.flex_center image{
margin-left: 15px;
width: 19px;
height: 19px;
float: left;
}
.empty_custom{
height: 45px;
width: 100%;
}
@import './assets/css/common.wxss';
@import '/assets/font/iconfont.wxss';
@import '/assets/font/iconfont.wxss';