新增门店订单与核销管理列表,对齐 Android 订单能力并完善账号级缓存。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -16,6 +16,23 @@ enum AppDesign {
|
||||
static let placeholder = Color(hex: 0xA8B2C1)
|
||||
static let success = Color(hex: 0x14964A)
|
||||
static let warning = Color(hex: 0xFF7B00)
|
||||
|
||||
// MARK: - 订单列表专用色值(对齐 Android OrderListScreen)
|
||||
|
||||
static let orderPageBackground = Color(hex: 0xF5F5F5)
|
||||
static let orderInputBackground = Color(hex: 0xF4F4F4)
|
||||
static let orderLabelColor = Color(hex: 0x4B5563)
|
||||
static let orderBorderLight = Color(hex: 0xEEEEEE)
|
||||
static let orderRefundText = Color(hex: 0xEF4444)
|
||||
static let orderRefundBackground = Color(hex: 0xFFE7E7)
|
||||
static let orderStatusPaidText = Color(hex: 0x0073FF)
|
||||
static let orderStatusPaidBackground = Color(hex: 0xEFF6FF)
|
||||
static let orderStatusCompletedText = Color(hex: 0x10B981)
|
||||
static let orderStatusCompletedBackground = Color(hex: 0xF0FDF4)
|
||||
static let orderStatusRefundedText = Color(hex: 0xEF4444)
|
||||
static let orderStatusRefundedBackground = Color(hex: 0xFFE7E7)
|
||||
static let orderStatusOtherText = Color(hex: 0xFF7B00)
|
||||
static let orderStatusOtherBackground = Color(hex: 0xFFF0E2)
|
||||
}
|
||||
|
||||
extension Color {
|
||||
|
||||
@ -132,7 +132,7 @@ final class PushNotificationManager: NSObject, UNUserNotificationCenterDelegate
|
||||
case .order:
|
||||
router.selectOrders(entry: .storeOrders)
|
||||
case .verificationOrder:
|
||||
router.selectOrders(entry: .verificationOrders)
|
||||
router.openWriteOffList()
|
||||
case .task:
|
||||
navigateHomeRoute(.taskManagement)
|
||||
case .queue:
|
||||
|
||||
@ -115,7 +115,7 @@ final class AccountSnapshotStore {
|
||||
save(
|
||||
AccountSnapshot(
|
||||
profile: accountContext.profile ?? existing?.profile,
|
||||
accountType: existing?.accountType,
|
||||
accountType: accountContext.accountType ?? existing?.accountType,
|
||||
businessUserId: existing?.businessUserId,
|
||||
currentRoleCode: currentRoleCode ?? existing?.currentRoleCode,
|
||||
scenicScopes: accountContext.scenicScopes,
|
||||
|
||||
Reference in New Issue
Block a user