@chlp-tech/rpa-ui 0.0.2 → 0.0.3

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.
@@ -16,6 +16,7 @@ interface Props {
16
16
  };
17
17
  createTime: string;
18
18
  isNew?: boolean;
19
+ isAd?: boolean;
19
20
  id: string | number;
20
21
  onDelete?: (id: string | number) => void;
21
22
  mediaInfo: {
@@ -172,7 +172,9 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
172
172
  className: styles['card__header__status']
173
173
  }, /*#__PURE__*/React.createElement("div", {
174
174
  className: styles['card__header__status__flex']
175
- }, /*#__PURE__*/React.createElement(StatusTag, {
175
+ }, props.isAd && /*#__PURE__*/React.createElement("div", {
176
+ className: styles.tagAd
177
+ }, "\u5E7F\u544A"), /*#__PURE__*/React.createElement(StatusTag, {
176
178
  status: props.status
177
179
  }), /*#__PURE__*/React.createElement("div", {
178
180
  className: styles['card__header__status__desc']
@@ -214,6 +214,18 @@
214
214
  }
215
215
  }
216
216
 
217
+ .tagAd {
218
+ background: #FBDEC1;
219
+ border-radius: 4px;
220
+ font-size: 14px;
221
+ color: #8B3D15;
222
+ padding: 2px 8px;
223
+ display: flex;
224
+ flex-direction: row;
225
+ align-items: center;
226
+ justify-content: center;
227
+ }
228
+
217
229
  .circle_block {
218
230
  padding: 2px 8px;
219
231
  background: rgba(0,0,0,0.5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chlp-tech/rpa-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "rpa-ui",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",