# MiniprogramDraw **Repository Path**: lwenm/MiniprogramDraw ## Basic Information - **Project Name**: MiniprogramDraw - **Description**: 微信小程序抽签 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-06-28 - **Last Updated**: 2021-06-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WeiXin_ChouQian 微信小程序-实例-抽签功能-00-目录概要-2020-4-24 @[TOC](目录) ## 一、功能描述 1.新建抽签 2.查找抽签 3.我的抽签 ## 二、需要 1.微信开发者工具 ## 三、页面结构 1.新建抽签 2.查找抽签 3.我的抽签 ![在这里插入图片描述](https://img-blog.csdnimg.cn/20200515124456361.PNG) ## 四、需要的 ### 1.微信小程序组件 #### (1)基础内容 [text](https://developers.weixin.qq.com/miniprogram/dev/component/text.html) #### (2)表单组件 [button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html) [form](https://developers.weixin.qq.com/miniprogram/dev/component/form.html) [input](https://developers.weixin.qq.com/miniprogram/dev/component/input.html) #### (3)媒体组件 [image](https://developers.weixin.qq.com/miniprogram/dev/component/image.html) ### 2.微信小程序API #### (1)路由 [wx.navigateTo(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateTo.html) [wx.redirectTo(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.redirectTo.html) [wx.navigateBack(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html) #### (2)开放接口->用户信息 [wx.getUserInfo(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html) #### (3)数据缓存 [wx.setStorage(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorage.html) [wx.setStorageSync(string key, any data)](https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorageSync.html) #### (4)媒体->图片 [wx.getImageInfo(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.getImageInfo.html) #### (5)基础->定时器 [setInterval](https://developers.weixin.qq.com/miniprogram/dev/api/base/timer/setInterval.html) #### (6)界面->交互 [wx.showToast(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showToast.html) #### (7)网络->发起请求 [wx.request(Object object)](https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html) ## 五、实例下载 微信小程序: > https://github.com/zhengduolctao/WeiXin_ChouQian