@cloudbase/weda-ui-mp 3.12.3 → 3.13.0

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.
@@ -0,0 +1,17 @@
1
+ Component({
2
+ options: {
3
+ virtualHost: true,
4
+ },
5
+ properties: {
6
+ appid: {
7
+ type: String,
8
+ value: '',
9
+ },
10
+ id: {
11
+ type: String,
12
+ value: '',
13
+ },
14
+ },
15
+ methods: {},
16
+ observers: {},
17
+ });
@@ -0,0 +1,5 @@
1
+ {
2
+ "component": true,
3
+ "styleIsolation": "shared",
4
+ "usingComponents": {}
5
+ }
@@ -0,0 +1 @@
1
+ <store-home id="{{id}}" appid="{{appid}}"></store-home>
@@ -0,0 +1,39 @@
1
+ import handleEvents from '../../utils/handleEvents';
2
+
3
+ Component({
4
+ options: {
5
+ virtualHost: true,
6
+ },
7
+ properties: {
8
+ id: {
9
+ type: String,
10
+ value: '',
11
+ },
12
+ appid: {
13
+ type: String,
14
+ value: '',
15
+ },
16
+ productId: {
17
+ type: String,
18
+ value: '',
19
+ },
20
+ productPromotionLink: {
21
+ type: String,
22
+ value: '',
23
+ },
24
+ mediaId: {
25
+ type: String,
26
+ value: '',
27
+ },
28
+ customStyle: {
29
+ type: Object,
30
+ },
31
+ },
32
+ methods: {
33
+ ...handleEvents([
34
+ { title: '跳转小店成功', name: 'bindentererror' },
35
+ { title: '跳转小店失败', name: 'bindentersuccess' },
36
+ ]),
37
+ },
38
+ observers: {},
39
+ });
@@ -0,0 +1,5 @@
1
+ {
2
+ "component": true,
3
+ "styleIsolation": "shared",
4
+ "usingComponents": {}
5
+ }
@@ -0,0 +1 @@
1
+ <store-product id="{{id}}" appid="{{appid}}" product-id="{{productId}}" product-promotion-link="{{productPromotionLink}}" media-id="{{mediaId}}" custom-style="{{customStyle}}" bindentersuccess="bindentersuccess" bindentererror="bindentererror" />
package/index.json CHANGED
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "components": {
3
+ "WdStoreProduct": "components/wd-store-product/index",
4
+ "WdStoreHome": "components/wd-store-home/index",
3
5
  "WdMarkdown": "components/wd-markdown/index",
4
6
  "WdUnifiedLink": "components/wd-unified-link/index",
5
7
  "WdProgress": "components/wd-progress/index",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "miniprogram": "./",
4
4
  "packageManager": "yarn@3.0.2",
5
5
  "dependencies": {},
6
- "version": "3.12.3",
6
+ "version": "3.13.0",
7
7
  "main": "./",
8
8
  "publishConfig": {
9
9
  "access": "public"