基于微信平台的微商城小程序的设计与实现 Design and implementation of wechat mall applet based on wechat platform 摘要随着网络的普及和发展,网络购物逐渐兴起,由此催生了许多的电商巨头。手机的普及让人与人之间的联系变得更加紧密和方便,这其中离不开 QQ 和微信的功劳。这两年微信小程序的出现,催生了一大批被称为“微商”的群体。他们通过微信售卖商品,在其中赚取差价以补贴家用。小程序有一套自己的开发工具,且与其他前端开发语言相同并且封装了许多 Api 供开发者使用,这大大降低了小程序的开发难度。本文使用 node.js 开发服务器,使用 MySql 作为数据库支持,微信开发者工具作为开发工具,使用与前端开发几乎一致的语言,对 HTML 加以修改和封装生成了自己的组件再配合 JS 和 CSS 生成四个文件,采用 MVVM 开发模式,每个文件负责自己的部门功能。关键词:电商 微信小程序 Node.js MySql HTML CSS JS VueabstractWith the popularity and development of the Internet, online shopping has gradually emerged, which has given birth to many e-commerce giants. The popularity of mobile phones makes the connection between people more close and convenient, which is inseparable from QQ and wechat. In the past two years, the emergence of wechat apps has spawned a large number of groups known as "wechat merchants". They sell goods through wechat, in which they earn the difference to subsidize their families. The applet has its own development tool, which is the same as other front-end development languages, and encapsulates many APIs for developers, which greatly reduces the development difficulty of the applet.This paper uses node.js development server, MySQL as database support, wechat developer tool as development tool, and almost the same language as front-end development to modify and encapsulate HTML to generate its own components, then with JS and CSS to generate four files, using MVVM development mode, each file is responsible for...