/* pages/ageChange/ageChange.wxss */ .background-image { height: 100%; position: fixed; width: 100%; left: 0px; top: 0px; } .title { position: fixed; top: 4%; left: 5%; display: flex; align-items: center; font-size: 18px; color: #fff; } .ageChange { width: 100%; height: 100%; position: absolute; left: 0px; } .ageChange>image { display: block; width: 30%; margin: 30% auto 0; } .ageChange>text { display: block; color: #fff; width: 100%; text-align: center; font-size: 18px; margin: 30px 0 40px; } .ageChange>view { width: 50%; height: 40px; line-height: 40px; text-align: center; font-size: 18px; margin: 20px auto; border: 1rpx solid #d8477f; border-radius: 20px; }