This commit is contained in:
2025-10-24 17:12:18 +08:00
commit 9dead7a890
2004 changed files with 298646 additions and 0 deletions

View File

@@ -0,0 +1,339 @@
.container {
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(180deg, #fadfc4 0%, #fafafa 36.92%);
&.modify {
background: #161922;
}
&.locantion {
overflow: hidden;
}
}
.setting-main {
position: relative;
background-color: #000920bb;
width: 100%;
height: calc(100% - 200rpx);
box-sizing: border-box;
padding: 128rpx 32rpx 24rpx 32rpx;
display: flex;
flex-direction: column;
border-radius: 24rpx 24rpx 0 0;
-webkit-border-radius: 24rpx 24rpx 0 0;
-moz-border-radius: 24rpx 24rpx 0 0;
-ms-border-radius: 24rpx 24rpx 0 0;
-o-border-radius: 24rpx 24rpx 0 0;
.avatar {
--r: 212rpx;
position: absolute;
top: calc(var(--r) / -2);
left: 50%;
transform: translateX(-50%);
width: var(--r);
height: var(--r);
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
overflow: hidden;
padding: 0;
background: none;
&::after {
border: none;
}
.avatar-image {
width: 100%;
height: 100%;
}
.avatar-tip {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.camera-icon {
width: 64rpx;
height: 64rpx;
margin-bottom: 6rpx;
}
.tip-text {
margin-top: 6rpx;
color: #fff;
font-size: 28rpx;
}
}
}
.scroll-view {
flex: 1;
height: 0;
width: 100%;
::-webkit-scrollbar {
display: none;
}
.setting-list {
width: 100%;
.setting-item {
width: 100%;
display: flex;
color: #ffffffbb;
font-size: 32rpx;
align-items: center;
height: 72rpx;
.setting-label {
width: 180rpx;
}
.setting-value {
flex: 1;
width: 0;
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
&.is-null {
color: #ffffffbb;
}
}
.setting-icon {
margin-left: 20rpx;
}
}
.login-out {
margin-top: 64rpx;
width: 100%;
background: #e60909;
color: #fff;
font-size: 32rpx;
height: 64rpx;
line-height: 64rpx;
text-align: center;
border-radius: 32rpx;
-webkit-border-radius: 32rpx;
-moz-border-radius: 32rpx;
-ms-border-radius: 32rpx;
-o-border-radius: 32rpx;
&.disabled {
background: #858585;
color: #eee;
}
}
}
}
}
.tips {
margin-top: 20px;
font-size: 12px;
color: #fff;
}
// 修改名字
.modify-mian {
width: 100%;
box-sizing: border-box;
padding: 24rpx;
.modify-label {
font-size: 24rpx;
line-height: 24rpx;
color: #ffffffaa;
margin-bottom: 16rpx;
}
.confirm-btn {
width: 100%;
background: #e60909;
color: #fff;
height: 64rpx;
text-align: center;
line-height: 64rpx;
margin-top: 40rpx;
border-radius: 12rpx;
-webkit-border-radius: 12rpx;
-moz-border-radius: 12rpx;
-ms-border-radius: 12rpx;
-o-border-radius: 12rpx;
}
.modify-input {
input {
font-size: 28rpx;
line-height: 28rpx;
color: #ffffff;
caret-color: #ffee01;
}
}
.modify-btn {
position: absolute;
bottom: 24rpx;
width: 100%;
left: 0;
box-sizing: border-box;
padding: 24rpx;
.confrim-btn {
width: 100%;
font-size: 32rpx;
background-color: #e60909;
color: #fff;
}
}
}
// 选择地址
.locantion-mian {
position: absolute;
top: 32rpx;
left: 24rpx;
width: calc(100% - 48rpx);
height: calc(100% - 32rpx);
display: flex;
flex-direction: column;
&.have-locantion {
top: 300rpx;
}
.address-box {
width: 100%;
background: #fff;
padding: 24rpx;
border-radius: 16rpx;
-webkit-border-radius: 16rpx;
-moz-border-radius: 16rpx;
-ms-border-radius: 16rpx;
-o-border-radius: 16rpx;
box-sizing: border-box;
display: flex;
align-items: center;
margin-bottom: 24rpx;
.address-info {
flex: 1;
width: 0;
.address-value {
font-size: 32rpx;
line-height: 32rpx;
color: #000;
margin-bottom: 12rpx;
}
.house {
font-size: 28rpx;
line-height: 28rpx;
color: #000000aa;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.address-btn {
font-size: 28rpx;
border: 2rpx solid #f48520;
color: #f48520;
line-height: 52rpx;
padding: 0 12rpx;
border-radius: 8rpx;
-webkit-border-radius: 8rpx;
-moz-border-radius: 8rpx;
-ms-border-radius: 8rpx;
-o-border-radius: 8rpx;
margin-left: 24rpx;
}
}
.locantion-box {
flex: 1;
height: 0;
width: 100%;
background: #fff;
border-radius: 16rpx 16rpx 0 0;
-webkit-border-radius: 16rpx 16rpx 0 0;
-moz-border-radius: 16rpx 16rpx 0 0;
-ms-border-radius: 16rpx 16rpx 0 0;
-o-border-radius: 16rpx 16rpx 0 0;
box-sizing: border-box;
padding: 24rpx;
.locantion-btn {
width: 100%;
box-sizing: border-box;
color: #f48520;
text-align: center;
font-size: 32rpx;
line-height: 72rpx;
border: 2rpx solid #f48520;
border-radius: 12rpx;
-webkit-border-radius: 12rpx;
-moz-border-radius: 12rpx;
-ms-border-radius: 12rpx;
-o-border-radius: 12rpx;
}
.locantion-line {
width: 100%;
display: flex;
padding: 32rpx 0;
.locantion-label {
font-size: 28rpx;
margin-right: 24rpx;
}
.locantion-input {
flex: 1;
width: 0;
input {
font-size: 28rpx;
}
}
}
}
.modify-btn {
margin-top: 24rpx;
width: 100%;
box-sizing: border-box;
.confrim-btn {
width: 100%;
font-size: 32rpx;
background-color: #fee541;
color: #000;
}
}
}
.album-list {
width: 100%;
display: flex;
flex-wrap: wrap;
.album-item {
width: 218rpx;
height: 218rpx;
margin-right: 24rpx;
margin-bottom: 24rpx;
&:nth-child(3n) {
margin-right: 0;
}
image {
width: 100%;
height: 100%;
}
&.album-add {
.album-add-icon {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: #2c2c2c;
}
}
}
}