pages/index/index.wxml
<!--index.wxml-->
<view>云函数调用的例子</view>
<button type="default" style="width: 600rpx; margin: 50rpx;" bindtap="handleOk">调用yunfoo云函数</button>
<button type="default" style="width: 600rpx; margin: 50rpx;" bindtap="handleUploadFile">上传图片到云开发</button>
<image src="{
{imageSrc}}"></image>
<button type="default" style="width: 600rpx; margin: 50rpx;" bindtap="handleDownLoad">上传图片到云开发</button>
<image src="{
{downloadImg}}"