Files
rider-pro-android-app/app/src/main/res/drawable
AllenTom 40ccd70e80 Add VIP selection page and related data models
This commit introduces a new VIP selection page (`VipSelPage.kt`) that allows users to choose between Premium and Standard membership plans.

Key changes include:

*   **New VIP Selection UI:**
    *   `VipSelPage.kt`: Implements the UI for selecting VIP plans, displaying prices, and benefits.
    *   `SelfProfileAction.kt`: Updated to include a "Rave Premium" button alongside "Edit Profile".
*   **Data Models for Membership:**
    *   `MembershipModels.kt`: Defines data classes for membership configuration (`MembershipConfigData`, `ConfigData`, `Member`, `Benefit`, `Good`), price models (`VipPriceModel`), page data models (`VipPageDataModel`), and request bodies (`ValidateProductRequestBody`, `ValidateData`).
    *   `VipModelMapper`: Provides functions to transform backend data into UI-friendly models for price and benefit display.
*   **API Integration:**
    *   `RiderProAPI.kt`: Added new endpoints `getMembershipConfig` to fetch membership details and `validateAndroidProduct` for product validation.
*   **Navigation:**
    *   `Navi.kt`: Added `VipSelPage` to the navigation routes.
    *   `ProfileV3.kt`: The "Rave Premium" button in the self profile action now navigates to the `VipSelPage`.
*   **Theming:**
    *   `Colors.kt`: Added new color definitions for premium buttons, VIP benefit highlighting, and price card states (selected/unselected).
*   **Assets:**
    *   `ic_member.webp`: New icon for the "Rave Premium" button.
2025-08-31 22:17:20 +08:00
..
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-12-07 17:14:45 +08:00
2024-12-07 17:14:45 +08:00
2024-12-07 17:14:45 +08:00
2025-07-23 19:07:29 +08:00
2024-12-07 17:14:45 +08:00
2024-12-07 17:14:45 +08:00
2024-07-15 08:50:10 +08:00
2024-10-13 03:28:57 +08:00
2024-06-27 11:47:05 +08:00
2024-06-22 04:25:20 +08:00
2024-09-14 23:27:44 +08:00
2024-09-13 23:20:38 +08:00
2024-09-13 23:20:38 +08:00
2024-07-13 17:41:51 +08:00
2025-07-23 19:07:29 +08:00
2025-07-23 19:07:29 +08:00
2024-06-22 04:25:20 +08:00
2024-08-23 18:31:14 +08:00
2024-07-19 10:05:06 +08:00
2024-06-22 04:25:20 +08:00
2024-06-27 11:47:05 +08:00
2024-08-28 23:38:29 +08:00
2024-06-22 04:25:20 +08:00
2024-06-27 11:47:05 +08:00
2024-07-19 10:05:06 +08:00
2024-07-19 10:05:06 +08:00
2024-10-13 05:03:34 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-07-14 10:51:26 +08:00
2024-06-22 04:25:20 +08:00
2024-07-15 08:50:10 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-09-10 18:03:22 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2025-07-23 19:07:29 +08:00
2025-07-23 19:07:29 +08:00
2025-08-06 18:14:36 +08:00
2024-06-22 04:25:20 +08:00
2024-07-19 15:24:11 +08:00
2025-07-23 19:07:29 +08:00
2025-07-23 19:07:29 +08:00
2024-07-13 18:08:40 +08:00
2025-07-23 19:07:29 +08:00
2025-07-23 19:07:29 +08:00
2024-07-13 17:41:51 +08:00
2025-07-23 19:07:29 +08:00
2024-07-15 08:50:10 +08:00
2024-06-22 04:25:20 +08:00
2024-07-19 10:05:06 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-09-13 23:20:38 +08:00
2024-07-15 10:30:56 +08:00
2024-09-15 09:16:53 +08:00
2024-07-15 08:50:10 +08:00
2024-07-13 22:30:34 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-06-22 04:25:20 +08:00
2024-07-12 04:36:03 +08:00
2024-07-12 04:36:03 +08:00
2024-07-12 04:36:03 +08:00
2024-07-12 04:36:03 +08:00
2024-07-19 10:05:06 +08:00
2024-07-12 04:36:03 +08:00
2024-07-12 04:36:03 +08:00