.avatar-box{ width: 100vw; height: 30vh; display: flex; justify-content: center; align-items: center; } .button { margin: 0 32rpx; display: flex; flex-direction: column; /* 垂直排列子元素 */ align-items: center; /* 水平居中子元素 */ gap: 2vh; }