@cmstops/pro-compo 0.1.45 → 0.1.48

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.
Files changed (45) hide show
  1. package/dist/index.css +187 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/contentDetailList/components/Content/LiveItem/index.js +1 -2
  4. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  5. package/es/contentDetailList/components/Content/courseItem/index.js +95 -0
  6. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  7. package/es/contentDetailList/components/Content/funhdItem/index.js +95 -0
  8. package/es/contentDetailList/components/Content/index.js +41 -1
  9. package/es/contentDetailList/style/courseItem.less +108 -0
  10. package/es/contentDetailList/style/funhdItem.less +108 -0
  11. package/es/contentDetailList/style/index.css +184 -0
  12. package/es/contentDetailList/style/index.less +2 -0
  13. package/es/contentModal/component.js +49 -3
  14. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  15. package/es/contentModal/components/EqxiuList/MediaFilter/index.js +79 -0
  16. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  17. package/es/contentModal/components/EqxiuList/index.js +229 -0
  18. package/es/contentModal/script/api.d.ts +1 -0
  19. package/es/contentModal/script/api.js +8 -1
  20. package/es/contentModal/style/ViewAllColumn.less +3 -0
  21. package/es/contentModal/style/index.css +3 -0
  22. package/es/index.css +187 -0
  23. package/es/typeIcons/component.js +18 -3
  24. package/es/utils/request.js +5 -1
  25. package/es/utils/typeMap.d.ts +2 -0
  26. package/es/utils/typeMap.js +3 -1
  27. package/lib/contentDetailList/components/Content/LiveItem/index.js +1 -2
  28. package/lib/contentDetailList/components/Content/courseItem/index.js +96 -0
  29. package/lib/contentDetailList/components/Content/funhdItem/index.js +96 -0
  30. package/lib/contentDetailList/components/Content/index.js +41 -1
  31. package/lib/contentDetailList/style/courseItem.less +108 -0
  32. package/lib/contentDetailList/style/funhdItem.less +108 -0
  33. package/lib/contentDetailList/style/index.css +184 -0
  34. package/lib/contentDetailList/style/index.less +2 -0
  35. package/lib/contentModal/component.js +49 -3
  36. package/lib/contentModal/components/EqxiuList/MediaFilter/index.js +80 -0
  37. package/lib/contentModal/components/EqxiuList/index.js +230 -0
  38. package/lib/contentModal/script/api.js +8 -0
  39. package/lib/contentModal/style/ViewAllColumn.less +3 -0
  40. package/lib/contentModal/style/index.css +3 -0
  41. package/lib/index.css +187 -0
  42. package/lib/typeIcons/component.js +17 -2
  43. package/lib/utils/request.js +5 -1
  44. package/lib/utils/typeMap.js +3 -1
  45. package/package.json +3 -3
@@ -44,7 +44,7 @@ const _sfc_main = vue.defineComponent({
44
44
  vue.createCommentVNode(" h5 "),
45
45
  vue.createVNode(vue.unref(vueCmstopIcons.IconH5))
46
46
  ], 2112)) : props.doc && props.type === "live" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 10 }, [
47
- vue.createCommentVNode(" \u76F4\u64AD "),
47
+ vue.createCommentVNode(" \u672C\u5730\u76F4\u64AD "),
48
48
  vue.createVNode(vue.unref(vueCmstopIcons.IconZhibo))
49
49
  ], 2112)) : props.resource && props.type === "image" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 11 }, [
50
50
  vue.createCommentVNode("------------------------------- \u7D20\u6750\u7C7B\u578B --------------------------------------"),
@@ -54,7 +54,22 @@ const _sfc_main = vue.defineComponent({
54
54
  vue.createCommentVNode("------------------------------- \u5176\u4ED6\u7C7B\u578B --------------------------------------"),
55
55
  vue.createCommentVNode(" \u516C\u4F17\u53F7\u7A3F\u4EF6 "),
56
56
  vue.createVNode(vue.unref(vueCmstopIcons.IconGongzhonghao))
57
- ], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 13 }, [
57
+ ], 2112)) : props.type === "ilive" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 13 }, [
58
+ vue.createCommentVNode(" \u4E91\u76F4\u64AD "),
59
+ vue.createVNode(vue.unref(vueCmstopIcons.IconZhibo))
60
+ ], 2112)) : props.type === "group" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 14 }, [
61
+ vue.createCommentVNode(" \u9891\u9053/\u7EC4\u4EF6 "),
62
+ vue.createVNode(vue.unref(vueCmstopIcons.IconSelectGroupoverview))
63
+ ], 2112)) : props.type === "nav" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 15 }, [
64
+ vue.createCommentVNode(" \u529F\u80FD\u5BFC\u822A "),
65
+ vue.createVNode(vue.unref(vueCmstopIcons.IconSelectVersion))
66
+ ], 2112)) : props.type === "course" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 16 }, [
67
+ vue.createCommentVNode(" \u8BFE\u7A0B "),
68
+ vue.createVNode(vue.unref(vueCmstopIcons.IconBook))
69
+ ], 2112)) : props.type === "funhd" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 17 }, [
70
+ vue.createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
71
+ vue.createVNode(vue.unref(vueCmstopIcons.IconEvent))
72
+ ], 2112)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 18 }, [
58
73
  vue.createCommentVNode(" \u5FAE\u4FE1\u7A3F\u4EF6 "),
59
74
  vue.createCommentVNode(" <icon-weixingaojian /> "),
60
75
  vue.createCommentVNode(" \u8F6E\u535A\u56FE\u96C6 "),
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  var axios = require("axios");
3
+ var webVue = require("@arco-design/web-vue");
3
4
  var auth = require("./auth.js");
4
5
  function _interopDefaultLegacy(e) {
5
6
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
@@ -25,7 +26,10 @@ function request(BASE_API, options) {
25
26
  service.interceptors.response.use(
26
27
  (response) => {
27
28
  const res = response.data;
28
- if (res.code !== 0) {
29
+ if ((res == null ? void 0 : res.code) !== 0) {
30
+ if (res == null ? void 0 : res.real_error) {
31
+ webVue.Message.warning({ content: res.real_error });
32
+ }
29
33
  return Promise.reject(new Error(res.message || "Error"));
30
34
  }
31
35
  return res;
@@ -15,7 +15,9 @@ const key_target_type_map = {
15
15
  13: "ilive",
16
16
  14: "mp_account",
17
17
  15: "kongo",
18
- 16: "mp_content"
18
+ 16: "mp_content",
19
+ 17: "funhd",
20
+ 18: "course"
19
21
  };
20
22
  const approveFlowStatusMap = {
21
23
  1: "\u5BA1\u6838\u4E2D",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.1.45",
3
+ "version": "0.1.48",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@arco-design/web-vue": "~2",
49
- "@arco-iconbox/vue-cmstop-icons": "^0.0.15",
49
+ "@arco-iconbox/vue-cmstop-icons": "^0.0.21",
50
50
  "@popperjs/core": "^2.11.8",
51
51
  "colorthief": "^2.4.0",
52
52
  "cropperjs": "^1.6.1",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@arco-design/web-vue": "~2",
62
- "@arco-iconbox/vue-cmstop-icons": "^0.0.18",
62
+ "@arco-iconbox/vue-cmstop-icons": "^0.0.21",
63
63
  "@babel/core": "^7.14.6",
64
64
  "@babel/plugin-proposal-class-properties": "^7.14.5",
65
65
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",