diff --git a/pages.json b/pages.json index 5707ae6dd2b5926de2734a4402a7c62c7ffdbc3e..3bee92015f13fd37bbef4238f5ac82ed6ee55aef 100644 --- a/pages.json +++ b/pages.json @@ -416,6 +416,16 @@ "style": { "navigationBarTitleText": "text-decoration-line" } + },{ + "path": "pages/CSS/transition/transition", + "style": { + "navigationBarTitleText": "Transition" + } + },{ + "path": "pages/CSS/transform/transform", + "style": { + "navigationBarTitleText": "Transform" + } }, { "path": "pages/API/request/request", "style": { @@ -486,6 +496,13 @@ "enablePullDownRefresh": false } + }, { + "path": "pages/API/preview-image/preview-image", + "style": { + "navigationBarTitleText": "图片预览", + "enablePullDownRefresh": false + } + } ], "globalStyle": { diff --git a/pages/API/preview-image/preview-image.uvue b/pages/API/preview-image/preview-image.uvue new file mode 100644 index 0000000000000000000000000000000000000000..91d94059924b80fd96793a6635673c7afd219944 --- /dev/null +++ b/pages/API/preview-image/preview-image.uvue @@ -0,0 +1,111 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/transform/transform.uvue b/pages/CSS/transform/transform.uvue new file mode 100644 index 0000000000000000000000000000000000000000..284581d60d2f835c351972b9ce50f07a225ab8df --- /dev/null +++ b/pages/CSS/transform/transform.uvue @@ -0,0 +1,36 @@ + + + + + \ No newline at end of file diff --git a/pages/CSS/transition/transition.uvue b/pages/CSS/transition/transition.uvue new file mode 100644 index 0000000000000000000000000000000000000000..b79445df65cb11a7b0b20cd08e49f54a28a6e190 --- /dev/null +++ b/pages/CSS/transition/transition.uvue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/pages/tabBar/API/API.uvue b/pages/tabBar/API/API.uvue index 49b6784c39b16836c90a47a661a0d16d32e3ca13..3e0b1cc58cceda39d5306df4ad4851c7fdd2da5f 100644 --- a/pages/tabBar/API/API.uvue +++ b/pages/tabBar/API/API.uvue @@ -270,6 +270,11 @@ name: "图片", url: "image", }, + { + name: "图片预览", + url: "preview-image", + enable: true + }, // #ifndef MP-LARK { name: "音频", diff --git a/pages/tabBar/CSS/CSS.uvue b/pages/tabBar/CSS/CSS.uvue index 50b2d72417f0bc648e8d80e1a7e724796c3f3436..4cde75639b70d740422c56757df59003b83d055e 100644 --- a/pages/tabBar/CSS/CSS.uvue +++ b/pages/tabBar/CSS/CSS.uvue @@ -5,19 +5,16 @@ uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见: - + {{item.name}} - + - {{page.name}} + {{page.name}} @@ -298,6 +295,22 @@ url: 'pages/CSS/text/text-decoration-line' } ] as Page[] + }, { + id: 'animate', + name: '动画', + open: false, + pages: [ + { + name: 'transition', + enable: true, + url: 'pages/CSS/transition/transition' + }, + { + name: 'transform', + enable: true, + url: 'pages/CSS/transform/transform' + } + ] as Page[] } ] as ListItem[], arrowUpIcon: '/static/icons/arrow-up.png',