@gm-mobile/mp-business 3.12.12-beta.0 → 3.12.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @gm-mobile/mp-business
|
|
2
|
+
|
|
3
|
+
## 简介
|
|
4
|
+
小程序业务组件包 - 小程序端的业务组件,重新导出 `@gm-mobile/c-business` 的所有组件。
|
|
5
|
+
|
|
6
|
+
## 安装
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @gm-mobile/mp-business
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 使用
|
|
13
|
+
|
|
14
|
+
### 快速开始
|
|
15
|
+
|
|
16
|
+
```jsx
|
|
17
|
+
import { Coupon, ReceivedCoupon, TabDateSelect } from '@gm-mobile/mp-business'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## API
|
|
21
|
+
|
|
22
|
+
### 导出列表
|
|
23
|
+
|
|
24
|
+
| 导出项 | 类型 | 说明 |
|
|
25
|
+
|--------|------|------|
|
|
26
|
+
| `Coupon` | 组件 | 优惠券组件(来自 @gm-mobile/c-business) |
|
|
27
|
+
| `ReceivedCoupon` | 组件 | 已领取优惠券组件(来自 @gm-mobile/c-business) |
|
|
28
|
+
| `TabDateSelect` | 组件 | 日期标签选择组件(来自 @gm-mobile/c-business) |
|
|
29
|
+
|
|
30
|
+
## 注意事项
|
|
31
|
+
- 本包是 `@gm-mobile/c-business` 的小程序端重新导出,API 完全相同
|
|
32
|
+
- 所有组件均兼容 Taro.js 3.0.18 环境
|
|
33
|
+
|
|
34
|
+
## 相关包
|
|
35
|
+
- [@gm-mobile/c-business](../c-business) - 基础业务组件
|
|
36
|
+
- [@gm-mobile/business](../business) - Web 端业务组件
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gm-mobile/mp-business",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.13",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "liyatang <liyatang@qq.com>",
|
|
6
6
|
"homepage": "https://github.com/gmfe/gm-mobile#readme",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/gmfe/gm-mobile/issues"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@gm-mobile/c-business": "^3.12.
|
|
24
|
+
"@gm-mobile/c-business": "^3.12.13"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "f1807b01b33bb8ee331b6c713d52d85fda524bf7"
|
|
27
27
|
}
|