component-shipinlv 1.0.7 → 1.0.8
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.
package/dist/Auth/index.js
CHANGED
|
@@ -309,11 +309,11 @@ var Auth = function Auth(_ref) {
|
|
|
309
309
|
}, "wechat"), /*#__PURE__*/_jsx(Tabs.TabPane, {
|
|
310
310
|
tab: /*#__PURE__*/_jsxs("span", {
|
|
311
311
|
className: "tab-icon",
|
|
312
|
-
children: [/*#__PURE__*/_jsx(UserOutlined, {}), "\u8D26\u6237"]
|
|
312
|
+
children: [/*#__PURE__*/_jsx(UserOutlined, {}), " \u8D26\u6237"]
|
|
313
313
|
}),
|
|
314
|
-
disabled: loginTypeList.includes('account-login'),
|
|
314
|
+
disabled: !loginTypeList.includes('account-login'),
|
|
315
315
|
children: /*#__PURE__*/_jsx(AuthLoginReg, {
|
|
316
|
-
accountRegDisabled: loginTypeList.includes('account-reg'),
|
|
316
|
+
accountRegDisabled: !loginTypeList.includes('account-reg'),
|
|
317
317
|
onSuccess: function onSuccess() {
|
|
318
318
|
return onLoginSuccess();
|
|
319
319
|
}
|
|
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLit
|
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
export default {
|
|
5
|
-
AuthQrLogin: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .weQrUrl{\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n }\n .qr{\n position: relative;\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 position: absolute;\n z-index: 100;\n left: 0;\n top: 0;\n width: 100%;\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 "]))),
|
|
5
|
+
AuthQrLogin: styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n :global{\n .ant-tabs-tab-btn{\n .anticon{\n margin-right: 6px;\n }\n }\n }\n .weQrUrl{\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n }\n .qr{\n position: relative;\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 position: absolute;\n z-index: 100;\n left: 0;\n top: 0;\n width: 100%;\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
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
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
8
|
WeQrUrlBox: styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n min-height: 240px !important;\n "])))
|