diff --git a/document/common/config/menu.json b/document/common/config/menu.json index f0950e85a..c1fdf6f4e 100644 --- a/document/common/config/menu.json +++ b/document/common/config/menu.json @@ -2,7 +2,6 @@ "en-US": { "overview": { "name": "Overview", - "isRootActive": false, "subList": { "introduction": "Introduction", "quick-start": "QuickStart", @@ -13,7 +12,6 @@ }, "components": { "name": "Components", - "isRootActive": false, "subList": { "basic": { "name": "Basic", @@ -134,7 +132,6 @@ }, "modules": { "name": "模块", - "isRootActive": false, "angle": "03", "subList": { "style": "style", diff --git a/document/components/display/display.vue b/document/components/display/display.vue index f7a4dacf1..2033c0edb 100644 --- a/document/components/display/display.vue +++ b/document/components/display/display.vue @@ -40,19 +40,20 @@ position: relative .display-wrapper position: absolute - width: 348px - height: 756px + width: 330px + height: 645px top: 50% left: 50% transform: translate(-50%, -50%) - background: url("./phone.png") no-repeat + background: url("./iphoneX.png") no-repeat background-size: cover .mofang-demo position: absolute - top: 104px - left: 14px - right: 14px - height: 550px - border-radius: 4px - background-color: $color-white + top: 64px + left: 22px + right: 22px + bottom: 36px + overflow: hidden + border-radius: 0 0 35px 35px + background-color: #edf0f4 diff --git a/document/components/display/iphoneX.png b/document/components/display/iphoneX.png new file mode 100644 index 000000000..26793a8de Binary files /dev/null and b/document/components/display/iphoneX.png differ diff --git a/document/components/index/index.vue b/document/components/index/index.vue index 395e81fda..65e6d7d59 100644 --- a/document/components/index/index.vue +++ b/document/components/index/index.vue @@ -50,25 +50,17 @@