Files
xiaokuaisong-paotui/distribution/unpackage/dist/dev/app-plus/pages/changeUserMessage/changeUserMessage.css
2025-08-18 09:57:10 +08:00

87 lines
2.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.user-profile[data-v-983df345] {
background: linear-gradient(to bottom, #5e7dec,white);
padding: 20px;
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
}
.avatar-container[data-v-983df345] {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
}
.avatar-container .avatar[data-v-983df345] {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
}
.edit-text[data-v-983df345] {
color: white;
margin-top: 10px;
}
.form-container[data-v-983df345] {
background-color: white;
padding: 20px;
border-radius: 8px;
width: 90%;
max-width: 600px;
}
.form-item[data-v-983df345] {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.label[data-v-983df345] {
width: 35px;
text-align: right;
margin-right: 10px;
}
.gender-item[data-v-983df345] {
align-items: flex-start;
}
/* 确保性别选项水平显示 */
.gender-container[data-v-983df345] {
display: flex;
flex-direction: row; /* 默认值为row这里明确指定是为了清晰 */
}
.gender-container uni-label[data-v-983df345] {
margin-right: 10px;
display: flex;
align-items: center;
}
.input-field[data-v-983df345] {
flex: 1;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 4px;
height: 45px;
border-radius: 15px;
}
.save-button[data-v-983df345] {
background-color: transparent; /* 设置背景为透明 */
color: white;
padding: 0px 20px; /* 增加内边距以便按钮看起来更舒适 */
border: 2px solid #5e7dec; /* 添加边框以增强立体感 */
border-radius: 20px;
margin-top: 20px;
width: 100%;
max-width: 300px;
cursor: pointer;
transition: all 0.3s ease; /* 应用到所有属性的过渡效果 */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影以增加立体感 */
}
.save-button[data-v-983df345]:hover {
background-color: rgba(94, 125, 236, 0.1); /* 鼠标悬停时轻微改变背景颜色 */
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* 增强阴影效果 */
}
.save-button[data-v-983df345]:active {
transform: translateY(2px); /* 点击时向下移动,模拟按下的效果 */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 减弱阴影效果 */
}