diff --git a/pages.json b/pages.json index 31fff2aac8449984c7a77cd791ca93c429be445a..a4fb425b5f2a515abfc37ed7319108ec156a8d88 100644 --- a/pages.json +++ b/pages.json @@ -108,6 +108,12 @@ "style": { "navigationBarTitleText": "image-path" } + }, + { + "path": "pages/component/image/image-large", + "style": { + "navigationBarTitleText": "image-large" + } }, { "path": "pages/component/web-view/web-view", diff --git a/pages/component/image/image-large.uvue b/pages/component/image/image-large.uvue new file mode 100644 index 0000000000000000000000000000000000000000..2c76cdeb005a3eef980cf626bb330a396ca27fbc --- /dev/null +++ b/pages/component/image/image-large.uvue @@ -0,0 +1,41 @@ + + + + + \ No newline at end of file diff --git a/pages/component/image/image.uvue b/pages/component/image/image.uvue index de72914fe37ffdaafa1d89fea43cff078f7db68a..8e7c6b17ad950d218027443efba68f85bc46cd38 100644 --- a/pages/component/image/image.uvue +++ b/pages/component/image/image.uvue @@ -14,6 +14,9 @@ + + + @@ -46,6 +49,11 @@ uni.navigateTo({ url: '/pages/component/image/image-path' }); + }, + imageLarge() { + uni.navigateTo({ + url: '/pages/component/image/image-large' + }); } } }