/**index.wxss**/ .headImg { display: flex; flex-direction: row; align-items: center; text-align: center; background: #ffffff; height: 300rpx; } .headImg image{ width: 150rpx; height: 150rpx; border-radius: 50%; text-align: center; margin-left: 300rpx; } .copyright{ color: #8c8c8c; text-align: center; margin-top: 20px; font-size: 14px; } .plain { border: none; border-color: transparent; background: #fff; line-height: 40rpx; margin: 0px; } button::after { border: none } .userinfo { position: relative; width: 100%; background: #fff; text-align: center; padding: 30rpx 0; } .userinfo .userinfo-avatar { overflow: hidden; display: block; width: 160rpx; height: 160rpx; border-radius: 50%; box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); margin: auto; } .userinfo .userinfo-name { font-size: 30rpx; font-weight: bold; margin-top: 20rpx; }