component-sanzhizhou 1.0.15 → 1.0.17

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.
@@ -1,5 +1,5 @@
1
1
  var isInClient = function isInClient() {
2
2
  // return typeof window !== 'undefined';
3
- return !!window.navigator.userAgent.match(/shipinlv/i);
3
+ return !!window.navigator.userAgent.match(/sanzhizhou/i);
4
4
  };
5
5
  export default isInClient;
package/dist/pay/qr.js CHANGED
@@ -9,6 +9,7 @@ import CallMiniUrl from "../lib/call-mini-url";
9
9
  import formatMessage from "../lib/formatMessage";
10
10
  import * as WechatMinAppController from "../service/api/WechatMinAppController";
11
11
  import { getApiEnv } from "../lib/getApiUrl";
12
+ import getLocalUserInfo from "../lib/getLocalUserInfo";
12
13
  import { jsx as _jsx } from "react/jsx-runtime";
13
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
14
15
  // type QrDict = Record<Global.Env, string>;
@@ -58,7 +59,7 @@ var UserVipOrderPayQr = function UserVipOrderPayQr(_ref) {
58
59
  var _useRequest = useRequest(function () {
59
60
  return WechatMinAppController.getUrlLink({
60
61
  pagePath: 'pages/recharge/index',
61
- pathQuery: "moneyAmount=".concat(moneyAmount),
62
+ pathQuery: "moneyAmount=".concat(moneyAmount, "&userToken=").concat(getLocalUserInfo().sid || '', "&productKind=recharge"),
62
63
  envVersion: getApiEnv() === 'local' ? "develop" : 'release'
63
64
  }, {
64
65
  env: env
@@ -3,5 +3,5 @@ export default {
3
3
  PayRecharge: styled.div.withConfig({
4
4
  displayName: "PayRecharge",
5
5
  componentId: "component-sanzhizhou__sc-1np6liz-0"
6
- })([".ssz-recharge-form-moneyAmount-input{input{width:120px;}}.ssz-groupItems{padding:0 0 12px 0;}.ssz-submits{display:flex;flex-direction:row;justify-content:space-between;padding:0 12px 18px;}.ssz-groupTitle{font-size:14px;color:#777;font-weight:300;padding:0 0 3px 0;}.ant-radio-wrapper-disabled{.ssz-color-tag{opacity:0.4;-webkit-filter:grayscale(100%);filter:grayscale(100%);}}"])
6
+ })([".ssz-recharge-form-moneyAmount-input{input{width:120px;}}.ssz-groupItems{padding:0 0 12px 0;}.ssz-submits{display:flex;flex-direction:row;justify-content:space-between;padding:0 0 18px;}.ssz-groupTitle{font-size:14px;color:#777;font-weight:300;padding:0 0 3px 0;}.ant-radio-wrapper-disabled{.ssz-color-tag{opacity:0.4;-webkit-filter:grayscale(100%);filter:grayscale(100%);}}"])
7
7
  };
@@ -172,7 +172,7 @@ var PayRecharge = function PayRecharge(_ref) {
172
172
  rechargeRuleList: rechargeRuleList
173
173
  }),
174
174
  className: "ssz-recharge-form-moneyAmount-input",
175
- precision: 0,
175
+ precision: 2,
176
176
  min: minPrice,
177
177
  max: maxPrice,
178
178
  placeholder: formatMessage('请输入'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-sanzhizhou",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",