diff --git a/pages.json b/pages.json index b288610d2192fc2ccd69cd89477dec9158e9226d..53bd822d9d2166a0439bbdb830c38cfbc7f0a7c8 100644 --- a/pages.json +++ b/pages.json @@ -26,6 +26,12 @@ "navigationBarTitleText": "general-event" } }, + { + "path": "pages/component/view/view-draw", + "style": { + "navigationBarTitleText": "DrawableContext" + } + }, { "path": "pages/component/scroll-view/scroll-view", "style": { @@ -654,6 +660,12 @@ "navigationBarTitleText": "图片预览" } }, + { + "path": "pages/API/save-image-to-album/save-image-to-album", + "style": { + "navigationBarTitleText": "保存图片到相册" + } + }, { "path": "pages/component/scroll-view/scroll-view-refresher", "style": { diff --git a/pages/API/save-image-to-album/save-image-to-album.uvue b/pages/API/save-image-to-album/save-image-to-album.uvue new file mode 100644 index 0000000000000000000000000000000000000000..170780ad2f44300b1fb24bfc94baab61a28e04f2 --- /dev/null +++ b/pages/API/save-image-to-album/save-image-to-album.uvue @@ -0,0 +1,43 @@ + + + + + diff --git a/pages/component/picker-view/picker-view.uvue b/pages/component/picker-view/picker-view.uvue index 5730b34e1cb697e81c2e066677587996e1af8b7b..ac30977e024b4c8f4bfeabd53f7027772a000c90 100644 --- a/pages/component/picker-view/picker-view.uvue +++ b/pages/component/picker-view/picker-view.uvue @@ -57,6 +57,9 @@ } }, methods: { + clickView() { + + }, bindChange(e : PickerViewChangeEvent) { const val = e.detail.value this.result = val diff --git a/pages/component/view/view-draw.uvue b/pages/component/view/view-draw.uvue new file mode 100644 index 0000000000000000000000000000000000000000..32aeeacd6d00ed5a0224995ff29c630a407cec29 --- /dev/null +++ b/pages/component/view/view-draw.uvue @@ -0,0 +1,290 @@ + + + + + \ No newline at end of file diff --git a/pages/component/view/view.uvue b/pages/component/view/view.uvue index cb9b98fa3e216ccdab6d9b97c168528d4597a5e9..3a7811d5fb3bef9309085571c152b54c3a9c92cd 100644 --- a/pages/component/view/view.uvue +++ b/pages/component/view/view.uvue @@ -232,8 +232,9 @@ - - + + + @@ -243,16 +244,11 @@ diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index f140e7c43c39bd76a452ca826bbd57b29a8d16aa..8b34ef970801315d572d77de23def8128d0696ba 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -306,6 +306,10 @@ name: '图片选择和预览', url: 'preview-image', }, + { + name: "保存图片到相册", + url: 'save-image-to-album' + } /* { name: "图片选择和拍照", url: "image", @@ -510,6 +514,5 @@ .item { margin-bottom: 12px; - } - + } \ No newline at end of file