jmash-core-mp 0.1.87 → 0.1.88

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.
Files changed (34) hide show
  1. package/lib/components/auth-user/jmash-update-user.mpx.d.ts +1 -0
  2. package/lib/components/auth-user/jmash-user.mpx.d.ts +1 -0
  3. package/lib/components/cms/jmash-cms-article-view.mpx.d.ts +1 -0
  4. package/lib/components/common/jmash-none-data.mpx.d.ts +1 -0
  5. package/lib/components/common/jmash-search.mpx.d.ts +1 -0
  6. package/lib/components/common/jmash-top-navigation.mpx.d.ts +1 -0
  7. package/lib/components/core/jmash-login.mpx.d.ts +1 -0
  8. package/lib/components/organ/browser-organ-list.mpx.d.ts +1 -0
  9. package/lib/components/organ/my-organ-list.mpx.d.ts +1 -0
  10. package/lib/components/organ/organ-item.mpx.d.ts +1 -0
  11. package/lib/components/organ/organ-search.mpx.d.ts +1 -0
  12. package/lib/components/organ/organ-selected-item.mpx.d.ts +1 -0
  13. package/lib/components/shop/branch-item.mpx.d.ts +1 -0
  14. package/lib/components/shop/branch-search.mpx.d.ts +1 -0
  15. package/lib/components/shop/shop-item.mpx.d.ts +1 -0
  16. package/lib/components/shop/shop-search.mpx.d.ts +1 -0
  17. package/lib/components/shop/shop-selected-item.mpx.d.ts +1 -0
  18. package/lib/packages/pages/auth/setting-page.mpx.d.ts +1 -0
  19. package/lib/packages/pages/auth/web-view.mpx.d.ts +1 -0
  20. package/lib/packages/pages/cms/cms-activity-list.mpx.d.ts +1 -0
  21. package/lib/packages/pages/cms/cms-article-list.mpx.d.ts +1 -0
  22. package/lib/packages/pages/cms/cms-location-list.mpx.d.ts +1 -0
  23. package/lib/packages/pages/cms/cms-product-list.mpx.d.ts +1 -0
  24. package/lib/packages/pages/share/scan.mpx.d.ts +1 -0
  25. package/lib/pages/branch-search.mpx.d.ts +1 -0
  26. package/lib/pages/organ-search.mpx.d.ts +1 -0
  27. package/lib/pages/organ.mpx.d.ts +1 -0
  28. package/lib/pages/shop-search.mpx.d.ts +1 -0
  29. package/lib/utils/config.js +2 -0
  30. package/package.json +1 -1
  31. package/src/components/common/jmash-follow-tip.mpx +5 -1
  32. package/src/components/common/jmash-status-filter.mpx +4 -1
  33. package/src/global.d.ts +7 -0
  34. package/src/utils/config.ts +2 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -17,6 +17,8 @@ const defaultConfig = {
17
17
  welcomeLogo: "/images/mall/img-1.png",
18
18
  // 公众号APPID-索易科技
19
19
  officialAccountId: "wx2ec7549343d60f3a",
20
+ // 公众号原始ID-索易科技
21
+ officialOriginalId: "gh_ce629f8aa0c5",
20
22
  // 公众号文章URL
21
23
  officialAccountArticleUrl: "https://mp.weixin.qq.com/s/PDuEQlzwVkWmoWcj4xWSew",
22
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core-mp",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
4
4
  "private": false,
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -38,7 +38,11 @@ createComponent({
38
38
  // 关注公众号-跳转公众号文章
39
39
  onFollowShow() {
40
40
  let config = getApp().globalData.config;
41
- mpx.navigateTo({ url: "/jmash/pages/auth/web-view?url=" + config.officialAccountArticleUrl });
41
+ if (config.officialAccountArticleUrl) {
42
+ mpx.navigateTo({ url: "/jmash/pages/auth/web-view?url=" + config.officialAccountArticleUrl });
43
+ } else if (config.officialOriginalId) {
44
+ mpx.openOfficialAccountProfile({ username: config.officialOriginalId, });
45
+ }
42
46
  },
43
47
 
44
48
  // 关闭关注公众号提示
@@ -95,7 +95,9 @@ createComponent({
95
95
  .status-filter {
96
96
  display: flex;
97
97
  align-items: center;
98
+ justify-content: center;
98
99
  gap: 10rpx;
100
+ width: 100%;
99
101
  font-weight: 400;
100
102
  font-size: 26rpx;
101
103
  color: $font-color-grey;
@@ -112,7 +114,8 @@ createComponent({
112
114
  .status-filter-dropdown {
113
115
  position: absolute;
114
116
  top: 50rpx;
115
- right: 0;
117
+ width: 100%;
118
+ text-align: center;
116
119
  background: $background-white-color;
117
120
  border-radius: 8rpx;
118
121
  padding: 10rpx 0;
package/src/global.d.ts CHANGED
@@ -9,3 +9,10 @@ declare const my: {
9
9
  };
10
10
 
11
11
  declare module "sm-crypto";
12
+
13
+ declare namespace WechatMiniprogram {
14
+ interface Wx {
15
+ // 通过小程序打开公众号主页
16
+ openOfficialAccountProfile(option: { username: string }): void;
17
+ }
18
+ }
@@ -19,6 +19,8 @@ const defaultConfig: AppConfig = {
19
19
  welcomeLogo: "/images/mall/img-1.png",
20
20
  // 公众号APPID-索易科技
21
21
  officialAccountId: "wx2ec7549343d60f3a",
22
+ // 公众号原始ID-索易科技
23
+ officialOriginalId: "gh_ce629f8aa0c5",
22
24
  // 公众号文章URL
23
25
  officialAccountArticleUrl:
24
26
  "https://mp.weixin.qq.com/s/PDuEQlzwVkWmoWcj4xWSew",