search
HomeWeChat AppletMini Program DevelopmentEssential information: Detailed explanation of the key points of mini program development documents and design guidelines

This article mainly provides a detailed explanation of the development documents and design guidelines officially released by WeChat:

Mini Program Development Document

An overall introduction to the mini program development method, and provides an official example. If you are a developer invited to experience it, you can scan the code to experience the mini program.

Mini Program Design Guide

The regulations on mini program design specifications are quite comprehensive, from user experience, element style to layout. This reflects WeChat's emphasis on small programs and its huge capabilities. We are worried that if we open them rashly without restrictions, it will lead to serious product fragmentation.

Next, we start to introduce the specific contents of the two documents.

1. Mini Program Development Document

It is mentioned at the beginning of the document:

Supports calling WeChat’s native API, which can easily activate the capabilities provided by WeChat, such as acquiring users Messages, local storage, payment functions, etc.

In fact, several of the functions listed here can be implemented in previous public account development. For us, the key point of this sentence is "native" - ​​we can basically judge that components such as navigation bars and buttons are actually converted into native components through WeChat's middle layer, which will effectively improve the rendering speed and operation of the page. Efficiency, providing an experience closer to native App.

The demo program shows several new components, such as drop-downs, navigation bars, etc. Since the mini program also provides a combined language tool that is basically similar to HTML+CSS, we are not surprised by the new components. As long as you can think of it, developers should be able to implement more components through the development tools provided by WeChat.

2. Mini Program Design Guide

WeChat’s design specifications this time are more specific and profound. It is not clear whether the official will stipulate that the design needs to be in accordance with WeChat specifications, otherwise it will not be put on the shelves, but I Personally, I feel that as the ecosystem matures, it is not impossible to follow WeChat’s tough management style.

But from another perspective, WeChat provides a style definition language called WXSS (CSS is a subset of it), which provides users with very strong style customization capabilities, even if the design specifications are restricted. It shouldn't be too rigid either.

1. WeUI update

With new design styles and components, WeChat’s official front-end UI framework WeUI has also received a major update and has an independent io domain name: https: //weui.io.

This update also provides:

Sketch design control library: https://github.com/weui/weui-...

Photoshop design control library: https://wximg.gtimg.com/shake...

By providing design source files, designers can more easily participate in WeChat mini Programming process.

In order to better carry out consistent design, the latest design source file also provides corresponding font files. The Chinese fonts use Pingfang (iOS) and Siyuan Heidi (Android), and the English fonts are SF UI Display (iOS) and Robot (Android).

2. User experience specifications

The user experience specifications are also partially defined in the document. What is good and what is bad are explained. The reading experience of the document is acceptable.

We can get a glimpse of some important visual features of mini programs from the design specifications:

3. Hierarchy specifications

Although WeChat’s hierarchy is simple and there are no cool native animations, But this time the page level specification still reminds me of the amazing feeling of Google Material Design when it was first launched.

Similar to WeChat itself, the 4 levels of WeChat mini programs are easy to understand:

More information: Detailed explanation of the key points of mini program development documents and design guidelines. For related articles, please pay attention to the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
PHP在小程序开发中的页面跳转与路由管理PHP在小程序开发中的页面跳转与路由管理Jul 04, 2023 pm 01:15 PM

PHP在小程序开发中的页面跳转与路由管理随着小程序的快速发展,越来越多的开发者开始将PHP与小程序开发相结合。在小程序开发中,页面跳转和路由管理是非常重要的一部分,它能够帮助开发者实现页面之间的切换和导航操作。PHP作为一种常用的服务器端编程语言,可以很好地与小程序进行交互和数据传递,下面我们来详细了解一下PHP在小程序中的页面跳转与路由管理。一、页面跳转基

如何在uniapp中实现小程序开发和发布如何在uniapp中实现小程序开发和发布Oct 20, 2023 am 11:33 AM

如何在uni-app中实现小程序开发和发布随着移动互联网的发展,小程序成为了移动应用开发的一个重要方向。而uni-app作为一个跨平台的开发框架,可以同时支持多个小程序平台的开发,如微信、支付宝、百度等。下面将详细介绍如何使用uni-app开发和发布小程序,并提供一些具体的代码示例。一、小程序开发前准备在开始使用uni-app开发小程序之前,需要做一些准备工

小程序开发中的PHP权限管理与用户角色设定小程序开发中的PHP权限管理与用户角色设定Jul 04, 2023 pm 04:48 PM

小程序开发中的PHP权限管理与用户角色设定随着小程序的普及和应用范围的扩大,用户对于小程序的功能和安全性提出了更高的要求,其中权限管理和用户角色设定是保证小程序安全性的重要一环。在小程序中使用PHP进行权限管理和用户角色设定能够有效地保护用户的数据和隐私,下面将介绍如何实现这一功能。一、权限管理的实现权限管理是指根据用户的身份和角色,授予不同的操作权限。在小

小程序开发中的PHP数据缓存与缓存策略小程序开发中的PHP数据缓存与缓存策略Jul 05, 2023 pm 02:57 PM

小程序开发中的PHP数据缓存与缓存策略随着小程序的快速发展,更多的开发者开始关注如何提高小程序的性能和响应速度。其中一个重要的优化手段就是使用数据缓存来减少对数据库和外部接口的频繁访问。而在PHP中,我们可以利用各种缓存策略来实现数据缓存。本文将介绍PHP中的数据缓存原理,并提供几个常见的缓存策略的示例代码。一、数据缓存原理数据缓存是指将数据存放在内存中,以

小程序开发中的PHP安全防护与攻击防范小程序开发中的PHP安全防护与攻击防范Jul 07, 2023 am 08:55 AM

小程序开发中的PHP安全防护与攻击防范随着移动互联网的迅猛发展,小程序成为了人们生活中重要的一部分。而PHP作为一种强大而灵活的后端开发语言,也被广泛应用于小程序的开发中。然而,安全问题一直是程序开发中需要重视的方面。本文将重点介绍小程序开发中PHP的安全防护与攻击防范,同时提供一些代码示例。XSS(跨站脚本攻击)防范XSS攻击是指黑客通过向网页注入恶意脚本

微信小程序中PHP开发的下拉菜单实现方法微信小程序中PHP开发的下拉菜单实现方法Jun 04, 2023 am 10:31 AM

今天我们来学习一下微信小程序中PHP开发的下拉菜单实现方法。微信小程序是一种轻量级的应用程序,用户可以在微信里直接使用,而且不需要下载安装,非常方便。而PHP是一种非常流行的后端编程语言,也是与微信小程序配合很好的一种语言。下面我们就来看看如何在微信小程序中使用PHP开发下拉菜单。首先,我们需要准备好开发环境,包括PHP、微信小程序开发工具和服务器。然后我们

小程序开发中的PHP页面动画效果与交互设计小程序开发中的PHP页面动画效果与交互设计Jul 04, 2023 pm 11:01 PM

小程序开发中的PHP页面动画效果与交互设计导语:小程序是一种在移动设备上运行的应用程序,能够提供类似原生应用的体验。而在小程序开发中,PHP作为一种常用的后端语言,可以为小程序页面增添动画效果与交互设计。本文将介绍一些常用的PHP页面动画效果与交互设计,并附上代码示例。一、CSS3动画CSS3提供了丰富的属性和方法,用于实现各种动画效果。而在小

UniApp实现字节跳动小程序的开发与上线流程解析UniApp实现字节跳动小程序的开发与上线流程解析Jul 06, 2023 pm 05:01 PM

UniApp实现字节跳动小程序的开发与上线流程解析字节跳动小程序作为一种新兴的移动应用开发方式,正逐渐在业界流行起来。在开发字节跳动小程序之前,我们需要了解如何使用UniApp来实现开发和上线的流程。一、UniApp简介UniApp是一套基于Vue.js开发的以HTML5、App、小程序为多端统一开发的框架,通过编写一套代码,可以同时在多个平台上运行,包括字

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.