基于微信小程序的垃圾分类小程序的实现(附件)【字数:5822】

垃圾的产生是源于人们没有利用好资源,将自己不用的资源当成垃圾抛弃,这种废弃资源的方式对于整个生态系统的损失都是不可以估计的。在垃圾处理之前,通过垃圾分类回收,就可以将垃圾变废为宝,如回收纸张能够保护森林,减少森林资源的浪费;回收果皮蔬菜等生物垃圾,就可以作为绿色肥料,让土地能够更加肥沃。垃圾分类是处理垃圾公害的最佳解决方法和最佳的出路。进行垃圾分类已经成为一个国家发展的必然路径。垃圾分类能够使得民众学会节约资源、利用资源,养成良好的生活习惯,提高个人最终的素质素养。一个人能够养成良好的垃圾分类习惯,那么他也就会关注环境保护问题,在生活中注意资源的珍贵性,养成节约资源的习惯。本文利用微信用户数量庞大和微信小程序"触手可及、用完即走"的特点,充分迎合民众的垃圾回收需求,设计了基于微信小程序的垃圾分类小程序,主要运用了小程序的WXML 、WXSS、JavaScript的逻辑层框架技术以及开发者工具本身的云开发技术,实现了包括文本搜索,图像识别搜索,智能机器人,垃圾汇总等功能。
年 月 日 目 录
一、引言 1
(一)开发背景 1
(二)选题意义 1
(三)课题内容 1
(四)开发软件 1
1.微信开发者工具 1
2.Vant Wepp 2
二、系统分析与设计 2
(一)系统功能需求 2
(二)系统流程图 2
(三)数据库设计 3
三、概要设计 5
(一)小程序功能结构描述 5
四、小程序具体实现 6
(一)视图设计 6
1.用户授权登录功能 8
2.文本搜索功能 10
3.图像识别搜索功能 12
4.机器人功能 15
5.提交数据功能 16
6.类别垃圾汇总功能 19
五、系统测试 22
(一)测试环境 22
(二)测试过程 22
(三)测试报告 22
(四)测试结果 24
六、结束语 24
致谢 26
参考文献 27
 *好棒文|www.hbsrm.com +Q: @351916072@ 
声 明
本人所呈交的 《基于微信小程序的垃圾分类小程序的实现》,是我在指导教师的指导和查阅相关著作下独立进行分析研究所取得的成果。除文中已经注明引用的内容外,本论文不包含其他个人已经发表或撰写过的研究成果。对本文的研究做出重要贡献的个人和集体,均已在文中作了明确说明并表示谢意。
作者签名:
日期:
Abstract:
Garbage is generated because people do not make good use of the resources, and discard the resources they do not use as garbage. This kind of waste resources way can not be estimated for the loss of the whole ecosystem. Before garbage treatment, garbage can be turned into treasure through garbage classification and recycling. For example, recycling paper can protect the forest and reduce the waste of forest resources; recycling biological garbage such as fruit peel and vegetables can be used as green fertilizer to make the land more fertile.
Garbage classification is the best way to deal with garbage pollution. Garbage classification has become an inevitable path for the development of a country. Garbage classification can make people learn to save and use resources, develop good living habits, and improve their final quality. If a person can form a good garbage classification habit, then he will also pay attention to environmental protection, pay attention to the value of resources in life, and form the habit of saving resources.
Based on the large number of wechat users and the characteristics of wechat small programs "within reach and out of use", this paper fully caters to the needs of peoples garbage collection, and designs a garbage classification small program based on wechat small programs, It mainly uses the wxml and wxss of the small program and the logic layer framework technology based on JavaScript to realize the functions including text search, photo recognition search, intelligent robot, etc.
[Keywords] Wechat Mini Program; Wechat applet Cloud Database; Wechat applet Cloud Function
一、引言
(一)开发背景

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/rjgc/298.html

好棒文