component-shipinlv 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './index.scss';
3
2
  interface Props {
4
3
  defaultLoginType: Global.AuthClientLoginType;
5
4
  wechatDisabled?: boolean;
@@ -7,14 +7,12 @@ 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.scss";
11
10
  import * as AuthController from "../../service/api/AuthController";
12
11
  import PageContentWarp from "../../UI/PageContentWarp";
13
12
  import AuthLoginReg from "../login-reg";
14
13
  import Platform from "../../lib/platform";
15
14
  import QrWs from "./ws";
16
15
  import { getApiEnv } from "../../lib/getApiUrl";
17
- // import LoginQrAlipay from "component-shipinlv/AuthClient/alipay";
18
16
  import { jsx as _jsx } from "react/jsx-runtime";
19
17
  import { jsxs as _jsxs } from "react/jsx-runtime";
20
18
  var reTryMaxCount = 120;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -56,6 +56,7 @@
56
56
  "dumi": "^2.2.16",
57
57
  "eslint": "^8.23.0",
58
58
  "father": "^4.3.8",
59
+ "less": "^4.2.0",
59
60
  "less-loader": "^11.1.0",
60
61
  "lint-staged": "^13.0.3",
61
62
  "prettier": "^2.7.1",
@@ -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
- }