easyUI
v1.1.0版

一款簡單易用的微信小程序組庫,封裝開發中常用的組件,提高開發效率,以及代碼的可維護性。 超越一行代碼的極限,體驗開箱即用開發方式。默認配置即可滿足大部分需求,特殊情況可自定義相關屬性來滿足需求。
組件庫中的任何一個組件都可以單獨使用,不依賴任何組件,可以根據業務需求添加真正使用到的組件,讓您的小程序一小再小。
根據官方組件設計api以及api文檔,及其容易上手,對新手十分友好。
請使用1.9.90以上的基礎庫。
打開項目,選擇需要的組件(組件位於component目錄下),將包含組件4個文件的文件夾複製到您的項目中。
然後在您項目的代碼中引用即可,詳細引用說明請查看小程序官方文檔。

npm install 。看到命令行內沒有錯誤提示,並且項目根目錄多出一個node_modules目錄。| 組件名 | 路徑 | 說明 |
|---|---|---|
| icon_button | component/button/icon_button | 帶圖標的按鈕 |
| base_list | component/list/base_list | 帶有標題和副標題的列表項 |
| title_view | component/structure/title_view | 帶有標題的view |
| base_button | component/button/base_button | 按鈕 |
| head_portrait | component/base/head_portrait | 頭像 |
| search | component/form/search | 帶有標題和副標題的列表項 |
| enhance_text | component/base/enhance_text | 增強text |
| enhance_view | component/base/enhance_view | 增強view |
| icon_list | component/list/icon_list | 圖標列表,可滿足大部分列表需求 |
| enhance_icon | component/base/enhance_icon | 增強icon,可用於展示圖標或圖片 |
| goods_card | component/senior/goods_card | 商品展示卡 |
| goods_detail | component/senior/goods_detail | 商品詳情展示 |
| suspension_button | component/button/suspension_button | 浮動按鈕 |
| count_button | component/form/count_button | 計數按鈕 |
| modal | component/senior/modal | 模態框 |
| goods_list | component/list/goods_list | 商品列表 |
| sidebar | component/senior/sidebar | 側邊欄菜單 |
| enhance_image | component/base/enhance_image | 增強image,可用於需要背景圖片的場景 |
| head_view | component/structure/head_view | 帶有頭部標題欄的view |
| base_card | component/list/base_card | 基礎卡片組件 |
| tabs | component/senior/tabs | 標籤欄 |
| load_more | component/base/load_more | 加載更多組件 |
| loading | component/base/loading | 加載動畫組件 |
| popup | component/senior/popup | 彈出框組件 |
| checker | component/form/checker | 選項組件,常用於商品規格選擇 |
| progress_bar | component/base/progress_bar | 進度條組件 |
| icon | component/base/icon | 圖標組件 |
| transition | component/base/transition | 過度效果組件 |
使用組件前請詳細查看組件提供的接口。
查看方法:打開小程序選擇頁面,點擊對應組件下方的“詳細說明”按鈕。
