diff --git a/pages.json b/pages.json index 591e3e6349fefe1c2425d70a68bdaf4bc9dbb56f..3b43ed9f357bce4d3cd8aa016377f2527c55f4ff 100644 --- a/pages.json +++ b/pages.json @@ -354,18 +354,18 @@ "navigationBarTitleText": "box-shadow" } }, - { - "path" : "pages/CSS/display/flex", - "style" : { + { + "path": "pages/CSS/display/flex", + "style": { "navigationBarTitleText": "display:flex" } - }, - { - "path" : "pages/CSS/display/none", - "style" : { + }, + { + "path": "pages/CSS/display/none", + "style": { "navigationBarTitleText": "display:none" } - }, + }, { "path": "pages/CSS/flex/align-content", "style": { @@ -558,12 +558,12 @@ "navigationBarTitleText": "font-weight" } }, - { - "path": "pages/CSS/text/letter-spacing", - "style": { - "navigationBarTitleText": "letter-spacing" - } - }, + { + "path": "pages/CSS/text/letter-spacing", + "style": { + "navigationBarTitleText": "letter-spacing" + } + }, { "path": "pages/CSS/text/line-height", "style": { @@ -678,12 +678,12 @@ "navigationBarTitleText": "图片预览" } }, - { - "path": "pages/API/save-image-to-album/save-image-to-album", - "style": { - "navigationBarTitleText": "保存图片到相册" - } - }, + { + "path": "pages/API/save-image-to-album/save-image-to-album", + "style": { + "navigationBarTitleText": "保存图片到相册" + } + }, { "path": "pages/component/scroll-view/scroll-view-refresher", "style": { @@ -834,8 +834,15 @@ "style": { "navigationBarTitleText": "自定义下拉刷新的scroll-view属性示例" } + }, + { + "path": "pages/template/pull-zoom-image/pull-zoom-image", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } } - ], + ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "Hello uniapp x", @@ -850,8 +857,7 @@ "selectedColor": "#007AFF", "borderStyle": "black", "backgroundColor": "#F8F8F8", - "list": [ - { + "list": [{ "pagePath": "pages/tabBar/component", "iconPath": "static/component.png", "selectedIconPath": "static/componentHL.png", @@ -880,12 +886,10 @@ "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) - "list": [ - { - "name": "", //模式名称 - "path": "", //启动页面,必选 - "query": "" //启动参数,在页面的onLoad函数里面得到 - } - ] + "list": [{ + "name": "", //模式名称 + "path": "", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + }] } } diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index dcd65515304dc16612f71f68e908bfd7ea180281..bc83e38c0b79f1c10b2bc5a0445976ce7db57e1f 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -115,7 +115,6 @@ export default { url: 'pull-zoom-image', name: '下拉缩放顶部封面图', open: false, - enable: false, pages: [] as Page[], }, { diff --git a/pages/template/pull-zoom-image/pull-zoom-image.uvue b/pages/template/pull-zoom-image/pull-zoom-image.uvue new file mode 100644 index 0000000000000000000000000000000000000000..7d13eb20a1dd8fa339bf731938bd5ddc2e056512 --- /dev/null +++ b/pages/template/pull-zoom-image/pull-zoom-image.uvue @@ -0,0 +1,229 @@ + + + + + diff --git a/static/template/pull-zoom-image/head-img.jpg b/static/template/pull-zoom-image/head-img.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a5f165d1b3f9508ddebc7d509a95c80833f7bc8b Binary files /dev/null and b/static/template/pull-zoom-image/head-img.jpg differ diff --git a/static/template/scroll-fold-nav/back.png b/static/template/scroll-fold-nav/back.png index 964e819a43776429f4a195cf564cd280bf01391c..75da529ad510294202aa789f9245c8db631f6cde 100644 Binary files a/static/template/scroll-fold-nav/back.png and b/static/template/scroll-fold-nav/back.png differ