提交 4799a417 编写于 作者: W wanganxp

css tabbar页面里的路径前加/

上级 9b43bb04
...@@ -60,23 +60,23 @@ ...@@ -60,23 +60,23 @@
pages: [ pages: [
{ {
name: 'border', name: 'border',
url: 'pages/CSS/border/border' url: '/pages/CSS/border/border'
}, },
{ {
name: 'border-width', name: 'border-width',
url: 'pages/CSS/border/border-width' url: '/pages/CSS/border/border-width'
}, },
{ {
name: 'border-style', name: 'border-style',
url: 'pages/CSS/border/border-style' url: '/pages/CSS/border/border-style'
}, },
{ {
name: 'border-color', name: 'border-color',
url: 'pages/CSS/border/border-color' url: '/pages/CSS/border/border-color'
}, },
{ {
name: 'border-radius', name: 'border-radius',
url: 'pages/CSS/border/border-radius' url: '/pages/CSS/border/border-radius'
} }
] as Page[] ] as Page[]
}, { }, {
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
pages: [ pages: [
{ {
name: 'box-shadow', name: 'box-shadow',
url: 'pages/CSS/box-shadow/box-shadow' url: '/pages/CSS/box-shadow/box-shadow'
}, },
] as Page[] ] as Page[]
}, { }, {
...@@ -96,39 +96,39 @@ ...@@ -96,39 +96,39 @@
pages: [ pages: [
{ {
name: 'align-content', name: 'align-content',
url: 'pages/CSS/flex/align-content' url: '/pages/CSS/flex/align-content'
}, },
{ {
name: 'align-items', name: 'align-items',
url: 'pages/CSS/flex/align-items' url: '/pages/CSS/flex/align-items'
}, },
{ {
name: 'flex-basis', name: 'flex-basis',
url: 'pages/CSS/flex/flex-basis' url: '/pages/CSS/flex/flex-basis'
}, },
{ {
name: 'flex-direction', name: 'flex-direction',
url: 'pages/CSS/flex/flex-direction' url: '/pages/CSS/flex/flex-direction'
}, },
{ {
name: 'flex-flow', name: 'flex-flow',
url: 'pages/CSS/flex/flex-flow' url: '/pages/CSS/flex/flex-flow'
}, },
{ {
name: 'flex-grow', name: 'flex-grow',
url: 'pages/CSS/flex/flex-grow' url: '/pages/CSS/flex/flex-grow'
}, },
{ {
name: 'flex-shrink', name: 'flex-shrink',
url: 'pages/CSS/flex/flex-shrink' url: '/pages/CSS/flex/flex-shrink'
}, },
{ {
name: 'flex', name: 'flex',
url: 'pages/CSS/flex/flex' url: '/pages/CSS/flex/flex'
}, },
{ {
name: 'justify-content', name: 'justify-content',
url: 'pages/CSS/flex/justify-content' url: '/pages/CSS/flex/justify-content'
} }
] as Page[] ] as Page[]
}, { }, {
...@@ -138,31 +138,31 @@ ...@@ -138,31 +138,31 @@
pages: [ pages: [
{ {
name: 'height', name: 'height',
url: 'pages/CSS/layout/height' url: '/pages/CSS/layout/height'
}, },
{ {
name: 'max-height', name: 'max-height',
url: 'pages/CSS/layout/max-height' url: '/pages/CSS/layout/max-height'
}, },
{ {
name: 'max-width', name: 'max-width',
url: 'pages/CSS/layout/max-width' url: '/pages/CSS/layout/max-width'
}, },
{ {
name: 'min-height', name: 'min-height',
url: 'pages/CSS/layout/min-height' url: '/pages/CSS/layout/min-height'
}, },
{ {
name: 'min-width', name: 'min-width',
url: 'pages/CSS/layout/min-width' url: '/pages/CSS/layout/min-width'
}, },
{ {
name: 'position', name: 'position',
url: 'pages/CSS/layout/position' url: '/pages/CSS/layout/position'
}, },
{ {
name: 'width', name: 'width',
url: 'pages/CSS/layout/width' url: '/pages/CSS/layout/width'
} }
] as Page[] ] as Page[]
}, { }, {
...@@ -172,22 +172,22 @@ ...@@ -172,22 +172,22 @@
pages: [ pages: [
{ {
name: 'margin-bottom', name: 'margin-bottom',
url: 'pages/CSS/margin/margin-bottom' url: '/pages/CSS/margin/margin-bottom'
}, },
{ {
name: 'margin-left', name: 'margin-left',
url: 'pages/CSS/margin/margin-left' url: '/pages/CSS/margin/margin-left'
}, },
{ {
name: 'margin-right', name: 'margin-right',
url: 'pages/CSS/margin/margin-right' url: '/pages/CSS/margin/margin-right'
}, },
{ {
name: 'margin-top', name: 'margin-top',
url: 'pages/CSS/margin/margin-top' url: '/pages/CSS/margin/margin-top'
}, { }, {
name: 'margin', name: 'margin',
url: 'pages/CSS/margin/margin' url: '/pages/CSS/margin/margin'
} }
] as Page[] ] as Page[]
}, { }, {
...@@ -197,22 +197,22 @@ ...@@ -197,22 +197,22 @@
pages: [ pages: [
{ {
name: 'padding-bottom', name: 'padding-bottom',
url: 'pages/CSS/padding/padding-bottom' url: '/pages/CSS/padding/padding-bottom'
}, },
{ {
name: 'padding-left', name: 'padding-left',
url: 'pages/CSS/padding/padding-left' url: '/pages/CSS/padding/padding-left'
}, },
{ {
name: 'padding-right', name: 'padding-right',
url: 'pages/CSS/padding/padding-right' url: '/pages/CSS/padding/padding-right'
}, },
{ {
name: 'padding-top', name: 'padding-top',
url: 'pages/CSS/padding/padding-top' url: '/pages/CSS/padding/padding-top'
}, { }, {
name: 'padding', name: 'padding',
url: 'pages/CSS/padding/padding' url: '/pages/CSS/padding/padding'
} }
] as Page[] ] as Page[]
}, { }, {
...@@ -222,35 +222,35 @@ ...@@ -222,35 +222,35 @@
pages: [ pages: [
{ {
name: 'color', name: 'color',
url: 'pages/CSS/text/color' url: '/pages/CSS/text/color'
}, },
{ {
name: 'font-family', name: 'font-family',
url: 'pages/CSS/text/font-family' url: '/pages/CSS/text/font-family'
}, },
{ {
name: 'font-size', name: 'font-size',
url: 'pages/CSS/text/font-size' url: '/pages/CSS/text/font-size'
}, },
{ {
name: 'font-style', name: 'font-style',
url: 'pages/CSS/text/font-style' url: '/pages/CSS/text/font-style'
}, },
{ {
name: 'font-weight', name: 'font-weight',
url: 'pages/CSS/text/font-weight' url: '/pages/CSS/text/font-weight'
}, },
{ {
name: 'line-height', name: 'line-height',
url: 'pages/CSS/text/line-height' url: '/pages/CSS/text/line-height'
}, },
{ {
name: 'text-align', name: 'text-align',
url: 'pages/CSS/text/text-align' url: '/pages/CSS/text/text-align'
}, },
{ {
name: 'text-decoration-line', name: 'text-decoration-line',
url: 'pages/CSS/text/text-decoration-line' url: '/pages/CSS/text/text-decoration-line'
} }
] as Page[] ] as Page[]
}, { }, {
...@@ -260,11 +260,11 @@ ...@@ -260,11 +260,11 @@
pages: [ pages: [
{ {
name: 'transition', name: 'transition',
url: 'pages/CSS/transition/transition' url: '/pages/CSS/transition/transition'
}, },
{ {
name: 'transform', name: 'transform',
url: 'pages/CSS/transform/transform' url: '/pages/CSS/transform/transform'
} }
] as Page[] ] as Page[]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册