
easyUI
A simple and easy-to-use WeChat mini-program group library that encapsulates commonly used components in development, improves development efficiency, and maintainability of code. Go beyond the limits of one line of code and experience the development method out of the box. The default configuration can meet most needs, and in special cases, relevant attributes can be customized to meet needs.
Any component in the component library can be used alone and does not rely on any component. You can add the components that are actually used according to business needs, making your applet smaller and smaller.
Design API and API documentation according to official components, which is very easy to get started and is very friendly to novices.
Basic library version
Please use the basic library above 1.9.90.
How to use
Open the project, select the required component (the component is located in the component directory), and copy the folder containing the 4 files of the component into your project.
Then quote it in the code of your project. For detailed citation instructions, please check the official mini program documentation.
Scan the code to view the API document

Run the project
- Go to the project root directory.
- Enter the node official website to download node and install it (please omit this step if it has been installed).
- Open the command line (cmd/terminal) in the project root directory and run
npm install . I saw no error prompts in the command line, and there is an additional node_modules directory in the project root directory. - Use the WeChat developer tool to open the project (if it is already opened, please omit this step).
- Click on the upper left corner of WeChat Developer Tools, Tools -> Build npm. The prompt is that after the construction is completed, you will see that there is an additional miniprogram_npm directory in the project root directory.
- Click the "Compile" button of WeChat developer tool and you can see that the project is running:blush:.
Component Directory
| Component name | path | illustrate |
|---|
| icon_button | component/button/icon_button | Button with icon |
| base_list | component/list/base_list | List items with title and subtitle |
| title_view | component/structure/title_view | View with title |
| base_button | component/button/base_button | Button |
| head_portrait | component/base/head_portrait | avatar |
| Search | component/form/search | List items with title and subtitle |
| enhance_text | component/base/enhance_text | Enhanced text |
| enhance_view | component/base/enhance_view | Enhanced view |
| icon_list | component/list/icon_list | Icon list can meet most list needs |
| enhance_icon | component/base/enhance_icon | Enhanced icon, can be used to display icons or images |
| goods_card | component/senior/goods_card | Product display card |
| goods_detail | component/senior/goods_detail | Product details display |
| suspension_button | component/button/suspension_button | Floating button |
| count_button | component/form/count_button | Count button |
| modal | component/senior/modal | Modal Box |
| goods_list | component/list/goods_list | Product List |
| sidebar | component/senior/sidebar | Sidebar menu |
| enhance_image | component/base/enhance_image | Enhanced image, can be used in scenes where background images are required |
| head_view | component/structure/head_view | View with header title bar |
| base_card | component/list/base_card | Basic card components |
| tabs | component/senior/tabs | Tag bar |
| load_more | component/base/load_more | Load more components |
| loading | component/base/loading | Loading animation components |
| popup | component/senior/popup | Pop-up box component |
| Checker | component/form/checker | Option component, commonly used for product specification selection |
| progress_bar | component/base/progress_bar | Progress bar component |
| icon | component/base/icon | Icon Component |
| Transition | component/base/transition | Excessive effect components |
Version Description
v1.3.0 last
- progress_bar
- icon
- Transition
- Optimize applets
v1.2.1
- Added components
- Fix & Optimize
- Optimize the mini program and add a discovery page
- Optimize the suspension_button component, add the openType attribute to be compatible with the special usage scenarios of native button components
- Optimize the suspension_button component, add img-cus custom class, which can be used in scenarios where Alibaba icon library is used
- Optimize the icon_button component and increase support for the form-type and open-type attributes of the native button components of applets
- Add custom slot bottom at the bottom of the goods_detail component
- Fixed the bug where the loading component set width and height attributes did not work
- Fixed the bug where the selected attribute of the tabs component displays exceptions when the interface is used for data binding.
- Fixed the style issue of icon_button component
- Fixed the tabs component bug caused by the upgrade of the basic library version
- Fixed the bug that triggered the click event when the suspension_button component is moved
- Fix the bug in the cus custom class of the enhance_image component
v1.2.0
- Added components
- Fix & Optimize
- The goods_detail component supports video display
- Search component bug fix
v1.1.0
- tabs
- load_more
- loading
- popup
- Checker
- The modal component close button supports Alibaba icon library
- icon_button added dataCus attribute
- Fixed the bug that the sidebar component does not display when using setData to update data
- Added dataCus attribute and selected attribute on the sidebar
- Search adds onclean event function
- goods_card new dataCus attribute
- goods_list adds dataCus attribute
- Tabs component optimization
- Suspension_button component click event does not trigger bug fix
- Fixed text layout problem when suspension_button component does not use icons
- The goods_detail component has added a new click on the banner image to preview the image and style optimization
- Base_list component custom style class bug fix
- The icon_button component has added a badge effect, which can be set through the badge attribute, and supports the use of Alibaba icon library to customize the class settings using cus-icon
v1.0.7
- goods_list
- sidebar
- enhance_image
- head_view
- base_card
- The search component has added a default search icon.
- Search component deletes the clear icon.
- enhance_text supports the introduction of icons using the Alibaba icon library (adding icon-cus custom style class).
- enhance_icon supports the introduction of icons using Alibaba icon library.
- enhance_icon adds color attribute.
about
Written at the end
Before using the component, please check the interface provided by the component in detail.
Viewing method: Open the applet selection page and click the "Detailed Description" button below the corresponding component.
Buy a cup of coffee for the author
