1. 使用navigationStyle自定义导航栏
在page.json文件中添加"navigationStyle": "custom"就可以了
2. globalStyle全局外观配置
3. rgba(0.3,0.3,0.3,0.3)
4. 单边阴影效果
.top {
box-shadow: 0 -2px 0 red;
}
.right {
box-shadow: 2px 0 0 green;
}
.bottom {
box-shadow: 0 2px 0 blue;
}
.left {
box-shadow: -2px 0 0 orange;
}
5. flex布局九宫格效果
.box{
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.item{
width:30%;
}