@titaui/pc 1.16.74 → 1.16.75
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.
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
right: 0px !important;
|
|
10
10
|
bottom: 0px;
|
|
11
11
|
z-index: -10 !important;
|
|
12
|
-
background-color: rgba(
|
|
12
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.titaui-pc__guide-order__border-mask {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
background: #5c8eff;
|
|
31
31
|
box-shadow: 0px 8px 24px 0px rgba(127, 145, 180, 0.3);
|
|
32
32
|
border: 1px solid #ffffff;
|
|
33
|
-
padding: 16px 20px;
|
|
33
|
+
padding: 16px 20px 20px;
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
border-radius: 12px;
|
|
36
36
|
z-index: 10;
|
|
@@ -54,14 +54,15 @@
|
|
|
54
54
|
font-weight: 500;
|
|
55
55
|
color: #FFFFFF;
|
|
56
56
|
line-height: 22px;
|
|
57
|
+
margin-bottom: 10px;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
.titaui-pc__guide-order__popup__content__desc {
|
|
60
|
-
font-size:
|
|
61
|
+
font-size: 14px;
|
|
61
62
|
font-weight: 400;
|
|
62
63
|
color: #FFFFFF;
|
|
63
|
-
line-height:
|
|
64
|
-
margin-top:
|
|
64
|
+
line-height: 22px;
|
|
65
|
+
margin-top: 0;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.titaui-pc__guide-order__popup__content__bottom {
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
justify-content: space-between;
|
|
72
73
|
align-items: center;
|
|
73
74
|
position: absolute;
|
|
74
|
-
bottom:
|
|
75
|
+
bottom: 20px;
|
|
75
76
|
left: 0;
|
|
76
77
|
padding: 0 20px;
|
|
77
78
|
box-sizing: border-box;
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
.titaui-pc__guide-order__popup__content__border-mask__inner {
|
|
95
96
|
position: absolute;
|
|
96
97
|
box-sizing: border-box;
|
|
97
|
-
outline:
|
|
98
|
+
outline: none;
|
|
98
99
|
display: flex;
|
|
99
100
|
justify-content: center;
|
|
100
101
|
align-items: center;
|
|
@@ -194,9 +194,9 @@ var GuideOrder = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
194
194
|
width: "".concat(width, "px"),
|
|
195
195
|
height: "".concat(height, "px")
|
|
196
196
|
}
|
|
197
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
197
|
+
}, title && /*#__PURE__*/_react["default"].createElement("div", {
|
|
198
198
|
className: "".concat(preCls, "__popup__content__title")
|
|
199
|
-
}, title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
199
|
+
}, title), desc && /*#__PURE__*/_react["default"].createElement("div", {
|
|
200
200
|
className: "".concat(preCls, "__popup__content__desc")
|
|
201
201
|
}, desc), /*#__PURE__*/_react["default"].createElement("div", {
|
|
202
202
|
className: "".concat(preCls, "__popup__content__bottom")
|
|
@@ -43,6 +43,7 @@ var GuideTip = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
43
43
|
_props$isShowPopup = props.isShowPopup,
|
|
44
44
|
isShowPopup = _props$isShowPopup === void 0 ? true : _props$isShowPopup,
|
|
45
45
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
46
|
+
var popupAlign = restProps.popupAlign;
|
|
46
47
|
var isTry = (0, _bsGlobal.getVersion)() == 1;
|
|
47
48
|
if (isTry) {
|
|
48
49
|
return children;
|
|
@@ -55,6 +56,16 @@ var GuideTip = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
55
56
|
onClickClose();
|
|
56
57
|
popupRef.current.close();
|
|
57
58
|
};
|
|
59
|
+
var triangleStyle = function triangleStyle() {
|
|
60
|
+
if (popupPlacement === 'left' || popupPlacement === 'right') {
|
|
61
|
+
var _popupAlign$offset;
|
|
62
|
+
var offsetY = (popupAlign === null || popupAlign === void 0 ? void 0 : (_popupAlign$offset = popupAlign.offset) === null || _popupAlign$offset === void 0 ? void 0 : _popupAlign$offset[1]) || 0;
|
|
63
|
+
return {
|
|
64
|
+
marginTop: "".concat(-offsetY - 4, "px")
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
return {};
|
|
68
|
+
};
|
|
58
69
|
var renderPopupContent = function renderPopupContent() {
|
|
59
70
|
return content && /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
71
|
className: (0, _classnames["default"])("".concat(preCls, "__popup"), _defineProperty({}, classnames, classnames), _defineProperty({}, "".concat(preCls, "__popup--button"), type === 'button')),
|
|
@@ -71,6 +82,7 @@ var GuideTip = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
71
82
|
size: "small",
|
|
72
83
|
onClick: handleCloseGuidePopup
|
|
73
84
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
85
|
+
style: triangleStyle(),
|
|
74
86
|
className: (0, _classnames["default"])("".concat(preCls, "__popup-triangle"), "".concat(preCls, "__popup-triangle--").concat(popupPlacement))
|
|
75
87
|
}));
|
|
76
88
|
};
|
|
@@ -37,18 +37,26 @@
|
|
|
37
37
|
width: unset;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
.tita-pc__table .rc-table-ping-left .rc-table-cell-fix-left-first::after, .tita-pc__table .rc-table-ping-left .rc-table-cell-fix-left-last::after {
|
|
41
|
+
box-shadow: inset 10px 0px 8px -8px rgba(127, 145, 180, 0.2);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tita-pc__table .rc-table-ping-right .rc-table-cell-fix-right-first::after, .tita-pc__table .rc-table-ping-right .rc-table-cell-fix-right-last::after {
|
|
45
|
+
box-shadow: inset -10px 0 8px -8px rgba(127, 145, 180, 0.2);
|
|
46
|
+
}
|
|
47
|
+
|
|
40
48
|
.tita-pc__table .tita-checkbox {
|
|
41
49
|
margin-right: 4px;
|
|
42
50
|
top: -1px;
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
.tita-pc__table .rc-table th {
|
|
46
|
-
padding: 16px
|
|
54
|
+
padding: 16px 12px 12px;
|
|
47
55
|
}
|
|
48
56
|
|
|
49
57
|
.tita-pc__table .rc-table td {
|
|
50
58
|
font-size: 14px;
|
|
51
|
-
padding:
|
|
59
|
+
padding: 12px 12px;
|
|
52
60
|
overflow: hidden;
|
|
53
61
|
}
|
|
54
62
|
|
|
@@ -87,7 +95,7 @@
|
|
|
87
95
|
}
|
|
88
96
|
|
|
89
97
|
.tita-pc__table .rc-table-cell-fix-left:hover {
|
|
90
|
-
background: #
|
|
98
|
+
background: #fff;
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
.tita-pc__table .rc-table-cell a {
|