component-shipinlv 0.0.8 → 0.0.10

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 (39) hide show
  1. package/dist/AuthClient/login-reg.d.ts +1 -1
  2. package/dist/AuthClient/login-reg.js +1 -1
  3. package/dist/AuthClient/login.d.ts +1 -1
  4. package/dist/AuthClient/login.js +1 -1
  5. package/dist/AuthClient/qr/index.d.ts +1 -1
  6. package/dist/AuthClient/qr/index.js +1 -1
  7. package/dist/AuthClient/reg.d.ts +1 -1
  8. package/dist/AuthClient/reg.js +1 -1
  9. package/dist/Buy/index.d.ts +1 -1
  10. package/dist/Buy/index.js +1 -1
  11. package/dist/Buy/qr.d.ts +1 -1
  12. package/dist/Buy/qr.js +1 -1
  13. package/dist/UI/DialogDrawer.d.ts +1 -1
  14. package/dist/UI/DialogDrawer.js +1 -1
  15. package/dist/UI/DialogDrawerFooter.d.ts +1 -1
  16. package/dist/UI/DialogDrawerFooter.js +1 -1
  17. package/dist/UI/LoadError.d.ts +1 -1
  18. package/dist/UI/LoadError.js +1 -1
  19. package/dist/UI/PageContentWarp.d.ts +1 -1
  20. package/dist/UI/PageContentWarp.js +1 -1
  21. package/dist/VipCompare/commend.d.ts +1 -1
  22. package/dist/VipCompare/commend.js +1 -1
  23. package/dist/VipCompare/index.d.ts +1 -1
  24. package/dist/VipCompare/index.js +1 -1
  25. package/dist/service/api/AuthController.js +4 -1
  26. package/package.json +1 -1
  27. /package/dist/AuthClient/{login-reg.less → login-reg.scss} +0 -0
  28. /package/dist/AuthClient/{login.less → login.scss} +0 -0
  29. /package/dist/AuthClient/qr/{index.less → index.scss} +0 -0
  30. /package/dist/AuthClient/{reg.less → reg.scss} +0 -0
  31. /package/dist/Buy/{index.less → index.scss} +0 -0
  32. /package/dist/Buy/{qr.less → qr.scss} +0 -0
  33. /package/dist/Product/{index.less → index.scss} +0 -0
  34. /package/dist/UI/{DialogDrawer.less → DialogDrawer.scss} +0 -0
  35. /package/dist/UI/{DialogDrawerFooter.less → DialogDrawerFooter.scss} +0 -0
  36. /package/dist/UI/{LoadError.less → LoadError.scss} +0 -0
  37. /package/dist/UI/{PageContentWarp.less → PageContentWarp.scss} +0 -0
  38. /package/dist/VipCompare/{commend.less → commend.scss} +0 -0
  39. /package/dist/VipCompare/{index.less → index.scss} +0 -0
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./login-reg.less";
2
+ import "./login-reg.scss";
3
3
  interface Props {
4
4
  activeKeyDefault?: 'login' | 'reg' | string;
5
5
  accountRegDisabled?: boolean;
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
3
3
  import { Tabs, Radio } from "antd";
4
4
  import { UserAddOutlined, UserOutlined } from "@ant-design/icons";
5
5
  import Reg from "./reg";
6
- import "./login-reg.less";
6
+ import "./login-reg.scss";
7
7
  import AuthLogin from "./login";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./reg.less";
2
+ import "./reg.scss";
3
3
  interface Props {
4
4
  onSuccess: () => void;
5
5
  }
@@ -7,7 +7,7 @@ import { LockOutlined, UserOutlined, EyeTwoTone, EyeInvisibleOutlined } from '@a
7
7
  import { Input, Button, Form } from 'antd';
8
8
  import Tool from "../lib/Tool";
9
9
  import { useRequest } from '@umijs/hooks';
10
- import "./reg.less";
10
+ import "./reg.scss";
11
11
  import * as AuthController from "../service/api/AuthController";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './index.less';
2
+ import './index.scss';
3
3
  interface Props {
4
4
  defaultLoginType: Global.AuthClientLoginType;
5
5
  wechatDisabled?: boolean;
@@ -7,7 +7,7 @@ import { WechatOutlined, RedoOutlined, UserOutlined } from '@ant-design/icons';
7
7
  import { Tabs } from 'antd';
8
8
  import Tool from "../../lib/Tool";
9
9
  import { useRequest } from '@umijs/hooks';
10
- import "./index.less";
10
+ import "./index.scss";
11
11
  import * as AuthController from "../../service/api/AuthController";
12
12
  import PageContentWarp from "../../UI/PageContentWarp";
13
13
  import AuthLoginReg from "../login-reg";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./reg.less";
2
+ import "./reg.scss";
3
3
  interface Props {
4
4
  onSuccess: () => void;
5
5
  }
@@ -6,7 +6,7 @@ import React from 'react';
6
6
  import { LockOutlined, UserOutlined, EyeTwoTone, EyeInvisibleOutlined } from '@ant-design/icons';
7
7
  import { Input, Button, Form } from 'antd';
8
8
  import Tool from "../lib/Tool";
9
- import "./reg.less";
9
+ import "./reg.scss";
10
10
  import { useRequest } from "@umijs/hooks";
11
11
  import * as AuthController from "../service/api/AuthController";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./index.less";
2
+ import "./index.scss";
3
3
  import type { SizeType } from "antd/es/config-provider/SizeContext";
4
4
  interface Props {
5
5
  env?: Global.Env;
package/dist/Buy/index.js CHANGED
@@ -3,7 +3,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
3
  import React from 'react';
4
4
  import { Button } from 'antd';
5
5
  import Tool from "../lib/Tool";
6
- import "./index.less";
6
+ import "./index.scss";
7
7
  import VipQr from "./qr";
8
8
  import Platform from "../lib/platform";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
package/dist/Buy/qr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './qr.less';
2
+ import './qr.scss';
3
3
  interface Props {
4
4
  env?: Global.Env;
5
5
  productKind: string;
package/dist/Buy/qr.js CHANGED
@@ -7,7 +7,7 @@ import * as TradeController from "../service/api/TradeController";
7
7
  import * as VipController from "../service/api/VipController";
8
8
  import Tool from "../lib/Tool";
9
9
  import PageContentWarp from "../UI/PageContentWarp";
10
- import "./qr.less";
10
+ import "./qr.scss";
11
11
  import Platform from "../lib/platform";
12
12
  import { jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './DialogDrawer.less';
2
+ import './DialogDrawer.scss';
3
3
  interface Props {
4
4
  onClose?: any;
5
5
  content?: any;
@@ -2,7 +2,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import { Drawer, ConfigProvider } from 'antd';
3
3
  import React, { useState, useEffect } from 'react';
4
4
  import Tool from "../lib/Tool";
5
- import "./DialogDrawer.less";
5
+ import "./DialogDrawer.scss";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  // 抽屉
8
8
  var DialogDrawer = function DialogDrawer(props) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './DialogDrawerFooter.less';
2
+ import './DialogDrawerFooter.scss';
3
3
  interface Props {
4
4
  children: React.ReactNode;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Space } from 'antd';
3
- import "./DialogDrawerFooter.less";
3
+ import "./DialogDrawerFooter.scss";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { jsxs as _jsxs } from "react/jsx-runtime";
6
6
  var DialogDrawerFooter = function DialogDrawerFooter(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './LoadError.less';
2
+ import './LoadError.scss';
3
3
  interface Props {
4
4
  title?: string;
5
5
  code?: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Button, Result } from 'antd';
3
- import "./LoadError.less";
3
+ import "./LoadError.scss";
4
4
  import { MehOutlined } from '@ant-design/icons';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  var LoadError = function LoadError(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './PageContentWarp.less';
2
+ import './PageContentWarp.scss';
3
3
  interface Props {
4
4
  title?: React.ReactNode;
5
5
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./PageContentWarp.less";
2
+ import "./PageContentWarp.scss";
3
3
  import LoadError from "./LoadError";
4
4
  import { LoadingOutlined } from '@ant-design/icons';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './commend.less';
2
+ import './commend.scss';
3
3
  interface Props {
4
4
  commend?: number;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import React, { useEffect, useState } from 'react';
3
3
  import { LikeOutlined } from '@ant-design/icons';
4
- import "./commend.less";
4
+ import "./commend.scss";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  var VipCommend = function VipCommend(_ref) {
7
7
  var _ref$commend = _ref.commend,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./index.less";
2
+ import "./index.scss";
3
3
  interface Props {
4
4
  productType: string;
5
5
  env?: Global.Env;
@@ -8,7 +8,7 @@ import { useRequest } from '@umijs/hooks';
8
8
  import * as VipController from "../service/api/VipController";
9
9
  import Tool from "../lib/Tool";
10
10
  import PageContentWarp from "../UI/PageContentWarp";
11
- import "./index.less";
11
+ import "./index.scss";
12
12
  import { QuestionCircleFilled, LikeOutlined } from '@ant-design/icons';
13
13
  import VipCommend from "./commend";
14
14
  import * as UserController from "../service/api/UserController";
@@ -10,6 +10,9 @@ function _login() {
10
10
  return _regeneratorRuntime().wrap(function _callee$(_context) {
11
11
  while (1) switch (_context.prev = _context.next) {
12
12
  case 0:
13
+ // 兼容
14
+ // @ts-ignore
15
+ body.account = body.accountName;
13
16
  return _context.abrupt("return", request("auth/loginAccount", {
14
17
  method: 'POST',
15
18
  headers: {
@@ -17,7 +20,7 @@ function _login() {
17
20
  },
18
21
  data: _objectSpread({}, body)
19
22
  }));
20
- case 1:
23
+ case 2:
21
24
  case "end":
22
25
  return _context.stop();
23
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes