@blocklet/launcher-workflow 2.0.20 → 2.0.21

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 (2) hide show
  1. package/lib/purchase.js +6 -4
  2. package/package.json +5 -5
package/lib/purchase.js CHANGED
@@ -83,7 +83,7 @@ function PurchasePage(_ref) {
83
83
  const [openMorePlanPrompt, setOpenMorePlanPrompt] = (0, _react.useState)(false);
84
84
  const [splideConfig, setSplideConfig] = (0, _useSetState.default)({
85
85
  arrows: false,
86
- perPage: 1,
86
+ perPage: 100,
87
87
  width: '300px',
88
88
  gap: '16px'
89
89
  });
@@ -233,9 +233,11 @@ function PurchasePage(_ref) {
233
233
  arrows: showArrows
234
234
  });
235
235
  if (showArrows) {
236
- setOpenMorePlanPrompt(true);
237
- // 3s 后隐藏
238
- setTimeout(() => setOpenMorePlanPrompt(false), 3000);
236
+ setTimeout(() => {
237
+ setOpenMorePlanPrompt(true);
238
+ // 3s 后隐藏
239
+ setTimeout(() => setOpenMorePlanPrompt(false), 3000);
240
+ }, 1000);
239
241
  }
240
242
  },
241
243
  hasTrack: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-workflow",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "Purchase components for Launcher UI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,9 +40,9 @@
40
40
  "@arcblock/icons": "^2.5.19",
41
41
  "@arcblock/license": "^2.5.19",
42
42
  "@arcblock/ux": "^2.5.19",
43
- "@blocklet/launcher-layout": "2.0.20",
44
- "@blocklet/launcher-util": "2.0.20",
45
- "@blocklet/launcher-ux": "2.0.20",
43
+ "@blocklet/launcher-layout": "2.0.21",
44
+ "@blocklet/launcher-util": "2.0.21",
45
+ "@blocklet/launcher-ux": "2.0.21",
46
46
  "@did-pay/react": "^1.9.49",
47
47
  "@emotion/react": "^11.10.6",
48
48
  "@emotion/styled": "^11.10.6",
@@ -72,5 +72,5 @@
72
72
  "@babel/preset-react": "^7.18.6",
73
73
  "babel-plugin-inline-react-svg": "^2.0.2"
74
74
  },
75
- "gitHead": "5d6ad0f87b4347047d98f037e7199fc2d58ac981"
75
+ "gitHead": "e427ccad66f6dc0b349d8ddff92f0f19e6d1753b"
76
76
  }