From 9c9f75e34c74a3519cd2c054ea9695472c1e22b8 Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Wed, 28 Jun 2023 10:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ECSS=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 268 +++++++++++++++- pages/CSS/background/background-color.uvue | 39 +++ pages/CSS/background/background-image.uvue | 19 ++ pages/CSS/border/border-color.uvue | 40 +++ pages/CSS/border/border-radius.uvue | 40 +++ pages/CSS/border/border-style.uvue | 40 +++ pages/CSS/border/border-width.uvue | 40 +++ pages/CSS/border/border.uvue | 20 ++ pages/CSS/box-shadow/box-shadow.uvue | 103 ++++++ pages/CSS/flex/align-content.uvue | 89 ++++++ pages/CSS/flex/align-items.uvue | 52 ++++ pages/CSS/flex/flex-basis.uvue | 28 ++ pages/CSS/flex/flex-direction.uvue | 51 +++ pages/CSS/flex/flex-flow.uvue | 63 ++++ pages/CSS/flex/flex-grow.uvue | 31 ++ pages/CSS/flex/flex-shrink.uvue | 31 ++ pages/CSS/flex/flex.uvue | 51 +++ pages/CSS/flex/justify-content.uvue | 61 ++++ pages/CSS/layout/height.uvue | 24 ++ pages/CSS/layout/max-height.uvue | 24 ++ pages/CSS/layout/max-width.uvue | 24 ++ pages/CSS/layout/min-height.uvue | 24 ++ pages/CSS/layout/min-width.uvue | 24 ++ pages/CSS/layout/position.uvue | 70 +++++ pages/CSS/layout/width.uvue | 24 ++ pages/CSS/margin/margin-bottom.uvue | 32 ++ pages/CSS/margin/margin-left.uvue | 32 ++ pages/CSS/margin/margin-right.uvue | 32 ++ pages/CSS/margin/margin-top.uvue | 32 ++ pages/CSS/margin/margin.uvue | 32 ++ pages/CSS/padding/padding-bottom.uvue | 29 ++ pages/CSS/padding/padding-left.uvue | 29 ++ pages/CSS/padding/padding-right.uvue | 29 ++ pages/CSS/padding/padding-top.uvue | 29 ++ pages/CSS/padding/padding.uvue | 29 ++ pages/CSS/text/color.uvue | 21 ++ pages/CSS/text/font-family.uvue | 18 ++ pages/CSS/text/font-size.uvue | 15 + pages/CSS/text/font-style.uvue | 18 ++ pages/CSS/text/font-weight.uvue | 20 ++ pages/CSS/text/line-height.uvue | 19 ++ pages/CSS/text/text-align.uvue | 20 ++ pages/CSS/text/text-decoration-line.uvue | 18 ++ pages/tabBar/CSS/CSS.uvue | 346 +++++++++++++++++++++ 44 files changed, 2078 insertions(+), 2 deletions(-) create mode 100644 pages/CSS/background/background-color.uvue create mode 100644 pages/CSS/background/background-image.uvue create mode 100644 pages/CSS/border/border-color.uvue create mode 100644 pages/CSS/border/border-radius.uvue create mode 100644 pages/CSS/border/border-style.uvue create mode 100644 pages/CSS/border/border-width.uvue create mode 100644 pages/CSS/border/border.uvue create mode 100644 pages/CSS/box-shadow/box-shadow.uvue create mode 100644 pages/CSS/flex/align-content.uvue create mode 100644 pages/CSS/flex/align-items.uvue create mode 100644 pages/CSS/flex/flex-basis.uvue create mode 100644 pages/CSS/flex/flex-direction.uvue create mode 100644 pages/CSS/flex/flex-flow.uvue create mode 100644 pages/CSS/flex/flex-grow.uvue create mode 100644 pages/CSS/flex/flex-shrink.uvue create mode 100644 pages/CSS/flex/flex.uvue create mode 100644 pages/CSS/flex/justify-content.uvue create mode 100644 pages/CSS/layout/height.uvue create mode 100644 pages/CSS/layout/max-height.uvue create mode 100644 pages/CSS/layout/max-width.uvue create mode 100644 pages/CSS/layout/min-height.uvue create mode 100644 pages/CSS/layout/min-width.uvue create mode 100644 pages/CSS/layout/position.uvue create mode 100644 pages/CSS/layout/width.uvue create mode 100644 pages/CSS/margin/margin-bottom.uvue create mode 100644 pages/CSS/margin/margin-left.uvue create mode 100644 pages/CSS/margin/margin-right.uvue create mode 100644 pages/CSS/margin/margin-top.uvue create mode 100644 pages/CSS/margin/margin.uvue create mode 100644 pages/CSS/padding/padding-bottom.uvue create mode 100644 pages/CSS/padding/padding-left.uvue create mode 100644 pages/CSS/padding/padding-right.uvue create mode 100644 pages/CSS/padding/padding-top.uvue create mode 100644 pages/CSS/padding/padding.uvue create mode 100644 pages/CSS/text/color.uvue create mode 100644 pages/CSS/text/font-family.uvue create mode 100644 pages/CSS/text/font-size.uvue create mode 100644 pages/CSS/text/font-style.uvue create mode 100644 pages/CSS/text/font-weight.uvue create mode 100644 pages/CSS/text/line-height.uvue create mode 100644 pages/CSS/text/text-align.uvue create mode 100644 pages/CSS/text/text-decoration-line.uvue create mode 100644 pages/tabBar/CSS/CSS.uvue diff --git a/pages.json b/pages.json index b355c349..214d8bbc 100644 --- a/pages.json +++ b/pages.json @@ -137,7 +137,265 @@ "style": { "navigationBarTitleText": "退出应用" } - } + }, + { + "path": "pages/tabBar/CSS/CSS", + "style": { + "navigationBarTitleText": "CSS" + } + }, + { + "path": "pages/CSS/background/background-color", + "style": { + "navigationBarTitleText": "background-color" + } + }, + { + "path": "pages/CSS/background/background-image", + "style": { + "navigationBarTitleText": "background-image" + } + }, + { + "path": "pages/CSS/border/border-color", + "style": { + "navigationBarTitleText": "border-color" + } + }, + { + "path": "pages/CSS/border/border-radius", + "style": { + "navigationBarTitleText": "border-radius" + } + }, + { + "path": "pages/CSS/border/border-style", + "style": { + "navigationBarTitleText": "border-style" + } + }, + { + "path": "pages/CSS/border/border-width", + "style": { + "navigationBarTitleText": "border-width" + } + }, + { + "path": "pages/CSS/border/border", + "style": { + "navigationBarTitleText": "border" + } + }, + { + "path": "pages/CSS/box-shadow/box-shadow", + "style": { + "navigationBarTitleText": "box-shadow" + } + }, + { + "path": "pages/CSS/flex/align-content", + "style": { + "navigationBarTitleText": "align-content" + } + }, + { + "path": "pages/CSS/flex/align-items", + "style": { + "navigationBarTitleText": "align-items" + } + }, + { + "path": "pages/CSS/flex/flex-basis", + "style": { + "navigationBarTitleText": "flex-basis" + } + }, + { + "path": "pages/CSS/flex/flex-direction", + "style": { + "navigationBarTitleText": "flex-direction" + } + }, + { + "path": "pages/CSS/flex/flex-flow", + "style": { + "navigationBarTitleText": "flex-flow" + } + }, + { + "path": "pages/CSS/flex/flex-grow", + "style": { + "navigationBarTitleText": "flex-grow" + } + }, + { + "path": "pages/CSS/flex/flex-shrink", + "style": { + "navigationBarTitleText": "flex-shrink" + } + }, + { + "path": "pages/CSS/flex/flex", + "style": { + "navigationBarTitleText": "flex" + } + }, + { + "path": "pages/CSS/flex/justify-content", + "style": { + "navigationBarTitleText": "justify-content" + } + }, + { + "path": "pages/CSS/layout/height", + "style": { + "navigationBarTitleText": "height" + } + }, + { + "path": "pages/CSS/layout/max-height", + "style": { + "navigationBarTitleText": "max-height" + } + }, + { + "path": "pages/CSS/layout/max-width", + "style": { + "navigationBarTitleText": "max-width" + } + }, + { + "path": "pages/CSS/layout/min-height", + "style": { + "navigationBarTitleText": "min-height" + } + }, + { + "path": "pages/CSS/layout/min-width", + "style": { + "navigationBarTitleText": "min-width" + } + }, + { + "path": "pages/CSS/layout/position", + "style": { + "navigationBarTitleText": "position" + } + }, + { + "path": "pages/CSS/layout/width", + "style": { + "navigationBarTitleText": "width" + } + }, + { + "path": "pages/CSS/margin/margin-bottom", + "style": { + "navigationBarTitleText": "margin-bottom" + } + }, + { + "path": "pages/CSS/margin/margin-left", + "style": { + "navigationBarTitleText": "margin-left" + } + }, + { + "path": "pages/CSS/margin/margin-right", + "style": { + "navigationBarTitleText": "margin-right" + } + }, + { + "path": "pages/CSS/margin/margin-top", + "style": { + "navigationBarTitleText": "margin-top" + } + }, + { + "path": "pages/CSS/margin/margin", + "style": { + "navigationBarTitleText": "margin" + } + }, + { + "path": "pages/CSS/padding/padding-bottom", + "style": { + "navigationBarTitleText": "padding-bottom" + } + }, + { + "path": "pages/CSS/padding/padding-left", + "style": { + "navigationBarTitleText": "padding-left" + } + }, + { + "path": "pages/CSS/padding/padding-right", + "style": { + "navigationBarTitleText": "padding-right" + } + }, + { + "path": "pages/CSS/padding/padding-top", + "style": { + "navigationBarTitleText": "padding-top" + } + }, + { + "path": "pages/CSS/padding/padding", + "style": { + "navigationBarTitleText": "padding" + } + }, + { + "path": "pages/CSS/text/color", + "style": { + "navigationBarTitleText": "color" + } + }, + { + "path": "pages/CSS/text/font-family", + "style": { + "navigationBarTitleText": "font-family" + } + }, + { + "path": "pages/CSS/text/font-size", + "style": { + "navigationBarTitleText": "font-size" + } + }, + { + "path": "pages/CSS/text/font-style", + "style": { + "navigationBarTitleText": "font-style" + } + }, + { + "path": "pages/CSS/text/font-weight", + "style": { + "navigationBarTitleText": "font-weight" + } + }, + { + "path": "pages/CSS/text/line-height", + "style": { + "navigationBarTitleText": "line-height" + } + }, + { + "path": "pages/CSS/text/text-align", + "style": { + "navigationBarTitleText": "text-align" + } + }, + { + "path": "pages/CSS/text/text-decoration-line", + "style": { + "navigationBarTitleText": "text-decoration-line" + } + } ], "globalStyle": { "pageOrientation": "portrait", @@ -169,7 +427,13 @@ "iconPath": "static/api.png", "selectedIconPath": "static/apiHL.png", "text": "接口" - } + }, + { + "pagePath": "pages/tabBar/CSS/CSS", + "iconPath": "static/extui.png", + "selectedIconPath": "static/extuiHL.png", + "text": "CSS" + } ] }, "uniIdRouter": {}, diff --git a/pages/CSS/background/background-color.uvue b/pages/CSS/background/background-color.uvue new file mode 100644 index 00000000..36c63c44 --- /dev/null +++ b/pages/CSS/background/background-color.uvue @@ -0,0 +1,39 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/background/background-image.uvue b/pages/CSS/background/background-image.uvue new file mode 100644 index 00000000..a2304125 --- /dev/null +++ b/pages/CSS/background/background-image.uvue @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/border/border-color.uvue b/pages/CSS/border/border-color.uvue new file mode 100644 index 00000000..ae03864d --- /dev/null +++ b/pages/CSS/border/border-color.uvue @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/border/border-radius.uvue b/pages/CSS/border/border-radius.uvue new file mode 100644 index 00000000..35447a38 --- /dev/null +++ b/pages/CSS/border/border-radius.uvue @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/border/border-style.uvue b/pages/CSS/border/border-style.uvue new file mode 100644 index 00000000..6420c850 --- /dev/null +++ b/pages/CSS/border/border-style.uvue @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/border/border-width.uvue b/pages/CSS/border/border-width.uvue new file mode 100644 index 00000000..40005a13 --- /dev/null +++ b/pages/CSS/border/border-width.uvue @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/border/border.uvue b/pages/CSS/border/border.uvue new file mode 100644 index 00000000..e20202b1 --- /dev/null +++ b/pages/CSS/border/border.uvue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/box-shadow/box-shadow.uvue b/pages/CSS/box-shadow/box-shadow.uvue new file mode 100644 index 00000000..7fac0af3 --- /dev/null +++ b/pages/CSS/box-shadow/box-shadow.uvue @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/align-content.uvue b/pages/CSS/flex/align-content.uvue new file mode 100644 index 00000000..af2c2055 --- /dev/null +++ b/pages/CSS/flex/align-content.uvue @@ -0,0 +1,89 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/align-items.uvue b/pages/CSS/flex/align-items.uvue new file mode 100644 index 00000000..d52d1b0a --- /dev/null +++ b/pages/CSS/flex/align-items.uvue @@ -0,0 +1,52 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/flex-basis.uvue b/pages/CSS/flex/flex-basis.uvue new file mode 100644 index 00000000..f94abb3f --- /dev/null +++ b/pages/CSS/flex/flex-basis.uvue @@ -0,0 +1,28 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/flex-direction.uvue b/pages/CSS/flex/flex-direction.uvue new file mode 100644 index 00000000..c7e3afc3 --- /dev/null +++ b/pages/CSS/flex/flex-direction.uvue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/flex-flow.uvue b/pages/CSS/flex/flex-flow.uvue new file mode 100644 index 00000000..7a021ff3 --- /dev/null +++ b/pages/CSS/flex/flex-flow.uvue @@ -0,0 +1,63 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/flex-grow.uvue b/pages/CSS/flex/flex-grow.uvue new file mode 100644 index 00000000..e40fa97a --- /dev/null +++ b/pages/CSS/flex/flex-grow.uvue @@ -0,0 +1,31 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/flex-shrink.uvue b/pages/CSS/flex/flex-shrink.uvue new file mode 100644 index 00000000..04d5431d --- /dev/null +++ b/pages/CSS/flex/flex-shrink.uvue @@ -0,0 +1,31 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/flex.uvue b/pages/CSS/flex/flex.uvue new file mode 100644 index 00000000..87cf159f --- /dev/null +++ b/pages/CSS/flex/flex.uvue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/flex/justify-content.uvue b/pages/CSS/flex/justify-content.uvue new file mode 100644 index 00000000..74c78e44 --- /dev/null +++ b/pages/CSS/flex/justify-content.uvue @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/height.uvue b/pages/CSS/layout/height.uvue new file mode 100644 index 00000000..8f59d2e6 --- /dev/null +++ b/pages/CSS/layout/height.uvue @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/max-height.uvue b/pages/CSS/layout/max-height.uvue new file mode 100644 index 00000000..f4b93e55 --- /dev/null +++ b/pages/CSS/layout/max-height.uvue @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/max-width.uvue b/pages/CSS/layout/max-width.uvue new file mode 100644 index 00000000..97cb20c4 --- /dev/null +++ b/pages/CSS/layout/max-width.uvue @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/min-height.uvue b/pages/CSS/layout/min-height.uvue new file mode 100644 index 00000000..23cd6a6d --- /dev/null +++ b/pages/CSS/layout/min-height.uvue @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/min-width.uvue b/pages/CSS/layout/min-width.uvue new file mode 100644 index 00000000..ff75cacf --- /dev/null +++ b/pages/CSS/layout/min-width.uvue @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/position.uvue b/pages/CSS/layout/position.uvue new file mode 100644 index 00000000..bbfa86a1 --- /dev/null +++ b/pages/CSS/layout/position.uvue @@ -0,0 +1,70 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/layout/width.uvue b/pages/CSS/layout/width.uvue new file mode 100644 index 00000000..57107dbf --- /dev/null +++ b/pages/CSS/layout/width.uvue @@ -0,0 +1,24 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/margin/margin-bottom.uvue b/pages/CSS/margin/margin-bottom.uvue new file mode 100644 index 00000000..a5923a7e --- /dev/null +++ b/pages/CSS/margin/margin-bottom.uvue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/margin/margin-left.uvue b/pages/CSS/margin/margin-left.uvue new file mode 100644 index 00000000..c69c7af4 --- /dev/null +++ b/pages/CSS/margin/margin-left.uvue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/margin/margin-right.uvue b/pages/CSS/margin/margin-right.uvue new file mode 100644 index 00000000..82b6f637 --- /dev/null +++ b/pages/CSS/margin/margin-right.uvue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/margin/margin-top.uvue b/pages/CSS/margin/margin-top.uvue new file mode 100644 index 00000000..707acc5a --- /dev/null +++ b/pages/CSS/margin/margin-top.uvue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/margin/margin.uvue b/pages/CSS/margin/margin.uvue new file mode 100644 index 00000000..2e16deb2 --- /dev/null +++ b/pages/CSS/margin/margin.uvue @@ -0,0 +1,32 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/padding/padding-bottom.uvue b/pages/CSS/padding/padding-bottom.uvue new file mode 100644 index 00000000..c91e1605 --- /dev/null +++ b/pages/CSS/padding/padding-bottom.uvue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/padding/padding-left.uvue b/pages/CSS/padding/padding-left.uvue new file mode 100644 index 00000000..0e2c5147 --- /dev/null +++ b/pages/CSS/padding/padding-left.uvue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/padding/padding-right.uvue b/pages/CSS/padding/padding-right.uvue new file mode 100644 index 00000000..0f85586e --- /dev/null +++ b/pages/CSS/padding/padding-right.uvue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/padding/padding-top.uvue b/pages/CSS/padding/padding-top.uvue new file mode 100644 index 00000000..cd4257ed --- /dev/null +++ b/pages/CSS/padding/padding-top.uvue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/padding/padding.uvue b/pages/CSS/padding/padding.uvue new file mode 100644 index 00000000..474201bb --- /dev/null +++ b/pages/CSS/padding/padding.uvue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/color.uvue b/pages/CSS/text/color.uvue new file mode 100644 index 00000000..4922e321 --- /dev/null +++ b/pages/CSS/text/color.uvue @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/font-family.uvue b/pages/CSS/text/font-family.uvue new file mode 100644 index 00000000..5da9ff1d --- /dev/null +++ b/pages/CSS/text/font-family.uvue @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/font-size.uvue b/pages/CSS/text/font-size.uvue new file mode 100644 index 00000000..5d3ac909 --- /dev/null +++ b/pages/CSS/text/font-size.uvue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/font-style.uvue b/pages/CSS/text/font-style.uvue new file mode 100644 index 00000000..ba6225d2 --- /dev/null +++ b/pages/CSS/text/font-style.uvue @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/font-weight.uvue b/pages/CSS/text/font-weight.uvue new file mode 100644 index 00000000..1e8240a2 --- /dev/null +++ b/pages/CSS/text/font-weight.uvue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/line-height.uvue b/pages/CSS/text/line-height.uvue new file mode 100644 index 00000000..939dba79 --- /dev/null +++ b/pages/CSS/text/line-height.uvue @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/text-align.uvue b/pages/CSS/text/text-align.uvue new file mode 100644 index 00000000..cbcb5787 --- /dev/null +++ b/pages/CSS/text/text-align.uvue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/text/text-decoration-line.uvue b/pages/CSS/text/text-decoration-line.uvue new file mode 100644 index 00000000..029ccf1a --- /dev/null +++ b/pages/CSS/text/text-decoration-line.uvue @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/pages/tabBar/CSS/CSS.uvue b/pages/tabBar/CSS/CSS.uvue new file mode 100644 index 00000000..50b2d724 --- /dev/null +++ b/pages/tabBar/CSS/CSS.uvue @@ -0,0 +1,346 @@ + + + + + \ No newline at end of file -- GitLab