/* pages/index/index.wxss */ #menu-view { display: flex; text-align: center; flex-wrap: wrap; padding: 20px 10px; } .welcome-text { display: block; padding-left: 30px; padding-top: 18px; font-size: 20px; } .menu-item { width: 25%; margin: 10px 0; } .item-image { width: 50px; height: 50px; }