/**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; } .phonenumber-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; } .auth-button { display: flex; align-items: center; justify-content: center; width: 80%; height: 100rpx; padding: 20rpx 0; border-radius: 10rpx; background-color: #007aff; color: #fff; font-size: 36rpx; margin-top: 40rpx; box-shadow: 0 1rpx 1rpx rgba(0, 0, 0, 0.1); } .loading-container { position: fixed; top: 75%; left: 70%; transform: translate(-50%, -50%); padding: 10px; /* background-color: #c8c8c8; */ width: 600rpx; color: #909090; border-radius: 4px; z-index: 9999; /* 确保它显示在其他内容之上 */ } .custom-input-button { /* 移除button的默认边框和背景 */ border: none; background-color: #fff; /* 类似于input的背景色 */ /* 设置内边距和字体样式,使其看起来更像input */ padding: 10rpx; margin-left: 0rpx; font-size: 36rpx; /* 根据需要调整 */ color: #919191; /* 字体颜色 */ /* font-weight: 600; */ /* 移除button的默认样式 */ line-height: normal; /* 移除默认的行高 */ text-align: left; /* 文本左对齐 */ /* 圆角,使其看起来更柔和 */ border-radius: 4rpx; /* 禁用触摸高亮效果 */ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }