Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support pha cross slide container #4059

Merged
merged 14 commits into from
Feb 19, 2021
Merged

feat: support pha cross slide container #4059

merged 14 commits into from
Feb 19, 2021

Conversation

SoloJiang
Copy link
Collaborator

@SoloJiang SoloJiang commented Jan 27, 2021

多页模式支持 PHA 横滑容器相关配置 raxjs/rax-app#594 :

{
  "routes": [{
     "pageHeader": {
        "source": "pages/TabHeader/index",
        "height": 100,
        "position": "absolute"
      },
      "frames:": [{
           "source": "pages/Home/index"
        }, {
           "source": "pages/About/index"
        }, {
           "source": "pages/Detail/index"
        }]
      }
    ]
}

@delete-merged-branch delete-merged-branch bot deleted the branch master January 27, 2021 05:58
@SoloJiang SoloJiang changed the base branch from release/next to master January 27, 2021 07:40
}
module.exports = ({ name, source }) => {
if (name) return name;
return source.match(/pages\/([^/]*)/)[1].toLocaleLowerCase();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

得保护一下

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不应该改变大小写

Copy link
Collaborator

@wssgcg1213 wssgcg1213 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@SoloJiang SoloJiang merged commit c935999 into master Feb 19, 2021
@delete-merged-branch delete-merged-branch bot deleted the feat/pha-frames branch February 19, 2021 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants