/* pages/userInfo/userInfo.wxss */ page { background: #f3f3f3; } .nav { position: fixed; z-index: 99; width: 100%; top: 0; } .nav .logo { width: 223rpx; } .nav .nav_box { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 32rpx; } .main { text-align: center; height: 1451rpx; // padding-bottom: 153rpx; } .main .title { font-size: 48rpx; font-weight: 400; color: #000; margin: 73rpx auto 34rpx; } .main .txt { font-size: 26rpx; font-weight: 400; color: #666; margin-bottom: 10rpx; } .main .avatar_box { position: relative; // width: max-content; // width: 147rpx; margin: 70rpx auto 20rpx; } .main .avatar_box .avatar { width: 140rpx; height: 140rpx; border-radius: 50%; margin: 0 auto; } .main .avatar_box .btn_avatar { // height: 26rpx; font-size: 28rpx; font-weight: 400; color: #000000; background: transparent; } /* 去掉背景色和内外边距 */ button { margin: 0; padding: 0; background-color: inherit; position: static; } button:after { content: none; } /* 去掉边框 */ button::after { border: none; } .main .avatar_box .btn_avatar::after { border: none; background: transparent; } .form { width: 690rpx; text-align: left; margin: 0 30rpx 0; } .form .form_item { position: relative; margin-bottom: 35rpx; } .form_item .arrow { position: absolute; bottom: 26rpx; right: 21rpx; width: 30rpx; height: 30rpx; } .form .form_item .label { font-size: 28rpx; font-weight: 400; color: #030000; margin-bottom: 28rpx; } .form .form_item .label::after { content: "*"; color: #eb5858; margin-left: 10rpx; } .form .form_item .ipt { // width: 100%; padding-left: 28rpx; box-sizing: border-box; width: 690rpx; height: 80rpx; line-height: 80rpx; background: #ffffff; border: 1px solid #dddddd; border-radius: 3rpx; } .footer { position: fixed; bottom: 0; z-index: 99; display: flex; align-items: baseline; width: 100%; height: 153rpx; background: #ffffff; box-shadow: 0rpx -3rpx 7rpx 1rpx rgba(173, 191, 207, 0.21); padding-bottom: env(safe-area-inset-bottom); box-sizing: border-box; } .btn { width: 540rpx; height: 90rpx; background: #000; border-radius: 45rpx; color: #fff; line-height: 90rpx; text-align: center; margin: 21rpx 49rpx 42rpx 30rpx; font-size: 32rpx; } .text { display: flex; align-items: center; font-size: 32rpx; font-weight: bold; color: #000; } .btn-disable { background-color: #ccc !important; /* 设置按钮背景颜色为灰色 */ color: #fff !important; /* 设置按钮文字颜色为白色 */ border-color: #ccc !important; /* 设置按钮边框颜色为灰色 */ }