我的样式优化

This commit is contained in:
2026-09-24 14:19:36 +08:00
parent 403f7e835f
commit 365bba0555
5 changed files with 50 additions and 38 deletions
+22 -12
View File
@@ -129,24 +129,34 @@ export default {
</script>
<style scoped>
.body { padding: 16rpx 0 48rpx; background: #EDEDED; min-height: 100%; }
.body { padding: 16rpx 0 48rpx; }
.profile {
display: flex; align-items: center;
background: #fff; padding: 48rpx 28rpx 40rpx; margin-bottom: 16rpx;
margin: 8rpx 24rpx 20rpx;
padding: 32rpx 24rpx;
background: #fff;
border-radius: 20rpx;
border: 1rpx solid rgba(17, 24, 39, 0.06);
}
.av { width: 128rpx; height: 128rpx; border-radius: 12rpx; flex-shrink: 0; }
.av.txt { background: #1677FF; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 48rpx; font-weight: 650; }
.av { width: 112rpx; height: 112rpx; border-radius: 24rpx; flex-shrink: 0; }
.av.txt { background: #E8F1FF; color: #1677FF; display: flex; align-items: center; justify-content: center; font-size: 44rpx; font-weight: 650; }
.info { flex: 1; min-width: 0; margin: 0 20rpx; }
.nm { display: flex; align-items: center; gap: 12rpx; }
.name { font-size: 40rpx; font-weight: 650; color: #111827; }
.name { font-size: 36rpx; font-weight: 650; color: #111827; }
.tag { font-size: 22rpx; color: #16A34A; background: #E8F8EF; border-radius: 8rpx; padding: 2rpx 10rpx; }
.sub { display: block; font-size: 26rpx; color: #6B7280; margin-top: 8rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group { background: #fff; margin-bottom: 16rpx; }
.cell { display: flex; align-items: center; min-height: 108rpx; padding: 0 28rpx; gap: 24rpx; }
.cell + .cell { border-top: 1rpx solid #EDEDED; }
.sub { display: block; font-size: 24rpx; color: #6B7280; margin-top: 6rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group {
margin: 0 24rpx 20rpx;
background: #fff;
border-radius: 20rpx;
border: 1rpx solid rgba(17, 24, 39, 0.06);
overflow: hidden;
}
.cell { display: flex; align-items: center; min-height: 104rpx; padding: 0 24rpx; gap: 20rpx; }
.cell + .cell { border-top: 1rpx solid #F0F2F5; }
.cell.center { justify-content: center; }
.ct { flex: 1; font-size: 32rpx; color: #111827; }
.cv { font-size: 28rpx; color: #9CA3AF; }
.ct { flex: 1; font-size: 30rpx; color: #111827; }
.cv { font-size: 26rpx; color: #9CA3AF; }
.chev { color: #C8C8C8; font-size: 36rpx; }
.danger { font-size: 32rpx; color: #111827; }
.danger { font-size: 30rpx; color: #DC2626; }
</style>