.userManagement { width: 100%; min-height: 100%; padding: 24rpx 30rpx; box-sizing: border-box; /* 设备卡片 */ .device-card { width: 100%; padding: 30rpx; display: flex; flex-wrap: nowrap; border-radius: 24rpx; background-color: #FFFFFF; box-sizing: border-box; margin-bottom: 32rpx; .device-icon { width: 88rpx; height: 88rpx; overflow: hidden; margin-right: 24rpx; border-radius: 24rpx; background-color: #1385FA; } .device-info { flex: 1; .device-name-row { width: 100%; height: 40rpx; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14rpx; .device-name { color: #252535; height: 40rpx; font-size: 32rpx; font-weight: bolder; line-height: 40rpx; } .device-status { height: 40rpx; padding: 0 16rpx; display: flex; flex-wrap: nowrap; align-items: center; border-radius: 20rpx; background-color: #EAFAF6; .status-dot { width: 12rpx; height: 12rpx; margin-right: 8rpx; border-radius: 50%; background-color: #2AC79F; } .status-text { color: #2AC79F; height: 22rpx; font-size: 22rpx; line-height: 22rpx; } } } .device-meta { color: #808080; height: 26rpx; font-size: 26rpx; line-height: 26rpx; } } } /* 已录入用户 + 同步按钮 */ .section-header { width: 100%; height: 48rpx; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16rpx; .section-title { color: #252535; height: 32rpx; font-size: 32rpx; font-weight: bolder; line-height: 32rpx; } .sync-btn { color: #FFFFFF; height: 48rpx; font-size: 24rpx; padding: 0 16rpx; line-height: 48rpx; border-radius: 8rpx; background-color: #1385FA; } } /* 同步提示 */ .sync-tip { color: #F2994A; font-size: 24rpx; line-height: 34rpx; margin-bottom: 24rpx; } /* 用户卡片 */ .member-card { width: 100%; padding: 32rpx; border-radius: 24rpx; background-color: #FFFFFF; box-sizing: border-box; margin-bottom: 24rpx; display: flex; align-items: center; .member-avatar { width: 88rpx; height: 88rpx; border-radius: 24rpx; margin-right: 24rpx; flex-shrink: 0; } .member-avatar--male { background-color: #C6E6FF; } .member-avatar--female { background-color: #FFD5E3; } .member-info { flex: 1; .member-name-row { display: flex; align-items: center; margin-bottom: 16rpx; .member-name { color: #252535; height: 32rpx; font-size: 32rpx; line-height: 32rpx; margin-right: 16rpx; } .member-type-tag { height: 40rpx; padding: 0 10rpx; font-size: 24rpx; line-height: 40rpx; border-radius: 8rpx; color: #FFFFFF; } .member-type-tag--self { background-color: #1385FA; } .member-type-tag--employee { background-color: #10B981; } .member-type-tag--family { background-color: #F59E0B; } } .member-sub { color: #808080; height: 26rpx; font-size: 26rpx; line-height: 26rpx; } } .member-right { display: flex; flex-direction: column; align-items: flex-end; .member-sync { height: 22rpx; font-size: 22rpx; line-height: 22rpx; margin-bottom: 16rpx; } .member-sync--done { color: #2AC79F; } .member-sync--pending { color: #F2994A; } .member-sync--deleted { color: #F24439; } .member-ops { display: flex; .op-edit { color: #77849E; height: 26rpx; font-size: 26rpx; line-height: 26rpx; margin-right: 24rpx; } .op-delete { color: #F24439; height: 26rpx; font-size: 26rpx; line-height: 26rpx; } } } } /* 底部添加用户按钮 */ .add-btn { width: 100%; height: 96rpx; border-radius: 48rpx; background-color: #1385FA; color: #FFFFFF; font-size: 36rpx; line-height: 96rpx; text-align: center; margin-top: 8rpx; } /* 同步进度弹框 */ .sync-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(37, 37, 53, 0.6); z-index: 100; } .sync-panel { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 560rpx; box-sizing: border-box; background-color: #FFFFFF; border-radius: 24rpx; z-index: 101; display: flex; flex-direction: column; align-items: center; padding: 64rpx 48rpx; .sync-title { color: #252535; height: 32rpx; font-size: 32rpx; line-height: 32rpx; } .sync-status { color: #808080; height: 24rpx; font-size: 24rpx; line-height: 24rpx; margin-top: 24rpx; } .sync-percent { color: #77849E; height: 24rpx; font-size: 24rpx; line-height: 24rpx; margin-top: 48rpx; } .sync-progress { width: 464rpx; height: 10rpx; border-radius: 6rpx; background-color: #D9D9D9; margin-top: 16rpx; overflow: hidden; .sync-progress-inner { height: 10rpx; border-radius: 6rpx; background-color: #1385FA; } } } }