component-shipinlv 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/dist/AuthClient/login-reg.css.d.ts +5 -0
  2. package/dist/AuthClient/login-reg.css.js +6 -0
  3. package/dist/AuthClient/login-reg.d.ts +0 -1
  4. package/dist/AuthClient/login-reg.js +2 -3
  5. package/dist/AuthClient/login.css.d.ts +5 -0
  6. package/dist/AuthClient/login.css.js +6 -0
  7. package/dist/AuthClient/login.d.ts +0 -1
  8. package/dist/AuthClient/login.js +2 -1
  9. package/dist/AuthClient/qr/index.css.d.ts +8 -0
  10. package/dist/AuthClient/qr/index.css.js +9 -0
  11. package/dist/AuthClient/qr/index.js +37 -41
  12. package/dist/AuthClient/reg.d.ts +0 -1
  13. package/dist/AuthClient/reg.js +0 -1
  14. package/dist/Buy/index.css.d.ts +5 -0
  15. package/dist/Buy/index.css.js +6 -0
  16. package/dist/Buy/index.d.ts +0 -1
  17. package/dist/Buy/index.js +11 -9
  18. package/dist/Buy/qr.css.d.ts +5 -0
  19. package/dist/Buy/qr.css.js +6 -0
  20. package/dist/Buy/qr.d.ts +0 -1
  21. package/dist/Buy/qr.js +73 -71
  22. package/dist/UI/DialogDrawer.css.d.ts +5 -0
  23. package/dist/UI/DialogDrawer.css.js +6 -0
  24. package/dist/UI/DialogDrawer.d.ts +0 -1
  25. package/dist/UI/DialogDrawer.js +14 -12
  26. package/dist/UI/DialogDrawerFooter.css.d.ts +5 -0
  27. package/dist/UI/DialogDrawerFooter.css.js +6 -0
  28. package/dist/UI/DialogDrawerFooter.d.ts +0 -1
  29. package/dist/UI/DialogDrawerFooter.js +2 -3
  30. package/dist/UI/LoadError.css.d.ts +5 -0
  31. package/dist/UI/LoadError.css.js +6 -0
  32. package/dist/UI/LoadError.d.ts +0 -1
  33. package/dist/UI/LoadError.js +2 -3
  34. package/dist/UI/PageContentWarp.css.d.ts +5 -0
  35. package/dist/UI/PageContentWarp.css.js +6 -0
  36. package/dist/UI/PageContentWarp.d.ts +0 -1
  37. package/dist/UI/PageContentWarp.js +2 -2
  38. package/dist/VipCompare/commend.css.d.ts +5 -0
  39. package/dist/VipCompare/commend.css.js +6 -0
  40. package/dist/VipCompare/commend.d.ts +0 -1
  41. package/dist/VipCompare/commend.js +2 -3
  42. package/dist/VipCompare/index.css.d.ts +5 -0
  43. package/dist/VipCompare/index.css.js +6 -0
  44. package/dist/VipCompare/index.d.ts +0 -1
  45. package/dist/VipCompare/index.js +48 -47
  46. package/package.json +2 -1
  47. package/dist/AuthClient/login-reg.scss +0 -13
  48. package/dist/AuthClient/login.scss +0 -52
  49. package/dist/AuthClient/qr/index.scss +0 -84
  50. package/dist/AuthClient/reg.scss +0 -3
  51. package/dist/Buy/index.scss +0 -26
  52. package/dist/Buy/qr.scss +0 -69
  53. package/dist/UI/DialogDrawer.scss +0 -10
  54. package/dist/UI/DialogDrawerFooter.scss +0 -19
  55. package/dist/UI/LoadError.scss +0 -18
  56. package/dist/UI/PageContentWarp.scss +0 -11
  57. package/dist/VipCompare/commend.scss +0 -7
  58. package/dist/VipCompare/index.scss +0 -26
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ LoginReg: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ LoginReg: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .radioSelectBox{\n text-align: right;\n }\n .selectTabs{\n .ant-tabs-nav-wrap{\n display: none !important;\n }\n .ant-tabs-nav{\n opacity: 0;\n }\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import "./login-reg.scss";
3
2
  interface Props {
4
3
  activeKeyDefault?: 'login' | 'reg' | string;
5
4
  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.scss";
6
+ import styles from "./login-reg.css";
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";
@@ -17,8 +17,7 @@ var AuthLoginReg = function AuthLoginReg(_ref) {
17
17
  _useState2 = _slicedToArray(_useState, 2),
18
18
  activeKey = _useState2[0],
19
19
  setActiveKey = _useState2[1];
20
- return /*#__PURE__*/_jsxs("div", {
21
- className: "loginReg",
20
+ return /*#__PURE__*/_jsxs(styles.LoginReg, {
22
21
  children: [/*#__PURE__*/_jsx("div", {
23
22
  className: "radioSelectBox",
24
23
  children: /*#__PURE__*/_jsxs(Radio.Group, {
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ AuthClientLogin: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ AuthClientLogin: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: no-repeat left bottom #FFF;\n background-size: cover;\n .webTitle{\n font-weight: normal;\n font-size: 22px;\n text-align: right;\n margin: 0 0 -10px 0;\n line-height: 1em;\n span{\n display: inline-block;\n padding-left: 5px;\n font-weight: lighter;\n font-size: 16px;\n };\n }\n .loginMain{\n margin: 0 auto 20px;\n .loginForm{\n margin: 0 auto;\n padding:0 0 5px 0 ;\n background-color: rgba(255, 255, 255, 0.75 );\n border-radius: 6px;\n }\n }\n\n .storePass{\n cursor: pointer;\n }\n\n .login-success{\n position: relative;\n cursor: pointer;\n width: 220px;\n height: 220px;\n margin: 10px auto; background-color: #EEE; font-size: 40px; color: #999; text-align: center;\n .anticon{ line-height: 1em; color: #52c41a; }\n .icon-warp{\n position: relative; z-index: 10; opacity: 1; margin-top: 70px; width: 80px; height: 80px; padding: 10px; background-color: #FFF; display: inline-block; border-radius: 100px; }\n }\n\n .otherInfo{\n position: relative;\n .forgetPass{\n position: absolute;\n right: 0;\n top: 0;\n padding: 6px 0 0 0;\n font-size: 13px;\n }\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import "./reg.scss";
3
2
  interface Props {
4
3
  onSuccess: () => void;
5
4
  }
@@ -7,7 +7,8 @@ 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.scss";
10
+
11
+ // import styles from "./reg.scss" ;
11
12
  import * as AuthController from "../service/api/AuthController";
12
13
  import { jsx as _jsx } from "react/jsx-runtime";
13
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ AuthQrLogin: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ LoginForm: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
5
+ WebTitle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
6
+ WeQrUrlBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
7
+ };
8
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ AuthQrLogin: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .qr{\n display: block;\n margin: 12px auto 0;\n width: 230px;\n height: 230px;\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n &.qrAlipay{\n border: 3px solid #1677ff;\n }\n .reTry{\n font-size: 80px;\n background-color: rgba( 255, 255, 255, 0.95 );\n text-align: center;\n line-height: 210px;\n height: 100%;\n a{\n display: block;\n }\n }\n }\n .alt{\n padding: 10px 0 0;\n color: #999;\n text-align: center;\n }\n .altWeb{\n padding: 16px 0 0;\n max-width: 300px;\n margin: 0 auto;\n .titles{\n text-align: center;\n font-weight: bold;\n }\n ul{\n margin: 0 10px;\n }\n\n }\n .percent{\n width: 100%;\n position: absolute;\n overflow: hidden;\n left: 0;\n bottom: 0;\n .warp{\n height: 4px;\n background-color: #1677ff;\n transition: all 1.6s ease-in-out;\n -webkit-transition: all 1.6s ease-in-out;\n }\n }\n "]))),
6
+ LoginForm: styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin: 0 auto;\n padding: 0 0 5px 0 ;\n background-color: rgba(255, 255, 255, 0.75 );\n border-radius: 6px;\n "]))),
7
+ WebTitle: styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-weight: normal;\n font-size: 22px;\n text-align: center;\n padding: 0;\n margin: 6px 0 0 0;\n line-height: 1em;\n span{\n display: inline-block;\n padding-left: 5px;\n font-weight: lighter;\n font-size: 16px;\n }\n "]))),
8
+ WeQrUrlBox: styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n min-height: 240px !important;\n "])))
9
+ };
@@ -13,7 +13,9 @@ import AuthLoginReg from "../login-reg";
13
13
  import Platform from "../../lib/platform";
14
14
  import QrWs from "./ws";
15
15
  import { getApiEnv } from "../../lib/getApiUrl";
16
+ import styles from "./index.css";
16
17
  import { jsx as _jsx } from "react/jsx-runtime";
18
+ import { Fragment as _Fragment } from "react/jsx-runtime";
17
19
  import { jsxs as _jsxs } from "react/jsx-runtime";
18
20
  var reTryMaxCount = 120;
19
21
  var reTryTimeLoop = 1000; // ms
@@ -227,17 +229,11 @@ var LoginQr = function LoginQr(_ref) {
227
229
  clearTimeout(timer.current);
228
230
  };
229
231
  }, []);
230
- return /*#__PURE__*/_jsx("section", {
231
- className: "authQrLogin",
232
- children: /*#__PURE__*/_jsxs("div", {
233
- className: "loginForm",
234
- children: [/*#__PURE__*/_jsx("div", {
235
- className: "form-group",
236
- children: /*#__PURE__*/_jsx("h1", {
237
- className: "webTitle",
238
- children: /*#__PURE__*/_jsx("span", {
239
- children: "\u767B\u5F55/\u6CE8\u518C"
240
- })
232
+ return /*#__PURE__*/_jsx(styles.AuthQrLogin, {
233
+ children: /*#__PURE__*/_jsxs(styles.LoginForm, {
234
+ children: [/*#__PURE__*/_jsx(styles.WebTitle, {
235
+ children: /*#__PURE__*/_jsx("span", {
236
+ children: "\u767B\u5F55/\u6CE8\u518C"
241
237
  })
242
238
  }), /*#__PURE__*/_jsxs(Tabs, {
243
239
  activeKey: activeKey,
@@ -245,46 +241,46 @@ var LoginQr = function LoginQr(_ref) {
245
241
  onTabChange(keyName);
246
242
  },
247
243
  children: [/*#__PURE__*/_jsx(Tabs.TabPane, {
248
- tab: /*#__PURE__*/_jsxs("span", {
249
- className: "tab-icon",
250
- children: [/*#__PURE__*/_jsx(WechatOutlined, {}), "\u5FAE\u4FE1"]
244
+ tab: /*#__PURE__*/_jsxs(_Fragment, {
245
+ children: [/*#__PURE__*/_jsx(WechatOutlined, {}), " \u5FAE\u4FE1"]
251
246
  }),
252
247
  disabled: wechatDisabled,
253
- children: /*#__PURE__*/_jsxs(PageContentWarp, {
248
+ children: /*#__PURE__*/_jsx(PageContentWarp, {
254
249
  loading: loadingWeLoginQr || loading,
255
250
  error: errorWeLoginQr,
256
251
  onReload: function onReload() {
257
252
  return onRetryWeQr();
258
253
  },
259
- className: "weQrUrlBox",
260
- children: [/*#__PURE__*/_jsx("div", {
261
- style: {
262
- backgroundImage: "url('".concat(weQrUrl, "')")
263
- },
264
- className: "qr wechat ".concat(isNextTry ? '' : 'noTry'),
265
- children: !isNextTry && /*#__PURE__*/_jsx("div", {
266
- className: "reTry",
267
- onClick: onRetryWeQr,
268
- children: /*#__PURE__*/_jsx("a", {
269
- children: /*#__PURE__*/_jsx(RedoOutlined, {})
270
- })
271
- })
272
- }), Platform.isH5 ? /*#__PURE__*/_jsxs("div", {
273
- className: "altWeb",
254
+ children: /*#__PURE__*/_jsxs(styles.WeQrUrlBox, {
274
255
  children: [/*#__PURE__*/_jsx("div", {
275
- className: "titles",
276
- children: "\u4E0B\u9762\u4EFB\u9009\u4E00\u4E2A\u65B9\u6CD5\u90FD\u53EF\u4EE5\u767B\u5F55\uFF1A"
277
- }), /*#__PURE__*/_jsxs("ul", {
278
- children: [/*#__PURE__*/_jsx("li", {
279
- children: "1\u3001\u628A\u672C\u9875\u7F51\u5740\u590D\u5236\u5230\u5FAE\u4FE1\u91CC\u9762\u6253\u5F00"
280
- }), /*#__PURE__*/_jsx("li", {
281
- children: "2\u3001\u8BF7\u7528\u5FAE\u4FE1\u626B\u7801\u767B\u5F55"
256
+ style: {
257
+ backgroundImage: "url('".concat(weQrUrl, "')")
258
+ },
259
+ className: "qr wechat ".concat(isNextTry ? '' : 'noTry'),
260
+ children: !isNextTry && /*#__PURE__*/_jsx("div", {
261
+ className: "reTry",
262
+ onClick: onRetryWeQr,
263
+ children: /*#__PURE__*/_jsx("a", {
264
+ children: /*#__PURE__*/_jsx(RedoOutlined, {})
265
+ })
266
+ })
267
+ }), Platform.isH5 ? /*#__PURE__*/_jsxs("div", {
268
+ className: "altWeb",
269
+ children: [/*#__PURE__*/_jsx("div", {
270
+ className: "titles",
271
+ children: "\u4E0B\u9762\u4EFB\u9009\u4E00\u4E2A\u65B9\u6CD5\u90FD\u53EF\u4EE5\u767B\u5F55\uFF1A"
272
+ }), /*#__PURE__*/_jsxs("ul", {
273
+ children: [/*#__PURE__*/_jsx("li", {
274
+ children: "1\u3001\u628A\u672C\u9875\u7F51\u5740\u590D\u5236\u5230\u5FAE\u4FE1\u91CC\u9762\u6253\u5F00"
275
+ }), /*#__PURE__*/_jsx("li", {
276
+ children: "2\u3001\u8BF7\u7528\u5FAE\u4FE1\u626B\u7801\u767B\u5F55"
277
+ })]
282
278
  })]
279
+ }) : /*#__PURE__*/_jsx("div", {
280
+ className: "alt",
281
+ children: "\u8BF7\u7528\u5FAE\u4FE1\u626B\u7801\u767B\u5F55"
283
282
  })]
284
- }) : /*#__PURE__*/_jsx("div", {
285
- className: "alt",
286
- children: "\u8BF7\u7528\u5FAE\u4FE1\u626B\u7801\u767B\u5F55"
287
- })]
283
+ })
288
284
  })
289
285
  }, "wechat"), !accountHidden && /*#__PURE__*/_jsx(Tabs.TabPane, {
290
286
  tab: /*#__PURE__*/_jsxs("span", {
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import "./reg.scss";
3
2
  interface Props {
4
3
  onSuccess: () => void;
5
4
  }
@@ -6,7 +6,6 @@ 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.scss";
10
9
  import { useRequest } from "@umijs/hooks";
11
10
  import * as AuthController from "../service/api/AuthController";
12
11
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ Buy: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ Buy: styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n :global{\n .ktv-ai-vip-compare{\n .vip-compare-price{\n small{\n color: #888;\n vertical-align: middle;\n }\n }\n .listMore{\n position: absolute;\n right: 10px;\n top: 9px;\n }\n\n .vipCompareListMoreContent{\n width: 500px;\n .ratioAlt{\n padding: 6px 0;\n font-size: 13px;\n color: #777;\n .vip-compare-alt{\n\n }\n }\n }\n\n }\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import "./index.scss";
3
2
  import type { SizeType } from "antd/es/config-provider/SizeContext";
4
3
  interface Props {
5
4
  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.scss";
6
+ import styles from "./index.css";
7
7
  import VipQr from "./qr";
8
8
  import Platform from "../lib/platform";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -78,14 +78,16 @@ var Buy = function Buy(_ref) {
78
78
  // 广播,点击了 购买;
79
79
  Tool.event.run('vip-buy-click');
80
80
  };
81
- return /*#__PURE__*/_jsx(Button, {
82
- type: "primary",
83
- size: buttonSmall,
84
- disabled: disabled,
85
- onClick: function onClick() {
86
- return onBuy();
87
- },
88
- children: title
81
+ return /*#__PURE__*/_jsx(styles.Buy, {
82
+ children: /*#__PURE__*/_jsx(Button, {
83
+ type: "primary",
84
+ size: buttonSmall,
85
+ disabled: disabled,
86
+ onClick: function onClick() {
87
+ return onBuy();
88
+ },
89
+ children: title
90
+ })
89
91
  });
90
92
  };
91
93
  export default Buy;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ BuyQr: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ BuyQr: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ktv-ai-vipQr{\n position: relative;\n text-align: center;\n display: flex;\n flex-direction: column;\n height: 100%;\n .qrImage{\n width: 200px;\n height: 200px;\n margin: 20px auto 10px;\n img{\n display: block;\n width: 100%;\n max-width: 100%;\n }\n }\n .price{\n font-size: 16px;\n strong{\n font-size: 20px;\n color: #F60;\n }\n .multiply{\n display: inline-block;\n margin: 0 10px;\n color: #AAA;\n }\n .productCount{\n font-size: 20px;\n }\n .equal{\n transform: rotate(90deg);\n display: inline-block;\n margin: 0 10px;\n color: #AAA;\n }\n .moneyAll{\n color: #F60;\n font-size: 32px;\n }\n }\n .alt{\n color: #999;\n font-size: 13px;\n .wechatIcon{\n color: #0bc160;\n }\n }\n .altInH5{\n padding: 8px 0 0;\n color: #C00;\n font-size: 15px;\n .toFriend{\n font-size: 13px;\n color: #888;\n padding: 0;\n margin: 0;\n }\n }\n\n .payResult{\n .ant-result{\n padding: 0 30px 30px;\n }\n .ant-result-icon{\n display: none;\n }\n }\n }\n\n "])))
6
+ };
package/dist/Buy/qr.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './qr.scss';
3
2
  interface Props {
4
3
  env?: Global.Env;
5
4
  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.scss";
10
+ import styles from "./qr.css";
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";
@@ -105,81 +105,83 @@ var VipQr = function VipQr(_ref) {
105
105
  loading = _useRequest2.loading,
106
106
  run = _useRequest2.run,
107
107
  error = _useRequest2.error;
108
- return /*#__PURE__*/_jsxs(PageContentWarp, {
109
- loading: loading || loadingPay,
110
- error: error || errorPay
111
- // title="购买会员"
112
- ,
113
- onReload: function onReload() {
114
- return run();
115
- },
116
- className: "ktv-ai-vipQr",
117
- children: [/*#__PURE__*/_jsxs("h2", {
118
- children: ["\u8D2D\u4E70\u4F1A\u5458\uFF1A", detailData.productName || detailData.productType]
119
- }), /*#__PURE__*/_jsxs("div", {
120
- className: "price",
121
- children: [/*#__PURE__*/_jsx("small", {
122
- children: "\uFFE5"
123
- }), /*#__PURE__*/_jsx("strong", {
124
- children: detailData.price
125
- }), /*#__PURE__*/_jsx("small", {
126
- children: "\u5143"
127
- }), " / ", detailData.monthTitle, productCount > 1 && /*#__PURE__*/_jsxs(_Fragment, {
128
- children: [/*#__PURE__*/_jsx(CloseOutlined, {
129
- className: "multiply"
130
- }), /*#__PURE__*/_jsx("span", {
131
- className: "productCount",
132
- children: productCount
133
- }), /*#__PURE__*/_jsx(PauseOutlined, {
134
- className: "equal"
135
- }), /*#__PURE__*/_jsx("span", {
136
- className: "moneyAll",
137
- children: parseFloat(Tool.math.multiply(detailData.price, productCount).toFixed(0))
108
+ return /*#__PURE__*/_jsx(styles.BuyQr, {
109
+ children: /*#__PURE__*/_jsxs(PageContentWarp, {
110
+ loading: loading || loadingPay,
111
+ error: error || errorPay
112
+ // title="购买会员"
113
+ ,
114
+ onReload: function onReload() {
115
+ return run();
116
+ },
117
+ className: "ktv-ai-vipQr",
118
+ children: [/*#__PURE__*/_jsxs("h2", {
119
+ children: ["\u8D2D\u4E70\u4F1A\u5458\uFF1A", detailData.productName || detailData.productType]
120
+ }), /*#__PURE__*/_jsxs("div", {
121
+ className: "price",
122
+ children: [/*#__PURE__*/_jsx("small", {
123
+ children: "\uFFE5"
124
+ }), /*#__PURE__*/_jsx("strong", {
125
+ children: detailData.price
138
126
  }), /*#__PURE__*/_jsx("small", {
139
- className: "yen",
140
127
  children: "\u5143"
141
- })]
142
- })]
143
- }), /*#__PURE__*/_jsx("div", {
144
- className: "qrImage",
145
- children: payQrImageUrl && /*#__PURE__*/_jsx("img", {
146
- src: payQrImageUrl,
147
- alt: ""
148
- })
149
- }), Platform.isH5 ? /*#__PURE__*/_jsxs("div", {
150
- className: "altInH5",
151
- children: ["\u957F\u6309\u4E8C\u7EF4\u7801\uFF0C\u53EF\u8BC6\u522B\u4E8C\u7EF4\u7801\u652F\u4ED8", /*#__PURE__*/_jsx("p", {
152
- className: "toFriend",
153
- children: "\u6216\u8005\u4FDD\u5B58\u56FE\u7247\u8BA9\u670B\u53CB\u626B\u7801\u4EE3\u4ED8"
154
- })]
155
- }) : /*#__PURE__*/_jsxs("div", {
156
- className: "alt",
157
- children: ["\u8BF7\u7528 ", /*#__PURE__*/_jsx(WechatOutlined, {
158
- className: "wechatIcon"
159
- }), " \u5FAE\u4FE1 \u626B\u7801\u652F\u4ED8 ", /*#__PURE__*/_jsx(Divider, {
160
- type: "vertical"
161
- }), " \u4E5F\u53EF\u4EE5\u8BA9\u670B\u53CB\u626B\u7801\u4EE3\u4ED8"]
162
- }), payResult && /*#__PURE__*/_jsxs("div", {
163
- className: "payResult",
164
- children: [/*#__PURE__*/_jsx(Divider, {}), /*#__PURE__*/_jsx(Result, {
165
- title: "\u662F\u5426\u5DF2\u7ECF\u8D2D\u4E70\u6210\u529F\uFF1F",
166
- subTitle: "\u8D2D\u4E70\u6210\u529F\u540E\uFF0C\u53EF\u4EE5\u5728\u201C\u6211\u7684\u201D\u9875\u9762\u67E5\u770B",
167
- extra: /*#__PURE__*/_jsxs(Space, {
168
- children: [/*#__PURE__*/_jsx(Button, {
169
- type: "primary",
170
- onClick: function onClick() {
171
- return onHandlePaySuccess();
172
- },
173
- children: "\u5DF2\u7ECF\u4ED8\u6B3E\u6210\u529F"
174
- }), /*#__PURE__*/_jsx(Button, {
175
- onClick: function onClick() {
176
- return setPayResult(false);
177
- },
178
- children: "\u672A\u4ED8\u6B3E"
128
+ }), " / ", detailData.monthTitle, productCount > 1 && /*#__PURE__*/_jsxs(_Fragment, {
129
+ children: [/*#__PURE__*/_jsx(CloseOutlined, {
130
+ className: "multiply"
131
+ }), /*#__PURE__*/_jsx("span", {
132
+ className: "productCount",
133
+ children: productCount
134
+ }), /*#__PURE__*/_jsx(PauseOutlined, {
135
+ className: "equal"
136
+ }), /*#__PURE__*/_jsx("span", {
137
+ className: "moneyAll",
138
+ children: parseFloat(Tool.math.multiply(detailData.price, productCount).toFixed(0))
139
+ }), /*#__PURE__*/_jsx("small", {
140
+ className: "yen",
141
+ children: "\u5143"
179
142
  })]
143
+ })]
144
+ }), /*#__PURE__*/_jsx("div", {
145
+ className: "qrImage",
146
+ children: payQrImageUrl && /*#__PURE__*/_jsx("img", {
147
+ src: payQrImageUrl,
148
+ alt: ""
180
149
  })
150
+ }), Platform.isH5 ? /*#__PURE__*/_jsxs("div", {
151
+ className: "altInH5",
152
+ children: ["\u957F\u6309\u4E8C\u7EF4\u7801\uFF0C\u53EF\u8BC6\u522B\u4E8C\u7EF4\u7801\u652F\u4ED8", /*#__PURE__*/_jsx("p", {
153
+ className: "toFriend",
154
+ children: "\u6216\u8005\u4FDD\u5B58\u56FE\u7247\u8BA9\u670B\u53CB\u626B\u7801\u4EE3\u4ED8"
155
+ })]
156
+ }) : /*#__PURE__*/_jsxs("div", {
157
+ className: "alt",
158
+ children: ["\u8BF7\u7528 ", /*#__PURE__*/_jsx(WechatOutlined, {
159
+ className: "wechatIcon"
160
+ }), " \u5FAE\u4FE1 \u626B\u7801\u652F\u4ED8 ", /*#__PURE__*/_jsx(Divider, {
161
+ type: "vertical"
162
+ }), " \u4E5F\u53EF\u4EE5\u8BA9\u670B\u53CB\u626B\u7801\u4EE3\u4ED8"]
163
+ }), payResult && /*#__PURE__*/_jsxs("div", {
164
+ className: "payResult",
165
+ children: [/*#__PURE__*/_jsx(Divider, {}), /*#__PURE__*/_jsx(Result, {
166
+ title: "\u662F\u5426\u5DF2\u7ECF\u8D2D\u4E70\u6210\u529F\uFF1F",
167
+ subTitle: "\u8D2D\u4E70\u6210\u529F\u540E\uFF0C\u53EF\u4EE5\u5728\u201C\u6211\u7684\u201D\u9875\u9762\u67E5\u770B",
168
+ extra: /*#__PURE__*/_jsxs(Space, {
169
+ children: [/*#__PURE__*/_jsx(Button, {
170
+ type: "primary",
171
+ onClick: function onClick() {
172
+ return onHandlePaySuccess();
173
+ },
174
+ children: "\u5DF2\u7ECF\u4ED8\u6B3E\u6210\u529F"
175
+ }), /*#__PURE__*/_jsx(Button, {
176
+ onClick: function onClick() {
177
+ return setPayResult(false);
178
+ },
179
+ children: "\u672A\u4ED8\u6B3E"
180
+ })]
181
+ })
182
+ })]
181
183
  })]
182
- })]
184
+ })
183
185
  });
184
186
  };
185
187
  export default VipQr;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ DrawerDialog: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ DrawerDialog: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ktv-ai-drawerDialog {\n .ant-drawer-body {\n background-color: #f5f5f5;\n }\n &.light{\n .ant-drawer-body {\n background-color: #FFF;\n }\n }\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './DialogDrawer.scss';
3
2
  interface Props {
4
3
  onClose?: any;
5
4
  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.scss";
5
+ import styles from "./DialogDrawer.css";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  // 抽屉
8
8
  var DialogDrawer = function DialogDrawer(props) {
@@ -50,17 +50,19 @@ var DialogDrawer = function DialogDrawer(props) {
50
50
  colorPrimary: '#722ED1'
51
51
  }
52
52
  },
53
- children: /*#__PURE__*/_jsx(Drawer, {
54
- className: "ktv-ai-drawerDialog ".concat(state.bgTheme, " "),
55
- title: state.title,
56
- placement: state.placement,
57
- closable: state.closable,
58
- onClose: function onClose() {
59
- return _onClose();
60
- },
61
- visible: visible,
62
- width: state.width,
63
- children: props.content
53
+ children: /*#__PURE__*/_jsx(styles.DrawerDialog, {
54
+ children: /*#__PURE__*/_jsx(Drawer, {
55
+ className: "ktv-ai-drawerDialog ".concat(state.bgTheme, " "),
56
+ title: state.title,
57
+ placement: state.placement,
58
+ closable: state.closable,
59
+ onClose: function onClose() {
60
+ return _onClose();
61
+ },
62
+ visible: visible,
63
+ width: state.width,
64
+ children: props.content
65
+ })
64
66
  })
65
67
  });
66
68
  };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ DialogDrawerFooter: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ DialogDrawerFooter: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .warp{\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 20;\n width: 100%;\n height: 56px;\n background-color: #FFF;\n line-height: 56px;\n text-align: right;\n }\n .warpChildren{\n padding: 0 20px 0 0;\n }\n .pos{\n height: 56px;\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './DialogDrawerFooter.scss';
3
2
  interface Props {
4
3
  children: React.ReactNode;
5
4
  }
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
2
  import { Space } from 'antd';
3
- import "./DialogDrawerFooter.scss";
3
+ import styles from "./DialogDrawerFooter.css";
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) {
7
7
  var children = _ref.children;
8
- return /*#__PURE__*/_jsxs("div", {
9
- className: "ktv-ai-dialogDrawerFooter",
8
+ return /*#__PURE__*/_jsxs(styles.DialogDrawerFooter, {
10
9
  children: [/*#__PURE__*/_jsx("div", {
11
10
  className: "warp",
12
11
  children: /*#__PURE__*/_jsx("div", {
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ LoadError: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ LoadError: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n :global{\n .ant-result {\n padding: 20px 2px;\n }\n .ant-result-image {\n width: 200px;\n height: 260px;\n svg {\n transform: scale(0.8);\n transform-origin: 0 50%;\n }\n }\n .ant-result-title {\n color: #666;\n font-weight: 400;\n font-size: 18px;\n }\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './LoadError.scss';
3
2
  interface Props {
4
3
  title?: string;
5
4
  code?: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Button, Result } from 'antd';
3
- import "./LoadError.scss";
3
+ import styles from "./LoadError.css";
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) {
@@ -18,8 +18,7 @@ var LoadError = function LoadError(_ref) {
18
18
  }
19
19
  return outTitle;
20
20
  };
21
- return /*#__PURE__*/_jsx("div", {
22
- className: "ktv-ai-loadError",
21
+ return /*#__PURE__*/_jsx(styles.LoadError, {
23
22
  children: /*#__PURE__*/_jsx(Result, {
24
23
  icon: /*#__PURE__*/_jsx(MehOutlined, {}),
25
24
  title: getTitle(),
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ PageContentBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ PageContentBox: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ktv-ai-loading{\n padding: 20px;\n text-align: center;\n display: flex;\n flex-direction: row;\n justify-content: center;\n font-size: 30px;\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './PageContentWarp.scss';
3
2
  interface Props {
4
3
  title?: React.ReactNode;
5
4
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import "./PageContentWarp.scss";
2
+ import styles from "./PageContentWarp.css";
3
3
  import LoadError from "./LoadError";
4
4
  import { LoadingOutlined } from '@ant-design/icons';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -22,7 +22,7 @@ var PageContentWarp = function PageContentWarp(_ref) {
22
22
  error = _ref.error,
23
23
  errorNode = _ref.errorNode,
24
24
  onReload = _ref.onReload;
25
- return /*#__PURE__*/_jsxs("div", {
25
+ return /*#__PURE__*/_jsxs(styles.PageContentBox, {
26
26
  className: "ktv-ai-pageContentBox ".concat(className),
27
27
  style: {
28
28
  minHeight: minHeight > 0 ? minHeight : 'auto'
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ VipCommend: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ VipCommend: styled.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: #F60;\n padding-left: 3px;\n .ktv-ai-icon{\n margin-right: 1px;\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './commend.scss';
3
2
  interface Props {
4
3
  commend?: number;
5
4
  }
@@ -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.scss";
4
+ import styles from "./commend.css";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  var VipCommend = function VipCommend(_ref) {
7
7
  var _ref$commend = _ref.commend,
@@ -17,8 +17,7 @@ var VipCommend = function VipCommend(_ref) {
17
17
  }
18
18
  setList(dataList);
19
19
  }, [commend]);
20
- return /*#__PURE__*/_jsx("span", {
21
- className: "ktv-ai-vipCommend",
20
+ return /*#__PURE__*/_jsx(styles.VipCommend, {
22
21
  children: list.map(function (num, i) {
23
22
  return /*#__PURE__*/_jsx(LikeOutlined, {
24
23
  className: "ktv-ai-icon"
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ VipCompare: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
+ var _templateObject;
3
+ import styled from 'styled-components';
4
+ export default {
5
+ VipCompare: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .vip-compare-price{\n small{\n color: #888;\n vertical-align: middle;\n }\n }\n .listMore{\n position: absolute;\n right: 10px;\n top: 9px;\n }\n\n .vipCompareListMoreContent{\n width: 500px;\n .ratioAlt{\n padding: 6px 0;\n font-size: 13px;\n color: #777;\n .vip-compare-alt{\n\n }\n }\n }\n "])))
6
+ };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import "./index.scss";
3
2
  interface Props {
4
3
  productType: string;
5
4
  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.scss";
11
+ import styles from "./index.css";
12
12
  import { QuestionCircleFilled, LikeOutlined } from '@ant-design/icons';
13
13
  import VipCommend from "./commend";
14
14
  import * as UserController from "../service/api/UserController";
@@ -263,58 +263,59 @@ var VipCompare = function VipCompare(_ref) {
263
263
  });
264
264
  setColumns(_toConsumableArray(columns));
265
265
  }, []);
266
- return /*#__PURE__*/_jsxs(PageContentWarp, {
266
+ return /*#__PURE__*/_jsx(PageContentWarp, {
267
267
  loading: loading,
268
268
  error: error,
269
269
  onReload: function onReload() {
270
270
  return run();
271
271
  },
272
- className: "ktv-ai-vip-compare",
273
- children: [/*#__PURE__*/_jsx("div", {
274
- className: "listMore",
275
- children: /*#__PURE__*/_jsx(Popover, {
276
- title: "\u4F1A\u5458\u63D0\u6210\u4ECB\u7ECD",
277
- placement: "topRight",
278
- content: /*#__PURE__*/_jsxs("div", {
279
- className: "vipCompareListMoreContent",
280
- children: [/*#__PURE__*/_jsx("p", {
281
- children: "\u60A8\u53EF\u4EE5\u8D2D\u4E70\u7684\u4F1A\u5458\u52A0\u901F\u5361\uFF0C\u63A8\u5E7F\u8D5A\u94B1\uFF1B\u4F1A\u5458\u7B49\u7EA7\u7B49\u7EA7\u8D8A\u9AD8\uFF0C\u6536\u76CA\u8D8A\u9AD8\uFF1B"
282
- }), /*#__PURE__*/_jsx(Table, {
283
- size: "small",
284
- bordered: true,
285
- rowKey: function rowKey(record) {
286
- return "".concat(record.id);
287
- },
288
- loading: loading,
289
- columns: columnsMore,
290
- dataSource: listData,
291
- pagination: false
292
- }), /*#__PURE__*/_jsxs("div", {
293
- className: ".vip-compare-ratioAlt",
294
- children: [/*#__PURE__*/_jsx("strong", {
295
- children: "\u4E00\u7EA7\u597D\u53CB"
296
- }), "\u8868\u793A\u4F60\u9080\u8BF7\u7684\u597D\u53CB\uFF0C", /*#__PURE__*/_jsx("strong", {
297
- children: "\u4E8C\u7EA7\u597D\u53CB"
298
- }), "\u8868\u793A\u4F60\u7684\u597D\u53CB\u9080\u8BF7\u7684\u597D\u53CB\uFF1B\u597D\u53CB\u5728\u5E73\u53F0", /*#__PURE__*/_jsx("strong", {
299
- children: "\u73B0\u5728\u3001\u672A\u6765"
300
- }), "\u7684\u6240\u6709\u6D88\u8D39\u90FD\u6709\u5206\u6210\u3002"]
301
- })]
302
- }),
303
- children: /*#__PURE__*/_jsxs("a", {
304
- children: [/*#__PURE__*/_jsx(QuestionCircleFilled, {}), " \u8BF4\u660E"]
272
+ children: /*#__PURE__*/_jsxs(styles.VipCompare, {
273
+ children: [/*#__PURE__*/_jsx("div", {
274
+ className: "listMore",
275
+ children: /*#__PURE__*/_jsx(Popover, {
276
+ title: "\u4F1A\u5458\u63D0\u6210\u4ECB\u7ECD",
277
+ placement: "topRight",
278
+ content: /*#__PURE__*/_jsxs("div", {
279
+ className: "vipCompareListMoreContent",
280
+ children: [/*#__PURE__*/_jsx("p", {
281
+ children: "\u60A8\u53EF\u4EE5\u8D2D\u4E70\u7684\u4F1A\u5458\u52A0\u901F\u5361\uFF0C\u63A8\u5E7F\u8D5A\u94B1\uFF1B\u4F1A\u5458\u7B49\u7EA7\u7B49\u7EA7\u8D8A\u9AD8\uFF0C\u6536\u76CA\u8D8A\u9AD8\uFF1B"
282
+ }), /*#__PURE__*/_jsx(Table, {
283
+ size: "small",
284
+ bordered: true,
285
+ rowKey: function rowKey(record) {
286
+ return "".concat(record.id);
287
+ },
288
+ loading: loading,
289
+ columns: columnsMore,
290
+ dataSource: listData,
291
+ pagination: false
292
+ }), /*#__PURE__*/_jsxs("div", {
293
+ className: ".vip-compare-ratioAlt",
294
+ children: [/*#__PURE__*/_jsx("strong", {
295
+ children: "\u4E00\u7EA7\u597D\u53CB"
296
+ }), "\u8868\u793A\u4F60\u9080\u8BF7\u7684\u597D\u53CB\uFF0C", /*#__PURE__*/_jsx("strong", {
297
+ children: "\u4E8C\u7EA7\u597D\u53CB"
298
+ }), "\u8868\u793A\u4F60\u7684\u597D\u53CB\u9080\u8BF7\u7684\u597D\u53CB\uFF1B\u597D\u53CB\u5728\u5E73\u53F0", /*#__PURE__*/_jsx("strong", {
299
+ children: "\u73B0\u5728\u3001\u672A\u6765"
300
+ }), "\u7684\u6240\u6709\u6D88\u8D39\u90FD\u6709\u5206\u6210\u3002"]
301
+ })]
302
+ }),
303
+ children: /*#__PURE__*/_jsxs("a", {
304
+ children: [/*#__PURE__*/_jsx(QuestionCircleFilled, {}), " \u8BF4\u660E"]
305
+ })
305
306
  })
306
- })
307
- }), /*#__PURE__*/_jsx(Table, {
308
- size: "small",
309
- bordered: true,
310
- rowKey: function rowKey(record) {
311
- return "".concat(record.id);
312
- },
313
- loading: loading,
314
- columns: columns,
315
- dataSource: listData,
316
- pagination: false
317
- })]
307
+ }), /*#__PURE__*/_jsx(Table, {
308
+ size: "small",
309
+ bordered: true,
310
+ rowKey: function rowKey(record) {
311
+ return "".concat(record.id);
312
+ },
313
+ loading: loading,
314
+ columns: columns,
315
+ dataSource: listData,
316
+ pagination: false
317
+ })]
318
+ })
318
319
  });
319
320
  };
320
321
  export default VipCompare;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -72,6 +72,7 @@
72
72
  "@umijs/hooks": "^1.9.3",
73
73
  "jr-qrcode": "^1.1.4",
74
74
  "moment": "^2.29.4",
75
+ "styled-components": "^6.1.8",
75
76
  "umi-request": "^1.4.0",
76
77
  "yarn": "^1.22.19"
77
78
  },
@@ -1,13 +0,0 @@
1
- .loginReg{
2
- .radioSelectBox{
3
- text-align: right;
4
- }
5
- .selectTabs{
6
- .ant-tabs-nav-wrap{
7
- display: none !important;
8
- }
9
- .ant-tabs-nav{
10
- opacity: 0;
11
- }
12
- }
13
- }
@@ -1,52 +0,0 @@
1
- .authClientLogin{
2
- background: no-repeat left bottom #FFF;
3
- background-size: cover;
4
- .webTitle{
5
- font-weight: normal;
6
- font-size: 22px;
7
- text-align: right;
8
- margin: 0 0 -10px 0;
9
- line-height: 1em;
10
- span{
11
- display: inline-block;
12
- padding-left: 5px;
13
- font-weight: lighter;
14
- font-size: 16px;
15
- };
16
- }
17
- .loginMain{
18
- margin: 0 auto 20px;
19
- .loginForm{
20
- margin: 0 auto;
21
- padding:0 0 5px 0 ;
22
- background-color: rgba(255, 255, 255, 0.75 );
23
- border-radius: 6px;
24
- }
25
- }
26
-
27
- .storePass{
28
- cursor: pointer;
29
- }
30
-
31
- .login-success{
32
- position: relative;
33
- cursor: pointer;
34
- width: 220px;
35
- height: 220px;
36
- margin: 10px auto; background-color: #EEE; font-size: 40px; color: #999; text-align: center;
37
- .anticon{ line-height: 1em; color: #52c41a; }
38
- .icon-warp{
39
- position: relative; z-index: 10; opacity: 1; margin-top: 70px; width: 80px; height: 80px; padding: 10px; background-color: #FFF; display: inline-block; border-radius: 100px; }
40
- }
41
-
42
- .otherInfo{
43
- position: relative;
44
- .forgetPass{
45
- position: absolute;
46
- right: 0;
47
- top: 0;
48
- padding: 6px 0 0 0;
49
- font-size: 13px;
50
- }
51
- }
52
- }
@@ -1,84 +0,0 @@
1
- .authQrLogin{
2
- .loginForm{
3
- margin: 0 auto;
4
- padding: 0 0 5px 0 ;
5
- background-color: rgba(255, 255, 255, 0.75 );
6
- border-radius: 6px;
7
- }
8
- .webTitle{
9
- font-weight: normal;
10
- font-size: 22px;
11
- text-align: center;
12
- padding: 0;
13
- margin: 6px 0 0 0;
14
- line-height: 1em;
15
- span{
16
- display: inline-block;
17
- padding-left: 5px;
18
- font-weight: lighter;
19
- font-size: 16px;
20
- };
21
- }
22
- .weQrUrlBox{
23
- min-height: 240px !important;
24
- .weQrUrl{
25
- width: 240px;
26
- display: block;
27
- margin: 10px auto 0;
28
- }
29
- }
30
-
31
- .qr{
32
- display: block;
33
- margin: 12px auto 0;
34
- width: 230px;
35
- height: 230px;
36
- background-repeat: no-repeat;
37
- background-size: cover;
38
- background-position: center;
39
- &.qrAlipay{
40
- border: 3px solid #1677ff;
41
- }
42
- .reTry{
43
- font-size: 80px;
44
- background-color: rgba( 255, 255, 255, 0.95 );
45
- text-align: center;
46
- line-height: 210px;
47
- height: 100%;
48
- a{
49
- display: block;
50
- }
51
- }
52
- }
53
- .alt{
54
- padding: 10px 0 0;
55
- color: #999;
56
- text-align: center;
57
- }
58
- .altWeb{
59
- padding: 16px 0 0;
60
- max-width: 300px;
61
- margin: 0 auto;
62
- .titles{
63
- text-align: center;
64
- font-weight: bold;
65
- }
66
- ul{
67
- margin: 0 10px;
68
- }
69
-
70
- }
71
- .percent{
72
- width: 100%;
73
- position: absolute;
74
- overflow: hidden;
75
- left: 0;
76
- bottom: 0;
77
- .warp{
78
- height: 4px;
79
- background-color: #1677ff;
80
- transition: all 1.6s ease-in-out;
81
- -webkit-transition: all 1.6s ease-in-out;
82
- }
83
- }
84
- }
@@ -1,3 +0,0 @@
1
- .authClientReg{
2
-
3
- }
@@ -1,26 +0,0 @@
1
- .ktv-ai-vip-compare{
2
- .vip-compare-price{
3
- small{
4
- color: #888;
5
- vertical-align: middle;
6
- }
7
- }
8
- .listMore{
9
- position: absolute;
10
- right: 10px;
11
- top: 9px;
12
- }
13
-
14
- .vipCompareListMoreContent{
15
- width: 500px;
16
- .ratioAlt{
17
- padding: 6px 0;
18
- font-size: 13px;
19
- color: #777;
20
- .vip-compare-alt{
21
-
22
- }
23
- }
24
- }
25
-
26
- }
package/dist/Buy/qr.scss DELETED
@@ -1,69 +0,0 @@
1
- .ktv-ai-vipQr{
2
- position: relative;
3
- text-align: center;
4
- display: flex;
5
- flex-direction: column;
6
- height: 100%;
7
- .qrImage{
8
- width: 200px;
9
- height: 200px;
10
- margin: 20px auto 10px;
11
- img{
12
- display: block;
13
- width: 100%;
14
- max-width: 100%;
15
- }
16
- }
17
- .price{
18
- font-size: 16px;
19
- strong{
20
- font-size: 20px;
21
- color: #F60;
22
- }
23
- .multiply{
24
- display: inline-block;
25
- margin: 0 10px;
26
- color: #AAA;
27
- }
28
- .productCount{
29
- font-size: 20px;
30
- }
31
- .equal{
32
- transform: rotate(90deg);
33
- display: inline-block;
34
- margin: 0 10px;
35
- color: #AAA;
36
- }
37
- .moneyAll{
38
- color: #F60;
39
- font-size: 32px;
40
- }
41
- }
42
- .alt{
43
- color: #999;
44
- font-size: 13px;
45
- .wechatIcon{
46
- color: #0bc160;
47
- }
48
- }
49
- .altInH5{
50
- padding: 8px 0 0;
51
- color: #C00;
52
- font-size: 15px;
53
- .toFriend{
54
- font-size: 13px;
55
- color: #888;
56
- padding: 0;
57
- margin: 0;
58
- }
59
- }
60
-
61
- .payResult{
62
- .ant-result{
63
- padding: 0 30px 30px;
64
- }
65
- .ant-result-icon{
66
- display: none;
67
- }
68
- }
69
- }
@@ -1,10 +0,0 @@
1
- .ktv-ai-drawerDialog {
2
- .ant-drawer-body {
3
- background-color: #f5f5f5;
4
- }
5
- &.light{
6
- .ant-drawer-body {
7
- background-color: #FFF;
8
- }
9
- }
10
- }
@@ -1,19 +0,0 @@
1
- .ktv-ai-dialogDrawerFooter{
2
- .warp{
3
- position: absolute;
4
- left: 0;
5
- bottom: 0;
6
- z-index: 20;
7
- width: 100%;
8
- height: 56px;
9
- background-color: #FFF;
10
- line-height: 56px;
11
- text-align: right;
12
- }
13
- .warpChildren{
14
- padding: 0 20px 0 0;
15
- }
16
- .pos{
17
- height: 56px;
18
- }
19
- }
@@ -1,18 +0,0 @@
1
- .ktv-ai-loadError {
2
- .ant-result {
3
- padding: 20px 2px;
4
- }
5
- .ant-result-image {
6
- width: 200px;
7
- height: 260px;
8
- svg {
9
- transform: scale(0.8);
10
- transform-origin: 0 50%;
11
- }
12
- }
13
- .ant-result-title {
14
- color: #666;
15
- font-weight: 400;
16
- font-size: 18px;
17
- }
18
- }
@@ -1,11 +0,0 @@
1
- .ktv-ai-pageContentBox{
2
- .ktv-ai-loading{
3
- padding: 20px;
4
- text-align: center;
5
- display: flex;
6
- flex-direction: row;
7
- justify-content: center;
8
- font-size: 30px;
9
- }
10
-
11
- }
@@ -1,7 +0,0 @@
1
- .ktv-ai-vipCommend{
2
- color: #F60;
3
- padding-left: 3px;
4
- .ktv-ai-icon{
5
- margin-right: 1px;
6
- }
7
- }
@@ -1,26 +0,0 @@
1
- .ktv-ai-vip-compare{
2
- .vip-compare-price{
3
- small{
4
- color: #888;
5
- vertical-align: middle;
6
- }
7
- }
8
- .listMore{
9
- position: absolute;
10
- right: 10px;
11
- top: 9px;
12
- }
13
-
14
- .vipCompareListMoreContent{
15
- width: 500px;
16
- .ratioAlt{
17
- padding: 6px 0;
18
- font-size: 13px;
19
- color: #777;
20
- .vip-compare-alt{
21
-
22
- }
23
- }
24
- }
25
-
26
- }