uni.previewImage longPressActions
时间: 2023-11-24 18:13:39 浏览: 452
微信小程序开发问题之wx.previewImage
在uni.previewImage中,longPressActions是一个参数,用于定义长按预览图片时显示的操作菜单。 longPressActions中的itemList属性用于定义操作菜单中显示的选项,比如在这个例子中,itemList只包含了一个选项"保存图片"。 当用户长按预览图片时,会显示这个操作菜单,用户可以选择保存图片到本地相册等操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [uniapp实现预览图片,预览图片列表并保存到手机](https://blog.csdn.net/qq_45495857/article/details/108220258)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [uniapp中预览图片的时候,长按图片保存到系统相册](https://blog.csdn.net/qq_41186730/article/details/106249588)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文