Pages

Updated at:
Copy as MD

When you edit a mobile application, you can add or delete pages, and modify page configurations and navigation. For example, you can set a unique background for each page in the application.

Edit pages

  1. In the mobile application editor, click the Pages icon 页面 on the left.

  2. On the Pages tab, click the New icon 添加 on the right.

  3. In the New Page dialog box, select a page template and click Confirm.

  4. On the canvas in the center, click a blank area of the page. Then, configure the page in the configuration pane on the right.

    Configuration item

    Description

    Set as home page

    Select this check box to set the current page as the home page.

    Show top navigation bar on page

    This check box is selected by default. You can configure the style of the top navigation bar and the back feature for the current page. For more information, see Configure the top navigation bar.

    If you clear the check box, the top navigation bar is no longer displayed on the page.

    Show bottom navigation bar on page

    The bottom navigation bar is hidden by default.

    If you select this check box, you can add a horizontal navigation bar at the bottom of the page to switch between pages. For more information, see Configure the bottom navigation bar.

    Logon-free access

    If application account authentication is enabled, select this check box to allow access to this page without logging in.

    Access restrictions

    If application account authentication is enabled, you can select the Access restrictions check box. To use this feature, an administrator must configure the roles that can access this page in the operations console. For more information, see Accounts.

    Background color

    Select a color to use as the background for the current page.

    Note

    Set either a background color or a background image.

    Background image

    Upload a local image to use as the background for the current page.

  5. (Optional) In the list of pages, click the Edit icon 编辑 next to a page to update its title.

    The page title is also displayed as the title of the top navigation bar.

  6. (Optional) In the list of pages, click the Delete icon 删除 next to a page to delete it.

    Important

    This operation cannot be undone. Deleted pages cannot be recovered. Proceed with caution.

Configure the top navigation bar

  1. In the configuration pane on the right, click Configure Application Navigation.

  2. On the Top Navigation Bar tab, use the configuration panel to set the navigation style and features.

    Configuration item

    Description

    Global configuration

    Set the display style for the navigation bars on all pages in the application. This includes the background color and the default colors for the title and the back button.

    Page configuration

    Select or clear the Show top navigation bar and Back feature check boxes.

    If you select Back feature, a back button appears on the left side of the top navigation bar. You can set the Back mode and whether to Show back text.

    Note

    If you clear the Show top navigation bar check box here, the Back feature is hidden. The Show top navigation bar on page check box in the page configuration is also automatically cleared.

Configure the bottom navigation bar

  1. In the configuration pane on the right, click Configure Application Navigation.

  2. Click the Bottom Navigation Bar tab and use the configuration panel to set the navigation style.

    Configuration item

    Description

    Global configuration

    Set the style of the bottom navigation bar. This includes the background color, the default colors for selected and unselected options, and the display style.

    Three display styles are supported: Text, Icon, and Icon + Text.

    Navigation configuration

    The configuration panel displays the navigation menu for the existing pages in the application. You can add new menu items or modify existing ones.

    • Add a navigation menu item

      Click Add Navigation to add a menu item and set its parameters.

      Note

      The bottom navigation menu supports a maximum of six items.

    • Edit an existing navigation menu item

      Hover the mouse pointer over the menu item that you want to configure. You can perform the following operations:

      • Click 设置 to set the parameters for the menu item, including its Display Name, Navigation Icon, and Target Link.

      • Click 删除 to delete the menu item.

      • Drag the menu item to reorder it.

    Page configuration

    Select or clear the Show bottom navigation bar check box.

    Note

    If you clear the Show bottom navigation bar check box here, the Show bottom navigation bar on page check box in the page configuration is also automatically cleared.