/**index.wxss**/ page { height: 100vh; display: flex; flex-direction: column; } .scrollarea { flex: 1; overflow-y: hidden; } .userinfo { display: flex; flex-direction: column; align-items: center; color: #aaa; width: 80%; } .userinfo-avatar { overflow: hidden; width: 128rpx; height: 128rpx; margin: 20rpx; border-radius: 50%; } .usermotto { margin-top: 200px; } .avatar-wrapper { padding: 0; width: 56px !important; border-radius: 8px; margin-top: 40px; margin-bottom: 40px; } .avatar { display: block; width: 56px; height: 56px; } .nickname-wrapper { display: flex; width: 100%; padding: 16px; box-sizing: border-box; border-top: .5px solid rgba(0, 0, 0, 0.1); border-bottom: .5px solid rgba(0, 0, 0, 0.1); color: black; } .nickname-label { width: 105px; } .nickname-input { flex: 1; } .bg{ width: 100vw; height: 100vh; } .content{ width: 100vw; height: 100vh; position: fixed; display: flex; flex-direction: column; align-items: center; } .content-gif{ width: 19vh; height: 18.6vh; margin-bottom: 1.5vh; } .content-title{ font-size: 5vh; color: #ff4c91; text-align: center; margin-bottom: 2.5vh; } .content-avatar image{ width: 24vh; height: 24vh; border: 3px solid #ff4c91; border-radius: 50%; } .content-info{ width: 45vw; text-align: center; margin-top: 4vh; display: flex; align-items: center; } .content-name{ color: #ff4c91; font-size: 2.7vh; line-height: 4.5vh; font-weight: bold; position: relative; } .content-name>image{ width: 2.6vh; height: 2.6vh; border: 1px solid #ff4c91; border-radius: 50%; position: absolute; top: -1vh; right: -3.6vh; } .content-wedding{ flex: 1; } .content-wedding>image{ width: 5.5vh; height: 5.5vh; margin-left: 20rpx; } .content-address{ margin-top: 5vh; color: #ec5f89; font-size: 2.5vh; font-weight: bold; text-align: center; line-height: 4.5vh; } .content-address view:first-child{ font-size: 3vh; padding-bottom: 2vh; }