@chlp-tech/rpa-ui 0.0.9 → 0.0.11
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.
|
@@ -118,6 +118,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
118
118
|
style: {
|
|
119
119
|
width: 120,
|
|
120
120
|
borderRadius: 8,
|
|
121
|
+
height: 160,
|
|
121
122
|
overflow: "hidden",
|
|
122
123
|
position: "relative"
|
|
123
124
|
}
|
|
@@ -149,10 +150,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
149
150
|
}, /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
150
151
|
lines: 1
|
|
151
152
|
}, "\u6807\u9898\uFF1A", props.title || '- -')), /*#__PURE__*/React.createElement("div", {
|
|
152
|
-
className: styles['card_content']
|
|
153
|
-
style: {
|
|
154
|
-
height: 55
|
|
155
|
-
}
|
|
153
|
+
className: styles['card_content']
|
|
156
154
|
}, /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
157
155
|
lines: 2
|
|
158
156
|
}, "\u63CF\u8FF0\uFF1A", props.desc || '- -')), /*#__PURE__*/React.createElement("div", {
|
|
@@ -196,7 +194,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
196
194
|
marginRight: 12,
|
|
197
195
|
cursor: 'pointer'
|
|
198
196
|
}
|
|
199
|
-
}, [0, 1].includes(props.status) ? /*#__PURE__*/React.createElement(React.Fragment, null, (_props$editComponent = props.editComponent) !== null && _props$editComponent !== void 0 ? _props$editComponent : /*#__PURE__*/React.createElement("span", null, "\u7F16\u8F91")) : [2, 3].includes(props.status) ? /*#__PURE__*/React.createElement(React.Fragment, null, (_props$detailComponen = props.detailComponent) !== null && _props$detailComponen !== void 0 ? _props$detailComponen : /*#__PURE__*/React.createElement("span", null, "\u8BE6\u60C5")) : null), /*#__PURE__*/React.createElement(Dropdown, {
|
|
197
|
+
}, [0, 1].includes(props.status) ? /*#__PURE__*/React.createElement(React.Fragment, null, (_props$editComponent = props.editComponent) !== null && _props$editComponent !== void 0 ? _props$editComponent : /*#__PURE__*/React.createElement("span", null, "\u7F16\u8F91")) : [2, 3].includes(props.status) ? /*#__PURE__*/React.createElement(React.Fragment, null, (_props$detailComponen = props.detailComponent) !== null && _props$detailComponen !== void 0 ? _props$detailComponen : /*#__PURE__*/React.createElement("span", null, "\u8BE6\u60C5")) : null), [0, 1].includes(props.status) ? /*#__PURE__*/React.createElement(Dropdown, {
|
|
200
198
|
trigger: ['click'],
|
|
201
199
|
menu: {
|
|
202
200
|
items: [{
|
|
@@ -214,7 +212,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
214
212
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
215
213
|
src: More,
|
|
216
214
|
preview: false
|
|
217
|
-
}))))), props.isNew && /*#__PURE__*/React.createElement("div", {
|
|
215
|
+
}))) : null)), props.isNew && /*#__PURE__*/React.createElement("div", {
|
|
218
216
|
className: styles['new-position']
|
|
219
217
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
220
218
|
src: New,
|