232 lines
3.8 KiB
Plaintext
232 lines
3.8 KiB
Plaintext
|
|
|
||
|
|
.profile-page {
|
||
|
|
}
|
||
|
|
.mask {
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
background-color: rgba(0, 0, 0, 0.2);
|
||
|
|
z-index: 999;
|
||
|
|
}
|
||
|
|
/* 列表样式 */
|
||
|
|
.profile-list {
|
||
|
|
background-color: #FFFFFF;
|
||
|
|
box-shadow: 0 4rpx 16rpx 0 rgba(210, 213, 224, 0.50);
|
||
|
|
padding: 0 24rpx;
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
.profile-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
padding: 32rpx 0;
|
||
|
|
border-bottom: 1rpx solid rgba(0, 0, 0, 0.05);
|
||
|
|
}
|
||
|
|
.profile-item:last-child {
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
.item-label {
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #333333;
|
||
|
|
}
|
||
|
|
.item-content {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: flex-end;
|
||
|
|
}
|
||
|
|
.item-value {
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #333333;
|
||
|
|
/* margin-right: 16rpx; */
|
||
|
|
}
|
||
|
|
.avatar-content {
|
||
|
|
height: 108rpx;
|
||
|
|
}
|
||
|
|
.avatar {
|
||
|
|
width: 108rpx;
|
||
|
|
height: 108rpx;
|
||
|
|
border-radius: 54rpx;
|
||
|
|
background-color: #333333;
|
||
|
|
}
|
||
|
|
/* .arrow-icon {
|
||
|
|
width: 32rpx;
|
||
|
|
height: 32rpx;
|
||
|
|
} */
|
||
|
|
/* 编辑按钮 */
|
||
|
|
.edit-btn {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 24rpx;
|
||
|
|
left: 60rpx;
|
||
|
|
width: 630rpx;
|
||
|
|
height: 96rpx;
|
||
|
|
background: #E8101E;
|
||
|
|
border-radius: 58rpx;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
.edit-text {
|
||
|
|
font-size: 40rpx;
|
||
|
|
color: #FFFFFF;
|
||
|
|
}
|
||
|
|
.region-body {
|
||
|
|
flex: 1;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
.item-inp {
|
||
|
|
text-align: right;
|
||
|
|
}
|
||
|
|
.picker-scroll {
|
||
|
|
height: 400rpx;
|
||
|
|
}
|
||
|
|
.popup {
|
||
|
|
position: fixed;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
z-index: 999;
|
||
|
|
visibility: hidden;
|
||
|
|
opacity: 0;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
}
|
||
|
|
.popup.show {
|
||
|
|
visibility: visible;
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
.popup-mask {
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
background-color: rgba(0, 0, 0, 0.5);
|
||
|
|
}
|
||
|
|
.popup-content {
|
||
|
|
position: relative;
|
||
|
|
background-color: #FFFFFF;
|
||
|
|
border-radius: 24rpx 24rpx 0 0;
|
||
|
|
padding: 32rpx;
|
||
|
|
-webkit-transform: translateY(100%);
|
||
|
|
transform: translateY(100%);
|
||
|
|
transition: -webkit-transform 0.3s ease;
|
||
|
|
transition: transform 0.3s ease;
|
||
|
|
transition: transform 0.3s ease, -webkit-transform 0.3s ease;
|
||
|
|
}
|
||
|
|
.popup.show .popup-content {
|
||
|
|
-webkit-transform: translateY(0);
|
||
|
|
transform: translateY(0);
|
||
|
|
}
|
||
|
|
.popup-header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
.popup-title {
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #333333;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
.popup-close {
|
||
|
|
font-size: 40rpx;
|
||
|
|
color: #999999;
|
||
|
|
padding: 16rpx;
|
||
|
|
}
|
||
|
|
.popup-body {
|
||
|
|
max-height: 600rpx;
|
||
|
|
overflow-y: auto;
|
||
|
|
}
|
||
|
|
.region-tabs {
|
||
|
|
display: flex;
|
||
|
|
border-bottom: 1rpx solid #EEEEEE;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
.region-tab {
|
||
|
|
flex: 1;
|
||
|
|
text-align: center;
|
||
|
|
padding: 20rpx 0;
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #666666;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
.region-tab.active {
|
||
|
|
color: #E8101E;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
.region-tab.active::after {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
bottom: 0;
|
||
|
|
left: 50%;
|
||
|
|
-webkit-transform: translateX(-50%);
|
||
|
|
transform: translateX(-50%);
|
||
|
|
width: 40rpx;
|
||
|
|
height: 4rpx;
|
||
|
|
background-color: #E8101E;
|
||
|
|
border-radius: 2rpx;
|
||
|
|
}
|
||
|
|
.region-body {
|
||
|
|
flex: 1;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
.region-scroll {
|
||
|
|
height: 100%;
|
||
|
|
}
|
||
|
|
.picker-scroll {
|
||
|
|
height: 400rpx;
|
||
|
|
}
|
||
|
|
.picker-item {
|
||
|
|
height: 68rpx;
|
||
|
|
line-height: 68rpx;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
.popup-footer {
|
||
|
|
display: flex;
|
||
|
|
margin-top: 32rpx;
|
||
|
|
}
|
||
|
|
.popup-btn {
|
||
|
|
flex: 1;
|
||
|
|
height: 88rpx;
|
||
|
|
border-radius: 44rpx;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
margin: 0 16rpx;
|
||
|
|
}
|
||
|
|
.popup-btn.cancel {
|
||
|
|
background-color: #F5F5F5;
|
||
|
|
}
|
||
|
|
.popup-btn.confirm {
|
||
|
|
background: linear-gradient(90deg, #E8101E 0%, #FF618F 100%);
|
||
|
|
}
|
||
|
|
.popup-btn .btn-text {
|
||
|
|
font-size: 32rpx;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
.popup-btn.cancel .btn-text {
|
||
|
|
color: #666666;
|
||
|
|
}
|
||
|
|
.popup-btn.confirm .btn-text {
|
||
|
|
color: #FFFFFF;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/* 平台适配 */
|
||
|
|
.custom-nav {
|
||
|
|
padding-top: calc(25px + constant(safe-area-inset-top));
|
||
|
|
padding-top: calc(25px + env(safe-area-inset-top));
|
||
|
|
}
|
||
|
|
|
||
|
|
|