83 lines
1.2 KiB
Plaintext
83 lines
1.2 KiB
Plaintext
/* 首页样式 */
|
|
.user-bar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 88rpx;
|
|
height: 88rpx;
|
|
border-radius: 50%;
|
|
background-color: #f0f0f0;
|
|
margin-right: 24rpx;
|
|
}
|
|
|
|
.user-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.user-name {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.user-id {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.logout-btn {
|
|
font-size: 26rpx;
|
|
color: #ff4d4f;
|
|
padding: 8rpx 24rpx;
|
|
border: 1rpx solid #ff4d4f;
|
|
border-radius: 28rpx;
|
|
}
|
|
|
|
.device-list {
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.empty-subtitle {
|
|
font-size: 24rpx;
|
|
color: #bbb;
|
|
margin-top: 12rpx;
|
|
}
|
|
|
|
.add-btn-wrapper {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 60rpx;
|
|
padding: 0 40rpx;
|
|
}
|
|
|
|
.add-btn {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #1890ff;
|
|
color: #fff;
|
|
height: 92rpx;
|
|
line-height: 1;
|
|
font-size: 32rpx;
|
|
border-radius: 46rpx;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
box-shadow: 0 8rpx 24rpx rgba(24, 144, 255, 0.4);
|
|
}
|
|
|
|
.add-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.add-btn:active {
|
|
background-color: #096dd9;
|
|
} |