Skip to content

Commit cb565cd

Browse files
authored
Merge pull request #89 from kne-union/linzp
修改example page样式
2 parents 746e72a + d962bdf commit cb565cd

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kne/modules-dev",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "用于辅助在项目内启动一个规范化组件开发的环境",
55
"publishConfig": {
66
"source": "src/index.js",

src/ExamplePage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const ExamplePage = createWithRemoteLoader({
7373
modules: ["components-core:Layout@Page", "components-core:Layout@Menu", "components-core:Global@useGlobalContext"]
7474
})(({remoteModules, data, current, items, pageProps = {}}) => {
7575
const [Page, Menu] = remoteModules;
76-
return <Page title={data.name}
76+
return <Page title={data.name} className={style['example-page']}
7777
menu={items && items.length > 0 && <Menu currentKey={current} items={items}/>} {...pageProps}>
7878
<ExampleContent data={data}/>
7979
</Page>

src/example.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,7 @@
7575
.part-title {
7676
margin-top: 30px;
7777
}
78+
79+
.example-page {
80+
background: #FFFFFF;
81+
}

0 commit comments

Comments
 (0)